gnome-osd-0.12.2/0000755000175000017500000000000010760341026013627 5ustar adpeeteradpeetergnome-osd-0.12.2/gnome-osd-event-bridge.in0000644000175000017500000000013510605727052020424 0ustar adpeeteradpeeter#! @PYTHON@ import pygtk; pygtk.require("2.0") from gnomeosd.eventbridge import main main() gnome-osd-0.12.2/config.sub0000755000175000017500000007746010605734075015640 0ustar adpeeteradpeeter#! /bin/sh # Configuration validation subroutine script. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, # Inc. timestamp='2006-09-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 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. # 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 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* | \ 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) os= basic_machine=$1 ;; -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 \ | fr30 | frv \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | mcore \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64vr | mips64vrel \ | mips64orion | mips64orionel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | mt \ | msp430 \ | nios | nios2 \ | ns16k | ns32k \ | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | pyramid \ | score \ | sh | sh[1234] | sh[24]a | 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 \ | v850 | v850e \ | we32k \ | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \ | z8k) basic_machine=$basic_machine-unknown ;; m6811 | m68hc11 | m6812 | m68hc12) # 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-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64vr-* | mips64vrel-* \ | mips64orion-* | mips64orionel-* \ | 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-* \ | sh-* | sh[1234]-* | sh[24]a-* | 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-* \ | tron-* \ | v850-* | v850e-* | vax-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \ | xstormy16-* | xtensa-* \ | ymp-* \ | z8k-*) ;; # 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 ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; c90) basic_machine=c90-cray os=-unicos ;; 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 ;; cr16c) basic_machine=cr16c-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 ;; 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 ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; mingw32) basic_machine=i386-pc os=-mingw32 ;; 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 ;; 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 ;; 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 ;; 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 ;; 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[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. -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* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -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* \ | -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*) # 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 ;; -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 ;; 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 ;; -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: gnome-osd-0.12.2/config.guess0000755000175000017500000012626010605734075016166 0ustar adpeeteradpeeter#! /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 Free Software Foundation, # Inc. timestamp='2006-07-02' # 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 to . Submit a context # diff and a properly formatted 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. # # The plan is that this can be called by configure scripts if you # don't specify an explicit build system type. 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 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the 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 ;; *) 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 __ELF__ >/dev/null then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}" exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 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-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm:riscos:*:*|arm:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; 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:SunOS:5.*:*) echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[45]) 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 __LP64__ >/dev/null then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) case ${UNAME_MACHINE} in pc98) echo i386-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; i*: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 ;; x86:Interix*:[3456]*) echo i586-pc-interix${UNAME_RELEASE} exit ;; EM64T:Interix*:[3456]*) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-gnu exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; arm*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; cris:Linux:*:*) echo cris-axis-linux-gnu exit ;; crisv32:Linux:*:*) echo crisv32-axis-linux-gnu exit ;; frv:Linux:*:*) echo frv-unknown-linux-gnu exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef mips64 #undef mips64el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mips64el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=mips64 #else CPU= #endif #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^CPU/{ s: ::g p }'`" test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; } ;; or32:Linux:*:*) echo or32-unknown-linux-gnu exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-gnu exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-gnu exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-gnu ;; PA8*) echo hppa2.0-unknown-linux-gnu ;; *) echo hppa-unknown-linux-gnu ;; esac exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-gnu exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-gnu exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-gnu exit ;; x86_64:Linux:*:*) echo x86_64-unknown-linux-gnu exit ;; i*86:Linux:*:*) # The BFD linker knows what the default object file format is, so # first see if it will tell us. cd to the root directory to prevent # problems with other programs or directories called `ld' in the path. # Set LC_ALL=C to ensure ld outputs messages in English. ld_supported_targets=`cd /; LC_ALL=C ld --help 2>&1 \ | sed -ne '/supported targets:/!d s/[ ][ ]*/ /g s/.*supported targets: *// s/ .*// p'` case "$ld_supported_targets" in elf32-i386) TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu" ;; a.out-i386-linux) echo "${UNAME_MACHINE}-pc-linux-gnuaout" exit ;; coff-i386) echo "${UNAME_MACHINE}-pc-linux-gnucoff" exit ;; "") # Either a pre-BFD a.out linker (linux-gnuoldld) or # one that does not give us useful --help. echo "${UNAME_MACHINE}-pc-linux-gnuoldld" exit ;; esac # Determine whether the default compiler is a.out or elf eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include #ifdef __ELF__ # ifdef __GLIBC__ # if __GLIBC__ >= 2 LIBC=gnu # else LIBC=gnulibc1 # endif # else LIBC=gnulibc1 # endif #else #if defined(__INTEL_COMPILER) || defined(__PGI) || defined(__SUNPRO_C) || defined(__SUNPRO_CC) LIBC=gnu #else LIBC=gnuaout #endif #endif #ifdef __dietlibc__ LIBC=dietlibc #endif EOF eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n ' /^LIBC/{ s: ::g p }'`" test x"${LIBC}" != x && { echo "${UNAME_MACHINE}-pc-linux-${LIBC}" exit } test x"${TENTATIVE}" != x && { echo "${TENTATIVE}"; exit; } ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i386. echo i386-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; 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 ;; 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 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}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; 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: gnome-osd-0.12.2/INSTALL0000644000175000017500000002243210605734075014673 0ustar adpeeteradpeeterInstallation Instructions ************************* Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. (Caching is disabled by default to prevent problems with accidental use of stale cache files.) If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You only need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not support the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' 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. 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). Here is a another example: /bin/bash ./configure CONFIG_SHELL=/bin/bash Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent configuration-related scripts to be executed by `/bin/bash'. `configure' Invocation ====================== `configure' recognizes the following options to control how it operates. `--help' `-h' Print a summary of the options to `configure', and exit. `--version' `-V' Print the version of Autoconf used to generate the `configure' script, and exit. `--cache-file=FILE' Enable the cache: use and save the results of the tests in FILE, traditionally `config.cache'. FILE defaults to `/dev/null' to disable caching. `--config-cache' `-C' Alias for `--cache-file=config.cache'. `--quiet' `--silent' `-q' Do not print messages saying which checks are being made. To suppress all normal output, redirect it to `/dev/null' (any error messages will still be shown). `--srcdir=DIR' Look for the package's source code in directory DIR. Usually `configure' can determine that directory automatically. `configure' also accepts some other, not widely useful, options. Run `configure --help' for more details. gnome-osd-0.12.2/po/0000755000175000017500000000000010760341025014244 5ustar adpeeteradpeetergnome-osd-0.12.2/po/sv.po0000644000175000017500000002764510760335762015265 0ustar adpeeteradpeeter# Swedish translation for gnome-osd. # Copyright (C) 2007 Free Software Foundation, Inc. # This file is distributed under the same license as the gnome-osd package. # Daniel Nylander , 2007. # msgid "" msgstr "" "Project-Id-Version: gnome-osd\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2008-01-15 00:12+0000\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #~ msgid "Buddy logs on and out, is writting or sent a Message" #~ msgstr "Vännerna loggar in och ut, skriver eller skickar meddelande" #~ msgid "A programming error has been detected" #~ msgstr "Ett programmeringsfel har upptäckts" #~ msgid "" #~ "It probably isn't fatal, but should be reported to the developers " #~ "nonetheless." #~ msgstr "" #~ "Det är antagligen inte ödesdigert men bör rapporteras till utvecklarna ändÃ¥." #~ msgid "Bug Detected" #~ msgstr "Fel pÃ¥träffades" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "OSD Upplysningar" #: ../gnome-osd-properties.desktop.in.h:2 msgid "Set preferences for OSD notifications" msgstr "Gör inställningar för OSD Upplysningar" #: ../gnome-osd.schemas.in.h:1 msgid "Avoid Panels" msgstr "Undvik paneler" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "Felsök bildruta" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "Tidsgräns för automatisk döljning" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "Tidsgräns för automatisk döljning, i millisekunder" #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "Klippningsläge" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" "Klippningsläge för skärmmeddelanden. Kan vara \"none\", \"start\", " "\"middle\" eller \"end\". Klippning betyder att delar av texten klipps bort " "och ersätts med ... när den inte passar pÃ¥ skärmen." #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "Använd en falsk transparent bakgrundseffekt" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "Aktivera animationer" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "Aktivera skuggkastning" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "Aktivera ljud" #: ../gnome-osd.schemas.in.h:11 msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" "Filnamn att spela upp när ljud är aktiverat. Om sökvägen inte börjar med / " "är det en sökväg relativ till $datadir/sounds" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "Typsnitt använd i skärmmeddelanden" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "Insticksmodul för Gaim aktiverad" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "Dölj vid muskontakt" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "Horisontell justering för skärmmeddelanden" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" "Horisontell justering av skärmtextmeddelanden. Kan vara \"center\", \"left\" " "eller \"right\"." #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" "Om sant kommer en bakgrund att läggas till med en effekt för att imitera " "halvgenomskinlighet. VARNING: den här effekten verkar göra X-servern mycket " "lÃ¥ngsam när meddelandet är synligt." #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "Om sant kommer en skuggkastning att visas bakom texten." #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" "Om sant sÃ¥ kommer ett ljud att spelas upp när ett meddelande visas. Kräver " "en esd ljudserver" #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" "Om sant kommer meddelanden att ha ett rutnät runt dem som visar det exakta " "rektangulära omrÃ¥det och som är tänkt för justering och " "kollisionsdetektering. Varning: det här alternativet är endast tänkt för " "felsökning sÃ¥ förlita dig inte pÃ¥ att det finns i alla versioner av GnomeOSD." #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" "Om sant kommer meddelanden inte att visas ovanpÃ¥ befintliga paneler, om du " "har en EWMH-standardiserad fönsterhanterare." #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "" "Om sant kommer meddelanden att glida in och ut pÃ¥ skärmen, istället för att " "visas normalt." #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "Om sant sÃ¥ kommer texten automatiskt gömmas när musen förs över den." #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "Insticksmodul för ny post aktiverad" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "Insticksmodul för lÃ¥tbyte aktiverad" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "Testljud" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" "Det här är bastypsnittet som används i skärmtexter. Den kan Ã¥tsidosättas med " "pango-markup sÃ¥ klart." #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" "Växla huruvida notifieringar frÃ¥n Gaim är aktiverade. Observera: den här " "insticksmodulen kräver Gaim D-BUS-insticksmodul." #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" "Växla huruvida skärmtextmeddelanden för XChat inkluderar fullständig text " "eller bara kanal/smeknamn." #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" "Växla huruvida notifieringar för XChat är aktiverade. Observera: kräver " "XChat D-BUS-insticksmodul (xchat >= 2.6)" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" "Växla huruvida notifieringar för ny e-post är aktiverad. Observera: den här " "insticksmodulen kräver att Evolution har D-BUS-insticksmodulen aktiverad." #: ../gnome-osd.schemas.in.h:32 msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "" "Växla huruvida skärmmeddelanden vid lÃ¥tbyte (Rhythmbox, Muine) är aktiverad." #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "Vertikal position för OSD meddelanden" #: ../gnome-osd.schemas.in.h:34 msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" "Vertikal position för OSD Meddelande. Kan vara 'top', 'center', eller " "'bottom'." #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "Insticksmodul för XChat aktiverad" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "Insticksmodul för fullständiga XChat-meddelanden" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "OSD Inställningar" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "_Test" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "Typsnitt för skärmtext: " #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "_Animationer" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "_Skuggkastning" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "_Ljud" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "_Dölj vid muskontakt" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "Övre vän_ster" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "_Överkant" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "Övre hög_er" #: ../gnomeosd/capplet.py:233 msgid "L_eft" msgstr "_Vänster" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "_Mitten" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "Hö_ger" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "Nedre vän_ster" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "_Nederkant" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "Nedre _höger" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "U_ndvik paneler" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "Justering" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "Meddela vid _lÃ¥tbyte" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "Fungerar med Rhythmbox och Muine" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "Musikspelare" #: ../gnomeosd/capplet.py:294 #, fuzzy msgid "IRC (Chat)" msgstr "IRC (Chat)" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "Notifiera vid _IRC-meddelanden direkt till mig" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "Fungerar med XChat (>= 2.6) med D-BUS-insticksmodul" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "Inkludera _meddelandetext" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "Epost" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "Meddela när nytt _epost ankommer" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "Fungerar med Evolution med aktiverad D-BUS-insticksmodul" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "Gaim" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "Notifiera om vännernas aktiviteter" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "" "Meddela när en kontakt loggar in eller ut, skriver, eller skickar ett " "meddelande" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "Allmänt" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "Meddelanden" #: ../gnomeosd/capplet.py:359 #, fuzzy, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "Detta är ett %s %s test skickat frÃ¥n inställningsrutan" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Daniel Nylander \n" "\n" "Launchpad Contributions:\n" " Daniel Nylander https://launchpad.net/~yeager\n" " Gustaf Johansson https://launchpad.net/~gustaf-aeger\n" " Zirro https://launchpad.net/~magne-andersson" #: ../gnomeosd/capplet.py:372 #, fuzzy msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "Ett OSD (On Screen Display) meddelande system för GNOME" #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "Artist" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "Album" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "SpÃ¥r" gnome-osd-0.12.2/po/Makefile.in.in0000644000175000017500000001532110757530222016725 0ustar adpeeteradpeeter# Makefile for program source directory in GNU NLS utilities package. # Copyright (C) 1995, 1996, 1997 by Ulrich Drepper # # This file file 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. # Please note that the actual code is *not* freely available. # # - 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 = /bin/sh 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; 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`" -o -n "`echo $$ALINGUAS|grep ' ?$$lang ?'`"; then printf "$$lang "; fi; done; fi) USE_LINGUAS=$(shell if test -n "$(USER_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="$(USE_LINGUAS)"; for lang in $$LINGUAS; do printf "$$lang.po "; done) DISTFILES = ChangeLog Makefile.in.in POTFILES.in $(POFILES) EXTRA_DISTFILES = 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 $(mkdir_p) $(DESTDIR)$(itlocaledir) 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 tags 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: gnome-osd-0.12.2/po/en_GB.po0000644000175000017500000002562010760335762015576 0ustar adpeeteradpeeter# English (United Kingdom) translation for gnome-osd # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the gnome-osd package. # FIRST AUTHOR , 2007. # msgid "" msgstr "" "Project-Id-Version: gnome-osd\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2008-01-10 20:13+0000\n" "Last-Translator: John Drinkwater \n" "Language-Team: English (United Kingdom) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "OSD Notifications" #: ../gnome-osd-properties.desktop.in.h:2 msgid "Set preferences for OSD notifications" msgstr "Set preferences for OSD notifications" #: ../gnome-osd.schemas.in.h:1 msgid "Avoid Panels" msgstr "Avoid Panels" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "Debug Frame" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "Default auto-hide timeout" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "Default auto-hide timeout, in miliseconds." #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "Ellipsise Mode" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" "Ellipsise mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsising means to replace part of the text with ... when it doesn't fit " "in the screen." #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "Enable a fake translucent background effect" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "Enable animations" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "Enable drop shadow" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "Enable sound" #: ../gnome-osd.schemas.in.h:11 msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "Font used in OSD messages" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "Gaim Plugin Enabled" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "Hide on mouse hover" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "Horizontal alignment of OSD messages" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" "Horizontal alignment of OSD messages. Can be 'centre', 'left', or 'right'." #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" "If true, a background is added with a stipple effect to imitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "If true, a drop shadow will be displayed behind the text." #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "" "If true, messages will slide in and out of screen, instead of simply popping." #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "" "If true, moving the mouse cursor over the text will automatically hide it." #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "New Mail Plugin Enabled" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "Song Change Plugin Enabled" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "Sound sample" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" "Toggle whether new e-mail notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." #: ../gnome-osd.schemas.in.h:32 msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "Vertical position of OSD messages" #: ../gnome-osd.schemas.in.h:34 msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" "Vertical position of OSD messages. Can be 'top', 'centre', or 'bottom'." #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "XChat Plugin Enabled" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "XChat Plugin Full Message" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "OSD Properties" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "_Test" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "OSD _Font: " #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "_Animations" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "_Drop shadow" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "_Sound" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "_Hide on mouse hover" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "Top _left" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "_Top" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "Top _right" #: ../gnomeosd/capplet.py:233 msgid "L_eft" msgstr "L_eft" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "_Centre" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "Ri_ght" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "Bottom l_eft" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "_Bottom" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "Bottom r_ight" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "A_void panels" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "Alignment" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "Notify on _song changes" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "Works with Rhythmbox and Muine" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "Music Player" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "IRC (Chat)" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "Notify on _IRC messages directed to me" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "Works with XChat (>= 2.6) with D-BUS plugin" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "Include _message text" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "E-Mail" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "Notify when new _e-mail arrives" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "Works with Evolution with enabled D-BUS plugin" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "Gaim" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "Notify buddies actions" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "Notify when a contact logs in or out, writes, or sends a message" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "General" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "Notifications" #: ../gnomeosd/capplet.py:359 #, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "This is a %s %s test sent from the preferences dialogue" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Dan Bishop https://launchpad.net/~dan-viciouslime\n" " John Drinkwater https://launchpad.net/~johndrinkwater" #: ../gnomeosd/capplet.py:372 msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "An OSD (On Screen Display) message notification system for GNOME." #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "Artist" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "Album" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "Track" gnome-osd-0.12.2/po/es.po0000644000175000017500000002566610760335762015245 0ustar adpeeteradpeeter# Spanish translation for gnome-osd # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the gnome-osd package. # FIRST AUTHOR , 2007. # msgid "" msgstr "" "Project-Id-Version: gnome-osd\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2008-02-21 23:00+0000\n" "Last-Translator: Marco Herrero \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "Notificaciones OSD" #: ../gnome-osd-properties.desktop.in.h:2 msgid "Set preferences for OSD notifications" msgstr "Configurar las preferencias para las notificaciones OSD" #: ../gnome-osd.schemas.in.h:1 msgid "Avoid Panels" msgstr "Evitar paneles" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "Depurar Cuadro" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "Intervalo de ocultación automática por defecto" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "Intervalo de ocultación automática por defecto, en milisegundos" #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "Modo elipsis" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" "Modo elipsis para los mensajes OSD. Puede ser 'ninguno', 'inicio', 'medio' o " "'fin'. Elipsis significa reemplazar parte del texto con ... cuando no cabe " "en la pantalla." #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "Activar un efecto traslúcido de fondo falso" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "Activar animaciones" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "Activar sombra" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "Activar sonido" #: ../gnome-osd.schemas.in.h:11 msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" "Nombre del archivo de muestra a reproducir cuando enable_sound está " "activado. Si no comienza con /, se considera relativo a $datadir/sounds" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "Tipografía usada para los mensajes" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "Activar el complemento de Gaim" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "Ocultar al pasar el ratón" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "Alineación horizontal de los mensajes OSD" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" "Alineación horizontal de los mensajes OSD. Puede ser 'centro', 'izquierda' o " "'derecha'." #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" "Si verdadero, un fondo es agregado con un efecto punteado para imitar " "translucidez. ADVERTENCIA: este efecto parece desacelerar el servidor X " "mientras el mensaje es visible." #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "Si está activado, se mostrará una sombra detrás del texto." #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" "Si está activado, sonará un sonido cuando aparezca un mensaje. Requiere " "servidor de sonido esd." #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" "Si verdadero, los mensajes tendran un marco de alambre rodeandolos mostrando " "el area rectangular exacta considerada para propositos de alineacion y " "deteccion de colisiones. Advertencia: esta opcion es para motivos de debuge " "exclusivamente, entonces no confies en que este presente en todas las " "versiones de GnomeOSD." #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" "Si verdadero, los mensajes no apareceran encima de cualquier panel " "existente, siempre que tengas un Manejador de Ventanas compatible con EWMH." #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "" "Si verdadero, los mensajes se deslizaran dentro y fuera de la pantalla en " "lugar de solo aparecer." #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "" "Si verdadero, mover el cursor sobre el texto lo hara desaparecer " "automaticamente." #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "Nuevo complento de correo activado" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "Complenento de cambio de canciones activado" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "Ejemplo de sonido" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" "Esta es la fuente base utilizada en los mensajes OSD. Puede ser anulado " "usando marcas pango, por supuesto." #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" #: ../gnome-osd.schemas.in.h:32 msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "" #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "Posición vertical de mensajes OSD" #: ../gnome-osd.schemas.in.h:34 msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" "Posición vertical de los mensajes OSD. Puede ser 'arriba', 'centrado', o " "'abajo'" #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "Complemento de XChat activado" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "Propiedades de OSD" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "_Test" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "_Tipografía OSD: " #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "_Animaciones" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "_Ocultar al paso del ratón" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "Arriba a _la izquierda" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "Arriba a la de_recha" #: ../gnomeosd/capplet.py:233 msgid "L_eft" msgstr "_Izquierda" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "_Centro" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "_Derecha" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "Abajo Izqui_erda" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "_Abajo" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "Abajo d_erecha" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "Evita_r paneles" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "Alineamiento" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "Notificar _cambios de canción" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "Trabajar con Rhythmbox y Muine" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "Reproductor de música" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "IRC (Chat)" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "Notificarme en mensajes _IRC directamente" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "Trabajar con XChat (>= 2.6) con complemento D-BUS" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "Correo electrónico" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "Notificar cuando lleguen nuevos m_ensajes de correo" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "Trabajar con Evolution con complemento D-BUS habilitado" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "Gaim" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "Notificar cuando un contacto entre, salga o envíe un mensaje" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "General" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "Notificaciones" #: ../gnomeosd/capplet.py:359 #, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "Este es un %s %s test enviado desde el diálogo de preferencias" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " AngelCarballo https://launchpad.net/~angelcarballo\n" " Marco Herrero https://launchpad.net/~helmetk\n" " Pablito https://launchpad.net/~pabloalecastillo\n" " Paco Molinero https://launchpad.net/~franciscomol\n" " Rodrigo Donado https://launchpad.net/~frezeeer\n" " skarevoluti https://launchpad.net/~garciamanu49" #: ../gnomeosd/capplet.py:372 msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "" "Un sistema de notificaciones de mensajes OSD (Mostrado en pantalla) para " "GNOME." #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "Artista" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "Ãlbum" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "Pista" gnome-osd-0.12.2/po/pt.po0000644000175000017500000002654210760335762015253 0ustar adpeeteradpeeter# 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: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2008-01-15 10:54+0000\n" "Last-Translator: Gustavo Carneiro \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "Notificações OSD" #: ../gnome-osd-properties.desktop.in.h:2 msgid "Set preferences for OSD notifications" msgstr "Mudar as preferências para as notificações OSD" #: ../gnome-osd.schemas.in.h:1 msgid "Avoid Panels" msgstr "Evitar Paineis" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "Moldura para Debug" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "Tempo para esconder automaticamente por omissão" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "Tempo para esconder automaticamente por omissão, em milisegundos" #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "Modo de Reticências" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" "Modo de \"reticências\" para mensagens OSD. Pode ter os valores 'none' " "(nenhum), 'start' (inicio), 'middle' (meio), ou 'end' (fim). Reticências " "significa substituir parte do texto por ... quando não cabe no ecran." #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "Activar um efeito de fund translúcido falso" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "Activar animações" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "Activar sombra" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "Activar sons" #: ../gnome-osd.schemas.in.h:11 msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" "Nome do ficheiro de som que será tocado quando enable_sound for verdadeiro. " "Se não começar com /, é um caminho relativo a $datadir/sounds" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "Fonte usada nas mensagens OSD" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "Plugin do Gaim Activado" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "Esconder quando o rato passar por cima" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "Alinhamento horizontal de mensagens OSD" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" "Alinhamento horizontal das mensagens OSD. Valores possíveis são " "'center'(centrar), 'left'(esquerda) ou 'right' direita" #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" "Se activo, é adicionado um fundo com efeito de 'stipple' para imitar " "translúcido. AVISO: este efeito parece tornar o servidor X bastante mais " "lento enquando a mensagem está a ser mostrada." #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "Se activo, será desenhada uma sombra por trás do texto" #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" "Se verdadeiro, será tocado um som quando uma mensagem aparecer. Necessita " "do servidor de som esd." #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" "Se activo, as mensagens ganham uma moldura à volta, mostrandoexactamente a " "área que é considerada para efeitos de alinhamento edetecção de colisões. " "Aviso: esta opção é destinada exclusivamentepara depuração de código, por " "isso não pode confiar que ela estejasempre presente em versões futuras do " "GnomeOSD" #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" "Se activo, as mensagens evitarão sobrepor quaisquer paineis existentes, " "desde que tenha um gestor de janelas EWMH." #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "" "Se activo, as mensagens deslizam para dentro e fora do ecran, em vez de " "aparecerem do nada." #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "" "Se verdadeiro, mover o cursor do rato por cima do texto automaticamente " "esconde-o." #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "Plugin Novo Mail Activo" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "Plugin Mudança de Música Activo" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "Ficheiro de som" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" "Esta é a fonte (tipo de letra) base usada em mensagens OSD. Claro, pode ser " "modificada com a linguagem de markup do pango" #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" "Activar notificações OSD para o Gaim. Nota: preisa do plugin D-BUS do Gaim." #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" "Controla se as mensagens XChat OSD incluem o texto completo ou apenas " "canal/nickname" #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" "Controla se as notificações XChat OSD estão activas. Nota: precisa de XChat " "com plugin D-BUS (xchat >= 2.6)" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" "Controla se notificações de novo email estão activas. Nota:este plugin " "necessita do Evolution com o plugin D-BUS activo" #: ../gnome-osd.schemas.in.h:32 msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "" "Controla se notificações OSD de mudança de múscia (Rhythmbox, Muine) estão " "activas" #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "Posição vertial das mensagens OSD" #: ../gnome-osd.schemas.in.h:34 msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" "Posição vertical das mensagens OSD. Valores possíveis são 'top'(topo) e " "'bottom'(fundo)" #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "Plugin XChat Activo" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "Plugin XChat Mensagem Completa" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "Propriedades OSD" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "_Testar" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "_Fonte OSD: " #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "_Animações" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "_Sombra" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "_Som" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "_Esconder quando o rato passar por cima" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "Superior _esquerdo" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "_Superior" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "Superior _direito" #: ../gnomeosd/capplet.py:233 msgid "L_eft" msgstr "_Esquerdo" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "_Centro" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "_Direito" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "Inferior e_squerdo" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "_Inferior" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "Inferior d_ireito" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "_Evitar paineis" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "Alinhamento" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "Notificar aquando de _mudança de música" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "Funciona com Rhythmbox e Muine" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "Leitor de Música" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "IRC (Conversações)" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "Notificar aquando de mensagens _IRC dirigidas a mim" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "Funciona com XChat (>= 2.6) com o plugin D-BUS" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "Incluir texto da _mensagem" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "EMail" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "Notificar quando novo _email chegar" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "Funciona com o Evolution com o plugin D-BUS activado" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "Gaim" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "Notificar de acções dos contactos" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "" "Notificar quando um contacto inicia ou termina sessão, escreve, ou envia uma " "mensagem." #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "Geral" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "Notificações" #: ../gnomeosd/capplet.py:359 #, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "Isto é um teste %s %s enviado a partir da janela de preferências" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Gustavo J. A. M. Carneiro\n" "\n" "Launchpad Contributions:\n" " Gustavo Carneiro https://launchpad.net/~gjc" #: ../gnomeosd/capplet.py:372 msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "" "Um sistema de mensagens de notificação OSD (On Screen Display) para o GNOME" #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "Artista" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "Album" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "Faixa" gnome-osd-0.12.2/po/zh_CN.po0000644000175000017500000001761710760335762015634 0ustar adpeeteradpeeter# Simplified Chinese translation for gnome-osd # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the gnome-osd package. # FIRST AUTHOR , 2007. # msgid "" msgstr "" "Project-Id-Version: gnome-osd\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2007-08-21 05:11+0000\n" "Last-Translator: rainofchaos \n" "Language-Team: Simplified Chinese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "å±å¹•通知" #: ../gnome-osd-properties.desktop.in.h:2 msgid "Set preferences for OSD notifications" msgstr "设置å±å¹•通知首选项" #: ../gnome-osd.schemas.in.h:1 msgid "Avoid Panels" msgstr "" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "" #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "å¯ç”¨åŠ¨ç”»" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "å¯ç”¨é˜´å½±" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "å¯ç”¨å£°éŸ³" #: ../gnome-osd.schemas.in.h:11 msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "å±å¹•显示信æ¯çš„字体" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "鼠标指到时éšè—" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "å±å¹•ä¿¡æ¯æ°´å¹³å¯¹é½" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "" #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "" #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "" #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" #: ../gnome-osd.schemas.in.h:32 msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "" #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "" #: ../gnome-osd.schemas.in.h:34 msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "" #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "" #: ../gnomeosd/capplet.py:233 msgid "L_eft" msgstr "" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "" #: ../gnomeosd/capplet.py:359 #, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " rainofchaos https://launchpad.net/~rainofchaos" #: ../gnomeosd/capplet.py:372 msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "" #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "" gnome-osd-0.12.2/po/fr.po0000644000175000017500000002660310760335762015235 0ustar adpeeteradpeeter# French translation for gnome-osd # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the gnome-osd package. # FIRST AUTHOR , 2007. # msgid "" msgstr "" "Project-Id-Version: gnome-osd\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2008-01-01 17:27+0000\n" "Last-Translator: Christian \n" "Language-Team: French \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "Notifications OSD" #: ../gnome-osd-properties.desktop.in.h:2 msgid "Set preferences for OSD notifications" msgstr "Définir les préférences des notifications OSD" #: ../gnome-osd.schemas.in.h:1 msgid "Avoid Panels" msgstr "Ne pas recouvrir les tableaux de bord." #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "Cadre de débogguage" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "Durée d'affichage par défaut" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "Durée d'affichage par défaut, en millisecondes." #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "Activer un faux effet d'arrière-plan translucide" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "Activer les animations" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "Activer l'ombre portée" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "Activer le son" #: ../gnome-osd.schemas.in.h:11 #, fuzzy msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" "Nom de fichier de l'échantillon sonore à jouer lorsque l'option est activée. " "Si le chemin ne commence pas par /, il est relatif à $datadir/sounds" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "Police utilisée pour les messages OSD" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "Greffon pour Gaim Activé" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "Cacher au passage de la souris" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "Alignement horizontal des messages OSD" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" "Alignement horizontal des messages OSD. Peut être \"centrer\", \"gauche\", " "ou \"droite\"." #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" "Si activé, la transparence du fond sera simulée par un effet de damier. " "ATTENTION : cet effet peut occasionner des ralentissements considérables du " "serveur X lors de l'affichage du message." #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "Si activée, une ombre portée sera affichée derrière le texte." #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" "Si activée, un échantillon sonore sera joué lors de l'apparition d'un " "message. Nécessite le serveur de son esd." #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" "Si activé, les messages ne recouvriront pas les tableaux de bord existants, " "pourvu que vous disposiez d'un gestionnaire de fenêtre conforme à la norme " "EWMH." #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "" "Si activé, les messages glisseront sur l'écran au lieu de simplement " "apparaître." #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "" "Si activer, déplacer la souris sur le message le fera disparaître " "automatiquement." #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "Nouveau greffon de courrier électronique activé" #: ../gnome-osd.schemas.in.h:25 #, fuzzy msgid "Song Change Plugin Enabled" msgstr "Greffon du changement de chanson activé" #: ../gnome-osd.schemas.in.h:26 #, fuzzy msgid "Sound sample" msgstr "Exemple de son" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" "Ceci est la police de base utilisée dans les notifications OSD. Elle pourra " "évidemment être remplacée par l'usage du langage de balisage pango." #: ../gnome-osd.schemas.in.h:28 #, fuzzy msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" "Active les notifications OSD de Gaim. Attention, ceci requiert la présence " "du greffon D-BUS pour Gaim." #: ../gnome-osd.schemas.in.h:29 #, fuzzy msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" "Indique si les notifications OSD de XChat contiennent le texte complet ou " "simplement le couple canal/pseudonyme" #: ../gnome-osd.schemas.in.h:30 #, fuzzy msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" "Active les notifications OSD de XChat. Attention, ceci requiert la présence " "du greffon D-BUS pour XChat (version >= 2.6)" #: ../gnome-osd.schemas.in.h:31 #, fuzzy msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" "Active les notifications OSD à l'arrivée de nouveaux courriers " "électroniques. Attention, ceci requiert la présence du greffon D-BUS pour " "Evolution." #: ../gnome-osd.schemas.in.h:32 #, fuzzy msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "" "Permet d'activer ou non l'affichage sur écran des notifications de " "changements de morceau (Rhythmbox, Muine)." #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "Position verticale des messages OSD" #: ../gnome-osd.schemas.in.h:34 msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" "Position verticale des messages OSD. Ne peut pas être \"haut\", \"centré\", " "ou \"bas\"." #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "Greffon XChat activé" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "Messge entier du greffon XChat" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "Propriétés OSD" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "_Test" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "Police_OSD " #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "_Animations" #: ../gnomeosd/capplet.py:211 #, fuzzy msgid "_Drop shadow" msgstr "_Ombre portée" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "_Son" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "_Caché au passage de la souris" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "En haur _à gauche" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "_En haut" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "En haut _à droite" #: ../gnomeosd/capplet.py:233 #, fuzzy msgid "L_eft" msgstr "G_auche" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "_Centré" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "à droi_te" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "En bas à g_auche" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "_En bas" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "en Bas à d_roite" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "Ne pas recouvrir les tableaux de bord" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "Alignement" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "Avertissement changement chanson" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "Fonctionne avec Rhythmbox et Muine" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "Lecteur audio" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "IRC (messagerie instantannée)" #: ../gnomeosd/capplet.py:297 #, fuzzy msgid "Notify on _IRC messages directed to me" msgstr "M'avertir des messages _IRC qui me sont adressés" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "Fonctionne avec XChat (>= 2.6) avec le greffon D-BUS" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "Inclure _message texte" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "Courriel" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "M'avertir sous réception de nouveau courriel" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "Fonctionne avec Evolution avec le greffon D-BUS activé" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "Gaim" #: ../gnomeosd/capplet.py:332 #, fuzzy msgid "Notify buddies actions" msgstr "Notifier les actions de mes amis" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "" "M'avertir lorsqu'un contact se connecte/déconnecte, écris ou envoie un " "message" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "Informations générales" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "Avertissements" #: ../gnomeosd/capplet.py:359 #, fuzzy, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "Ceci est un %s %s test envoyé par la boîte de dialogue" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Christian https://launchpad.net/~christian-decruynaere\n" " Jigho https://launchpad.net/~jigho\n" " Pierre Slamich https://launchpad.net/~pierre-slamich\n" " duke05 https://launchpad.net/~presto-duke\n" " jean-marie https://launchpad.net/~jmp-jmpouliquen\n" " nafubuntu https://launchpad.net/~francisbouvier" #: ../gnomeosd/capplet.py:372 msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "Un système de notification OSD (affichage à l'écran) pour GNOME." #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "Artiste" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "Album" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "Piste" gnome-osd-0.12.2/po/ru.po0000644000175000017500000003365110760335762015255 0ustar adpeeteradpeeter# translation of _gnome-osd-ru.po to # Russian translation for gnome-osd # Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 # This file is distributed under the same license as the gnome-osd package. # # FIRST AUTHOR , 2008. # Sergei Zivukov , 2008. msgid "" msgstr "" "Project-Id-Version: _gnome-osd-ru\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2008-01-16 15:17+0000\n" "Last-Translator: Sergei Zivukov \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "OSD-УведомлениÑ" #: ../gnome-osd-properties.desktop.in.h:2 msgid "Set preferences for OSD notifications" msgstr "УÑтановить наÑтройки Ð´Ð»Ñ OSD-Уведомлений" #: ../gnome-osd.schemas.in.h:1 msgid "Avoid Panels" msgstr "Удалить панели" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "ФрÑйм отладки" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "По умолчанию автоматичеÑки Ñкрывать через некоторое времÑ" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "" "По умолчанию автоматичеÑки Ñкрывать через некоторое времÑ, в миллиÑекундах" #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "Ellipsize Режим" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" "Ellipsize режим Ð´Ð»Ñ OSD-Ñообщений. Может быть уÑтановлен 'никакой', " "'начало', 'Ñередина', или 'конец'. Ellipsizing ÑредÑтва замены чаÑти текÑта " "Ñ ... когда он не помещаетÑÑ Ð½Ð° Ñкране." #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "Включить Ñффект пÑевдо-прозрачноÑти фона" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "Включить анимации" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "Включить тени" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "Включить звук" #: ../gnome-osd.schemas.in.h:11 msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" "Ð˜Ð¼Ñ Ñ„Ð°Ð¹Ð»Ð° образца проигрываниÑ, когда звук включен. ЕÑли проигрывание файла, " "указанного Ñ \"/\", не начинаетÑÑ, попробуйте его указать как $datadir/sounds" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "Шрифт, иÑпользуемый в OSD ÑообщениÑÑ…" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "Gaim-плагин включен" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "Скрыть от мыши" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "Горизонтальное выравнивание OSD Ñообщений" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" "Горизонтальное выравнивание OSD Ñообщений. Может быть уÑтановлено как 'по " "центру', 'Ñлева', или 'Ñправа'." #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" "ЕÑли уÑтановить, то будет добавлен фон Ñ Ð¿Ñ€Ð¾Ñ€Ð¸Ñовкой имитации прозрачноÑти. " "Ð’ÐИМÐÐИЕ: Ñтот Ñффект может вызвать значительные задержки в работе Ð¥-" "Ñервера, пока Ñообщение видно." #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "ЕÑли включить, то тени будут отображатьÑÑ Ð¿Ð¾Ð·Ð°Ð´Ð¸ текÑта." #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" "ЕÑли включить, то образец звука будет проигрыватьÑÑ, когда ÑÐ¾Ð¾Ð±Ñ‰ÐµÐ½Ð¸Ñ Ð±ÑƒÐ´ÑƒÑ‚ " "показыватьÑÑ. ТребуетÑÑ esd звуковой Ñервер." #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" "ЕÑли уÑтановить, то ÑÐ¾Ð¾Ð±Ñ‰ÐµÐ½Ð¸Ñ Ð±ÑƒÐ´ÑƒÑ‚ иметь рамку вокруг ÑебÑ, отображение " "Ñтрого регулируетÑÑ Ð·Ð¾Ð½Ð¾Ð¹, ÐºÐ¾Ñ‚Ð¾Ñ€Ð°Ñ ÑƒÑ‡Ð¸Ñ‚Ñ‹Ð²Ð°ÐµÑ‚ также выравнивание и результаты " "Ð¾Ð¿Ñ€ÐµÐ´ÐµÐ»ÐµÐ½Ð¸Ñ ÐºÐ¾Ð»Ð»Ð¸Ð·Ð¸Ð¹. Внимание: Ñта Ð¾Ð¿Ñ†Ð¸Ñ Ð¿Ñ€ÐµÐ´Ð½Ð°Ð·Ð½Ð°Ñ‡ÐµÐ½Ð° иÑключительно Ð´Ð»Ñ " "теÑтированиÑ, так что не надейтеÑÑŒ, что она пойдет во вÑех верÑиÑÑ… GnomeOSD." #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" "ЕÑли включить, ÑÐ¾Ð¾Ð±Ñ‰ÐµÐ½Ð¸Ñ Ð½Ðµ будут поÑвлÑтьÑÑ Ð½Ð° главной и других " "ÑущеÑтвующих панелей, при уÑловии, еÑли удовлетворÑет требованиÑм Вашего " "оконного менеджера." #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "" "ЕÑли включить, ÑÐ¾Ð¾Ð±Ñ‰ÐµÐ½Ð¸Ñ Ð±ÑƒÐ´ÑƒÑ‚ Ñкользить в и вне Ñкрана, вмеÑто того чтобы " "проÑто иÑчезать." #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "" "ЕÑли включить, движение курÑора мыши по текÑту автоматичеÑки Ñкроет его." #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "Ðовый плагин Ñлектронной почты включен" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "Плагин Ñмены пеÑни включен" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "Образец звука" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" "Это оÑновной шрифт, иÑпользуемый в OSD ÑообщениÑÑ…. Он может быть преодолен Ñ " "помощью pango-разметки." #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" "Переключатель Gaim OSD уведомлений включен. Замечание: Ñтот плагин требует " "наличие плагина Gaim D-BUS." #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" "Переключатель XChat OSD ÑƒÐ²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ñообщений, включающий веÑÑŒ текÑÑ‚ или " "проÑто канал/ник." #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" "Переключатель XChat OSD уведомлений включен. Замечание: требует XChat D-BUS " "плагин (xchat >= 2.6)" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" "Переключатель уведомлений о новых Ñообщений по Ñлектронной почте включен. " "Замечание: требует наличие у Evolution активации плагина D-BUS." #: ../gnome-osd.schemas.in.h:32 msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "Переключатель уведомлений о Ñмене пеÑни (Rhythmbox, Muine) включен." #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "Вертикальное раÑположение OSD Ñообщений." #: ../gnome-osd.schemas.in.h:34 msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" "Вертикальное раÑположение OSD Ñообщений. Может быть уÑтановлено как " "'вверху', 'в центре', или 'внизу'." #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "XChat плагин включен" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "XChat плагин Ð¾Ñ‚Ð¾Ð±Ñ€Ð°Ð¶ÐµÐ½Ð¸Ñ ÑÐ¾Ð¾Ð±Ñ‰ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð»Ð½Ð¾Ñтью" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "OSD ÐаÑтройки" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "_ТеÑÑ‚" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "OSD _Шрифт: " #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "_Ðнимации" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "_Тени" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "_Звук" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "_Сокрытие мыши" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "Вверху _Ñлева" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "_Вверху" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "Вверху _Ñправа" #: ../gnomeosd/capplet.py:233 msgid "L_eft" msgstr "Л_ево" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "_Центр" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "Пр_аво" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "Внизу Ñ_лева" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "_Справа" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "Внизу Ñ_права" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "У_брать панели" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "Выравнивание" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "Уведомление Ñмены пеÑни" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "Работа Ñ Rhythmbox и Muine" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "Музыкальный проигрыватель" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "IRC (Чат)" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "Уведомление о приходе _IRC Ñообщений Ð´Ð»Ñ Ð¼ÐµÐ½Ñ" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "Работает Ñ XChat (>= 2.6) Ñ D-BUS плагином" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "Включает _текÑÑ‚ ÑообщениÑ" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "Ð­Ð»ÐµÐºÑ‚Ñ€Ð¾Ð½Ð½Ð°Ñ Ð¿Ð¾Ñ‡Ñ‚Ð°" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "Уведомление о приходе новой _Ñлектронной почты" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "Работает Ñ Evolution Ñ Ð²ÐºÐ»ÑŽÑ‡ÐµÐ½Ð½Ñ‹Ð¼ D-BUS плагином" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "Gaim" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "Уведомление об активноÑти друзей" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "" "УведомлÑть, когда контакт входит или выходит из Сети, пишет или отправлÑет " "Ñообщение" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "Главное" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "УведомлениÑ" #: ../gnomeosd/capplet.py:359 #, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "Это %s %s теÑÑ‚, поÑланный от наÑтройки диалога" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Sergei Zivukov https://launchpad.net/~ekonomvygoda" #: ../gnomeosd/capplet.py:372 msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "" "OSD (On Screen Display - Отображние Ðа Экране) ÑиÑтема ÑƒÐ²ÐµÐ´Ð¾Ð¼Ð»ÐµÐ½Ð¸Ñ Ð´Ð»Ñ GNOME." #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "ИÑполнитель" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "Ðльбом" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "Дорожка" gnome-osd-0.12.2/po/ca.po0000644000175000017500000002076710760335762015216 0ustar adpeeteradpeeter# Catalan translation for gnome-osd # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the gnome-osd package. # FIRST AUTHOR , 2007. # msgid "" msgstr "" "Project-Id-Version: gnome-osd\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2007-10-11 10:55+0000\n" "Last-Translator: el_libre \n" "Language-Team: Catalan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "Notificacions OSD" #: ../gnome-osd-properties.desktop.in.h:2 msgid "Set preferences for OSD notifications" msgstr "" #: ../gnome-osd.schemas.in.h:1 msgid "Avoid Panels" msgstr "Evita Panells" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "Marc de depuració" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "" #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "Mode El·lípsat" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "Activa les animacions" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "Hablita treure ombra" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "Habilita el so" #: ../gnome-osd.schemas.in.h:11 msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "Afegit de Pidigin Hablitat" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "Amaga en passar el ratolí per sobre" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "" #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "" #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "" #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "Afegit de Nou Correu Hablitat" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "Tros de so" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" #: ../gnome-osd.schemas.in.h:32 msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "" #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "Posició vertical dels missatges visuals" #: ../gnome-osd.schemas.in.h:34 msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "Hablita l'afegit d'XChat" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "Missatge complet de l'afegit XChat" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "Propietats de Missatge Visual" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "Pro_va" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "_Font OSD: " #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "_Animacions" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "_Elimina ombra" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "S_o" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "_Amaga en posar el ratolí a sobre" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "Superior _esquerre" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "_Dalt" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "Superior _dret" #: ../gnomeosd/capplet.py:233 msgid "L_eft" msgstr "_Esquerra" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "_Centrat" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "Dre_ta" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "Inferior _esquerra" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "A _baix" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "Inferior d_reta" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "_Evita panells" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "Aliniament" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "Notifica ca_nvi de cançó" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "Treballa amb Rhythmbox i Muine" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "Reproductor de música" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "IRC (Xat)" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "Inclou _missatge de text" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "Adreça electrònica" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "Notifica quan arriba un _nou correu-e" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "Pidgin" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "Notificar les accions dels contactes" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "General" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "Notificacions" #: ../gnomeosd/capplet.py:359 #, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " el_libre https://launchpad.net/~el-libre" #: ../gnomeosd/capplet.py:372 msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "" #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "Artista" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "Àlbum" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "Cançó" gnome-osd-0.12.2/po/cs.po0000644000175000017500000002524110760335762015230 0ustar adpeeteradpeeter# msgid "" msgstr "" "Project-Id-Version: gnome-osd 0.10.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2008-01-15 00:10+0000\n" "Last-Translator: Pavel MlÄoch \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" "X-Poedit-Country: CZECH REPUBLIC\n" "X-Poedit-Language: Czech\n" #~ msgid "OSD" #~ msgstr "OSD" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "OSD Oznamování" #: ../gnome-osd-properties.desktop.in.h:2 #, fuzzy msgid "Set preferences for OSD notifications" msgstr "Nastavení vlastností pro OSD zprávy" #: ../gnome-osd.schemas.in.h:1 msgid "Avoid Panels" msgstr "Prázdné panely" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "Ladicí rámec" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "Standartní prodleva automatického skrývání" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "Standartní prodleva automatického skrývání v milisekundách" #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "Eliptický mód" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" "Eliptický mód pro OSD zprávy. Může nabývat hodnot 'none', 'start', 'middle', " "nebo 'end'. Eliptický znamená, že Äásti textu které se nevejdou do obrazovky " "budou nahrazeny znaky ...." #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "Povolí efekt zanedbej průhlednost pozadí" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "Povolení animací" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "Povolí ignorování stínu" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "Povolí zvuk" #: ../gnome-osd.schemas.in.h:11 msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" "Jméno souboru se vzorkem k pÅ™ehrání jestliže má enable_sound hodnotu " "true.Jestli nezaÄíná znakem /, je cesta relativní k $datadir/sounds" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "Font použitý v OSD zprávách" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "Skryj pod kurzorem myÅ¡i" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "Horizontální zarovnání OSD zpráv" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" "Horizontální zarovnání OSD zpráv. Možné hodnoty jsou'center'(stÅ™ed), " "'left'(vlevo) nebo 'right'(vpravo)." #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" "Pro true je pozadí slouÄeno pomocí efektu rozptylu k imitaci průhlednosti. " "UPOZORNÄšNÃ: tento efekt může výraznÄ› zpomalit X server dokud je zpráva " "zobrazena." #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "Pro hodnotu true bude stín zobrazen pÅ™ed textem." #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" "Pro hodnotu true bude pÅ™ehrán zvuk když je zobrazena zpráva. Vyžaduje esd " "zvukový server." #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" "Jestliže je true, zprávy budou orámovány, zobrazeni obdelníkové oblasti " "urÄené pro zarovnání a detekci kolizí. Pozor: tato volba je urÄena výhradnÄ› " "pro ladÄ›ní, proto nebude zůstávat ve vÅ¡ech dalších verzích GnomeOSD." #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" "Pro hodnotu true nebudou zprávy zobrazeny nad existujícími panely. Je " "vyžadován EWMH kompatibilní správce oken." #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "" "Pro hodnotu true budou zprávy uvnitÅ™ a vnÄ› obrazovky místo jednoduchého " "vyzdvyhování." #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "" "Pro hodnotu true automatické skrytí kurzoru mysi pÅ™esunutÄ›ho nad textem." #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "Povolen plugin nové poÅ¡ty" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "Povolen plugin zmÄ›ny skladby" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "Zvukový vzorek" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" "Toto je základní font použitý v OSD zprávách. SamozÅ™ejmÄ› může být zmÄ›nÄ›n " "použitím pango znaÄky." #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" "Vyber pro oznamování XChat OSD zpráv obsahujících úplný text nebo pouze " "kanál/nickname" #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" "Vyber pro zapnutí oznamování XChat OSD. Pozn.: vyžaduje XChat D-BUS plugin " "(xchat >= 2.6)" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" "Vyber pro zapnutí oznamování nové poÅ¡ty. Pozn.: tento plugin vyžaduje " "Evolution s aktivním D-BUS pluginem." #: ../gnome-osd.schemas.in.h:32 msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "Vyber pro zapnutí OSD oznamování zmÄ›ny skladby." #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "Vertikální pozice OSD zpráv" #: ../gnome-osd.schemas.in.h:34 msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" "Svislé umístÄ›ní OSD zpráv. Může nabývat honot 'top', 'center', nebo 'bottom'." #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "Povolen plugin pro XChat" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "Úplná zpráva pro XChat plugin" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "Vlastnosti OSD" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "_Test" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "_Font OSD: " #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "_Animace" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "_Vem stín" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "_Zvuk" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "_Skryj pod kurzorem myÅ¡i" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "Vlevor _nahoÅ™e" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "_NahoÅ™e" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "Vpravo _nahoÅ™e" #: ../gnomeosd/capplet.py:233 msgid "L_eft" msgstr "_Vlevo" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "_StÅ™ed" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "_Vpravo" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "Vlevo d_ole" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "_Dole" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "Vpravo do_le" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "Skry_té panely" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "Zarovnání" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "Oznam pÅ™i zmÄ›nÄ› skladby" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "Spolupracuje s Rhythmboxem a Muine" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "PÅ™ehrávaÄ skladeb" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "IRC (Chat)" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "Oznamuj pro mÄ› urÄené_IRC zprávy" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "Spolupracuje s XChatem (>= 2.6) s D-BUS pluginem" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "Vkládá _text zprávy" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "E-mail" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "Oznamuj když pÅ™ijde nová poÅ¡ta" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "Spolupracuje s Evolution s povoleným pluginem D-BUS" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "Obecná" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "Oznámení" #: ../gnomeosd/capplet.py:359 #, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "Toto je %s %s test odeslaný y dialogu voleb" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Pavel Mlcoch\n" "\n" "Launchpad Contributions:\n" " Pavel MlÄoch https://launchpad.net/~pavkamlc" #: ../gnomeosd/capplet.py:372 msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "" "Systém OSD (zobrazování na obrazovce) upozorňovacích zpráv pro GNOME." #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "UmÄ›lec" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "Album" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "Stopa" gnome-osd-0.12.2/po/pl.po0000644000175000017500000002307110760335762015235 0ustar adpeeteradpeeter# Polish translation for gnome-osd # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the gnome-osd package. # FIRST AUTHOR , 2007. # msgid "" msgstr "" "Project-Id-Version: gnome-osd\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2007-08-07 21:29+0000\n" "Last-Translator: Roman SkrzypiÅ„ski \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "Powiadomienia OSD" #: ../gnome-osd-properties.desktop.in.h:2 msgid "Set preferences for OSD notifications" msgstr "Ustaw opcje powiadomieÅ„ OSD" #: ../gnome-osd.schemas.in.h:1 #, fuzzy msgid "Avoid Panels" msgstr "Unikaj Paneli" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "Ramka Debugowania" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "DomyÅ›lny limit czasu auto-ukrywania" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "DomyÅ›lny limit czasu auto-ukrywania, w milisekundach." #: ../gnome-osd.schemas.in.h:5 #, fuzzy msgid "Ellipsize Mode" msgstr "Tryb Skracania" #: ../gnome-osd.schemas.in.h:6 #, fuzzy msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" "Tryb skracania dla wiadomoÅ›ci OSD. Może być 'brak', 'poczÄ…tek', 'Å›rodek', " "lub 'koniec'. Skracanie oznacza zamienianie części tekstu na ... gdy nie " "mieÅ›ci siÄ™ na ekranie." #: ../gnome-osd.schemas.in.h:7 #, fuzzy msgid "Enable a fake translucent background effect" msgstr "Włącz efekt pozornej półprzezroczystoÅ›ci tÅ‚a" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "Włącz animacje" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "Włącz rzucanie cienia" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "Włącz dźwiÄ™k" #: ../gnome-osd.schemas.in.h:11 #, fuzzy msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" "Nazwa pliku próbki odgrywanej gdy enable_sound jest prawdziwe. Jeżeli nie " "zaczyna siÄ™ od /, jest to Å›cieżka wzglÄ™dna do $datadir/sounds" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "Czcionka użyta w wiadomoÅ›ciach OSD" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "Włącz WtyczkÄ™ Gaim" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "Ukrywaj po najechaniu myszÄ…" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "Poziome wyrównanie wiadomoÅ›ci OSD" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" "Poziome wyrównanie wiadomoÅ›ci OSD. Może być 'Å›rodek', 'lewo', lub 'prawo'." #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" "Gdy prawdziwe, jest dodawane tÅ‚o z efektem wypunktowania by imitować " "przeźroczystość. UWAGA: ten efekt znaczÄ…co spowalnia serwer X gdy wiadomość " "jest widoczna." #: ../gnome-osd.schemas.in.h:18 #, fuzzy msgid "If true, a drop shadow will be displayed behind the text." msgstr "Gdy prawdziwe, rzucany cieÅ„ bÄ™dzie wyÅ›wietlany za tekstem." #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" "Gdy prawdziwe, próbka dźwiÄ™kowa zostanie odtworzona gdy wiadomość siÄ™ " "pojawi. Wymaga serwera dźwiÄ™ku esd." #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" "Gdy prawdziwe, wiadomoÅ›ci bÄ™dÄ… otoczone ramkÄ…, dokÅ‚adnie pokazujÄ…c " "prostokÄ…tne pole które może sÅ‚użyć ustawieniu poÅ‚ożenia i wykrycia kolizji. " "Uwaga: ta opcja sÅ‚uży jedynie do celów debugowania, wiÄ™c nie powinno siÄ™ " "polegać na jej obecnoÅ›ci we wszystkich wersjach GnomeOSD." #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "" #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "" #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "Próbka dźwiÄ™kowa" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" #: ../gnome-osd.schemas.in.h:32 msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "" #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "Pionowa pozycja wiadomoÅ›ci OSD" #: ../gnome-osd.schemas.in.h:34 msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" "Pionowa pozycja wiadomoÅ›ci OSD. Może być 'góra', 'Å›rodek', lub 'dół'." #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "Wtyczka XChat Włączona" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "WÅ‚aÅ›ciwoÅ›ci OSD" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "" #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "" #: ../gnomeosd/capplet.py:233 msgid "L_eft" msgstr "" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "Wyrównanie" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "DziaÅ‚a z Rhythmbox i Muine" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "Odtwarzacz muzyczny" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "IRC (Chat)" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "EMail" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "DziaÅ‚a z Evolution z włączonÄ… wtyczkÄ… D-BUS" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "Gaim" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "Ogólne" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "Powiadomienia" #: ../gnomeosd/capplet.py:359 #, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Roman SkrzypiÅ„ski https://launchpad.net/~romano473" #: ../gnomeosd/capplet.py:372 msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "" #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "Autor" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "Album" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "Åšcieżka" gnome-osd-0.12.2/po/ja.po0000644000175000017500000002400210760335762015207 0ustar adpeeteradpeeter# gnome-osd ja.po. # Copyright (C) 2004 Free Software Foundation, Inc. # This file is distributed under the same license as the 'gnome-osd' package. # Takeshi AIHANA , 2004. # msgid "" msgstr "" "Project-Id-Version: gnome-osd 0.6.0a1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2008-01-15 00:11+0000\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" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #~ msgid "OSD" #~ msgstr "GNOME オンスクリーン・ディスプレイ" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "" #: ../gnome-osd-properties.desktop.in.h:2 #, fuzzy msgid "Set preferences for OSD notifications" msgstr "OSD メッセージã®ãƒ—ロパティをセットã—ã¾ã™" #: ../gnome-osd.schemas.in.h:1 msgid "Avoid Panels" msgstr "パãƒãƒ«ã‚’é¿ã‘ã‚‹" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "" #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "背景ã®åŠ¹æžœã‚’è¦‹ã›ã‹ã‘ã®åŠé€æ˜Žã«ã™ã‚‹" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "アニメーションを有効ã«ã™ã‚‹" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "影を付ã‘ã‚‹" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "音を鳴らã™" #: ../gnome-osd.schemas.in.h:11 msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" "'enable_sound' ã‚’ TRUE ã«ã—ãŸå ´åˆã«ã€æ¼”å¥ã™ã‚‹æ›²ãƒ•ァイルã®ãƒ‘スåã§ã™ã€‚ã“ã®ãƒ‘スå㌠/ " "ã§å§‹ã¾ã‚‰ãªã„å ´åˆã¯ã€$datadier/sounds ã‹ã‚‰ã®ç›¸å¯¾ãƒ‘スã¨ã—ã¦æ‰±ã‚れã¾ã™ã€‚" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "OSD メッセージã§ä½¿ç”¨ã™ã‚‹ãƒ•ォント" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "マウスãŒä¸Šã«ä¹—ã£ãŸã‚‰éš ã™" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "OSD ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã®æ°´å¹³æ–¹å‘ã®ä½ç½®" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "OSD ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã®æ°´å¹³æ–¹å‘ã®ä½ç½®ã§ã™ã€‚利用å¯èƒ½ãªå€¤: 'center'ã€'left'ã€'right'" #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" "TRUE ã«ã™ã‚‹ã¨ã€åŠé€æ˜Žã«ä¼¼ã›ãŸç‚¹å½©åŠ¹æžœã§èƒŒæ™¯ã‚’æç”»ã—ã¾ã™ã€‚ã€è­¦å‘Šã€‘ã“ã®åŠ¹æžœã¯ã€ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’表示ã™ã‚‹éš›ã« X サーãƒã‚’極度ã«é…ãã™ã‚‹ã‹ã‚‚ã—れã¾ã›ã‚“。" #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "TRUE ã«ã™ã‚‹ã¨ã€è¡¨ç¤ºã™ã‚‹ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã®å¾Œã‚ã«å½±ã‚’æç”»ã—ã¾ã™ã€‚" #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "TRUE ã«ã™ã‚‹ã¨ã€ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ãŒè¡¨ç¤ºã•れãŸã‚‰éŸ³ã‚’鳴らã—ã¾ã™ã€‚ESD サウンド・サーãƒãŒå¿…è¦ã§ã™ã€‚" #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" "TRUE ã«ã™ã‚‹ã¨ã€ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã¯æ—¢å­˜ã®ãƒ‡ã‚¹ã‚¯ãƒˆãƒƒãƒ—・パãƒãƒ«ã®ä¸Šã«ã¯è¡¨ç¤ºã•れãªã„よã†ã«ãªã‚Šã€EWMH 互æ›ã®ã‚¦ã‚£ãƒ³ãƒ‰ã‚¦ãƒ»ãƒžãƒãƒ¼ã‚¸ãƒ£ã‚’使ãˆã‚‹ã‚ˆã†ã«ã—ã¾ã™ã€‚" #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "TRUE ã«ã™ã‚‹ã¨ã€ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’å˜ã«ãƒãƒƒãƒ—アップã™ã‚‹ã®ã§ã¯ãªãã€ç”»é¢ã«å…¥ã£ã¦å‡ºã¦ã„ãã¨ã„ã£ãŸå‹•ãã‚’ã—ã¾ã™ã€‚" #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "TRUE ã«ã™ã‚‹ã¨ã€ãƒžã‚¦ã‚¹ã®ã‚«ãƒ¼ã‚½ãƒ«ãŒãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã®ä¸Šã«ä¹—ã£ã‹ã£ãŸæ™‚ã«ã€ãã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã‚’自動的ã«éš ã—ã¾ã™ã€‚" #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "æ¼”å¥ã™ã‚‹ãƒ•ァイル" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "ã“れ㯠OSD メッセージã§ä½¿ç”¨ã™ã‚‹ãƒ•ォントã§ã™ã€‚ã‚‚ã¡ã‚ã‚“ã€Pango markup を使ã£ãŸä¸Šæ›¸ãã‚‚å¯èƒ½ã§ã™ã€‚" #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" #: ../gnome-osd.schemas.in.h:32 msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "" #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "OSD メッセージã®åž‚ç›´æ–¹å‘ã®ä½ç½®" #: ../gnome-osd.schemas.in.h:34 #, fuzzy msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "OSD ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã®æ°´å¹³æ–¹å‘ã®ä½ç½®ã§ã™ã€‚利用å¯èƒ½ãªå€¤: 'top'ã€'bottom'" #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "OSD ã®ãƒ—ロパティ" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "テスト(_T)" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "OSD ã®ãƒ•ォント(_F): " #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "アニメーションã™ã‚‹(_A)" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "影を付ã‘ã‚‹(_D)" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "音を鳴らã™(_S)" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "マウスãŒä¸Šã«ä¹—ã£ãŸã‚‰éš ã™(_H)" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "左上(_L)" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "上(_T)" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "å³ä¸Š(_R)" #: ../gnomeosd/capplet.py:233 #, fuzzy msgid "L_eft" msgstr "テスト(_T)" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "左下(_E)" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "下(_B)" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "å³ä¸‹(_I)" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "パãƒãƒ«ã‚’é¿ã‘ã‚‹(_V)" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "é…ç½®" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "" #: ../gnomeosd/capplet.py:359 #, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "ã“れã¯è¨­å®šãƒ€ã‚¤ã‚¢ãƒ­ã‚°ã‹ã‚‰ %s %s テストをé€ä¿¡ã—ã¾ã™" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Takeshi AIHANA\n" "\n" "Launchpad Contributions:\n" " Takeshi AIHANA https://launchpad.net/~aihana" #: ../gnomeosd/capplet.py:372 msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "" #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "アーティスト" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "アルãƒãƒ å" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "トラック番å·" gnome-osd-0.12.2/po/tr.po0000644000175000017500000002147110760335762015251 0ustar adpeeteradpeeter# Turkish translation for gnome-osd # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the gnome-osd package. # FIRST AUTHOR , 2007. # msgid "" msgstr "" "Project-Id-Version: gnome-osd\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2007-10-09 13:04+0000\n" "Last-Translator: ercangun \n" "Language-Team: Turkish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "OSD uyarı iletileri" #: ../gnome-osd-properties.desktop.in.h:2 msgid "Set preferences for OSD notifications" msgstr "OSD uyarı iletileri için tercihleri ayarla" #: ../gnome-osd.schemas.in.h:1 msgid "Avoid Panels" msgstr "" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "Çerçevede hata ayıklama yap" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "Varsayılan otomatik gizlenme zamanı" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "Varsayılan otomatik gizlenme zamanı (milisaniye olarak)" #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "Sahte ÅŸeffaf arkaplan efektini etkinleÅŸtir" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "Canlandırmaları etkinleÅŸtir" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "Sesi etkinleÅŸtir" #: ../gnome-osd.schemas.in.h:11 msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "OSD iletilerinde kullanılacak yazıtipi" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "Gaim Eklentisi Etkin" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "Fare imlecini kaçırdığımda gizle" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "OSD iletilerinin yatay hizalanışı" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" "OSD iletilerinin yatay hizalanışı. 'ortada', 'solda' veya 'saÄŸda' olabilir." #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "" #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" "EtkinleÅŸtirildiÄŸinde, bir ileti belirdiÄŸi zaman bir ses örneÄŸi çalınacak. " "esd ses sunucusu gerektirir." #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "" #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "" "EtkinleÅŸtirilirse, fare imleci yazının üzerine getirildiÄŸinde yazı otomatik " "olarak gizlenecek." #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "Yeni E-posta Eklentisi Etkin" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "Åžarkı DeÄŸiÅŸtirme Eklentisi Etkin" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "Ses örneÄŸi" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" #: ../gnome-osd.schemas.in.h:32 msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "" #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "OSD iletilerinin dikey konumu" #: ../gnome-osd.schemas.in.h:34 msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" "OSD iletilerinin dikey konumu. 'en üstte', 'ortada' veya 'en altta' olabilir." #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "XChat Eklentisi Etkin" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "OSD Özellikleri" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "_Dene" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "OSD _Yazıtipi " #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "Canlandırmalar" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "_Ses" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "Fare imlecinin _hareketiyle gizle" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "" #: ../gnomeosd/capplet.py:233 msgid "L_eft" msgstr "" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "Hizalama" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "Rhythmbox ve Muine ile çalışır" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "IRC (Sohbet)" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "E-Posta" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "Yeni _e-posta geldiÄŸinde haberdar et" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "Gaim" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "" #: ../gnomeosd/capplet.py:359 #, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " ercangun https://launchpad.net/~egundogdu2001" #: ../gnomeosd/capplet.py:372 msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "" #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "" gnome-osd-0.12.2/po/ms.po0000644000175000017500000001775210760335762015252 0ustar adpeeteradpeeter# Malay translation for gnome-osd # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the gnome-osd package. # FIRST AUTHOR , 2007. # msgid "" msgstr "" "Project-Id-Version: gnome-osd\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2007-11-01 13:11+0000\n" "Last-Translator: Mohammad Hafiz bin Ismail \n" "Language-Team: Malay \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "Makluman OSD" #: ../gnome-osd-properties.desktop.in.h:2 msgid "Set preferences for OSD notifications" msgstr "" #: ../gnome-osd.schemas.in.h:1 msgid "Avoid Panels" msgstr "Elakkan Panel" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "Nyahpijat Bingkai" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "" #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "" #: ../gnome-osd.schemas.in.h:11 msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "Fon digunakan dalam mesej OSD" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "" #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "" #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "" #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "Sample bunyian" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" "Ini adalah fon asas digunakan dalam mesej-mesej OSD. Ia boleh tukarganti " "menggunakan markup pango" #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" #: ../gnome-osd.schemas.in.h:32 msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "" #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "" #: ../gnome-osd.schemas.in.h:34 msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "_Fon OSD " #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "_Animasi" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "_Bunyi" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "Atas_kiri" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "_Atas" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "Atas_kanan" #: ../gnomeosd/capplet.py:233 msgid "L_eft" msgstr "K_iri" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "_Tengah" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "" #: ../gnomeosd/capplet.py:359 #, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Mohammad Hafiz bin Ismail https://launchpad.net/~mypapit" #: ../gnomeosd/capplet.py:372 msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "" #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "" gnome-osd-0.12.2/po/hu.po0000644000175000017500000002177410760335762015246 0ustar adpeeteradpeeter# Hungarian translation for gnome-osd # Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008 # This file is distributed under the same license as the gnome-osd package. # FIRST AUTHOR , 2008. # msgid "" msgstr "" "Project-Id-Version: gnome-osd\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2008-02-10 17:27+0000\n" "Last-Translator: Pittmann Tamás \n" "Language-Team: Hungarian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "OSD értesítések" #: ../gnome-osd-properties.desktop.in.h:2 msgid "Set preferences for OSD notifications" msgstr "OSD értesítések beállításai" #: ../gnome-osd.schemas.in.h:1 msgid "Avoid Panels" msgstr "Panelek elkerülése" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "" #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "Animációk engedélyezése" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "Hang bekapcsolása" #: ../gnome-osd.schemas.in.h:11 msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "OSD üzenetekben használt betűkészlet" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "Gaim bÅ‘vítmény engedélyezése" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "Elrejtés rámutatáskor" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "Ha igaz, az árnyék meg lesz jelenítve a szöveg mögött." #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" "Ha igaz, egy hangminta kerül lejátszásra üzenet megjelenésekor. Esd " "hangkiszolgáló szükséges." #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "Ha igaz, az üzenetek ki és be fognak csúszni a képernyÅ‘n." #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "Ha igaz, a kurzor átmozgatásával a szövegen, az el fog tűnni." #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "E-mail értesítÅ‘ bÅ‘vítmény engedélyezése" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "Zeneváltó bÅ‘vítmény engedélyezése" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "Hangminta" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" "Ez alap használt betűkészlet az OSD üzenetekben. Természetesen felülírható " "pango használatával." #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" #: ../gnome-osd.schemas.in.h:32 msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "" #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "OSD üzenetek függÅ‘leges elhelyezkedése" #: ../gnome-osd.schemas.in.h:34 msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" "OSD üzenetek függÅ‘leges elhelyezkedése Lehet \"fent\", \"középen\", vagy " "\"lent\"." #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "Xchat bÅ‘vítmény engedélyezve" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "XChat bÅ‘vítmény teljes üzenet" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "OSD beállítások" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "_Teszt" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "OSD _Betűkészlet " #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "_Animációk" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "_Hang" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "Balra _fel" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "_Fent" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "Jobbra _fel" #: ../gnomeosd/capplet.py:233 msgid "L_eft" msgstr "B_alra" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "_Középre" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "Jo_bbra" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "Balra l_e" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "_Lent" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "Jobbra l_e" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "Figyelmeztetés _szám váltáskor" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "Működik a Rhythmbox és Muine programokkal" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "Zenelejátszó" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "IRC (csevegés)" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "E-mail" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "Értesítés új _e-mail érkezésekor" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "Gaim" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "Figyelmeztetés nekem címzett _IRC üzenet esetén" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "Ãltalános" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "Értesítések" #: ../gnomeosd/capplet.py:359 #, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Pittmann Tamás https://launchpad.net/~zaivaldi" #: ../gnomeosd/capplet.py:372 msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "" #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "ElÅ‘adó" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "Album" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "Szám" gnome-osd-0.12.2/po/ChangeLog0000644000175000017500000000064110605727052016025 0ustar adpeeteradpeeter2007-02-25 Daniel Nylander * sv.po: Add swedish translations. 2005-04-02 Gustavo J. A. M. Carneiro * POTFILES.in: Scan gnomeosd/capplet.py instead of gnome-osd-properties. 2004-08-29 Gustavo J. A. M. Carneiro * pt.po: Translate rbosd.py. 2004-08-29 Takeshi AIHANA * ja.po: Add japanese translations file. gnome-osd-0.12.2/po/POTFILES.in0000644000175000017500000000017310760340421016021 0ustar adpeeteradpeetergnome-osd-properties.desktop.in gnome-osd.schemas.in gnomeosd/capplet.py gnomeosd/eventbridge.py gnomeosd/gtkexcepthook.py gnome-osd-0.12.2/po/de.po0000644000175000017500000002626410760335762015221 0ustar adpeeteradpeeter# German translation for gnome-osd # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the gnome-osd package. # FIRST AUTHOR , 2007. # msgid "" msgstr "" "Project-Id-Version: gnome-osd\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2008-01-03 12:09+0000\n" "Last-Translator: Tapsiturtle \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "OSD-Benachrichtigungen" #: ../gnome-osd-properties.desktop.in.h:2 msgid "Set preferences for OSD notifications" msgstr "Einstellungen bearbeiten für OSD Benachrichtigungen" #: ../gnome-osd.schemas.in.h:1 msgid "Avoid Panels" msgstr "Panels vermeiden" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "Debugfenster" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "Zeit bis zum automatischen Verstecken" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "Zeit bis zum automatischen Verstecken, in Millisekunden." #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "Auslassungs-Modus" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" "Auslassungs-Modus for OSD-Meldungen. Mögliche Werte: 'keine', 'start', " "'mitte', oder 'ende'. Der Modus ersetzt einen Teil des Texts mit '...', wenn " "er nicht auf den Bildschirm paßt." #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "Durchscheinende Hintergründe simulieren" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "Animationen aktivieren" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "Schattenwurf aktivieren" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "Klang aktivieren" #: ../gnome-osd.schemas.in.h:11 msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" "Klangdatei, die abgespielt wird, wenn enable_sound aktiviert ist. Der " "angegebene Pfad ist relativ zu $datadir/sound, sofern er nicht mit '/' " "beginnt" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "Schriftart für OSD-Meldungen" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "Gaim-Plugin aktivieren" #: ../gnome-osd.schemas.in.h:14 msgid "Hide on mouse hover" msgstr "Beim Überfahren mit der Maus verstecken" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "Horizontale Ausrichtung von OSD-Meldungen" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" "Horizontale Ausrichtung von OSD-Meldungen. Mögliche Werte: 'mittig', 'links' " "oder 'rechts'." #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" "Falls aktiviert, wird mit einem Rasterreffekt Transparenz simuliert. " "ACHTUNG: Der Effekt kann den X-Server ausbremsen, solange die Nachricht " "sichtbar ist." #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "Falls aktiviert, wird Schattenwurf hinter dem Text angezeigt." #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" "Falls aktiviert, wird eine Klangdatei beim Anzeigen einer Nachricht " "abgespielt. Benötigt den esd Sound Server" #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" "Falls aktiviert, werden Nachrichten von einem Rechteck umrahmt, das den " "exakten Bereich markiert, der für Ausrichtung und Kollision ausgewertet " "wird. Achtung: Diese Option ist nur zur Fehlersuche gedacht und kann bei " "einigen GnomeOSD-Implementierungen fehlen." #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" "Falls aktiviert, werden Nachrichten nicht auf bestehenden Panels angezeigt, " "sofern ein EWMH-kompatibler Fenster-Manager vorhanden ist." #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "" "Falls aktiviert, erscheinen Nachrichten von der Bildschirmseite rollen, " "anstatt nur aufzutauchen." #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "" "Falls aktiviert, wird eine Nachricht versteckt, sobald sich die Maus darüber " "bewegt." #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "Neues Mail-Plugin aktiviert" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "Klang-Ändern-Plugin aktiviert" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "Klangdatei" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" "Dies ist die Standard-Schriftart für OSD-Meldungen. Die Einstellung kann " "mittels Pango-Markup überschieben werden." #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" "Gaim-Meldungen aktivieren. Dieses Plugin benötigt das Gaim D-BUS-Plugin." #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" "XChat OSD-Meldungen enthalten Volltext der Nachricht oder nur Kanal/Nickname" #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" "XChat OSD-Meldungen aktivieren. Hinweis: Benötigt XChat D-BUS-Plugin (xchat " "ab Version 2.6)" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" "Email-Benachrichtigungen aktivieren. Hinweis: Dieses Plugin benötigt das " "Evolution D-BUS-Plugin." #: ../gnome-osd.schemas.in.h:32 #, fuzzy msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "" "Ausschalten wenn Liedwechsel (Rhythmbox, Muine) OSD Benachrichtigungen " "eingeschaltet sind." #: ../gnome-osd.schemas.in.h:33 msgid "Vertical position of OSD messages" msgstr "Vertikale Ausrichtung" #: ../gnome-osd.schemas.in.h:34 msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" "Vertikale Ausrichtung der OSD-Meldungen. 'oben', 'mittig' oder 'unten'" #: ../gnome-osd.schemas.in.h:35 msgid "XChat Plugin Enabled" msgstr "XChat-Plugin aktiviert" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "XChat-Plugin: Volltext" #: ../gnomeosd/capplet.py:167 msgid "OSD Properties" msgstr "Einstellungen" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "_Test" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "_Schriftart " #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "_Animationen" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "Schatten_wurf" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "_Klang" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "_Verstecken bei Mauskontakt" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "Oben l_inks" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "_Oben" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "Oben r_echts" #: ../gnomeosd/capplet.py:233 msgid "L_eft" msgstr "_Links" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "_Mittig" #: ../gnomeosd/capplet.py:235 msgid "Ri_ght" msgstr "_Rechts" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "Unten Li_nks" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "_Unten" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "Unten re_chts" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "_Panels vermeiden" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "Ausrichtung" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "Bei Liedwechsel benachrichtigen" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "Funktioniert mit Rhythmbox und Muine" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "Musikspieler" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "IRC (Chat)" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "Benachrichtigung bei _IRC Nachrichten direkt an mich" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "Funktioniert mit XChat (>= 2.6) mit dem D-BUS plugin" #: ../gnomeosd/capplet.py:304 msgid "Include _message text" msgstr "" #: ../gnomeosd/capplet.py:316 msgid "EMail" msgstr "E-Mail" #: ../gnomeosd/capplet.py:319 msgid "Notify when new _email arrives" msgstr "Benachrichtigung bei eintreffen einer neuen E-Mail" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "Funktioniert mit Evolution mit dem D-BUS plugin" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "Gaim" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "Anzeigen bei aktionen von Freunden" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "" "Benachrichtigung bei ein- oder ausloggen, wenn geschrieben oder eine " "Nachricht gesendet wird" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "Allgemein" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "Benachrichtigungen" #: ../gnomeosd/capplet.py:359 #, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "Dies ist ein %s %s Test, gesendet vom Einstellungsdialog" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Tapsiturtle https://launchpad.net/~tapsiturtle\n" " relet https://launchpad.net/~thomas-hirsch\n" " seakayone https://launchpad.net/~launchpad-net-dynamight" #: ../gnomeosd/capplet.py:372 #, fuzzy msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "Ein OSD (On Screen Display) Benachrichtigungssystem für GNOME." #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "Interpret" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "Album" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "Stück" gnome-osd-0.12.2/po/it.po0000644000175000017500000002104110760335762015231 0ustar adpeeteradpeeter# Italian translation for gnome-osd # Copyright (c) 2007 Rosetta Contributors and Canonical Ltd 2007 # This file is distributed under the same license as the gnome-osd package. # FIRST AUTHOR , 2007. # msgid "" msgstr "" "Project-Id-Version: gnome-osd\n" "Report-Msgid-Bugs-To: FULL NAME \n" "POT-Creation-Date: 2007-04-07 19:07+0100\n" "PO-Revision-Date: 2007-11-20 22:05+0000\n" "Last-Translator: Leo Cosma \n" "Language-Team: Italian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Launchpad-Export-Date: 2008-02-24 18:48+0000\n" "X-Generator: Launchpad (build Unknown)\n" #: ../gnome-osd-properties.desktop.in.h:1 msgid "OSD Notifications" msgstr "Notifiche OSD" #: ../gnome-osd-properties.desktop.in.h:2 msgid "Set preferences for OSD notifications" msgstr "Imposta le preferenze per le notifiche OSD" #: ../gnome-osd.schemas.in.h:1 #, fuzzy msgid "Avoid Panels" msgstr "Pannelli a scomparsa" #: ../gnome-osd.schemas.in.h:2 msgid "Debug Frame" msgstr "" #: ../gnome-osd.schemas.in.h:3 msgid "Default auto-hide timeout" msgstr "" #: ../gnome-osd.schemas.in.h:4 msgid "Default auto-hide timeout, in miliseconds." msgstr "" #: ../gnome-osd.schemas.in.h:5 msgid "Ellipsize Mode" msgstr "" #: ../gnome-osd.schemas.in.h:6 msgid "" "Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. " "Ellipsizing means to replace part of the text with ... when it doesn't fit " "in the screen." msgstr "" #: ../gnome-osd.schemas.in.h:7 msgid "Enable a fake translucent background effect" msgstr "" #: ../gnome-osd.schemas.in.h:8 msgid "Enable animations" msgstr "Abilita le animazioni" #: ../gnome-osd.schemas.in.h:9 msgid "Enable drop shadow" msgstr "" #: ../gnome-osd.schemas.in.h:10 msgid "Enable sound" msgstr "Abilta suono" #: ../gnome-osd.schemas.in.h:11 msgid "" "File name of the sample to play when enable_sound is true. If it doesn't " "start with /, it is a path relative to $datadir/sounds" msgstr "" #: ../gnome-osd.schemas.in.h:12 msgid "Font used in OSD messages" msgstr "Tipo di carattere usato nei messaggi OSD" #: ../gnome-osd.schemas.in.h:13 msgid "Gaim Plugin Enabled" msgstr "Plugin di Gaim abilitato" #: ../gnome-osd.schemas.in.h:14 #, fuzzy msgid "Hide on mouse hover" msgstr "Nascondi al passaggio del mouse" #: ../gnome-osd.schemas.in.h:15 msgid "Horizontal alignment of OSD messages" msgstr "Allineamento orizzontale dei messaggi OSD" #: ../gnome-osd.schemas.in.h:16 msgid "" "Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'." msgstr "" "Allineamento orizzontale dei messaggi di OSD. Può essere 'al centro', 'a " "sinistra', o 'a destra'." #: ../gnome-osd.schemas.in.h:17 msgid "" "If true, a background is added with a stipple effect to immitate " "translucency. WARNING: this effect seems to slow down the X server " "considerably while the message is visible." msgstr "" #: ../gnome-osd.schemas.in.h:18 msgid "If true, a drop shadow will be displayed behind the text." msgstr "" #: ../gnome-osd.schemas.in.h:19 msgid "" "If true, a sound sample will be played when a message appears. Requires esd " "sound server." msgstr "" #: ../gnome-osd.schemas.in.h:20 msgid "" "If true, messages will have a wire frame around them, showing the exact " "rectangular area that is considered for alignment and collision detection " "purposes. Warning: this option is meant for debugging purposes exclusively, " "so do not rely on it being present in all GnomeOSD versions." msgstr "" #: ../gnome-osd.schemas.in.h:21 msgid "" "If true, messages will not appear on top of any existing panels, provided " "you have a EWMH compliant Window Manager." msgstr "" #: ../gnome-osd.schemas.in.h:22 msgid "" "If true, messages will slide in and out of screen, instead of simply popping." msgstr "" #: ../gnome-osd.schemas.in.h:23 msgid "" "If true, moving the mouse cursor over the text will automatically hide it." msgstr "" #: ../gnome-osd.schemas.in.h:24 msgid "New Mail Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:25 msgid "Song Change Plugin Enabled" msgstr "" #: ../gnome-osd.schemas.in.h:26 msgid "Sound sample" msgstr "" #: ../gnome-osd.schemas.in.h:27 msgid "" "This is the base font used in OSD messages. It can be overridden using pango " "markup, of course." msgstr "" #: ../gnome-osd.schemas.in.h:28 msgid "" "Toggle whether Gaim OSD notifications are enabled. Note: this plugin " "requires Gaim D-BUS plugin." msgstr "" #: ../gnome-osd.schemas.in.h:29 msgid "" "Toggle whether XChat OSD notification messages include full text or just " "channel/nickname." msgstr "" #: ../gnome-osd.schemas.in.h:30 msgid "" "Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-" "BUS plugin (xchat >= 2.6)" msgstr "" #: ../gnome-osd.schemas.in.h:31 msgid "" "Toggle whether new email notifications are enabled. Note: this plugin " "requires that Evolution has the D-BUS plugin active." msgstr "" #: ../gnome-osd.schemas.in.h:32 msgid "" "Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled." msgstr "" #: ../gnome-osd.schemas.in.h:33 #, fuzzy msgid "Vertical position of OSD messages" msgstr "Posizione verticale dei messaggi OSD" #: ../gnome-osd.schemas.in.h:34 #, fuzzy msgid "" "Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'." msgstr "" "Posizione verticale dei messaggi OSD. Può essere 'alto', 'centro', o 'basso'." #: ../gnome-osd.schemas.in.h:35 #, fuzzy msgid "XChat Plugin Enabled" msgstr "Plugin XChat abilitato" #: ../gnome-osd.schemas.in.h:36 msgid "XChat Plugin Full Message" msgstr "" #: ../gnomeosd/capplet.py:167 #, fuzzy msgid "OSD Properties" msgstr "Proprietà OSD" #: ../gnomeosd/capplet.py:168 msgid "_Test" msgstr "" #: ../gnomeosd/capplet.py:186 msgid "OSD _Font: " msgstr "" #: ../gnomeosd/capplet.py:205 msgid "_Animations" msgstr "" #: ../gnomeosd/capplet.py:211 msgid "_Drop shadow" msgstr "" #: ../gnomeosd/capplet.py:217 msgid "_Sound" msgstr "" #: ../gnomeosd/capplet.py:223 msgid "_Hide on mouse hover" msgstr "_Nascondi al passaggio del mouse" #: ../gnomeosd/capplet.py:230 msgid "Top _left" msgstr "" #: ../gnomeosd/capplet.py:231 msgid "_Top" msgstr "" #: ../gnomeosd/capplet.py:232 msgid "Top _right" msgstr "" #: ../gnomeosd/capplet.py:233 #, fuzzy msgid "L_eft" msgstr "_Sinistra" #: ../gnomeosd/capplet.py:234 msgid "_Center" msgstr "" #: ../gnomeosd/capplet.py:235 #, fuzzy msgid "Ri_ght" msgstr "_Destra" #: ../gnomeosd/capplet.py:236 msgid "Bottom l_eft" msgstr "" #: ../gnomeosd/capplet.py:237 msgid "_Bottom" msgstr "" #: ../gnomeosd/capplet.py:238 msgid "Bottom r_ight" msgstr "" #: ../gnomeosd/capplet.py:261 msgid "A_void panels" msgstr "" #: ../gnomeosd/capplet.py:270 msgid "Alignment" msgstr "" #: ../gnomeosd/capplet.py:283 msgid "Notify on _song changes" msgstr "" #: ../gnomeosd/capplet.py:284 msgid "Works with Rhythmbox and Muine" msgstr "" #: ../gnomeosd/capplet.py:286 msgid "Music Player" msgstr "" #: ../gnomeosd/capplet.py:294 msgid "IRC (Chat)" msgstr "" #: ../gnomeosd/capplet.py:297 msgid "Notify on _IRC messages directed to me" msgstr "" #: ../gnomeosd/capplet.py:298 msgid "Works with XChat (>= 2.6) with D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:304 #, fuzzy msgid "Include _message text" msgstr "Includi _messaggi di testo" #: ../gnomeosd/capplet.py:316 #, fuzzy msgid "EMail" msgstr "EMail" #: ../gnomeosd/capplet.py:319 #, fuzzy msgid "Notify when new _email arrives" msgstr "Notifica l'arrivo di _email" #: ../gnomeosd/capplet.py:320 msgid "Works with Evolution with enabled D-BUS plugin" msgstr "" #: ../gnomeosd/capplet.py:329 msgid "Gaim" msgstr "" #: ../gnomeosd/capplet.py:332 msgid "Notify buddies actions" msgstr "" #: ../gnomeosd/capplet.py:333 msgid "Notify when a contact logs in or out, writes, or sends a message" msgstr "" #: ../gnomeosd/capplet.py:346 msgid "General" msgstr "" #: ../gnomeosd/capplet.py:348 msgid "Notifications" msgstr "" #: ../gnomeosd/capplet.py:359 #, python-format msgid "This is a %s %s test sent from the preferences dialog" msgstr "" #: ../gnomeosd/capplet.py:362 msgid "translator-credits" msgstr "" "Launchpad Contributions:\n" " Leo Cosma https://launchpad.net/~leocosma\n" " Paolo Naldini https://launchpad.net/~hattory" #: ../gnomeosd/capplet.py:372 #, fuzzy msgid "An OSD (On Screen Display) message notification system for GNOME." msgstr "" "Un sistema di notifica dei messaggi OSD (On Screen Display) per GNOME." #: ../gnomeosd/eventbridge.py:181 msgid "Artist" msgstr "" #: ../gnomeosd/eventbridge.py:187 msgid "Album" msgstr "" #: ../gnomeosd/eventbridge.py:191 msgid "Track" msgstr "" gnome-osd-0.12.2/intltool-extract.in0000644000175000017500000005565010757530222017512 0ustar adpeeteradpeeter#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Extractor # # Copyright (C) 2000-2001, 2003 Free Software Foundation. # # Intltool 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. # # Intltool 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., 675 Mass Ave, Cambridge, MA 02139, 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. # # Authors: Kenneth Christiansen # Darin Adler # ## Release information my $PROGRAM = "intltool-extract"; my $PACKAGE = "intltool"; my $VERSION = "0.37.0"; ## Loaded modules use strict; use File::Basename; use Getopt::Long; ## Scalars used by the option stuff my $TYPE_ARG = "0"; my $LOCAL_ARG = "0"; my $HELP_ARG = "0"; my $VERSION_ARG = "0"; my $UPDATE_ARG = "0"; my $QUIET_ARG = "0"; my $SRCDIR_ARG = "."; my $FILE; my $OUTFILE; my $gettext_type = ""; my $input; my %messages = (); my %loc = (); my %count = (); my %comments = (); my $strcount = 0; my $XMLCOMMENT = ""; ## Use this instead of \w for XML files to handle more possible characters. my $w = "[-A-Za-z0-9._:]"; ## Always print first $| = 1; ## Handle options GetOptions ( "type=s" => \$TYPE_ARG, "local|l" => \$LOCAL_ARG, "help|h" => \$HELP_ARG, "version|v" => \$VERSION_ARG, "update" => \$UPDATE_ARG, "quiet|q" => \$QUIET_ARG, "srcdir=s" => \$SRCDIR_ARG, ) or &error; &split_on_argument; ## Check for options. ## This section will check for the different options. sub split_on_argument { if ($VERSION_ARG) { &version; } elsif ($HELP_ARG) { &help; } elsif ($LOCAL_ARG) { &place_local; &extract; } elsif ($UPDATE_ARG) { &place_normal; &extract; } elsif (@ARGV > 0) { &place_normal; &message; &extract; } else { &help; } } sub place_normal { $FILE = $ARGV[0]; $OUTFILE = "$FILE.h"; my $dirname = dirname ($OUTFILE); if (! -d "$dirname" && $dirname ne "") { system ("mkdir -p $dirname"); } } sub place_local { $FILE = $ARGV[0]; $OUTFILE = fileparse($FILE, ()); if (!-e "tmp/") { system("mkdir tmp/"); } $OUTFILE = "./tmp/$OUTFILE.h" } sub determine_type { if ($TYPE_ARG =~ /^gettext\/(.*)/) { $gettext_type=$1 } } ## Sub for printing release information sub version{ print <<_EOF_; ${PROGRAM} (${PACKAGE}) $VERSION Copyright (C) 2000, 2003 Free Software Foundation, Inc. Written by Kenneth Christiansen, 2000. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. _EOF_ exit; } ## Sub for printing usage information sub help { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... [FILENAME] Generates a header file from an XML source file. It grabs all strings between <_translatable_node> and its end tag in XML files. Read manpage (man ${PROGRAM}) for more info. --type=TYPE Specify the file type of FILENAME. Currently supports: "gettext/glade", "gettext/ini", "gettext/keys" "gettext/rfc822deb", "gettext/schemas", "gettext/scheme", "gettext/xml", "gettext/quoted", "gettext/quotedxml" -l, --local Writes output into current working directory (conflicts with --update) --update Writes output into the same directory the source file reside (conflicts with --local) --srcdir Root of the source tree -v, --version Output version information and exit -h, --help Display this help and exit -q, --quiet Quiet mode Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } ## Sub for printing error messages sub error{ print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit; } sub message { print "Generating C format header file for translation.\n" unless $QUIET_ARG; } sub extract { &determine_type; &convert; open OUT, ">$OUTFILE"; binmode (OUT) if $^O eq 'MSWin32'; &msg_write; close OUT; print "Wrote $OUTFILE\n" unless $QUIET_ARG; } sub convert { ## Reading the file { local (*IN); local $/; #slurp mode open (IN, "<$SRCDIR_ARG/$FILE") || die "can't open $SRCDIR_ARG/$FILE: $!"; $input = ; } &type_ini if $gettext_type eq "ini"; &type_keys if $gettext_type eq "keys"; &type_xml if $gettext_type eq "xml"; &type_glade if $gettext_type eq "glade"; &type_scheme if $gettext_type eq "scheme"; &type_schemas if $gettext_type eq "schemas"; &type_rfc822deb if $gettext_type eq "rfc822deb"; &type_quoted if $gettext_type eq "quoted"; &type_quotedxml if $gettext_type eq "quotedxml"; } sub entity_decode_minimal { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/&/&/g; return $_; } sub entity_decode { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/<//g; s/&/&/g; return $_; } sub escape_char { return '\"' if $_ eq '"'; return '\n' if $_ eq "\n"; return '\\\\' if $_ eq '\\'; return $_; } sub escape { my ($string) = @_; return join "", map &escape_char, split //, $string; } sub type_ini { ### For generic translatable desktop files ### while ($input =~ /^(#(.+)\n)?^_.*=(.*)$/mg) { if (defined($2)) { $comments{$3} = $2; } $messages{$3} = []; } } sub type_keys { ### For generic translatable mime/keys files ### while ($input =~ /^\s*_\w+=(.*)$/mg) { $messages{$1} = []; } } sub type_xml { ### For generic translatable XML files ### my $tree = readXml($input); parseTree(0, $tree); } sub print_var { my $var = shift; my $vartype = ref $var; if ($vartype =~ /ARRAY/) { my @arr = @{$var}; print "[ "; foreach my $el (@arr) { print_var($el); print ", "; } print "] "; } elsif ($vartype =~ /HASH/) { my %hash = %{$var}; print "{ "; foreach my $key (keys %hash) { print "$key => "; print_var($hash{$key}); print ", "; } print "} "; } else { print $var; } } # Same syntax as getAttributeString in intltool-merge.in.in, similar logic (look for ## differences comment) sub getAttributeString { my $sub = shift; my $do_translate = shift || 1; my $language = shift || ""; my $translate = shift; my $result = ""; foreach my $e (reverse(sort(keys %{ $sub }))) { my $key = $e; my $string = $sub->{$e}; my $quote = '"'; $string =~ s/^[\s]+//; $string =~ s/[\s]+$//; if ($string =~ /^'.*'$/) { $quote = "'"; } $string =~ s/^['"]//g; $string =~ s/['"]$//g; ## differences from intltool-merge.in.in if ($key =~ /^_/) { $comments{entity_decode($string)} = $XMLCOMMENT if $XMLCOMMENT; $messages{entity_decode($string)} = []; $$translate = 2; } ## differences end here from intltool-merge.in.in $result .= " $key=$quote$string$quote"; } return $result; } # Verbatim copy from intltool-merge.in.in sub getXMLstring { my $ref = shift; my $spacepreserve = shift || 0; my @list = @{ $ref }; my $result = ""; my $count = scalar(@list); my $attrs = $list[0]; my $index = 1; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); while ($index < $count) { my $type = $list[$index]; my $content = $list[$index+1]; if (! $type ) { # We've got CDATA if ($content) { # lets strip the whitespace here, and *ONLY* here $content =~ s/\s+/ /gs if (!$spacepreserve); $result .= $content; } } elsif ( "$type" ne "1" ) { # We've got another element $result .= "<$type"; $result .= getAttributeString(@{$content}[0], 0); # no nested translatable elements if ($content) { my $subresult = getXMLstring($content, $spacepreserve); if ($subresult) { $result .= ">".$subresult . ""; } else { $result .= "/>"; } } else { $result .= "/>"; } } $index += 2; } return $result; } # Verbatim copy from intltool-merge.in.in, except for MULTIPLE_OUTPUT handling removed # Translate list of nodes if necessary sub translate_subnodes { my $fh = shift; my $content = shift; my $language = shift || ""; my $singlelang = shift || 0; my $spacepreserve = shift || 0; my @nodes = @{ $content }; my $count = scalar(@nodes); my $index = 0; while ($index < $count) { my $type = $nodes[$index]; my $rest = $nodes[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } } # Based on traverse() in intltool-merge.in.in sub traverse { my $fh = shift; # unused, to allow us to sync code between -merge and -extract my $nodename = shift; my $content = shift; my $language = shift || ""; my $spacepreserve = shift || 0; if ($nodename && "$nodename" eq "1") { $XMLCOMMENT = $content; } elsif ($nodename) { # element my @all = @{ $content }; my $attrs = shift @all; my $translate = 0; my $outattr = getAttributeString($attrs, 1, $language, \$translate); if ($nodename =~ /^_/) { $translate = 1; $nodename =~ s/^_//; } my $lookup = ''; $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); if ($translate) { $lookup = getXMLstring($content, $spacepreserve); if (!$spacepreserve) { $lookup =~ s/^\s+//s; $lookup =~ s/\s+$//s; } if ($lookup && $translate != 2) { $comments{$lookup} = $XMLCOMMENT if $XMLCOMMENT; $messages{$lookup} = []; } elsif ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } } else { $XMLCOMMENT = ""; my $count = scalar(@all); if ($count > 0) { my $index = 0; while ($index < $count) { my $type = $all[$index]; my $rest = $all[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } } } $XMLCOMMENT = ""; } } # Verbatim copy from intltool-merge.in.in, $fh for compatibility sub parseTree { my $fh = shift; my $ref = shift; my $language = shift || ""; my $name = shift @{ $ref }; my $cont = shift @{ $ref }; while (!$name || "$name" eq "1") { $name = shift @{ $ref }; $cont = shift @{ $ref }; } my $spacepreserve = 0; my $attrs = @{$cont}[0]; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); traverse($fh, $name, $cont, $language, $spacepreserve); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_comment { my $expat = shift; my $data = $expat->original_string(); my $clist = $expat->{Curlist}; my $pos = $#$clist; $data =~ s/^$//s; push @$clist, 1 => $data; } # Verbatim copy from intltool-merge.in.in sub intltool_tree_cdatastart { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 0 => $expat->original_string(); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_cdataend { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; $clist->[$pos] .= $expat->original_string(); } # Verbatim copy from intltool-merge.in.in sub intltool_tree_char { my $expat = shift; my $text = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; # Use original_string so that we retain escaped entities # in CDATA sections. # if ($pos > 0 and $clist->[$pos - 1] eq '0') { $clist->[$pos] .= $expat->original_string(); } else { push @$clist, 0 => $expat->original_string(); } } # Verbatim copy from intltool-merge.in.in sub intltool_tree_start { my $expat = shift; my $tag = shift; my @origlist = (); # Use original_string so that we retain escaped entities # in attribute values. We must convert the string to an # @origlist array to conform to the structure of the Tree # Style. # my @original_array = split /\x/, $expat->original_string(); my $source = $expat->original_string(); # Remove leading tag. # $source =~ s|^\s*<\s*(\S+)||s; # Grab attribute key/value pairs and push onto @origlist array. # while ($source) { if ($source =~ /^\s*([\w:-]+)\s*[=]\s*["]/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*["]([^"]*)["]||s; push @origlist, $1; push @origlist, '"' . $2 . '"'; } elsif ($source =~ /^\s*([\w:-]+)\s*[=]\s*[']/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*[']([^']*)[']||s; push @origlist, $1; push @origlist, "'" . $2 . "'"; } else { last; } } my $ol = [ { @origlist } ]; push @{ $expat->{Lists} }, $expat->{Curlist}; push @{ $expat->{Curlist} }, $tag => $ol; $expat->{Curlist} = $ol; } # Copied from intltool-merge.in.in and added comment handler. sub readXml { my $xmldoc = shift || return; my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $xp = new XML::Parser(Style => 'Tree'); $xp->setHandlers(Char => \&intltool_tree_char); $xp->setHandlers(Start => \&intltool_tree_start); $xp->setHandlers(CdataStart => \&intltool_tree_cdatastart); $xp->setHandlers(CdataEnd => \&intltool_tree_cdataend); ## differences from intltool-merge.in.in $xp->setHandlers(Comment => \&intltool_tree_comment); ## differences end here from intltool-merge.in.in my $tree = $xp->parse($xmldoc); #print_var($tree); # Hello thereHowdydo # would be: # [foo, [{}, 1, "comment", head, [{id => "a"}, 0, "Hello ", em, [{}, 0, "there"]], bar, # [{}, 0, "Howdy", ref, [{}]], 0, "do" ] ] return $tree; } sub type_schemas { ### For schemas XML files ### # FIXME: We should handle escaped < (less than) while ($input =~ / \s* (\s*(?:\s*)?(.*?)\s*<\/default>\s*)? (\s*(?:\s*)?(.*?)\s*<\/short>\s*)? (\s*(?:\s*)?(.*?)\s*<\/long>\s*)? <\/locale> /sgx) { my @totranslate = ($3,$6,$9); my @eachcomment = ($2,$5,$8); foreach (@totranslate) { my $currentcomment = shift @eachcomment; next if !$_; s/\s+/ /g; $messages{entity_decode_minimal($_)} = []; $comments{entity_decode_minimal($_)} = $currentcomment if (defined($currentcomment)); } } } sub type_rfc822deb { ### For rfc822-style Debian configuration files ### my $lineno = 1; my $type = ''; while ($input =~ /\G(.*?)(^|\n)(_+)([^:]+):[ \t]*(.*?)(?=\n\S|$)/sg) { my ($pre, $newline, $underscore, $tag, $text) = ($1, $2, $3, $4, $5); while ($pre =~ m/\n/g) { $lineno ++; } $lineno += length($newline); my @str_list = rfc822deb_split(length($underscore), $text); for my $str (@str_list) { $strcount++; $messages{$str} = []; $loc{$str} = $lineno; $count{$str} = $strcount; my $usercomment = ''; while($pre =~ s/(^|\n)#([^\n]*)$//s) { $usercomment = "\n" . $2 . $usercomment; } $comments{$str} = $tag . $usercomment; } $lineno += ($text =~ s/\n//g); } } sub rfc822deb_split { # Debian defines a special way to deal with rfc822-style files: # when a value contain newlines, it consists of # 1. a short form (first line) # 2. a long description, all lines begin with a space, # and paragraphs are separated by a single dot on a line # This routine returns an array of all paragraphs, and reformat # them. # When first argument is 2, the string is a comma separated list of # values. my $type = shift; my $text = shift; $text =~ s/^[ \t]//mg; return (split(/, */, $text, 0)) if $type ne 1; return ($text) if $text !~ /\n/; $text =~ s/([^\n]*)\n//; my @list = ($1); my $str = ''; for my $line (split (/\n/, $text)) { chomp $line; if ($line =~ /^\.\s*$/) { # New paragraph $str =~ s/\s*$//; push(@list, $str); $str = ''; } elsif ($line =~ /^\s/) { # Line which must not be reformatted $str .= "\n" if length ($str) && $str !~ /\n$/; $line =~ s/\s+$//; $str .= $line."\n"; } else { # Continuation line, remove newline $str .= " " if length ($str) && $str !~ /\n$/; $str .= $line; } } $str =~ s/\s*$//; push(@list, $str) if length ($str); return @list; } sub type_quoted { while ($input =~ /\"(([^\"]|\\\")*[^\\\"])\"/g) { my $message = $1; my $before = $`; $message =~ s/\\\"/\"/g; $before =~ s/[^\n]//g; $messages{$message} = []; $loc{$message} = length ($before) + 2; } } sub type_quotedxml { while ($input =~ /\"(([^\"]|\\\")*[^\\\"])\"/g) { my $message = $1; my $before = $`; $message =~ s/\\\"/\"/g; $message = entity_decode($message); $before =~ s/[^\n]//g; $messages{$message} = []; $loc{$message} = length ($before) + 2; } } sub type_glade { ### For translatable Glade XML files ### my $tags = "label|title|text|format|copyright|comments|preview_text|tooltip|message"; while ($input =~ /<($tags)>([^<]+)<\/($tags)>/sg) { # Glade sometimes uses tags that normally mark translatable things for # little bits of non-translatable content. We work around this by not # translating strings that only includes something like label4 or window1. $messages{entity_decode($2)} = [] unless $2 =~ /^(window|label|dialog)[0-9]+$/; } while ($input =~ /(..[^<]*)<\/items>/sg) { for my $item (split (/\n/, $1)) { $messages{entity_decode($item)} = []; } } ## handle new glade files while ($input =~ /<(property|atkproperty)\s+[^>]*translatable\s*=\s*"yes"(?:\s+[^>]*comments\s*=\s*"([^"]*)")?[^>]*>([^<]+)<\/\1>/sg) { $messages{entity_decode($3)} = [] unless $3 =~ /^(window|label)[0-9]+$/; if (defined($2) and !($3 =~ /^(window|label)[0-9]+$/)) { $comments{entity_decode($3)} = entity_decode($2) ; } } while ($input =~ /]*)"\s+description="([^>]+)"\/>/sg) { $messages{entity_decode_minimal($2)} = []; } } sub type_scheme { my ($line, $i, $state, $str, $trcomment, $char); for $line (split(/\n/, $input)) { $i = 0; $state = 0; # 0 - nothing, 1 - string, 2 - translatable string while ($i < length($line)) { if (substr($line,$i,1) eq "\"") { if ($state == 2) { $comments{$str} = $trcomment if ($trcomment); $messages{$str} = []; $str = ''; $state = 0; $trcomment = ""; } elsif ($state == 1) { $str = ''; $state = 0; $trcomment = ""; } else { $state = 1; $str = ''; if ($i>0 && substr($line,$i-1,1) eq '_') { $state = 2; } } } elsif (!$state) { if (substr($line,$i,1) eq ";") { $trcomment = substr($line,$i+1); $trcomment =~ s/^;*\s*//; $i = length($line); } elsif ($trcomment && substr($line,$i,1) !~ /\s|\(|\)|_/) { $trcomment = ""; } } else { if (substr($line,$i,1) eq "\\") { $char = substr($line,$i+1,1); if ($char ne "\"" && $char ne "\\") { $str = $str . "\\"; } $i++; } $str = $str . substr($line,$i,1); } $i++; } } } sub msg_write { my @msgids; if (%count) { @msgids = sort { $count{$a} <=> $count{$b} } keys %count; } else { @msgids = sort keys %messages; } for my $message (@msgids) { my $offsetlines = 1; $offsetlines++ if $message =~ /%/; if (defined ($comments{$message})) { while ($comments{$message} =~ m/\n/g) { $offsetlines++; } } print OUT "# ".($loc{$message} - $offsetlines). " \"$FILE\"\n" if defined $loc{$message}; print OUT "/* ".$comments{$message}." */\n" if defined $comments{$message}; print OUT "/* xgettext:no-c-format */\n" if $message =~ /%/; my @lines = split (/\n/, $message, -1); for (my $n = 0; $n < @lines; $n++) { if ($n == 0) { print OUT "char *s = N_(\""; } else { print OUT " \""; } print OUT escape($lines[$n]); if ($n < @lines - 1) { print OUT "\\n\"\n"; } else { print OUT "\");\n"; } } } } gnome-osd-0.12.2/gnome-osd-client.in0000644000175000017500000000013210605727052017324 0ustar adpeeteradpeeter#! @PYTHON@ import pygtk; pygtk.require("2.0") from gnomeosd import client client.main() gnome-osd-0.12.2/gnome-osd.png0000644000175000017500000000270010605727052016231 0ustar adpeeteradpeeter‰PNG  IHDR00Wù‡bKGDùC» pHYs  ÒÝ~ütIMEÔ éN9MIDATxœí™_ˆEÇ?›Í¿»$wIzMVk±­=… }¨œUÑÖ>ô@©"Ô}•¢"}ðÉU(ú"(¥/BA,Ò–jA„Z®Œ×+¶´×är—ä.ÿ“v³·›l6wIî®…û°»3³³ßïo¾3;; ëXÇ:îk(+T·—N…N¤6J)=&³,(в8S²Öiq¯A~llÌR ¥DJ‰Ârìu^<7 ‰E ¢‹0zÅV€”R®%yóùÔÔT]Äf`(µ:'W‹¸'È !غukÂ00xͼ[ p"oNËÍëDŽ!`ðµ`±•©nÈt"\GHO~@­ótì^“ï4O‡èc©ºWÈ›¨€p›]ÒVÀZûßd!Eçk±¸£€^G²Sá&Mh)`­ìâ`¡F8â{…¼ÉB¶p; ¨'åàM¼{gPwÌåå?"ÞD5°<¬ï…$žGrô=•µ´W¼â'w&@úÄ B†&=›oznú´ôis¿z-´<õ›Ýo_FÝ;@-DÌzQw,àÃ;:GöËm”~#„ øúm/juóçBF |#|"d!UI¨ä'< î/>P"| Äà~/“: ¥ÄõÊ¿ùÂW;©\ˆÂïMâc`ü³n§öO¿A>ýMŒìÉH“5\Ѳ¥gòþû$Œ”uC?ÛŽe ì®y¾Lø€›Ô/-)m±çÐm@‹¼™¼”’…㛺ý/ÎX"å)Øúº’Tm}]Ï+'\L~4ò7)µí–”‡=\¹mšÞj)•kýø÷eB02ª zzž-ǯ~3wWÁv Ö‰5Š,ßUXø[ ôx­óAL¤hœŠY¯í QKyðèu¤”¤¿!¥`à¥4îU‡3„g¨$Tæ~ ‘ú1h;56Îÿ¥» AS™§QC€Ã”g®/„`öë\?´éc1 —}xb5bï¤Ùòiªé^;«µâ±,ÕxÀ8Ww,Ø’wm¨hu“î&‘ gÜ|w˜ÉW7“ý­€ç øFŠM¤ï îÖ¾W²]m-Ôz§¼ˆ”fïè\y÷ξ‘ùsÁ&Ôë•.n}5ÚõÄjŽ==XÁ7¬•%O)÷€‚ü÷ U½?‘’A>òÁM@‹~æ„6 FÞJxÆÚ[RJ¢//¾s—Ü-ÇÀð‘—(MíïÔîÞÚ jã7ðïËàß—±Ô©&ÝÜ€êŒf¡ða­|ø¨}›7ŽPº«Xrô`…'þ´¶[š†¿Žxº_J!(ž¤xeÿ“i<»òƃsgƒäÎ-Ýûó!ÜCUü•Œ6@[ä.¹ òBcª4[©4­½¨8¥XÚu‚ÝU‘RŠ={öt½ëå‚NQ”7€;À¤~,bÉ_d«¹þoLNXÕšåæµ#ï(à~ ß¶º±Á oÌ”m¬•ÿ …´011±&² ¤¶'jÙܵ oksõêÕ5%oâóPÊúÑQ€Î+Šò@<_ÿÛEÞ” mWº ‹°lÙAÀ˜”ò‡–¡Yaè‘¿ä$p H9´žh)@AÛƒbzDÛ›4oí­Äo§zØk:É"Õ‰' ‹?:Z®…¤^iA¿.£ý\ íO.i[¾ H=_ПÖùä¡}]h„}hÑ÷¡Ùk54%S²‡¥Y ¾©Z'®,ñ¾nQaNM£½Û߬+9Z]¯c½ÄÿÆZÃt¢Ü IEND®B`‚gnome-osd-0.12.2/README0000644000175000017500000000420010605727052014510 0ustar adpeeteradpeeter*** About *** This is an OSD (On Screen Display) GNOME component. It displays messages overlaid on your screen, using shaped windows and pango for rendering. It was inspired by XOSD (http://www.ignavus.net/software.html). At least the concept, because I didn't look at the API. *** Installation *** Requirements: - gnome-python >= 2.6.0 - dbus python bindings (optional) (If you use a Debian like distro, make sure to install python-gnome2-dev and python-gkt2-dev packages.) Just run: ./configure && make && sudo make install Optionally, you can use a specific python version: PYTHON=/path/to/your/python ./configure && make && sudo make install WARNING: You might need to run gconftool-2 --shutdown, if you're installing from a running gnome session. *** Usage *** It uses bonobo or dbus as main API, so it's very easy to use. Look at gnome-osd-client to see how it works. Alternatively, pygtk programmers may use the gnomeosd.gosd module directly, but it lacks certain features of the daemon, such as: - Automatic hiding of messages; - Preventing messages from different apps overwriting each other. - Animations - etc. Programs/plugins included: - gnome-osd-client: a simple command-line client interface. See gnome-osd-client(1) man page for more information. - xchatosd.py: xchat plugin that monitors IRC messages with your name (usually highlighted in xchat), and notifies you on screen, optionally showing the full message. You have to install this yourself, by copying to ~/.xchat2/. This gets installed to $prefix/share/gnome-osd/ NOTE: if you have xchat >= 2.6.x with the dbus plugin then this functionality is integrated into gnome-osd-event-bridge. - gnome-osd-event-bridge: this is a small daemon that listens to some event sources: xchat (xchat dbus plugin required), evolution (dbus plugin required) new mail, rhythmbox/muine song change. For GNOME >= 2.14, this program is automatically started on login. For other systems, the program should be manually run once and GNOME session saved for it to start next time. gnome-osd-0.12.2/configure.ac0000644000175000017500000000206710760340232016120 0ustar adpeeteradpeeterdnl -*- Mode: autoconf -*- dnl# Process this file with autoconf to produce a configure script. AC_PREREQ(2.53) AC_INIT(gnomeosd/gosd.py) AM_INIT_AUTOMAKE(gnome-osd, 0.12.2) AM_MAINTAINER_MODE dnl put the ACLOCAL flags in the makefile ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" ALL_LINGUAS="pt ja cs sv ca de en_GB es fr hu it ms pl ru tr zh_CN" GETTEXT_PACKAGE=gnome-osd AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package]) AM_GLIB_GNU_GETTEXT AC_PROG_INTLTOOL AM_PATH_PYTHON_VERSION(2.5, 2.5.0, 2.4, 2.4.0, 2.3, 2.3.4) AC_PREFIX_PROGRAM(bonobo-activation-run-query) PKG_CHECK_MODULES(GNOME_OSD, pygtk-2.0 >= 2.4.0 gnome-python-2.0 >= 2.6.0) # -===- -===- AM_PATH_PYTHON(2.3) # -===- -===- 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_OUTPUT( Makefile po/Makefile.in gnomeosd/Makefile man/Makefile ) gnome-osd-0.12.2/pt.inescporto.telecom.GnomeOSD.service.in0000644000175000017500000000030110605727052023465 0ustar adpeeteradpeeter[D-BUS Service] Name=pt.inescporto.telecom.GnomeOSD Exec=@libexecdir@/gnome-osd-server [D-BUS Service] Name=pt.inescporto.telecom.GnomeOSD.EventBridge Exec=@libexecdir@/gnome-osd-event-bridge gnome-osd-0.12.2/install-sh0000755000175000017500000002202110605734075015640 0ustar adpeeteradpeeter#!/bin/sh # install - install a program, script, or datafile scriptversion=2005-05-14.22 # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to # deal in the Software without restriction, including without limitation the # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or # sell copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # `make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. It can only install one file at a time, a restriction # shared with many OS's install programs. # set DOITPROG to echo to test this script # Don't use :- since 4.3BSD and earlier shells don't like it. doit="${DOITPROG-}" # put in absolute paths if you don't have them in your path; or use env. vars. mvprog="${MVPROG-mv}" cpprog="${CPPROG-cp}" chmodprog="${CHMODPROG-chmod}" chownprog="${CHOWNPROG-chown}" chgrpprog="${CHGRPPROG-chgrp}" stripprog="${STRIPPROG-strip}" rmprog="${RMPROG-rm}" mkdirprog="${MKDIRPROG-mkdir}" chmodcmd="$chmodprog 0755" chowncmd= chgrpcmd= stripcmd= rmcmd="$rmprog -f" mvcmd="$mvprog" src= dst= dir_arg= dstarg= no_target_directory= usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: -c (ignored) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. --help display this help and exit. --version display version info and exit. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test -n "$1"; do case $1 in -c) shift continue;; -d) dir_arg=true shift continue;; -g) chgrpcmd="$chgrpprog $2" shift shift continue;; --help) echo "$usage"; exit $?;; -m) chmodcmd="$chmodprog $2" shift shift continue;; -o) chowncmd="$chownprog $2" shift shift continue;; -s) stripcmd=$stripprog shift continue;; -t) dstarg=$2 shift shift continue;; -T) no_target_directory=true shift continue;; --version) echo "$0 $scriptversion"; exit $?;; *) # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. test -n "$dir_arg$dstarg" && break # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dstarg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dstarg" shift # fnord fi shift # arg dstarg=$arg done break;; esac done if test -z "$1"; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call `install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi for src do # Protect names starting with `-'. case $src in -*) src=./$src ;; esac if test -n "$dir_arg"; then dst=$src src= if test -d "$dst"; then mkdircmd=: chmodcmd= else mkdircmd=$mkdirprog fi else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dstarg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dstarg # Protect names starting with `-'. case $dst in -*) dst=./$dst ;; esac # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test -n "$no_target_directory"; then echo "$0: $dstarg: Is a directory" >&2 exit 1 fi dst=$dst/`basename "$src"` fi fi # This sed command emulates the dirname command. dstdir=`echo "$dst" | sed -e 's,/*$,,;s,[^/]*$,,;s,/*$,,;s,^$,.,'` # Make sure that the destination directory exists. # Skip lots of stat calls in the usual case. if test ! -d "$dstdir"; then defaultIFS=' ' IFS="${IFS-$defaultIFS}" oIFS=$IFS # Some sh's can't handle IFS=/ for some reason. IFS='%' set x `echo "$dstdir" | sed -e 's@/@%@g' -e 's@^%@/@'` shift IFS=$oIFS pathcomp= while test $# -ne 0 ; do pathcomp=$pathcomp$1 shift if test ! -d "$pathcomp"; then $mkdirprog "$pathcomp" # mkdir can fail with a `File exist' error in case several # install-sh are creating the directory concurrently. This # is OK. test -d "$pathcomp" || exit fi pathcomp=$pathcomp/ done fi if test -n "$dir_arg"; then $doit $mkdircmd "$dst" \ && { test -z "$chowncmd" || $doit $chowncmd "$dst"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dst"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dst"; } else dstfile=`basename "$dst"` # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 trap '(exit $?); exit' 1 2 13 15 # Copy the file name to the temp name. $doit $cpprog "$src" "$dsttmp" && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ && { test -z "$chmodcmd" || $doit $chmodcmd "$dsttmp"; } && # Now rename the file to the real destination. { $doit $mvcmd -f "$dsttmp" "$dstdir/$dstfile" 2>/dev/null \ || { # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { if test -f "$dstdir/$dstfile"; then $doit $rmcmd -f "$dstdir/$dstfile" 2>/dev/null \ || $doit $mvcmd -f "$dstdir/$dstfile" "$rmtmp" 2>/dev/null \ || { echo "$0: cannot unlink or rename $dstdir/$dstfile" >&2 (exit 1); exit 1 } else : fi } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dstdir/$dstfile" } } fi || { (exit 1); exit 1; } done # The final little trick to "correctly" pass the exit status to the exit trap. { (exit 0); exit 0 } # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: gnome-osd-0.12.2/pt.inescporto.telecom.GnomeOSD.EventBridge.service.in0000644000175000017500000000014510605727052025670 0ustar adpeeteradpeeter[D-BUS Service] Name=pt.inescporto.telecom.GnomeOSD.EventBridge Exec=@bindir@/gnome-osd-event-bridge gnome-osd-0.12.2/xchatosd.py0000644000175000017500000000752510605727052016034 0ustar adpeeteradpeeter# -*- python -*- import pygtk pygtk.require('2.0') import bonobo import xchat import xml.sax.saxutils import gconf gconfclient = gconf.client_get_default() gconfprefix = '/apps/xchatosd' __module_name__ = 'xchatosd' __module_version__ = '0.3' __module_description__ = 'Notifies you of IRC message directed to you, using OSD' def get_pref_bool(name, default): val = gconfclient.get('/'.join((gconfprefix, name))) if val is None: return default else: return val.get_bool() def set_pref_bool(name, val): gconfclient.set_bool('/'.join((gconfprefix, name)), val) ENABLED = get_pref_bool("enabled", True) SHOW_FULL_MESSAGE = get_pref_bool("show_full_message", True) def escape(text): return xml.sax.saxutils.escape(text, {'\\': ''', '"': '"'}) _osd = None def get_osd(): global _osd if _osd is not None: ser, cli = _osd try: # "ping" it ser.ref() ser.unref() return cli except: _osd = None print 'OSD server died!' if _osd is None: osd = bonobo.get_object('OAFIID:GNOME_OSD', 'IDL:Bonobo/Application:1.0') # AppClient steals one reference osd.ref() cli = bonobo.AppClient(osd) _osd = (osd, cli) return cli def osd_show(text): osd = get_osd() if isinstance(text, unicode): text = text.encode('utf-8') err = osd.msg_send('show-full', (text,)) if err: print err def print_cb(word, word_eol, userdata): sender = word[0] channel= xchat.get_info('channel') text = word[1] message = "%s "\ "<%s"\ ">" % \ (escape(channel), escape(sender)) if SHOW_FULL_MESSAGE: message += ' ' + escape(text) message = "%s" % message if ENABLED: osd_show(message) return xchat.EAT_NONE EVENTS = [] EVENTS.append(('Channel Action Hilight', 1)) EVENTS.append(('Channel Msg Hilight', 1)) EVENTS.append(('Private Message', 1)) EVENTS.append(('Private Message to Dialog', 1)) for event in EVENTS: xchat.hook_print(event[0], print_cb, event) def unload(userdata): print 'Plugin ' + __module_name__ + ' ' + __module_version__ + ' unloaded.' def osd_disable(word, word_eol, userdata): global ENABLED ENABLED = False set_pref_bool("enabled", ENABLED) print 'On Screen Display script disabled.' return xchat.EAT_ALL def osd_enable(word, word_eol, userdata): global ENABLED ENABLED = True set_pref_bool("enabled", ENABLED) print 'On Screen Display script enabled.' return xchat.EAT_ALL def osd_full(word, word_eol, userdata): global SHOW_FULL_MESSAGE SHOW_FULL_MESSAGE = True set_pref_bool("show_full_message", SHOW_FULL_MESSAGE) print 'On Screen Display script now displaying the message text.' return xchat.EAT_ALL def osd_alert(word, word_eol, userdata): global SHOW_FULL_MESSAGE SHOW_FULL_MESSAGE = False set_pref_bool("show_full_message", SHOW_FULL_MESSAGE) print 'On Screen Display script now displaying only an OSD alert, without the message text.' return xchat.EAT_ALL xchat.hook_unload(unload) xchat.hook_command('OSD_ENABLE', osd_enable, help='/OSD_ENABLE Enable the on screen display script.') xchat.hook_command('OSD_DISABLE', osd_disable, help='/OSD_DISABLE Disable the on screen display script.') xchat.hook_command('OSD_FULLMESSAGE', osd_full, help='/OSD_FULLMESSAGE Display the full message text in the OSD.') xchat.hook_command('OSD_ONLYALERT', osd_alert, help='/OSD_ONLYALERT Display only an OSD alert, without the message text.') print 'Plugin ' + __module_name__ + ' ' + __module_version__ + ' loaded.' gnome-osd-0.12.2/generate-ChangeLog0000755000175000017500000000061010760340007017167 0ustar adpeeteradpeeter#!/bin/sh ## Requires the GNU ChangeLog formatter plugin: ## http://telecom.inescporto.pt/~gjc/gnulog.py ChangeLog=$(dirname $0)/ChangeLog chmod u+w $ChangeLog 2> /dev/null bzr log -v --log-format 'gnu' -r "revid:hg:36d84752c48e29ef00b82a014ea4979b1a639f80..-1" > $ChangeLog echo " ** For older ChangeLog entries please see the file ChangeLog.old **" >> $ChangeLog chmod a-w $ChangeLog gnome-osd-0.12.2/intltool-merge.in0000644000175000017500000011474610757530222017141 0ustar adpeeteradpeeter#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Merger # # Copyright (C) 2000, 2003 Free Software Foundation. # Copyright (C) 2000, 2001 Eazel, Inc # # Intltool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # version 2 published by the Free Software Foundation. # # Intltool 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., 675 Mass Ave, Cambridge, MA 02139, 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. # # Authors: Maciej Stachowiak # Kenneth Christiansen # Darin Adler # # Proper XML UTF-8'ification written by Cyrille Chepelov # ## Release information my $PROGRAM = "intltool-merge"; my $PACKAGE = "intltool"; my $VERSION = "0.37.0"; ## Loaded modules use strict; use Getopt::Long; use Text::Wrap; use File::Basename; my $must_end_tag = -1; my $last_depth = -1; my $translation_depth = -1; my @tag_stack = (); my @entered_tag = (); my @translation_strings = (); my $leading_space = ""; ## Scalars used by the option stuff my $HELP_ARG = 0; my $VERSION_ARG = 0; my $BA_STYLE_ARG = 0; my $XML_STYLE_ARG = 0; my $KEYS_STYLE_ARG = 0; my $DESKTOP_STYLE_ARG = 0; my $SCHEMAS_STYLE_ARG = 0; my $RFC822DEB_STYLE_ARG = 0; my $QUOTED_STYLE_ARG = 0; my $QUOTEDXML_STYLE_ARG = 0; my $QUIET_ARG = 0; my $PASS_THROUGH_ARG = 0; my $UTF8_ARG = 0; my $MULTIPLE_OUTPUT = 0; my $cache_file; ## Handle options GetOptions ( "help" => \$HELP_ARG, "version" => \$VERSION_ARG, "quiet|q" => \$QUIET_ARG, "oaf-style|o" => \$BA_STYLE_ARG, ## for compatibility "ba-style|b" => \$BA_STYLE_ARG, "xml-style|x" => \$XML_STYLE_ARG, "keys-style|k" => \$KEYS_STYLE_ARG, "desktop-style|d" => \$DESKTOP_STYLE_ARG, "schemas-style|s" => \$SCHEMAS_STYLE_ARG, "rfc822deb-style|r" => \$RFC822DEB_STYLE_ARG, "quoted-style" => \$QUOTED_STYLE_ARG, "quotedxml-style" => \$QUOTEDXML_STYLE_ARG, "pass-through|p" => \$PASS_THROUGH_ARG, "utf8|u" => \$UTF8_ARG, "multiple-output|m" => \$MULTIPLE_OUTPUT, "cache|c=s" => \$cache_file ) or &error; my $PO_DIR; my $FILE; my $OUTFILE; my %po_files_by_lang = (); my %translations = (); my $iconv = $ENV{"ICONV"} || "iconv"; my $devnull = ($^O eq 'MSWin32' ? 'NUL:' : '/dev/null'); sub isProgramInPath { my ($file) = @_; # If either a file exists, or when run it returns 0 exit status return 1 if ((-x $file) or (system("$file -l >$devnull") == 0)); return 0; } if (! isProgramInPath ("$iconv")) { print STDERR " *** iconv is not found on this system!\n". " *** Without it, intltool-merge can not convert encodings.\n"; exit; } # Use this instead of \w for XML files to handle more possible characters. my $w = "[-A-Za-z0-9._:]"; # XML quoted string contents my $q = "[^\\\"]*"; ## Check for options. if ($VERSION_ARG) { &print_version; } elsif ($HELP_ARG) { &print_help; } elsif ($BA_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &ba_merge_translations; &finalize; } elsif ($XML_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &xml_merge_output; &finalize; } elsif ($KEYS_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &keys_merge_translations; &finalize; } elsif ($DESKTOP_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &desktop_merge_translations; &finalize; } elsif ($SCHEMAS_STYLE_ARG && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; &schemas_merge_translations; &finalize; } elsif ($RFC822DEB_STYLE_ARG && @ARGV > 2) { &preparation; &print_message; &rfc822deb_merge_translations; &finalize; } elsif (($QUOTED_STYLE_ARG || $QUOTEDXML_STYLE_ARG) && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; "ed_merge_translations($QUOTEDXML_STYLE_ARG); &finalize; } else { &print_help; } exit; ## Sub for printing release information sub print_version { print <<_EOF_; ${PROGRAM} (${PACKAGE}) ${VERSION} Written by Maciej Stachowiak, Darin Adler and Kenneth Christiansen. Copyright (C) 2000-2003 Free Software Foundation, Inc. Copyright (C) 2000-2001 Eazel, 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. _EOF_ exit; } ## Sub for printing usage information sub print_help { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... PO_DIRECTORY FILENAME OUTPUT_FILE Generates an output file that includes some localized attributes from an untranslated source file. Mandatory options: (exactly one must be specified) -b, --ba-style includes translations in the bonobo-activation style -d, --desktop-style includes translations in the desktop style -k, --keys-style includes translations in the keys style -s, --schemas-style includes translations in the schemas style -r, --rfc822deb-style includes translations in the RFC822 style --quoted-style includes translations in the quoted string style --quotedxml-style includes translations in the quoted xml string style -x, --xml-style includes translations in the standard xml style Other options: -u, --utf8 convert all strings to UTF-8 before merging (default for everything except RFC822 style) -p, --pass-through deprecated, does nothing and issues a warning -m, --multiple-output output one localized file per locale, instead of a single file containing all localized elements -c, --cache=FILE specify cache file name (usually \$top_builddir/po/.intltool-merge-cache) -q, --quiet suppress most messages --help display this help and exit --version output version information and exit Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } ## Sub for printing error messages sub print_error { print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit; } sub print_message { print "Merging translations into $OUTFILE.\n" unless $QUIET_ARG; } sub preparation { $PO_DIR = $ARGV[0]; $FILE = $ARGV[1]; $OUTFILE = $ARGV[2]; &gather_po_files; &get_translation_database; } # General-purpose code for looking up translations in .po files sub po_file2lang { my ($tmp) = @_; $tmp =~ s/^.*\/(.*)\.po$/$1/; return $tmp; } sub gather_po_files { if (my $linguas = $ENV{"LINGUAS"}) { for my $lang (split / /, $linguas) { my $po_file = $PO_DIR . "/" . $lang . ".po"; if (-e $po_file) { $po_files_by_lang{$lang} = $po_file; } } } else { if (open LINGUAS_FILE, "$PO_DIR/LINGUAS") { while () { next if /^#/; for my $lang (split) { chomp ($lang); my $po_file = $PO_DIR . "/" . $lang . ".po"; if (-e $po_file) { $po_files_by_lang{$lang} = $po_file; } } } close LINGUAS_FILE; } else { for my $po_file (glob "$PO_DIR/*.po") { $po_files_by_lang{po_file2lang($po_file)} = $po_file; } } } } sub get_local_charset { my ($encoding) = @_; my $alias_file = $ENV{"G_CHARSET_ALIAS"} || "@INTLTOOL_LIBDIR@/charset.alias"; # seek character encoding aliases in charset.alias (glib) if (open CHARSET_ALIAS, $alias_file) { while () { next if /^\#/; return $1 if (/^\s*([-._a-zA-Z0-9]+)\s+$encoding\b/i) } close CHARSET_ALIAS; } # if not found, return input string return $encoding; } sub get_po_encoding { my ($in_po_file) = @_; my $encoding = ""; open IN_PO_FILE, $in_po_file or die; while () { ## example: "Content-Type: text/plain; charset=ISO-8859-1\n" if (/Content-Type\:.*charset=([-a-zA-Z0-9]+)\\n/) { $encoding = $1; last; } } close IN_PO_FILE; if (!$encoding) { print STDERR "Warning: no encoding found in $in_po_file. Assuming ISO-8859-1\n" unless $QUIET_ARG; $encoding = "ISO-8859-1"; } system ("$iconv -f $encoding -t UTF-8 <$devnull 2>$devnull"); if ($?) { $encoding = get_local_charset($encoding); } return $encoding } sub utf8_sanity_check { print STDERR "Warning: option --pass-through has been removed.\n" if $PASS_THROUGH_ARG; $UTF8_ARG = 1; } sub get_translation_database { if ($cache_file) { &get_cached_translation_database; } else { &create_translation_database; } } sub get_newest_po_age { my $newest_age; foreach my $file (values %po_files_by_lang) { my $file_age = -M $file; $newest_age = $file_age if !$newest_age || $file_age < $newest_age; } $newest_age = 0 if !$newest_age; return $newest_age; } sub create_cache { print "Generating and caching the translation database\n" unless $QUIET_ARG; &create_translation_database; open CACHE, ">$cache_file" || die; print CACHE join "\x01", %translations; close CACHE; } sub load_cache { print "Found cached translation database\n" unless $QUIET_ARG; my $contents; open CACHE, "<$cache_file" || die; { local $/; $contents = ; } close CACHE; %translations = split "\x01", $contents; } sub get_cached_translation_database { my $cache_file_age = -M $cache_file; if (defined $cache_file_age) { if ($cache_file_age <= &get_newest_po_age) { &load_cache; return; } print "Found too-old cached translation database\n" unless $QUIET_ARG; } &create_cache; } sub create_translation_database { for my $lang (keys %po_files_by_lang) { my $po_file = $po_files_by_lang{$lang}; if ($UTF8_ARG) { my $encoding = get_po_encoding ($po_file); if (lc $encoding eq "utf-8") { open PO_FILE, "<$po_file"; } else { print "NOTICE: $po_file is not in UTF-8 but $encoding, converting...\n" unless $QUIET_ARG;; open PO_FILE, "$iconv -f $encoding -t UTF-8 $po_file|"; } } else { open PO_FILE, "<$po_file"; } my $nextfuzzy = 0; my $inmsgid = 0; my $inmsgstr = 0; my $msgid = ""; my $msgstr = ""; while () { $nextfuzzy = 1 if /^#, fuzzy/; if (/^msgid "((\\.|[^\\]+)*)"/ ) { $translations{$lang, $msgid} = $msgstr if $inmsgstr && $msgid && $msgstr; $msgid = ""; $msgstr = ""; if ($nextfuzzy) { $inmsgid = 0; } else { $msgid = unescape_po_string($1); $inmsgid = 1; } $inmsgstr = 0; $nextfuzzy = 0; } if (/^msgstr "((\\.|[^\\]+)*)"/) { $msgstr = unescape_po_string($1); $inmsgstr = 1; $inmsgid = 0; } if (/^"((\\.|[^\\]+)*)"/) { $msgid .= unescape_po_string($1) if $inmsgid; $msgstr .= unescape_po_string($1) if $inmsgstr; } } $translations{$lang, $msgid} = $msgstr if $inmsgstr && $msgid && $msgstr; } } sub finalize { } sub unescape_one_sequence { my ($sequence) = @_; return "\\" if $sequence eq "\\\\"; return "\"" if $sequence eq "\\\""; return "\n" if $sequence eq "\\n"; return "\r" if $sequence eq "\\r"; return "\t" if $sequence eq "\\t"; return "\b" if $sequence eq "\\b"; return "\f" if $sequence eq "\\f"; return "\a" if $sequence eq "\\a"; return chr(11) if $sequence eq "\\v"; # vertical tab, see ascii(7) return chr(hex($1)) if ($sequence =~ /\\x([0-9a-fA-F]{2})/); return chr(oct($1)) if ($sequence =~ /\\([0-7]{3})/); # FIXME: Is \0 supported as well? Kenneth and Rodney don't want it, see bug #48489 return $sequence; } sub unescape_po_string { my ($string) = @_; $string =~ s/(\\x[0-9a-fA-F]{2}|\\[0-7]{3}|\\.)/unescape_one_sequence($1)/eg; return $string; } sub entity_decode { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/<//g; s/&/&/g; return $_; } # entity_encode: (string) # # Encode the given string to XML format (encode '<' etc). sub entity_encode { my ($pre_encoded) = @_; my @list_of_chars = unpack ('C*', $pre_encoded); # with UTF-8 we only encode minimalistic return join ('', map (&entity_encode_int_minimalist, @list_of_chars)); } sub entity_encode_int_minimalist { return """ if $_ == 34; return "&" if $_ == 38; return "'" if $_ == 39; return "<" if $_ == 60; return ">" if $_ == 62; return chr $_; } sub entity_encoded_translation { my ($lang, $string) = @_; my $translation = $translations{$lang, $string}; return $string if !$translation; return entity_encode ($translation); } ## XML (bonobo-activation specific) merge code sub ba_merge_translations { my $source; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">$OUTFILE" or die "can't open $OUTFILE: $!"; # Binmode so that selftest works ok if using a native Win32 Perl... binmode (OUTPUT) if $^O eq 'MSWin32'; while ($source =~ s|^(.*?)([ \t]*<\s*$w+\s+($w+\s*=\s*"$q"\s*)+/?>)([ \t]*\n)?||s) { print OUTPUT $1; my $node = $2 . "\n"; my @strings = (); $_ = $node; while (s/(\s)_($w+\s*=\s*"($q)")/$1$2/s) { push @strings, entity_decode($3); } print OUTPUT; my %langs; for my $string (@strings) { for my $lang (keys %po_files_by_lang) { $langs{$lang} = 1 if $translations{$lang, $string}; } } for my $lang (sort keys %langs) { $_ = $node; s/(\sname\s*=\s*)"($q)"/$1"$2-$lang"/s; s/(\s)_($w+\s*=\s*")($q)"/$1 . $2 . entity_encoded_translation($lang, $3) . '"'/seg; print OUTPUT; } } print OUTPUT $source; close OUTPUT; } ## XML (non-bonobo-activation) merge code # Process tag attributes # Only parameter is a HASH containing attributes -> values mapping sub getAttributeString { my $sub = shift; my $do_translate = shift || 0; my $language = shift || ""; my $result = ""; my $translate = shift; foreach my $e (reverse(sort(keys %{ $sub }))) { my $key = $e; my $string = $sub->{$e}; my $quote = '"'; $string =~ s/^[\s]+//; $string =~ s/[\s]+$//; if ($string =~ /^'.*'$/) { $quote = "'"; } $string =~ s/^['"]//g; $string =~ s/['"]$//g; if ($do_translate && $key =~ /^_/) { $key =~ s|^_||g; if ($language) { # Handle translation my $decode_string = entity_decode($string); my $translation = $translations{$language, $decode_string}; if ($translation) { $translation = entity_encode($translation); $string = $translation; } $$translate = 2; } else { $$translate = 2 if ($translate && (!$$translate)); # watch not to "overwrite" $translate } } $result .= " $key=$quote$string$quote"; } return $result; } # Returns a translatable string from XML node, it works on contents of every node in XML::Parser tree sub getXMLstring { my $ref = shift; my $spacepreserve = shift || 0; my @list = @{ $ref }; my $result = ""; my $count = scalar(@list); my $attrs = $list[0]; my $index = 1; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); while ($index < $count) { my $type = $list[$index]; my $content = $list[$index+1]; if (! $type ) { # We've got CDATA if ($content) { # lets strip the whitespace here, and *ONLY* here $content =~ s/\s+/ /gs if (!$spacepreserve); $result .= $content; } } elsif ( "$type" ne "1" ) { # We've got another element $result .= "<$type"; $result .= getAttributeString(@{$content}[0], 0); # no nested translatable elements if ($content) { my $subresult = getXMLstring($content, $spacepreserve); if ($subresult) { $result .= ">".$subresult . ""; } else { $result .= "/>"; } } else { $result .= "/>"; } } $index += 2; } return $result; } # Translate list of nodes if necessary sub translate_subnodes { my $fh = shift; my $content = shift; my $language = shift || ""; my $singlelang = shift || 0; my $spacepreserve = shift || 0; my @nodes = @{ $content }; my $count = scalar(@nodes); my $index = 0; while ($index < $count) { my $type = $nodes[$index]; my $rest = $nodes[$index+1]; if ($singlelang) { my $oldMO = $MULTIPLE_OUTPUT; $MULTIPLE_OUTPUT = 1; traverse($fh, $type, $rest, $language, $spacepreserve); $MULTIPLE_OUTPUT = $oldMO; } else { traverse($fh, $type, $rest, $language, $spacepreserve); } $index += 2; } } sub isWellFormedXmlFragment { my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $fragment = shift; return 0 if (!$fragment); $fragment = "$fragment"; my $xp = new XML::Parser(Style => 'Tree'); my $tree = 0; eval { $tree = $xp->parse($fragment); }; return $tree; } sub traverse { my $fh = shift; my $nodename = shift; my $content = shift; my $language = shift || ""; my $spacepreserve = shift || 0; if (!$nodename) { if ($content =~ /^[\s]*$/) { $leading_space .= $content; } print $fh $content; } else { # element my @all = @{ $content }; my $attrs = shift @all; my $translate = 0; my $outattr = getAttributeString($attrs, 1, $language, \$translate); if ($nodename =~ /^_/) { $translate = 1; $nodename =~ s/^_//; } my $lookup = ''; $spacepreserve = 0 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?default["']?$/)); $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); print $fh "<$nodename", $outattr; if ($translate) { $lookup = getXMLstring($content, $spacepreserve); if (!$spacepreserve) { $lookup =~ s/^\s+//s; $lookup =~ s/\s+$//s; } if ($lookup || $translate == 2) { my $translation = $translations{$language, $lookup} if isWellFormedXmlFragment($translations{$language, $lookup}); if ($MULTIPLE_OUTPUT && ($translation || $translate == 2)) { $translation = $lookup if (!$translation); print $fh " xml:lang=\"", $language, "\"" if $language; print $fh ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } else { print $fh $translation; } print $fh ""; return; # this means there will be no same translation with xml:lang="$language"... # if we want them both, just remove this "return" } else { print $fh ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $language, 1, $spacepreserve); } else { print $fh $lookup; } print $fh ""; } } else { print $fh "/>"; } for my $lang (sort keys %po_files_by_lang) { if ($MULTIPLE_OUTPUT && $lang ne "$language") { next; } if ($lang) { # Handle translation # my $translate = 0; my $localattrs = getAttributeString($attrs, 1, $lang, \$translate); my $translation = $translations{$lang, $lookup} if isWellFormedXmlFragment($translations{$lang, $lookup}); if ($translate && !$translation) { $translation = $lookup; } if ($translation || $translate) { print $fh "\n"; $leading_space =~ s/.*\n//g; print $fh $leading_space; print $fh "<", $nodename, " xml:lang=\"", $lang, "\"", $localattrs, ">"; if ($translate == 2) { translate_subnodes($fh, \@all, $lang, 1, $spacepreserve); } else { print $fh $translation; } print $fh ""; } } } } else { my $count = scalar(@all); if ($count > 0) { print $fh ">"; my $index = 0; while ($index < $count) { my $type = $all[$index]; my $rest = $all[$index+1]; traverse($fh, $type, $rest, $language, $spacepreserve); $index += 2; } print $fh ""; } else { print $fh "/>"; } } } } sub intltool_tree_comment { my $expat = shift; my $data = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 1 => $data; } sub intltool_tree_cdatastart { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; push @$clist, 0 => $expat->original_string(); } sub intltool_tree_cdataend { my $expat = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; $clist->[$pos] .= $expat->original_string(); } sub intltool_tree_char { my $expat = shift; my $text = shift; my $clist = $expat->{Curlist}; my $pos = $#$clist; # Use original_string so that we retain escaped entities # in CDATA sections. # if ($pos > 0 and $clist->[$pos - 1] eq '0') { $clist->[$pos] .= $expat->original_string(); } else { push @$clist, 0 => $expat->original_string(); } } sub intltool_tree_start { my $expat = shift; my $tag = shift; my @origlist = (); # Use original_string so that we retain escaped entities # in attribute values. We must convert the string to an # @origlist array to conform to the structure of the Tree # Style. # my @original_array = split /\x/, $expat->original_string(); my $source = $expat->original_string(); # Remove leading tag. # $source =~ s|^\s*<\s*(\S+)||s; # Grab attribute key/value pairs and push onto @origlist array. # while ($source) { if ($source =~ /^\s*([\w:-]+)\s*[=]\s*["]/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*["]([^"]*)["]||s; push @origlist, $1; push @origlist, '"' . $2 . '"'; } elsif ($source =~ /^\s*([\w:-]+)\s*[=]\s*[']/) { $source =~ s|^\s*([\w:-]+)\s*[=]\s*[']([^']*)[']||s; push @origlist, $1; push @origlist, "'" . $2 . "'"; } else { last; } } my $ol = [ { @origlist } ]; push @{ $expat->{Lists} }, $expat->{Curlist}; push @{ $expat->{Curlist} }, $tag => $ol; $expat->{Curlist} = $ol; } sub readXml { my $filename = shift || return; if(!-f $filename) { die "ERROR Cannot find filename: $filename\n"; } my $ret = eval 'require XML::Parser'; if(!$ret) { die "You must have XML::Parser installed to run $0\n\n"; } my $xp = new XML::Parser(Style => 'Tree'); $xp->setHandlers(Char => \&intltool_tree_char); $xp->setHandlers(Start => \&intltool_tree_start); $xp->setHandlers(CdataStart => \&intltool_tree_cdatastart); $xp->setHandlers(CdataEnd => \&intltool_tree_cdataend); my $tree = $xp->parsefile($filename); # Hello thereHowdydo # would be: # [foo, [{}, head, [{id => "a"}, 0, "Hello ", em, [{}, 0, "there"]], bar, [{}, # 0, "Howdy", ref, [{}]], 0, "do" ] ] return $tree; } sub print_header { my $infile = shift; my $fh = shift; my $source; if(!-f $infile) { die "ERROR Cannot find filename: $infile\n"; } print $fh qq{\n}; { local $/; open DOCINPUT, "<${FILE}" or die; $source = ; close DOCINPUT; } if ($source =~ /()/s) { print $fh "$1\n"; } elsif ($source =~ /(]*>)/s) { print $fh "$1\n"; } } sub parseTree { my $fh = shift; my $ref = shift; my $language = shift || ""; my $name = shift @{ $ref }; my $cont = shift @{ $ref }; while (!$name || "$name" eq "1") { $name = shift @{ $ref }; $cont = shift @{ $ref }; } my $spacepreserve = 0; my $attrs = @{$cont}[0]; $spacepreserve = 1 if ((exists $attrs->{"xml:space"}) && ($attrs->{"xml:space"} =~ /^["']?preserve["']?$/)); traverse($fh, $name, $cont, $language, $spacepreserve); } sub xml_merge_output { my $source; if ($MULTIPLE_OUTPUT) { for my $lang (sort keys %po_files_by_lang) { if ( ! -d $lang ) { mkdir $lang or -d $lang or die "Cannot create subdirectory $lang: $!\n"; } open OUTPUT, ">$lang/$OUTFILE" or die "Cannot open $lang/$OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; my $tree = readXml($FILE); print_header($FILE, \*OUTPUT); parseTree(\*OUTPUT, $tree, $lang); close OUTPUT; print "CREATED $lang/$OUTFILE\n" unless $QUIET_ARG; } if ( ! -d "C" ) { mkdir "C" or -d "C" or die "Cannot create subdirectory C: $!\n"; } open OUTPUT, ">C/$OUTFILE" or die "Cannot open C/$OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; my $tree = readXml($FILE); print_header($FILE, \*OUTPUT); parseTree(\*OUTPUT, $tree); close OUTPUT; print "CREATED C/$OUTFILE\n" unless $QUIET_ARG; } else { open OUTPUT, ">$OUTFILE" or die "Cannot open $OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; my $tree = readXml($FILE); print_header($FILE, \*OUTPUT); parseTree(\*OUTPUT, $tree); close OUTPUT; print "CREATED $OUTFILE\n" unless $QUIET_ARG; } } sub keys_merge_translation { my ($lang) = @_; if ( ! -d $lang && $MULTIPLE_OUTPUT) { mkdir $lang or -d $lang or die "Cannot create subdirectory $lang: $!\n"; } open INPUT, "<${FILE}" or die "Cannot open ${FILE}: $!\n"; open OUTPUT, ">$lang/$OUTFILE" or die "Cannot open $lang/$OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; while () { if (s/^(\s*)_(\w+=(.*))/$1$2/) { my $string = $3; if (!$MULTIPLE_OUTPUT) { print OUTPUT; my $non_translated_line = $_; for my $lang (sort keys %po_files_by_lang) { my $translation = $translations{$lang, $string}; next if !$translation; $_ = $non_translated_line; s/(\w+)=.*/[$lang]$1=$translation/; print OUTPUT; } } else { my $non_translated_line = $_; my $translation = $translations{$lang, $string}; $translation = $string if !$translation; $_ = $non_translated_line; s/(\w+)=.*/$1=$translation/; print OUTPUT; } } else { print OUTPUT; } } close OUTPUT; close INPUT; print "CREATED $lang/$OUTFILE\n" unless $QUIET_ARG; } sub keys_merge_translations { if ($MULTIPLE_OUTPUT) { for my $lang (sort keys %po_files_by_lang) { keys_merge_translation ($lang); } keys_merge_translation ("C"); } else { keys_merge_translation ("."); } } sub desktop_merge_translations { open INPUT, "<${FILE}" or die; open OUTPUT, ">${OUTFILE}" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; while () { if (s/^(\s*)_(\w+=(.*))/$1$2/) { my $string = $3; print OUTPUT; my $non_translated_line = $_; for my $lang (sort keys %po_files_by_lang) { my $translation = $translations{$lang, $string}; next if !$translation; $_ = $non_translated_line; s/(\w+)=.*/${1}[$lang]=$translation/; print OUTPUT; } } else { print OUTPUT; } } close OUTPUT; close INPUT; } sub schemas_merge_translations { my $source; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">$OUTFILE" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; # FIXME: support attribute translations # Empty nodes never need translation, so unmark all of them. # For example, <_foo/> is just replaced by . $source =~ s|<\s*_($w+)\s*/>|<$1/>|g; while ($source =~ s/ (.*?) (\s+)((\s*) (\s*(?:\s*)?(.*?)\s*<\/default>)?(\s*) (\s*(?:\s*)?(.*?)\s*<\/short>)?(\s*) (\s*(?:\s*)?(.*?)\s*<\/long>)?(\s*) <\/locale>) //sx) { print OUTPUT $1; my $locale_start_spaces = $2 ? $2 : ''; my $default_spaces = $4 ? $4 : ''; my $short_spaces = $7 ? $7 : ''; my $long_spaces = $10 ? $10 : ''; my $locale_end_spaces = $13 ? $13 : ''; my $c_default_block = $3 ? $3 : ''; my $default_string = $6 ? $6 : ''; my $short_string = $9 ? $9 : ''; my $long_string = $12 ? $12 : ''; print OUTPUT "$locale_start_spaces$c_default_block"; $default_string =~ s/\s+/ /g; $default_string = entity_decode($default_string); $short_string =~ s/\s+/ /g; $short_string = entity_decode($short_string); $long_string =~ s/\s+/ /g; $long_string = entity_decode($long_string); for my $lang (sort keys %po_files_by_lang) { my $default_translation = $translations{$lang, $default_string}; my $short_translation = $translations{$lang, $short_string}; my $long_translation = $translations{$lang, $long_string}; next if (!$default_translation && !$short_translation && !$long_translation); print OUTPUT "\n$locale_start_spaces"; print OUTPUT "$default_spaces"; if ($default_translation) { $default_translation = entity_encode($default_translation); print OUTPUT "$default_translation"; } print OUTPUT "$short_spaces"; if ($short_translation) { $short_translation = entity_encode($short_translation); print OUTPUT "$short_translation"; } print OUTPUT "$long_spaces"; if ($long_translation) { $long_translation = entity_encode($long_translation); print OUTPUT "$long_translation"; } print OUTPUT "$locale_end_spaces"; } } print OUTPUT $source; close OUTPUT; } sub rfc822deb_merge_translations { my %encodings = (); for my $lang (keys %po_files_by_lang) { $encodings{$lang} = ($UTF8_ARG ? 'UTF-8' : get_po_encoding($po_files_by_lang{$lang})); } my $source; $Text::Wrap::huge = 'overflow'; $Text::Wrap::break = qr/\n|\s(?=\S)/; { local $/; # slurp mode open INPUT, "<$FILE" or die "can't open $FILE: $!"; $source = ; close INPUT; } open OUTPUT, ">${OUTFILE}" or die; binmode (OUTPUT) if $^O eq 'MSWin32'; while ($source =~ /(^|\n+)(_*)([^:\s]+)(:[ \t]*)(.*?)(?=\n[\S\n]|$)/sg) { my $sep = $1; my $non_translated_line = $3.$4; my $string = $5; my $underscore = length($2); next if $underscore eq 0 && $non_translated_line =~ /^#/; # Remove [] dummy strings my $stripped = $string; $stripped =~ s/\[\s[^\[\]]*\],/,/g if $underscore eq 2; $stripped =~ s/\[\s[^\[\]]*\]$//; $non_translated_line .= $stripped; print OUTPUT $sep.$non_translated_line; if ($underscore) { my @str_list = rfc822deb_split($underscore, $string); for my $lang (sort keys %po_files_by_lang) { my $is_translated = 1; my $str_translated = ''; my $first = 1; for my $str (@str_list) { my $translation = $translations{$lang, $str}; if (!$translation) { $is_translated = 0; last; } # $translation may also contain [] dummy # strings, mostly to indicate an empty string $translation =~ s/\[\s[^\[\]]*\]$//; if ($first) { if ($underscore eq 2) { $str_translated .= $translation; } else { $str_translated .= Text::Tabs::expand($translation) . "\n"; } } else { if ($underscore eq 2) { $str_translated .= ', ' . $translation; } else { $str_translated .= Text::Tabs::expand( Text::Wrap::wrap(' ', ' ', $translation)) . "\n .\n"; } } $first = 0; # To fix some problems with Text::Wrap::wrap $str_translated =~ s/(\n )+\n/\n .\n/g; } next unless $is_translated; $str_translated =~ s/\n \.\n$//; $str_translated =~ s/\s+$//; $_ = $non_translated_line; s/^(\w+):\s*.*/$sep${1}-$lang.$encodings{$lang}: $str_translated/s; print OUTPUT; } } } print OUTPUT "\n"; close OUTPUT; close INPUT; } sub rfc822deb_split { # Debian defines a special way to deal with rfc822-style files: # when a value contain newlines, it consists of # 1. a short form (first line) # 2. a long description, all lines begin with a space, # and paragraphs are separated by a single dot on a line # This routine returns an array of all paragraphs, and reformat # them. # When first argument is 2, the string is a comma separated list of # values. my $type = shift; my $text = shift; $text =~ s/^[ \t]//mg; return (split(/, */, $text, 0)) if $type ne 1; return ($text) if $text !~ /\n/; $text =~ s/([^\n]*)\n//; my @list = ($1); my $str = ''; for my $line (split (/\n/, $text)) { chomp $line; if ($line =~ /^\.\s*$/) { # New paragraph $str =~ s/\s*$//; push(@list, $str); $str = ''; } elsif ($line =~ /^\s/) { # Line which must not be reformatted $str .= "\n" if length ($str) && $str !~ /\n$/; $line =~ s/\s+$//; $str .= $line."\n"; } else { # Continuation line, remove newline $str .= " " if length ($str) && $str !~ /\n$/; $str .= $line; } } $str =~ s/\s*$//; push(@list, $str) if length ($str); return @list; } sub quoted_translation { my ($xml_mode, $lang, $string) = @_; $string = entity_decode($string) if $xml_mode; $string =~ s/\\\"/\"/g; my $translation = $translations{$lang, $string}; $translation = $string if !$translation; $translation = entity_encode($translation) if $xml_mode; $translation =~ s/\"/\\\"/g; return $translation } sub quoted_merge_translations { my ($xml_mode) = @_; if (!$MULTIPLE_OUTPUT) { print "Quoted only supports Multiple Output.\n"; exit(1); } for my $lang (sort keys %po_files_by_lang) { if ( ! -d $lang ) { mkdir $lang or -d $lang or die "Cannot create subdirectory $lang: $!\n"; } open INPUT, "<${FILE}" or die; open OUTPUT, ">$lang/$OUTFILE" or die "Cannot open $lang/$OUTFILE: $!\n"; binmode (OUTPUT) if $^O eq 'MSWin32'; while () { s/\"(([^\"]|\\\")*[^\\\"])\"/"\"" . "ed_translation($xml_mode, $lang, $1) . "\""/ge; print OUTPUT; } close OUTPUT; close INPUT; } } gnome-osd-0.12.2/gnome-osd-event-bridge.desktop0000644000175000017500000000073610605727052021476 0ustar adpeeteradpeeter[Desktop Entry] Encoding=UTF-8 Name=GNOME OSD Event Bridge Comment=A small program that runs in background, monitors application events, and sends OSD notifications Icon=gnome-osd Exec=gnome-osd-event-bridge --sm-disable Terminal=false Type=Application Categories= OnlyShowIn=GNOME; #X-GNOME-Bugzilla-Bugzilla=GNOME #X-GNOME-Bugzilla-Product=gnome-volume-manager #X-GNOME-Bugzilla-Component=general #X-GNOME-Autostart-enabled=true #X-Ubuntu-Gettext-Domain=gnome-volume-manager gnome-osd-0.12.2/man/0000755000175000017500000000000010760341025014401 5ustar adpeeteradpeetergnome-osd-0.12.2/man/Makefile.am0000644000175000017500000000030510605727052016441 0ustar adpeeteradpeeter## Process this file with automake to produce Makefile.in gnome-osd-client.1: gnome-osd-client.xml docbook2x-man $< man_MANS = gnome-osd-client.1 EXTRA_DIST = $(man_MANS) gnome-osd-client.xml gnome-osd-0.12.2/man/Makefile.in0000644000175000017500000002731510760340244016460 0ustar adpeeteradpeeter# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = man DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = man1dir = $(mandir)/man1 am__installdirs = "$(DESTDIR)$(man1dir)" NROFF = nroff MANS = $(man_MANS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ 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@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCONFTOOL = @GCONFTOOL@ GCONF_SCHEMAS_INSTALL_FALSE = @GCONF_SCHEMAS_INSTALL_FALSE@ GCONF_SCHEMAS_INSTALL_TRUE = @GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GNOME_OSD_CFLAGS = @GNOME_OSD_CFLAGS@ GNOME_OSD_LIBS = @GNOME_OSD_LIBS@ GREP = @GREP@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ 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_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PYTHON = @PYTHON@ PYTHON2_3 = @PYTHON2_3@ PYTHON2_4 = @PYTHON2_4@ PYTHON2_5 = @PYTHON2_5@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_prefix_program = @ac_prefix_program@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ man_MANS = gnome-osd-client.1 EXTRA_DIST = $(man_MANS) gnome-osd-client.xml all: all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu man/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh uninstall-info-am: install-man1: $(man1_MANS) $(man_MANS) @$(NORMAL_INSTALL) test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)" @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ else file=$$i; fi; \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \ done uninstall-man1: @$(NORMAL_UNINSTALL) @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \ l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ for i in $$l2; do \ case "$$i" in \ *.1*) list="$$list $$i" ;; \ esac; \ done; \ for i in $$list; do \ ext=`echo $$i | sed -e 's/^.*\\.//'`; \ case "$$ext" in \ 1*) ;; \ *) ext='1' ;; \ esac; \ inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ inst=`echo $$inst | sed -e 's/^.*\///'`; \ inst=`echo $$inst | sed '$(transform)'`.$$ext; \ echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \ rm -f "$(DESTDIR)$(man1dir)/$$inst"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(MANS) installdirs: for dir in "$(DESTDIR)$(man1dir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-man install-exec-am: install-info: install-info-am install-man: install-man1 installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-man uninstall-man: uninstall-man1 .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-man1 install-strip installcheck installcheck-am \ installdirs maintainer-clean maintainer-clean-generic \ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \ uninstall-am uninstall-info-am uninstall-man uninstall-man1 gnome-osd-client.1: gnome-osd-client.xml docbook2x-man $< # 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: gnome-osd-0.12.2/man/gnome-osd-client.xml0000644000175000017500000001432410605727052020301 0ustar adpeeteradpeeter
gjc@inescporto.pt
Gustavo Carneiro 2006 Gustavo Carneiro March 05 2006
gnome-osd-client; 1 gnome-osd-client A GNOME OSD shell interface gnome-osd-client message DESCRIPTION The gnome-osd-client command allows you to send Gnome OSD notifications from shell scripts. OPTIONS Display help on command-line options. Enable "full" message specification syntax, which is XML based. Read message from stdin instead of command-line. Always use D-BUS instead of Bonobo as IPC mechanism. By default Bonobo is used, unless it is not available, in which case D-BUS is tried next. This option reverses this order. MESSAGE fORMAT The protocol used by GNOME OSD is XML based (surprise!). <message ..attributes..> ...pango markup... </message> For a description of pango markup, see http://developer.gnome.org/doc/API/2.0/pango/PangoMarkupFormat.html The <message> XML element accepts the following attributes: id This allows you to create or use alternative OSD instance; By specifying different IDs, you can keep several messages on the screen at the same time. But for each ID, only one message can be displayed at a time. If not specified, id='default' is assumed. inherit Can be used in conjunction with 'id', to specify that the new OSD instance (which must not already exist) inherits properties from the instance identified by 'inherit'. If not specified, inherit='default'. Any gnome-osd gconf key name (run "gconf-editor /apps/gnome-osd" for a list, with respective documentation) These control several message properties. This can not be used for messages with ID 'default'. Property overrides are remembered across messages for the same ID. For instance, if you specify animations='false' for id='foo', next message with id='foo' will have animations turned off by default. Example: gnome-osd-client -f "<message id='myplugin' osd_fake_translucent_bg='on' osd_vposition='center' animations='off' hide_timeout='1000' osd_halignment='right'>Volume: 96%</message>" AUTHOR Gnome OSD was written by Gustavo J. A. M. Carneiro.
gnome-osd-0.12.2/man/gnome-osd-client.10000644000175000017500000000447210605734106017642 0ustar adpeeteradpeeter.TH gnome\-osd\-client 1 "March 05 2006" .SH NAME gnome\-osd\-client \- A GNOME OSD shell interface .SH SYNOPSIS \fBgnome\-osd\-client\fR [\fB\-h\fR] [\fB\-\-help\fR] [\fB\-f\fR] [\fB\-\-full\fR] [\fB\-s\fR] [\fB\-\-stdin\fR] [\fB\-\-dbus\fR] [\fBmessage\fR] .SH DESCRIPTION The gnome\-osd\-client command allows you to send Gnome OSD notifications from shell scripts. .SH OPTIONS .TP \fB\-h \-\-help\fR Display help on command\-line options. .TP \fB\-f \-\-full\fR Enable "full" message specification syntax, which is XML based. .TP \fB\-s\fR \fB\-\-stdin\fR Read message from stdin instead of command\-line. .TP \fB\-\-dbus\fR Always use D\-BUS instead of Bonobo as IPC mechanism. By default Bonobo is used, unless it is not available, in which case D\-BUS is tried next. This option reverses this order. .SH "MESSAGE FORMAT" The protocol used by GNOME OSD is XML based (surprise!). .PP .nf ...pango markup... .fi .PP For a description of pango markup, see \fBhttp://developer.gnome.org/doc/API/2.0/pango/PangoMarkupFormat.html\fR .PP The XML element accepts the following attributes: .TP id This allows you to create or use alternative OSD instance; By specifying different IDs, you can keep several messages on the screen at the same time. But for each ID, only one message can be displayed at a time. If not specified, id='default' is assumed. .TP inherit Can be used in conjunction with 'id', to specify that the new OSD instance (which must not already exist) inherits properties from the instance identified by 'inherit'. If not specified, inherit='default'. .TP Any gnome\-osd gconf key name (run "gconf\-editor /apps/gnome\-osd" for a list, with respective documentation) These control several message properties. This can \fInot\fR be used for messages with ID 'default'. Property overrides are remembered across messages for the same ID. For instance, if you specify animations='false' for id='foo', next message with id='foo' will have animations turned off by default. .PP Example: .PP \fB\fR.PP .nf gnome\-osd\-client \-f "Volume: 96%" .fi .SH AUTHOR Gnome OSD was written by Gustavo J. A. M. Carneiro. gnome-osd-0.12.2/gnome-osd-properties.desktop.in0000644000175000017500000000040310605727052021713 0ustar adpeeteradpeeter[Desktop Entry] Encoding=UTF-8 _Name=OSD Notifications _Comment=Set preferences for OSD notifications Exec=gnome-osd-properties Icon=gnome-osd Terminal=false Type=Application StartupNotify=true Categories=GNOME;GTK;Settings;DesktopSettings; OnlyShowIn=GNOME; gnome-osd-0.12.2/aclocal.m40000644000175000017500000021116010760340243015470 0ustar adpeeteradpeeter# generated automatically by aclocal 1.9.6 -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, # 2005 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. 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, [ --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, [ --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, [ --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]) ]) # 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.in. 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_in,[],[ 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 36 IT_PROG_INTLTOOL AC_DEFUN([IT_PROG_INTLTOOL], [AC_PREREQ([2.50])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=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in` [INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in` ] 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 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 $< [$]@' AC_SUBST(INTLTOOL_DESKTOP_RULE) AC_SUBST(INTLTOOL_DIRECTORY_RULE) AC_SUBST(INTLTOOL_KEYS_RULE) AC_SUBST(INTLTOOL_PROP_RULE) AC_SUBST(INTLTOOL_OAF_RULE) AC_SUBST(INTLTOOL_PONG_RULE) AC_SUBST(INTLTOOL_SERVER_RULE) AC_SUBST(INTLTOOL_SHEET_RULE) AC_SUBST(INTLTOOL_SOUNDLIST_RULE) AC_SUBST(INTLTOOL_UI_RULE) AC_SUBST(INTLTOOL_XAM_RULE) AC_SUBST(INTLTOOL_KBD_RULE) AC_SUBST(INTLTOOL_XML_RULE) AC_SUBST(INTLTOOL_XML_NOMERGE_RULE) AC_SUBST(INTLTOOL_CAVES_RULE) AC_SUBST(INTLTOOL_SCHEMAS_RULE) AC_SUBST(INTLTOOL_THEME_RULE) AC_SUBST(INTLTOOL_SERVICE_RULE) AC_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) 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 # Use the tools built into the package, not the ones that are installed. AC_SUBST(INTLTOOL_EXTRACT, '$(top_builddir)/intltool-extract') AC_SUBST(INTLTOOL_MERGE, '$(top_builddir)/intltool-merge') AC_SUBST(INTLTOOL_UPDATE, '$(top_builddir)/intltool-update') AC_PATH_PROG(INTLTOOL_PERL, perl) if test -z "$INTLTOOL_PERL"; then AC_MSG_ERROR([perl not found; required for intltool]) fi if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then AC_MSG_ERROR([perl 5.x required for intltool]) 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]) dnl The following is very similar to dnl dnl AC_CONFIG_FILES([intltool-extract intltool-merge intltool-update]) dnl dnl with the following slight differences: dnl - the *.in files are in ac_aux_dir, dnl - if the file haven't changed upon reconfigure, it's not touched, dnl - the evaluation of the third parameter enables a hack which computes dnl the actual value of $libdir, dnl - the user sees "executing intltool commands", instead of dnl "creating intltool-extract" and such. dnl dnl Nothing crucial here, and we could use AC_CONFIG_FILES, if there were dnl a reason for it. AC_CONFIG_COMMANDS([intltool], [ for file in intltool-extract intltool-merge intltool-update; do sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \ -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \ -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \ < ${ac_aux_dir}/${file}.in > ${file}.out if cmp -s ${file} ${file}.out 2>/dev/null; then rm -f ${file}.out else mv -f ${file}.out ${file} fi chmod ugo+x ${file} chmod u+w ${file} done ], [INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}' prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir" INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}']) ]) # 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 exetuted at the very end dnl of config.status. AC_CONFIG_COMMANDS_PRE([ AC_CONFIG_COMMANDS([$1/stamp-it], [ 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" ] if test ! -f "$1/Makefile"; then AC_MSG_ERROR([$1/Makefile is not ready.]) fi mv "$1/Makefile" "$1/Makefile.tmp" [sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r $1/POTFILES } ' "$1/Makefile.tmp" >"$1/Makefile"] rm -f "$1/Makefile.tmp" mv "$1/stamp-it.tmp" "$1/stamp-it" ]) ])dnl ]) # 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], ...) # pkg.m4 - Macros to locate and utilise pkg-config. -*- Autoconf -*- # # Copyright © 2004 Scott James Remnant . # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # PKG_PROG_PKG_CONFIG([MIN-VERSION]) # ---------------------------------- AC_DEFUN([PKG_PROG_PKG_CONFIG], [m4_pattern_forbid([^_?PKG_[A-Z_]+$]) m4_pattern_allow([^PKG_CONFIG(_PATH)?$]) AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then AC_PATH_TOOL([PKG_CONFIG], [pkg-config]) fi if test -n "$PKG_CONFIG"; then _pkg_min_version=m4_default([$1], [0.9.0]) AC_MSG_CHECKING([pkg-config is at least version $_pkg_min_version]) if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) PKG_CONFIG="" fi fi[]dnl ])# PKG_PROG_PKG_CONFIG # PKG_CHECK_EXISTS(MODULES, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # # Check to see whether a particular set of modules exists. Similar # to PKG_CHECK_MODULES(), but does not set variables or print errors. # # # Similar to PKG_CHECK_MODULES, make sure that the first instance of # this or PKG_CHECK_MODULES is called, or make sure to call # PKG_CHECK_EXISTS manually # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_EXISTS], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl if test -n "$PKG_CONFIG" && \ AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then m4_ifval([$2], [$2], [:]) m4_ifvaln([$3], [else $3])dnl fi]) # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES]) # --------------------------------------------- m4_define([_PKG_CONFIG], [if test -n "$PKG_CONFIG"; then if test -n "$$1"; then pkg_cv_[]$1="$$1" else PKG_CHECK_EXISTS([$3], [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`], [pkg_failed=yes]) fi else pkg_failed=untried fi[]dnl ])# _PKG_CONFIG # _PKG_SHORT_ERRORS_SUPPORTED # ----------------------------- AC_DEFUN([_PKG_SHORT_ERRORS_SUPPORTED], [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi[]dnl ])# _PKG_SHORT_ERRORS_SUPPORTED # PKG_CHECK_MODULES(VARIABLE-PREFIX, MODULES, [ACTION-IF-FOUND], # [ACTION-IF-NOT-FOUND]) # # # Note that if there is a possibility the first call to # PKG_CHECK_MODULES might not happen, you should be sure to include an # explicit call to PKG_PROG_PKG_CONFIG in your configure.ac # # # -------------------------------------------------------------- AC_DEFUN([PKG_CHECK_MODULES], [AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl AC_ARG_VAR([$1][_CFLAGS], [C compiler flags for $1, overriding pkg-config])dnl AC_ARG_VAR([$1][_LIBS], [linker flags for $1, overriding pkg-config])dnl pkg_failed=no AC_MSG_CHECKING([for $1]) _PKG_CONFIG([$1][_CFLAGS], [cflags], [$2]) _PKG_CONFIG([$1][_LIBS], [libs], [$2]) m4_define([_PKG_TEXT], [Alternatively, you may set the environment variables $1[]_CFLAGS and $1[]_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.]) if test $pkg_failed = yes; then _PKG_SHORT_ERRORS_SUPPORTED if test $_pkg_short_errors_supported = yes; then $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"` else $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"` fi # Put the nasty error message in config.log where it belongs echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD ifelse([$4], , [AC_MSG_ERROR(dnl [Package requirements ($2) were not met: $$1_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. _PKG_TEXT ])], [AC_MSG_RESULT([no]) $4]) elif test $pkg_failed = untried; then ifelse([$4], , [AC_MSG_FAILURE(dnl [The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. _PKG_TEXT To get pkg-config, see .])], [$4]) else $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS $1[]_LIBS=$pkg_cv_[]$1[]_LIBS AC_MSG_RESULT([yes]) ifelse([$3], , :, [$3]) fi[]dnl ])# PKG_CHECK_MODULES # Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_AUTOMAKE_VERSION(VERSION) # ---------------------------- # Automake X.Y traces this macro to ensure aclocal.m4 has been # generated from the m4 files accompanying Automake X.Y. AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) # AM_SET_CURRENT_AUTOMAKE_VERSION # ------------------------------- # Call AM_AUTOMAKE_VERSION so it can be traced. # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], [AM_AUTOMAKE_VERSION([1.9.6])]) # AM_AUX_DIR_EXPAND -*- Autoconf -*- # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to # `$srcdir', `$srcdir/..', or `$srcdir/../..'. # # Of course, Automake must honor this variable whenever it calls a # tool from the auxiliary directory. The problem is that $srcdir (and # therefore $ac_aux_dir as well) can be either absolute or relative, # depending on how configure is run. This is pretty annoying, since # it makes $ac_aux_dir quite unusable in subdirectories: in the top # source directory, any form will work fine, but in subdirectories a # relative path needs to be adjusted first. # # $ac_aux_dir/missing # fails when called from a subdirectory if $ac_aux_dir is relative # $top_srcdir/$ac_aux_dir/missing # fails if $ac_aux_dir is absolute, # fails when called from a subdirectory in a VPATH build with # a relative $ac_aux_dir # # The reason of the latter failure is that $top_srcdir and $ac_aux_dir # are both prefixed by $srcdir. In an in-source build this is usually # harmless because $srcdir is `.', but things will broke when you # start a VPATH build or use an absolute $srcdir. # # So we could use something similar to $top_srcdir/$ac_aux_dir/missing, # iff we strip the leading $srcdir from $ac_aux_dir. That would be: # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"` # and then we would define $MISSING as # MISSING="\${SHELL} $am_aux_dir/missing" # This will work as long as MISSING is not called from configure, because # unfortunately $(top_srcdir) has no meaning in configure. # However there are other variables, like CC, which are often used in # configure, and could therefore not use this "fixed" $ac_aux_dir. # # Another solution, used here, is to always expand $ac_aux_dir to an # absolute PATH. The drawback is that using absolute paths prevent a # configured tree to be moved without reconfiguration. AC_DEFUN([AM_AUX_DIR_EXPAND], [dnl Rely on autoconf to set up CDPATH properly. AC_PREREQ([2.50])dnl # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` ]) # AM_CONDITIONAL -*- Autoconf -*- # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 7 # AM_CONDITIONAL(NAME, SHELL-CONDITION) # ------------------------------------- # Define a conditional. AC_DEFUN([AM_CONDITIONAL], [AC_PREREQ(2.52)dnl ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])], [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl AC_SUBST([$1_TRUE]) AC_SUBST([$1_FALSE]) if $2; then $1_TRUE= $1_FALSE='#' else $1_TRUE='#' $1_FALSE= fi AC_CONFIG_COMMANDS_PRE( [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then AC_MSG_ERROR([[conditional "$1" was never defined. Usually this means the macro was only invoked conditionally.]]) fi])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be # written in clear, in which case automake, when reading aclocal.m4, # will think it sees a *use*, and therefore will trigger all it's # C support machinery. Also note that it means that autoscan, seeing # CC etc. in the Makefile, will ask for an AC_PROG_CC use... # _AM_DEPENDENCIES(NAME) # ---------------------- # See how the compiler implements dependency checking. # NAME is "CC", "CXX", "GCJ", or "OBJC". # We try a few techniques and use that to set a single cache variable. # # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular # dependency, and given that the user is not expected to run this macro, # just rely on AC_PROG_CC. AC_DEFUN([_AM_DEPENDENCIES], [AC_REQUIRE([AM_SET_DEPDIR])dnl AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl AC_REQUIRE([AM_MAKE_INCLUDE])dnl AC_REQUIRE([AM_DEP_TRACK])dnl ifelse([$1], CC, [depcc="$CC" am_compiler_list=], [$1], CXX, [depcc="$CXX" am_compiler_list=], [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'], [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'], [depcc="$$1" am_compiler_list=]) AC_CACHE_CHECK([dependency style of $depcc], [am_cv_$1_dependencies_compiler_type], [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_$1_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_$1_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_$1_dependencies_compiler_type=none fi ]) AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type]) AM_CONDITIONAL([am__fastdep$1], [ test "x$enable_dependency_tracking" != xno \ && test "$am_cv_$1_dependencies_compiler_type" = gcc3]) ]) # AM_SET_DEPDIR # ------------- # Choose a directory name for dependency files. # This macro is AC_REQUIREd in _AM_DEPENDENCIES AC_DEFUN([AM_SET_DEPDIR], [AC_REQUIRE([AM_SET_LEADING_DOT])dnl AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl ]) # AM_DEP_TRACK # ------------ AC_DEFUN([AM_DEP_TRACK], [AC_ARG_ENABLE(dependency-tracking, [ --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors]) if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' fi AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno]) AC_SUBST([AMDEPBACKSLASH]) ]) # Generate code to set up dependency tracking. -*- Autoconf -*- # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. #serial 3 # _AM_OUTPUT_DEPENDENCY_COMMANDS # ------------------------------ AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS], [for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`AS_DIRNAME("$mf")` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`AS_DIRNAME(["$file"])` AS_MKDIR_P([$dirpart/$fdir]) # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done ])# _AM_OUTPUT_DEPENDENCY_COMMANDS # AM_OUTPUT_DEPENDENCY_COMMANDS # ----------------------------- # This macro should only be invoked once -- use via AC_REQUIRE. # # This code is only required when automatic dependency tracking # is enabled. FIXME. This creates each `.P' file that we will # need in order to bootstrap the dependency handling code. AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS], [AC_CONFIG_COMMANDS([depfiles], [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) ]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 12 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $1 | $1:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. # # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). # This was a mistake. There are at least two reasons why we must not # use `-m 0755': # - it causes special bits like SGID to be ignored, # - it may be too restrictive (some setups expect 775 directories). # # Do not use -m 0755 and let people choose whatever they expect by # setting umask. # # We cannot accept any implementation of `mkdir' that recognizes `-p'. # Some implementations (such as Solaris 8's) are not thread-safe: if a # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' # concurrently, both version can detect that a/ is missing, but only # one can create it and the other will error out. Consequently we # restrict ourselves to GNU make (using the --version option ensures # this.) AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PATH_PYTHON([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # --------------------------------------------------------------------------- # Adds support for distributing Python modules and packages. To # install modules, copy them to $(pythondir), using the python_PYTHON # automake variable. To install a package with the same name as the # automake package, install to $(pkgpythondir), or use the # pkgpython_PYTHON automake variable. # # The variables $(pyexecdir) and $(pkgpyexecdir) are provided as # locations to install python extension modules (shared libraries). # Another macro is required to find the appropriate flags to compile # extension modules. # # If your package is configured with a different prefix to python, # users will have to add the install directory to the PYTHONPATH # environment variable, or create a .pth file (see the python # documentation for details). # # If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON will # cause an error if the version of python installed on the system # doesn't meet the requirement. MINIMUM-VERSION should consist of # numbers and dots only. AC_DEFUN([AM_PATH_PYTHON], [ dnl Find a Python interpreter. Python versions prior to 1.5 are not dnl supported because the default installation locations changed from dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages dnl in 1.5. m4_define_default([_AM_PYTHON_INTERPRETER_LIST], [python python2 python2.5 python2.4 python2.3 python2.2 dnl python2.1 python2.0 python1.6 python1.5]) m4_if([$1],[],[ dnl No version check is needed. # Find any Python interpreter. if test -z "$PYTHON"; then AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :) fi am_display_PYTHON=python ], [ dnl A version check is needed. if test -n "$PYTHON"; then # If the user set $PYTHON, use it and don't search something else. AC_MSG_CHECKING([whether $PYTHON version >= $1]) AM_PYTHON_CHECK_VERSION([$PYTHON], [$1], [AC_MSG_RESULT(yes)], [AC_MSG_ERROR(too old)]) am_display_PYTHON=$PYTHON else # Otherwise, try each interpreter until we find one that satisfies # VERSION. AC_CACHE_CHECK([for a Python interpreter with version >= $1], [am_cv_pathless_PYTHON],[ for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do test "$am_cv_pathless_PYTHON" = none && break AM_PYTHON_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break]) done]) # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. if test "$am_cv_pathless_PYTHON" = none; then PYTHON=: else AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON]) fi am_display_PYTHON=$am_cv_pathless_PYTHON fi ]) if test "$PYTHON" = :; then dnl Run any user-specified action, or abort. m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) else dnl Query Python for its version number. Getting [:3] seems to be dnl the best way to do this; it's what "site.py" does in the standard dnl library. AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`]) AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) dnl Use the values of $prefix and $exec_prefix for the corresponding dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made dnl distinct variables so they can be overridden if need be. However, dnl general consensus is that you shouldn't need this ability. AC_SUBST([PYTHON_PREFIX], ['${prefix}']) AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) dnl At times (like when building shared libraries) you may want dnl to know which OS platform Python thinks this is. AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`]) AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) dnl Set up 4 directories: dnl pythondir -- where to install python scripts. This is the dnl site-packages directory, not the python standard library dnl directory like in previous automake betas. This behavior dnl is more consistent with lispdir.m4 for example. dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON script directory], [am_cv_python_pythondir], [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`]) AC_SUBST([pythondir], [$am_cv_python_pythondir]) dnl pkgpythondir -- $PACKAGE directory under pythondir. Was dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is dnl more consistent with the rest of automake. AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) dnl pyexecdir -- directory for installing python extension modules dnl (shared libraries) dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], [am_cv_python_pyexecdir], [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`]) AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) dnl Run any user-specified action. $2 fi ]) # AM_PYTHON_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) # --------------------------------------------------------------------------- # Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION. # Run ACTION-IF-FALSE otherwise. # This test uses sys.hexversion instead of the string equivalent (first # word of sys.version), in order to cope with versions such as 2.2c1. # hexversion has been introduced in Python 1.5.2; it's probably not # worth to support older versions (1.5.1 was released on October 31, 1998). AC_DEFUN([AM_PYTHON_CHECK_VERSION], [prog="import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('$2', '.')) + [[0, 0, 0]] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[[i]] sys.exit(sys.hexversion < minverhex)" AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) # 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_RUN_LOG(COMMAND) # ------------------- # Run COMMAND, save the exit status in ac_status, and log it. # (This has been adapted from Autoconf's _AC_RUN_LOG macro.) AC_DEFUN([AM_RUN_LOG], [{ echo "$as_me:$LINENO: $1" >&AS_MESSAGE_LOG_FD ($1) >&AS_MESSAGE_LOG_FD 2>&AS_MESSAGE_LOG_FD ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD (exit $ac_status); }]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR m4_include([acinclude.m4]) gnome-osd-0.12.2/mkinstalldirs0000755000175000017500000000662210605734075016453 0ustar adpeeteradpeeter#! /bin/sh # mkinstalldirs --- make directory hierarchy scriptversion=2005-06-29.22 # Original author: Noah Friedman # Created: 1993-05-16 # Public domain. # # This file is maintained in Automake, please report # bugs to or send patches to # . 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-end: "$" # End: gnome-osd-0.12.2/Makefile.am0000644000175000017500000000614210605733457015701 0ustar adpeeteradpeeter## Process this file with automake to produce Makefile.in SUBDIRS = po gnomeosd man CLEANFILES= # .server rules GNOME_OSD.server: GNOME_OSD.server.in sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ CLEANFILES += GNOME_OSD.server server_dot_in = GNOME_OSD.server.in serverdir = $(libdir)/bonobo/servers server_DATA = GNOME_OSD.server nodist_component_SCRIPTS = gnome-osd-server componentdir = $(libexecdir) nodist_bin_SCRIPTS = gnome-osd-properties gnome-osd-client gnome-osd-event-bridge EXTRA_DIST = $(server_dot_in) $(component_SCRIPTS) $(bin_SCRIPTS) CLEANFILES += core *.pyc *.pyo EXTRA_DIST += intltool-extract.in intltool-merge.in intltool-update.in DISTCLEANFILES = intltool-extract intltool-merge intltool-update # gconf schemas @INTLTOOL_SCHEMAS_RULE@ schemadir = @GCONF_SCHEMA_FILE_DIR@ schema_in_files = gnome-osd.schemas.in schema_DATA = $(schema_in_files:.schemas.in=.schemas) EXTRA_DIST += $(schema_in_files) CLEANFILES += $(schema_DATA) if GCONF_SCHEMAS_INSTALL install-data-local: install-schemaDATA GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL)\ --makefile-install-rule $(schema_DATA) else install-data-local: endif # capplet @INTLTOOL_DESKTOP_RULE@ desktopdir = $(datadir)/control-center-2.0/capplets desktop_in_files = gnome-osd-properties.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) EXTRA_DIST += $(desktop_in_files) CLEANFILES += $(desktop_DATA) # icon pixmapdir = $(datadir)/pixmaps pixmap_DATA = gnome-osd.png EXTRA_DIST += $(pixmap_DATA) gnome-osd-server: gnome-osd-server.in sed -e s!\@PYTHON\@!@PYTHON@! < $< > $@ chmod a+x $@ gnome-osd-server: Makefile gnome-osd-client: gnome-osd-client.in sed -e s!\@PYTHON\@!@PYTHON@! < $< > $@ chmod a+x $@ gnome-osd-client: Makefile gnome-osd-properties: gnome-osd-properties.in sed -e s!\@PYTHON\@!@PYTHON@! < $< > $@ chmod a+x $@ gnome-osd-properties: Makefile gnome-osd-event-bridge: gnome-osd-event-bridge.in sed -e s!\@PYTHON\@!@PYTHON@! < $< > $@ chmod a+x $@ gnome-osd-event-bridge: Makefile EXTRA_DIST += gnome-osd-server.in gnome-osd-client.in gnome-osd-properties.in gnome-osd-event-bridge.in CLEANFILES += gnome-osd-server gnome-osd-client gnome-osd-properties gnome-osd-event-bridge example_plugins = xchatosd.py pkgdata_DATA = xchatosd.py EXTRA_DIST += $(example_plugins) %.service: %.service.in sed \ -e s!\@libexecdir\@!@libexecdir@! \ -e s!\@bindir\@!@bindir@! \ < $< > $@ %.service: %.service.in Makefile dbus_servicedir = $(datadir)/dbus-1/services dbus_service_DATA = pt.inescporto.telecom.GnomeOSD.service pt.inescporto.telecom.GnomeOSD.EventBridge.service EXTRA_DIST += pt.inescporto.telecom.GnomeOSD.service.in pt.inescporto.telecom.GnomeOSD.EventBridge.service.in CLEANFILES += pt.inescporto.telecom.GnomeOSD.service pt.inescporto.telecom.GnomeOSD.EventBridge.service autostartdir = $(sysconfdir)/xdg/autostart autostart_DATA = gnome-osd-event-bridge.desktop EXTRA_DIST += $(autostart_DATA) ## --- auto-generate ChangeLog --- EXTRA_DIST += generate-ChangeLog dist-hook: $(srcdir)/generate-ChangeLog -rm -f $(distdir)/ChangeLog cp -p $(srcdir)/ChangeLog $(distdir)/ChangeLog gnome-osd-0.12.2/gnomeosd/0000755000175000017500000000000010760341025015441 5ustar adpeeteradpeetergnome-osd-0.12.2/gnomeosd/gconfsync.py0000755000175000017500000001431710605727052020023 0ustar adpeeteradpeeterimport gobject import gconf ## Please take note of this important restriction: all keys in the ## gconf dir being monitored must have a corresponding schema default, ## or else this might break class GConfSync(gobject.GObject): __gsignals__ = { 'changed': (gobject.SIGNAL_RUN_LAST|gobject.SIGNAL_DETAILED, None, # return type (str, )) # parameter types } def __init__(self, prefix, enums={}): gobject.GObject.__init__(self) self.prefix = prefix gc = gconf.client_get_default() keys = dict() # mapping key -> type for entry in gc.all_entries(prefix): assert entry.key[:len(prefix)] == prefix keyname = entry.key[len(prefix):].lstrip('/') keys[keyname] = entry.value.type self.valid_keys = keys self.__key_just_been_set = None self.enums_mapping = enums reverse_map = dict() for key in enums: reverse_map[key] = dict(zip(enums[key].values(), enums[key].keys())) self.enums_reverse_mapping = reverse_map gc.add_dir(prefix, gconf.CLIENT_PRELOAD_ONELEVEL) gc.notify_add(prefix, self.__gconfclientnotifyfunc) def __gconfclientnotifyfunc(self, unused_gc, unused_cnxn_id, entry, unused_user_data): assert entry.key[:len(self.prefix)] == self.prefix keyname = entry.key[len(self.prefix):].lstrip('/') if keyname and keyname != self.__key_just_been_set: self.emit("changed::" + keyname, keyname) self.__key_just_been_set = None def __value_to_python(value): if value.type == gconf.VALUE_BOOL: if value.get_bool(): return True else: return False elif value.type == gconf.VALUE_FLOAT: return value.get_float() elif value.type == gconf.VALUE_INT: return value.get_int() elif value.type == gconf.VALUE_INVALID: raise ValueError, "GConfValue of invalid type" elif value.type == gconf.VALUE_LIST: return map(GConfSync.__value_to_python, value.get_list()) elif value.type == gconf.VALUE_PAIR: raise NotImplementedError elif value.type == gconf.VALUE_SCHEMA: raise NotImplementedError elif value.type == gconf.VALUE_STRING: return value.get_string() else: return None __value_to_python = staticmethod(__value_to_python) def __gconf_get(self, key): prefix = self.prefix val = gconf.client_get_default().get("/".join((prefix, key))) val = self.__value_to_python(val) if key in self.enums_mapping: val = self.enums_mapping[key][val] return val def __gconf_set(self, key, val): prefix = self.prefix gc = gconf.client_get_default() value_type = self.valid_keys[key] self.__key_just_been_set = key if key in self.enums_reverse_mapping: val = self.enums_reverse_mapping[key][val] key = '/'.join((prefix, key)) if value_type == gconf.VALUE_BOOL: gc.set_bool(key, val) elif value_type == gconf.VALUE_FLOAT: gc.set_float(key, val) elif value_type == gconf.VALUE_INT: gc.set_int(key, val) elif value_type == gconf.VALUE_INVALID: raise ValueError, "GConfValue of invalid type" elif value_type == gconf.VALUE_LIST: raise NotImplementedError elif value_type == gconf.VALUE_PAIR: raise NotImplementedError elif value_type == gconf.VALUE_SCHEMA: raise NotImplementedError elif value_type == gconf.VALUE_STRING: gc.set_string(key, val) def __getitem__(self, key): return self.__gconf_get(key) def __setitem__(self, key, val): self.__gconf_set(key, val) def parse_string(self, key, val): value_type = self.valid_keys[key] if value_type == gconf.VALUE_BOOL: if val.lower() in ('true', 'enable', 'on'): return True elif val.lower() in ('false', 'disable', 'off'): return False else: raise ValueError, "unable to parse '%s' as boolean" % val elif value_type == gconf.VALUE_STRING: if key in self.enums_mapping: return self.enums_mapping[key][val] else: return val elif value_type == gconf.VALUE_FLOAT: return float(val) elif value_type == gconf.VALUE_INT: return int(val) elif value_type == gconf.VALUE_INVALID: raise ValueError, "GConfValue of invalid type" elif value_type == gconf.VALUE_LIST: raise NotImplementedError, "parsing list gconf values not implemented" elif value_type == gconf.VALUE_PAIR: raise NotImplementedError, "parsing pair gconf values not implemented" elif value_type == gconf.VALUE_SCHEMA: raise NotImplementedError, "parsing schema gconf values not implemented" raise NotImplementedError, "parsing gconf values not implemented" if gobject.pygtk_version < (2,8): gobject.type_register(GConfSync) if __name__ == '__main__': import gtk, pango prefs = GConfSync("/apps/gnome-osd", dict(osd_halignment=dict(left=pango.ALIGN_LEFT, right=pango.ALIGN_RIGHT, center=pango.ALIGN_CENTER))) def osd_font_changed_cb(obj, key): print "'%s' changed" % key def osd_halignment_changed_cb(obj, key): print "'%s' changed" % key print "new value is ", getattr(prefs, key) prefs.connect("changed::osd_font", osd_font_changed_cb) prefs.connect("changed::osd_halignment", osd_halignment_changed_cb) print "osd font: ", prefs["osd_font"] prefs["osd_font"] = "Foo bar" print "osd font (after set): ", prefs['osd_font'] print "osd_halignment is:", prefs['osd_halignment'] print "setting osd_halignment = pango.ALIGN_LEFT" prefs['osd_halignment'] = pango.ALIGN_LEFT print "osd_halignment is:", prefs['osd_halignment'] gtk.main() gnome-osd-0.12.2/gnomeosd/client.py0000644000175000017500000000525210605727052017303 0ustar adpeeteradpeeterimport sys import bonobo from optparse import OptionParser try: import dbus except ImportError: HAVE_DBUS = False else: HAVE_DBUS = True def main(): parser = OptionParser(usage="usage: %prog [options] [message]") parser.add_option("-f", "--full", help="Message is in full format specification", action="store_true", dest="full", default=False) parser.add_option("-s", "--stdin", help="Read message from stdin; Implies --full", action="store_true", dest="stdin", default=False) if HAVE_DBUS: parser.add_option("", "--dbus", help="Prefer D-BUS as IPC method", action="store_true", dest="dbus", default=False) (options, args) = parser.parse_args() timeout = -1 if len(args) == 2: print >> sys.stderr, "Warning: timeout argument is deprecated and will be removed in the future" timeout = int(args[1]) if not options.stdin and not (1 <= len(args) <= 2): parser.error("wrong number of arguments") if options.stdin: msg = sys.stdin.read() else: msg = args[0] class ServerError(Exception): def __init__(self, value): self.value = value def send_dbus(): osd = dbus.SessionBus().get_object("pt.inescporto.telecom.GnomeOSD", "/Server") if options.full or options.stdin: error = osd.showMessageFull(msg, dbus_interface="pt.inescporto.telecom.GnomeOSD") else: error = osd.showMessage(msg, timeout, dbus_interface="pt.inescporto.telecom.GnomeOSD") if error: raise ServerError(error) def send_bonobo(): osd = bonobo.get_object("OAFIID:GNOME_OSD", "IDL:Bonobo/Application:1.0") osd.ref() # AppClient steals one reference osd = bonobo.AppClient(osd) if options.full or options.stdin: error = osd.msg_send("show-full", [msg]) else: error = osd.msg_send("show", [msg, timeout]) if error: raise ServerError(error) if HAVE_DBUS and options.dbus: order = [("D-BUS", send_dbus), ("Bonobo", send_bonobo)] else: order = [("Bonobo", send_bonobo)] if HAVE_DBUS: order.append(("D-BUS", send_dbus)) for i, (name, func) in enumerate(order): if i > 0: print "Trying %s" % name try: func() break except ServerError, ex: print >> sys.stderr, "ServerError: %s" % ex.value raise SystemExit, 2 except Exception, ex: print >> sys.stderr, "Error: %s" % ex continue gnome-osd-0.12.2/gnomeosd/gnome_osd_conf.py.in0000644000175000017500000000017210605727052021405 0ustar adpeeteradpeeterprefix="@prefix@" datadir="@datadir@" libdir="@libdir@" libexecdir="@libexecdir@" PACKAGE="@PACKAGE@" VERSION="@VERSION@" gnome-osd-0.12.2/gnomeosd/gtkexcepthook.py0000644000175000017500000000410510605727052020700 0ustar adpeeteradpeeterimport pygtk; pygtk.require("2.0") import sys import gtk, pango from gettext import gettext as _ from cStringIO import * import traceback _exception_in_progress = 0 def _info(type, value, tb): global _exception_in_progress if _exception_in_progress: # Exceptions have piled up, so we use the default exception # handler for such exceptions _excepthook_save(type, value, tb) return _exception_in_progress = 1 dialog = gtk.MessageDialog(parent=None, flags=0, type=gtk.MESSAGE_WARNING, buttons=gtk.BUTTONS_CLOSE, message_format=_("A programming error has been detected")) dialog.format_secondary_text(_("It probably isn't fatal, but should be reported" " to the developers nonetheless.")) dialog.set_title(_("Bug Detected")) dialog.set_default_response(gtk.RESPONSE_CLOSE) #dialog.set_border_width(12) #dialog.vbox.get_children()[0].set_spacing(12) # Details textview = gtk.TextView(); textview.show() textview.set_editable(False) textview.modify_font(pango.FontDescription("Monospace")) sw = gtk.ScrolledWindow(); sw.show() sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) sw.add(textview) frame = gtk.Frame(); frame.set_shadow_type(gtk.SHADOW_IN) frame.add(sw) frame.set_border_width(6) textbuffer = textview.get_buffer() trace = StringIO() traceback.print_exception(type, value, tb, None, trace) textbuffer.set_text(trace.getvalue()) textview.set_size_request(gtk.gdk.screen_width()/2, gtk.gdk.screen_height()/3) frame.show() expander = gtk.Expander("Details") expander.add(frame) expander.show() dialog.vbox.add(expander) dialog.set_position(gtk.WIN_POS_CENTER) dialog.set_gravity(gtk.gdk.GRAVITY_CENTER) dialog.run() dialog.destroy() _exception_in_progress = 0 if not sys.stderr.isatty(): _excepthook_save = sys.excepthook sys.excepthook = _info if __name__ == '__main__': _excepthook_save = sys.excepthook sys.excepthook = _info print x + 1 gnome-osd-0.12.2/gnomeosd/Makefile.am0000644000175000017500000000137710605727052017513 0ustar adpeeteradpeeter## Process this file with automake to produce Makefile.in NULL= gnomeosddir=$(pyexecdir)/gnomeosd gnomeosd_PYTHON = \ __init__.py \ client.py \ gconfsync.py \ gosd.py \ server.py \ capplet.py \ eventbridge.py \ gtasklet.py \ gtkexcepthook.py \ xscreensaver.py \ $(NULL) nodist_gnomeosd_PYTHON = gnome_osd_conf.py gnome_osd_conf.py: gnome_osd_conf.py.in sed \ -e s!\@prefix\@!@prefix@! \ -e s!\@datadir\@!@datadir@! \ -e s!\@libexecdir\@!@libexecdir@! \ -e s!\@libdir\@!@libdir@! \ -e s!\@PACKAGE\@!@PACKAGE@! \ -e s!\@VERSION\@!@VERSION@! \ < $< > $@ gnome_osd_conf.py: Makefile BUILT_SOURCES = gnome_osd_conf.py CLEANFILES = gnome_osd_conf.py *.pyc *.pyo EXTRA_DIST = gnome_osd_conf.py.in gnome-osd-0.12.2/gnomeosd/Makefile.in0000644000175000017500000003324510760340244017517 0ustar adpeeteradpeeter# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = .. am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = gnomeosd DIST_COMMON = $(gnomeosd_PYTHON) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; am__installdirs = "$(DESTDIR)$(gnomeosddir)" \ "$(DESTDIR)$(gnomeosddir)" gnomeosdPYTHON_INSTALL = $(INSTALL_DATA) nodist_gnomeosdPYTHON_INSTALL = $(INSTALL_DATA) py_compile = $(top_srcdir)/py-compile DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ 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@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCONFTOOL = @GCONFTOOL@ GCONF_SCHEMAS_INSTALL_FALSE = @GCONF_SCHEMAS_INSTALL_FALSE@ GCONF_SCHEMAS_INSTALL_TRUE = @GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GNOME_OSD_CFLAGS = @GNOME_OSD_CFLAGS@ GNOME_OSD_LIBS = @GNOME_OSD_LIBS@ GREP = @GREP@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ 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_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PYTHON = @PYTHON@ PYTHON2_3 = @PYTHON2_3@ PYTHON2_4 = @PYTHON2_4@ PYTHON2_5 = @PYTHON2_5@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_prefix_program = @ac_prefix_program@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ NULL = gnomeosddir = $(pyexecdir)/gnomeosd gnomeosd_PYTHON = \ __init__.py \ client.py \ gconfsync.py \ gosd.py \ server.py \ capplet.py \ eventbridge.py \ gtasklet.py \ gtkexcepthook.py \ xscreensaver.py \ $(NULL) nodist_gnomeosd_PYTHON = gnome_osd_conf.py BUILT_SOURCES = gnome_osd_conf.py CLEANFILES = gnome_osd_conf.py *.pyc *.pyo EXTRA_DIST = gnome_osd_conf.py.in all: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu gnomeosd/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu gnomeosd/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh uninstall-info-am: install-gnomeosdPYTHON: $(gnomeosd_PYTHON) @$(NORMAL_INSTALL) test -z "$(gnomeosddir)" || $(mkdir_p) "$(DESTDIR)$(gnomeosddir)" @list='$(gnomeosd_PYTHON)'; dlist=''; for p in $$list; do\ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ if test -f $$b$$p; then \ f=$(am__strip_dir) \ dlist="$$dlist $$f"; \ echo " $(gnomeosdPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(gnomeosddir)/$$f'"; \ $(gnomeosdPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(gnomeosddir)/$$f"; \ else :; fi; \ done; \ if test -n "$$dlist"; then \ if test -z "$(DESTDIR)"; then \ PYTHON=$(PYTHON) $(py_compile) --basedir "$(gnomeosddir)" $$dlist; \ else \ PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(gnomeosddir)" $$dlist; \ fi; \ else :; fi uninstall-gnomeosdPYTHON: @$(NORMAL_UNINSTALL) @list='$(gnomeosd_PYTHON)'; dlist=''; for p in $$list; do\ f=$(am__strip_dir) \ rm -f "$(DESTDIR)$(gnomeosddir)/$$f"; \ rm -f "$(DESTDIR)$(gnomeosddir)/$${f}c"; \ rm -f "$(DESTDIR)$(gnomeosddir)/$${f}o"; \ done install-nodist_gnomeosdPYTHON: $(nodist_gnomeosd_PYTHON) @$(NORMAL_INSTALL) test -z "$(gnomeosddir)" || $(mkdir_p) "$(DESTDIR)$(gnomeosddir)" @list='$(nodist_gnomeosd_PYTHON)'; dlist=''; for p in $$list; do\ if test -f "$$p"; then b=; else b="$(srcdir)/"; fi; \ if test -f $$b$$p; then \ f=$(am__strip_dir) \ dlist="$$dlist $$f"; \ echo " $(nodist_gnomeosdPYTHON_INSTALL) '$$b$$p' '$(DESTDIR)$(gnomeosddir)/$$f'"; \ $(nodist_gnomeosdPYTHON_INSTALL) "$$b$$p" "$(DESTDIR)$(gnomeosddir)/$$f"; \ else :; fi; \ done; \ if test -n "$$dlist"; then \ if test -z "$(DESTDIR)"; then \ PYTHON=$(PYTHON) $(py_compile) --basedir "$(gnomeosddir)" $$dlist; \ else \ PYTHON=$(PYTHON) $(py_compile) --destdir "$(DESTDIR)" --basedir "$(gnomeosddir)" $$dlist; \ fi; \ else :; fi uninstall-nodist_gnomeosdPYTHON: @$(NORMAL_UNINSTALL) @list='$(nodist_gnomeosd_PYTHON)'; dlist=''; for p in $$list; do\ f=$(am__strip_dir) \ rm -f "$(DESTDIR)$(gnomeosddir)/$$f"; \ rm -f "$(DESTDIR)$(gnomeosddir)/$${f}c"; \ rm -f "$(DESTDIR)$(gnomeosddir)/$${f}o"; \ done tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-am all-am: Makefile installdirs: for dir in "$(DESTDIR)$(gnomeosddir)" "$(DESTDIR)$(gnomeosddir)"; 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) 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-generic mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-gnomeosdPYTHON install-nodist_gnomeosdPYTHON install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-gnomeosdPYTHON uninstall-info-am \ uninstall-nodist_gnomeosdPYTHON .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-gnomeosdPYTHON install-info \ install-info-am install-man install-nodist_gnomeosdPYTHON \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-gnomeosdPYTHON uninstall-info-am \ uninstall-nodist_gnomeosdPYTHON gnome_osd_conf.py: gnome_osd_conf.py.in sed \ -e s!\@prefix\@!@prefix@! \ -e s!\@datadir\@!@datadir@! \ -e s!\@libexecdir\@!@libexecdir@! \ -e s!\@libdir\@!@libdir@! \ -e s!\@PACKAGE\@!@PACKAGE@! \ -e s!\@VERSION\@!@VERSION@! \ < $< > $@ gnome_osd_conf.py: Makefile # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: gnome-osd-0.12.2/gnomeosd/gtasklet.py0000644000175000017500000007164610605727052017655 0ustar adpeeteradpeeter""" A pygtk based pseudo-thread (coroutines) framework Introduction ============ This module adds infrastructure for managing tasklets. In this context, a X{tasklet} is defined as a routine that explicitly gives back control to the main program a certain points in the code, while waiting for certain events. Other terms that may be used to describe tasklets include I{coroutines}, or I{cooperative threads}. The main advantages of tasklets are: - Eliminates the danger of unexpected race conditions or deadlocks that happen with preemptive (regular) threads; - Reduces the number of callbacks in your code, that sometimes are so many that you end up with I{spaghetti code}. The fundamental block used to create tasklets is Python's generators. Generators are objects that are defined as functions, and when called produce iterators that return values defined by the body of the function, specifically C{yield} statements. The neat thing about generators are not the iterators themselves but the fact that a function's state is completely frozen and restored between one call to the iterator's C{next()} and the following one. This allows the function to return control to a program's main loop while waiting for an event, such as IO on a socket, thus allowing other code to run in the mean time. When the specified event occurs, the function regains control and continues executing as if nothing had happened. Structure of a tasklet ====================== At the outset, a tasklet is simply a python U{generator function}, i.e. a function or method containing one or more C{yield} statements. Tasklets add a couple more requirements to regular generator functions: 1. The values contained in C{yield} statements cannot be arbitrary (see below); 2. After each C{yield} that indicates events, the function L{gtasklet.get_event} must be called to retrieve the event that just occurred. Syntax for yield in tasklets ============================ Inside tasklet functions, C{yield} statements are used to suspend execution of the tasklet while waiting for certain events. Valid C{yield} values are: - A single L{Message} object, with a correctly set I{dest} parameter. With this form, a message is sent to the indicated tasklet. When C{yield} returns, no event is generated, so the tasklet should B{not} call L{get_event}. - One, or a sequence of: - A L{WaitCondition}, meaning to wait for that specific condition - A L{Tasklet}, with the same meaning as L{WaitForTasklet}C{(tasklet)} - A generator, with the same meaning as L{WaitForTasklet}C{(Tasklet(gen))} In this case, the tasklet is suspended until either one of the indicated events occurs. The tasklet must call L{get_event} in this case. Launching a tasklet =================== To start a tasklet, the L{Tasklet} constructor must be used:: import gtasklet def my_task(x): [...] gtasklet.Tasklet(my_task(x=0)) Alternatively, L{gtasklet.run} can be used to the same effect:: gtasklet.run(my_task(x=0)) Examples ======== Background timeout task ----------------------- This example demonstrates basic tasklet structure and timeout events:: import gobject import gtasklet mainloop = gobject.MainLoop() def simple_counter(numbers): timeout = gtasklet.WaitForTimeout(1000) for x in xrange(numbers): print x yield timeout gtasklet.get_event() mainloop.quit() gtasklet.run(simple_counter(10)) mainloop.run() Message passing --------------- This example extends the previous one and demonstrates message passing:: import gobject import gtasklet mainloop = gobject.MainLoop() def printer(): msgwait = gtasklet.WaitForMessages(accept=("quit", "print")) while True: yield msgwait msg = gtasklet.get_event() if msg.name == "quit": return assert msg.name == 'print' print ">>> ", msg.value def simple_counter(numbers, task): timeout = gtasklet.WaitForTimeout(1000) for x in xrange(numbers): yield gtasklet.Message('print', dest=task, value=x) yield timeout gtasklet.get_event() yield gtasklet.Message('quit', dest=task) mainloop.quit() task = gtasklet.run(printer()) gtasklet.run(simple_counter(10, task)) mainloop.run() @author: Gustavo J. A. M. Carneiro @organization: INESC Porto @copyright: Gustavo J. A. M. Carneiro @license: GNU LGPL @contact: U{mailto:gjc@inescporto.pt} """ __revision__ = (0, 4, 0) import gobject import warnings import types assert gobject.pygtk_version >= (2, 8) _event = None def get_event(): """ Return the last event that caused the current tasklet to regain control. @warning: this function should be called exactly once after each yield that includes a wait condition. """ global _event assert _event is not None event = _event _event = None return event def run(gen): """Start running a generator as a L{Tasklet}. @parameter gen: generator object that implements the tasklet body. @return: a new L{Tasklet} instance, already running. @note: this is strictly equivalent to calling C{Tasklet(gen)}. """ return Tasklet(gen) class WaitCondition(object): ''' Base class for all wait-able condition objects. WaitConditions are used in a yield statement inside tasklets body for specifying what event(s) it should wait for in order to receive control once more.''' def __init__(self): '''Abstract base class, do not call directly''' self.triggered = False def arm(self, tasklet): '''Prepare the wait condition to receive events. When a wait condition receives the event it is waiting for, it should call the method L{wait_condition_fired} of the tasklet with the wait condition as argument. The method returns True or False; if it returns True, it means the WaitCondition object must "rearm" itself (continue to monitor events), otherwise it should disarm. @parameter tasklet: the tasklet instance the wait condition is to be associated with. @attention: this method normally should not be called directly by the programmer. ''' raise NotImplementedError def disarm(self): '''Stop the wait condition from receiving events. @attention: this method normally should not be called by the programmer.''' raise NotImplementedError class WaitForIO(WaitCondition): '''An object that waits for IO conditions on sockets or file descriptors. ''' def __init__(self, filedes, condition=gobject.IO_IN, priority=gobject.PRIORITY_DEFAULT): ''' @param filedes: object to monitor for IO @type filedes: int file descriptor, or a L{gobject.IOChannel}, or an object with a C{fileno()} method, such as socket or unix file. @param condition: IO event mask @type condition: a set of C{gobject.IO_*} flags ORed together @param priority: mainloop source priority ''' WaitCondition.__init__(self) self.filedes = filedes self.__condition = condition # listen condition self.condition = None # last occurred condition self.__callback = None self.__id = None self.__priority = priority def arm(self, tasklet): '''Overrides WaitCondition.arm''' self.__callback = tasklet.wait_condition_fired if self.__id is None: try: ## http://bugzilla.gnome.org/show_bug.cgi?id=139176 iochan = isinstance(self.filedes, gobject.IOChannel) except AttributeError: iochan = False if iochan: self.__id = self.filedes.add_watch(self.__condition, self.__io_cb, priority=self.__priority) else: if isinstance(self.filedes, int): filedes = self.filedes else: filedes = self.filedes.fileno() self.__id = gobject.io_add_watch(filedes, self.__condition, self.__io_cb, priority=self.__priority) def disarm(self): '''Overrides WaitCondition.disarm''' if self.__id is not None: gobject.source_remove(self.__id) self.__id = None self.__callback = None def __io_cb(self, unused_filedes, condition): self.triggered = True self.condition = condition retval = self.__callback(self) self.triggered = False if not retval: self.__id = None return retval class WaitForTimeout(WaitCondition): '''An object that waits for a specified ammount of time (a timeout)''' def __init__(self, timeout, priority=gobject.PRIORITY_DEFAULT): '''An object that waits for a specified ammount of time. @param timeout: ammount of time to wait, in miliseconds @param priority: mainloop priority for the timeout event ''' WaitCondition.__init__(self) self.timeout = timeout self.__id = None self.__tasklet = None self.__priority = priority def arm(self, tasklet): '''See WaitCondition.arm''' if self.__id is None: self.__tasklet = tasklet self.__id = gobject.timeout_add(self.timeout, self.__timeout_cb, priority=self.__priority) def disarm(self): '''See WaitCondition.disarm''' if self.__id is not None: gobject.source_remove(self.__id) self.__id = None self.__tasklet = None def restart(self): '''Restart the timeout. Makes time counting start again from zero.''' tasklet = self.__tasklet self.disarm() self.arm(tasklet) def __timeout_cb(self): assert self.__id is not None,\ "timeout called even after being unregistered" self.triggered = True retval = self.__tasklet.wait_condition_fired(self) assert retval is not None self.triggered = False if not retval: self.__id = None return retval class WaitForIdle(WaitCondition): '''An object that waits for the main loop to become idle''' def __init__(self, priority=gobject.PRIORITY_DEFAULT_IDLE): '''An object that waits for the main loop to become idle, with a priority indicated by @priority''' WaitCondition.__init__(self) self.__callback = None self.__id = None self.__priority = priority def arm(self, tasklet): '''See WaitCondition.arm''' if self.__id is None: self.__callback = tasklet.wait_condition_fired self.__id = gobject.idle_add(self.__idle_cb, self.__priority) def disarm(self): '''See WaitCondition.disarm''' if self.__id is not None: gobject.source_remove(self.__id) self.__id = None self.__callback = None def __idle_cb(self): self.triggered = True retval = self.__callback(self) self.triggered = False if not retval: self.__id = None return retval class WaitForTasklet(WaitCondition): '''An object that waits for a tasklet to complete''' def __init__(self, tasklet): '''An object that waits for another tasklet to complete''' WaitCondition.__init__(self) self.__tasklet = tasklet self.__id = None self.__idle_id = None self.__callback = None self.retval = None def arm(self, tasklet): '''See WaitCondition.arm''' self.__callback = tasklet.wait_condition_fired if self.__id is None: self.__id = self.__tasklet.add_join_callback(self.__join_cb) def disarm(self): '''See WaitCondition.disarm''' if self.__idle_id is not None: gobject.source_remove(self.__idle_id) self.__idle_id = None if self.__id is not None: self.__tasklet.remove_join_callback(self.__id) self.__id = None self.__callback = None def __join_cb(self, tasklet, retval): assert tasklet is self.__tasklet assert self.__idle_id is None self.__id = None self.__idle_id = gobject.idle_add(self.__idle_cb) self.retval = retval def __idle_cb(self): self.triggered = True self.__callback(self) self.triggered = False self.__tasklet = None self.__callback = None self.__id = None self.__idle_id = None return False class WaitForSignal(WaitCondition): '''An object that waits for a signal emission''' def __init__(self, obj, signal): '''Waits for a signal to be emitted on a specific GObject instance. @param obj: object monitor for the signal @type obj: gobject.GObject @param signal: signal name @type signal: str ''' WaitCondition.__init__(self) assert isinstance(obj, gobject.GObject) assert isinstance(signal, str) self.object = obj self.signal = signal self.__callback = None self.__id = None self.__destroy_id = None self.signal_args = None def arm(self, tasklet): '''See WaitCondition.arm''' if self.__id is None: self.__callback = tasklet.wait_condition_fired self.__id = self.object.connect(self.signal, self.__signal_cb) if gobject.signal_lookup("destroy", self.object): self.__destroy_id = self.object.connect("destroy", self.__object_destroyed) def __object_destroyed(self, obj): self.object = None self.__id = None self.__destroy_id = None self.__callback = None def disarm(self): '''See WaitCondition.disarm''' if self.__id is not None: self.object.disconnect(self.__id) self.__id = None self.__callback = None if self.__destroy_id is not None: self.object.disconnect(self.__destroy_id) self.__destroy_id = None def __signal_cb(self, obj, *args): assert obj is self.object self.triggered = True self.signal_args = args retval = self.__callback(self) self.triggered = False if not retval: self.__id = None return retval class WaitForProcess(WaitCondition): '''An object that waits for a process to end''' def __init__(self, pid): ''' Creates an object that waits for a subprocess @parameter pid: Process identifier @type pid: int ''' WaitCondition.__init__(self) self.pid = pid self.__callback = None self.__id = None self.status = None def arm(self, tasklet): '''See WaitCondition.arm''' self.__callback = tasklet.wait_condition_fired if self.__id is None: self.__id = gobject.child_watch_add(self.pid, self.__child_cb) def disarm(self): '''See WaitCondition.disarm''' if self.__id is not None: gobject.source_remove(self.__id) self.__id = None self.__callback = None def __child_cb(self, unused_pid, status): self.triggered = True self.status = status self.__callback(self) self.triggered = False self.status = None self.__id = None class Message(object): '''A message that can be received by or sent to a tasklet.''' __slots__ = 'name', 'dest', 'value', 'sender' ACCEPT, DEFER, DISCARD = range(3) def __init__(self, name, dest=None, value=None, sender=None): ''' @param name: name of message @type name: str @param dest: destination tasklet for this message @type dest: L{Tasklet} @param value: value associated with the message @param sender: sender tasklet for this message @type sender: L{Tasklet} ''' assert isinstance(sender, (Tasklet, type(None))) assert isinstance(dest, (Tasklet, type(None))) assert isinstance(name, basestring) self.name = name self.value = value self.sender = sender self.dest = dest # def get_name(self): # """Return the message name""" # return self.name # def get_value(self): # """Return the message value""" # return self.value # def get_sender(self): # """Return the message sender""" # return self.sender # def get_dest(self): # """Return the message destination""" # return self.dest def _normalize_list_argument(arg, name): """returns a list of strings from an argument that can be either list of strings, None (returns []), or a single string returns ([arg])""" if arg is None: return [] elif isinstance(arg, basestring): return [arg] elif isinstance(arg, (list, tuple)): return arg raise TypeError("Argument '%s' must be None, a string, or " "a sequence of strings, not %r" % (name, type(arg))) class WaitForMessages(WaitCondition): '''An object that waits for messages to arrive''' def __init__(self, accept=None, defer=None, discard=None): '''Creates an object that waits for a set of messages to arrive. @warning: unlike other wait conditions, when a message is received, a L{Message} instance is returned by L{get_event()}, not the L{WaitForMessages} instance. @param accept: message name or names to accept (receive) in the current state @type accept: string or sequence of string @param defer: message name or names to defer (queue) in the current state @type defer: string or sequence of string @param discard: message name or names to discard (drop) in the current state @type discard: string or sequence of string ''' WaitCondition.__init__(self) self.__tasklet = None accept = _normalize_list_argument(accept, 'accept') defer = _normalize_list_argument(defer, 'defer') discard = _normalize_list_argument(discard, 'discard') self.actions = dict() for name in accept: self.actions[name] = Message.ACCEPT for name in defer: self.actions[name] = Message.DEFER for name in discard: self.actions[name] = Message.DISCARD def arm(self, tasklet): '''Overrides WaitCondition.arm''' self.__tasklet = tasklet tasklet.message_actions.update(self.actions) def disarm(self): '''Overrides WaitCondition.disarm''' assert self.__tasklet is not None for name in self.actions: del self.__tasklet.message_actions[name] class Tasklet(object): '''An object that launches and manages a tasklet.''' STATE_RUNNING, STATE_SUSPENDED, STATE_MSGSEND = range(3) def __init__(self, gen=None): ''' Launch a generator tasklet. @param gen: a generator object that implements the tasklet main body If `gen` is omitted or None, L{run} should be overridden in a subclass. ''' self.__event = None self.__join_callbacks = {} self.wait_list = [] self.__message_queue = [] self._message_actions = {} self.state = Tasklet.STATE_SUSPENDED if gen is None: self.gen = self.run() else: assert isinstance(gen, types.GeneratorType) self.gen = gen self.__next_round() # bootstrap def get_message_actions(self): """Dictionary mapping message names to actions ('accept' or 'discard' or 'defer'). Should normally not be accessed directly by the programmer. """ return self._message_actions message_actions = property(get_message_actions) def run(self): """ Method that executes the task. Should be overridden in a subclass if no generator is passed into the constructor.""" raise ValueError("Should be overridden in a subclass " "if no generator is passed into the constructor") def __invoke(self): global _event assert _event is None had_event = (self.__event is not None) _event = self.__event try: self.state = Tasklet.STATE_RUNNING gen_value = self.gen.next() self.state = Tasklet.STATE_SUSPENDED assert gen_value is not None except StopIteration, ex: if ex.args: retval, = ex.args else: retval = None self.__join(retval) return None if __debug__: if had_event and _event is not None: warnings.warn("Tasklet %s forgot to read an event!" % self) self.__event = None return gen_value def __next_round(self): assert self.state == Tasklet.STATE_SUSPENDED old_wait_list = self.wait_list while True: # loop while tasklet yields tasklet.post_message(...) gen_value = self.__invoke() if gen_value is None: return if isinstance(gen_value, Message): msg = gen_value self.state = Tasklet.STATE_MSGSEND msg.dest.send_message(msg) continue # loop because we posted a message elif isinstance(gen_value, tuple): self.wait_list = list(gen_value) elif isinstance(gen_value, list): self.wait_list = gen_value else: self.wait_list = [gen_value] for i, val in enumerate(self.wait_list): if isinstance(val, WaitCondition): continue elif isinstance(val, types.GeneratorType): self.wait_list[i] = WaitForTasklet(Tasklet(val)) elif isinstance(val, Tasklet): self.wait_list[i] = WaitForTasklet(val) else: raise TypeError("yielded values must be WaitConditions," " generators, or a single Message") self._update_wait_conditions(old_wait_list) msg = self._dispatch_message() if msg is not None: self.__event = msg continue ## send a message break def _dispatch_message(self): '''get next message that a tasklet wants to receive; discard messages that should be discarded''' ## while sending out messages, the tasklet implicitly queues ## all incoming messages if self.state == Tasklet.STATE_MSGSEND: return None ## filter out messages with discard action def __get_action(msg): try: return self._message_actions[msg.name] except KeyError: warnings.warn("Implicitly discarding message %s" " directed to tasklet %s" % (msg, self)) return Message.DISCARD if __debug__: self.__message_queue = [msg for msg in self.__message_queue if __get_action(msg) != Message.DISCARD] else: ## slightly more efficient version of the above self.__message_queue = [msg for msg in self.__message_queue if (self._message_actions.getdefault(msg.name, Message.DISCARD) != Message.DISCARD)] ## find next ACCEPT-able message from queue, and pop it out for idx, msg in enumerate(self.__message_queue): if self._message_actions[msg.name] == Message.ACCEPT: break else: return None return self.__message_queue.pop(idx) def _update_wait_conditions(self, old_wait_list): '''disarm wait conditions removed and arm new wait conditions''' ## disarm conditions removed from the wait list for cond in old_wait_list: if cond not in self.wait_list: cond.disarm() ## arm the conditions added to the wait list for cond in self.wait_list: if cond not in old_wait_list: cond.arm(self) def wait_condition_fired(self, triggered_cond): """Method that should be called when a wait condition fires""" assert triggered_cond in self.wait_list assert self.__event is None self.__event = triggered_cond self.__next_round() self.__event = None if self.wait_list is None: return False else: return (triggered_cond in self.wait_list) def add_join_callback(self, callback): ''' Add a callable to be invoked when the tasklet finishes. Return a connection handle that can be used in remove_join_callback() The callback will be called like this:: callback(tasklet, retval) where tasklet is the tasklet that finished, and retval its return value (or None). When a join callback is invoked, it is automatically removed, so calling L{remove_join_callback} afterwards produces a KeyError exception. ''' handle = hash(callback) while handle in self.__join_callbacks: # handle collisions handle += 1 self.__join_callbacks[handle] = callback return handle def remove_join_callback(self, handle): '''Remove a join callback previously added with L{add_join_callback}''' del self.__join_callbacks[handle] def __join(self, retval): for cond in self.wait_list: cond.disarm() self.gen = None self.wait_list = [] callbacks = self.__join_callbacks.values() self.__join_callbacks.clear() for callback in callbacks: callback(self, retval) def send_message(self, message): """Send a message to be received by the tasklet as an event. @warning: Don't call this from another tasklet, only from the main loop! To send a message from another tasklet, yield a L{Message} with a correctly set 'dest' parameter. """ assert isinstance(message, Message) assert self.__event is None if message.dest is None: message.dest = self self.__message_queue.append(message) self.__event = self._dispatch_message() if self.__event is not None: self.__next_round() ## ---------------------------- ## And here's an example... ## ---------------------------- class _CountSomeNumbers2(Tasklet): '''Counts numbers with at random time spacings''' def __init__(self, count, timeout): """foo""" self.count = count self.timeout = timeout Tasklet.__init__(self) def run(self): '''Execute the task.''' for i in xrange(self.count): print ">> _count_some_numbers2", i yield (WaitForTimeout(random.randint(70, self.timeout)), WaitForMessages(accept='quit')) event = get_event() if isinstance(event, Message) and event.name == 'quit': ## this would be the place to do some cleanup. return raise StopIteration(self.count*2) def _count_some_numbers1(count): '''Counts numbers with at fixed time spacings''' timeout = WaitForTimeout(1000) for i in xrange(count): print "_count_some_numbers1", i task2 = _CountSomeNumbers2(10, 130) yield timeout, task2 event = get_event() if event is timeout: print ">>> Got tired of waiting for task!! Canceling!" ## send a message asking the tasklet to stop yield Message('quit', dest=task2) elif isinstance(event, WaitForTasklet): print ">>> task returned %r, good task!" % event.retval ## restart timeout from scratch, otherwise it keeps ## running and we end up giving the next task too little ## time. timeout.restart() else: assert False, "strange event" def _test(): '''a simple test/example''' Tasklet(_count_some_numbers1(100)) gobject.MainLoop().run() if __name__ == '__main__': import random _test() gnome-osd-0.12.2/gnomeosd/xscreensaver.py0000644000175000017500000000227110605727052020533 0ustar adpeeteradpeeter''' Some code to monitor xscreensaver ''' import gobject class XScreenSaverMonitor(gobject.GObject): __gsignals__ = { 'state-changed': (gobject.SIGNAL_RUN_LAST, None, (str,)) } def __init__(self): '''Starts monitoring xscreensaver; raises GError if xscreensaver-command not available''' gobject.GObject.__init__(self) pid, _, stdout, _ = gobject.spawn_async( [ 'xscreensaver-command', '-watch'], standard_input=False, standard_output=True, standard_error=False, flags=gobject.SPAWN_SEARCH_PATH) chan = gobject.IOChannel(filedes=stdout) chan.set_flags(gobject.IO_FLAG_NONBLOCK) chan.add_watch(gobject.IO_IN, self.__io_cb) def __io_cb(self, chan, condition): if condition & gobject.IO_IN: line = chan.readline() if line: state = line.split(' ', 1)[0] self.emit('state-changed', state) return True if __name__ == '__main__': def state_changed_cb(obj, state): print "*** ", state XScreenSaverMonitor().connect("state-changed", state_changed_cb) gobject.MainLoop().run() gnome-osd-0.12.2/gnomeosd/capplet.py0000644000175000017500000003403510644223253017453 0ustar adpeeteradpeeterimport os.path import gobject import gtk import gtk.gdk import bonobo import gconfsync import gnome import gnome.ui import gettext import locale import gnome_osd_conf import gtkexcepthook try: import dbus if getattr(dbus, "version", (0,0,0)) >= (0,41,0): import dbus.glib HAVE_DBUS = True except: HAVE_DBUS = False class HIGContainer(gtk.Alignment): def __init__(self, title, child): gtk.Alignment.__init__(self) self.set(xalign=0, yalign=0, xscale=1, yscale=1) vbox = gtk.VBox() vbox.show() self.add(vbox) vbox.set_spacing(6) label = gtk.Label(); label.show() label.set_markup('%s' % title) label.set_use_underline(True) label.set_alignment(0, 0.5) vbox.pack_start(label) hbox = gtk.HBox(); hbox.show() vbox.pack_start(hbox) label = gtk.Label(' '); label.show() hbox.pack_start(label, False, False) hbox.pack_start(child, True, True) self.show() class RadioGroup(gobject.GObject): __gsignals__ = { 'changed': (gobject.SIGNAL_RUN_LAST, None, # return type (object, )) # parameter types } def __init__(self, items): self.__gobject_init__() self.radio_map = dict() self.items = dict() self.__ignore_toggled = False radio = None for item in items: radio = gtk.RadioButton(radio, item[0]) self.radio_map[radio] = item[1] self.items[item[1]] = radio radio.show() radio.connect("toggled", self.__radio_toggled) def __radio_toggled(self, radio): if self.__ignore_toggled: return if radio.get_active(): value = self.radio_map[radio] self.emit("changed", value) def get_value(self): for radio in self.radio_map: if radio.get_active(): return self.radio_map[radio] def set_value(self, value): self.__ignore_toggled = True radio = self.items[value] radio.set_active(True) self.__ignore_toggled = False if gobject.pygtk_version < (2,8): gobject.type_register(RadioGroup) class RadioGroupSync(object): ''' Synchronizes a gconf key with a radio group ''' def __init__(self, group, prefs, key): prefs.connect("changed::%s" % key, self.__pref_changed) group.connect("changed", self.__gui_changed) self.group = group self.prefs = prefs self.key = key group.set_value(prefs[key]) def __pref_changed(self, prefs, key): self.group.set_value(prefs[key]) def __gui_changed(self, unused_group, value): self.prefs[self.key] = value class FontSync(object): def __init__(self, font, prefs, key): font.connect("font-set", self.__font_changed) prefs.connect("changed::%s" % key, self.__pref_changed) font.set_font_name(prefs[key]) self.prefs = prefs self.key = key self.font = font def __font_changed(self, unused_font, font_name): self.prefs[self.key] = font_name def __pref_changed(self, prefs, key): self.font.set_font_name(prefs[key]) class ToggleSync(object): def __init__(self, toggle, prefs, key): self.prefs = prefs self.key = key self.toggle = toggle toggle.set_active(prefs[key]) toggle.connect("toggled", self.__toggled) prefs.connect("changed::%s" % key, self.__pref_changed) self.__ignore_toggled = False def __toggled(self, toggle): if self.__ignore_toggled: return self.prefs[self.key] = toggle.get_active() def __pref_changed(self, prefs, key): self.__ignore_toggled = True self.toggle.set_active(prefs[key]) self.__ignore_toggled = False class AlignmentGroupSync(object): def __init__(self, group, prefs): self.group = group self.__pref_changed(prefs, None) prefs.connect("changed::osd_halignment", self.__pref_changed) prefs.connect("changed::osd_vposition", self.__pref_changed) self.prefs = prefs group.connect("changed", self.__gui_changed) def __pref_changed(self, prefs, unused_name): halign = prefs['osd_halignment'] valign = prefs['osd_vposition'] self.group.set_value("-".join((valign, halign))) def __gui_changed(self, unused_group, value): valign, halign = value.split('-') self.prefs['osd_halignment'] = halign self.prefs['osd_vposition'] = valign def main(): gettext.install("gnome-osd", os.path.join(gnome_osd_conf.datadir, "locale")) locale.setlocale(locale.LC_ALL, '') locale.bind_textdomain_codeset('gnome-osd','UTF-8') gettext.bind_textdomain_codeset('gnome-osd','UTF-8') gnome.program_init("gnome-osd-properties", gnome_osd_conf.VERSION) try: icon = gtk.gdk.pixbuf_new_from_file(os.path.join(gnome_osd_conf.datadir, "pixmaps", "gnome-osd.png")) gtk.window_set_default_icon_list(icon) del icon except gobject.GError: print "Icon file not found" RESPONSE_TEST, RESPONSE_ABOUT = range(2) dialog = gtk.Dialog(title=_("OSD Properties"), buttons=(_("_Test"), RESPONSE_TEST, gtk.STOCK_CLOSE, gtk.RESPONSE_CLOSE, ) ) about_button = dialog.add_button(gtk.STOCK_ABOUT, RESPONSE_ABOUT) dialog.action_area.set_child_secondary(about_button, True) dialog.set_property("has-separator", 0) dialog.set_border_width(12) dialog.set_default_response(RESPONSE_TEST) dialog.set_resizable(False) def general_preferences(): prefs = gconfsync.GConfSync("/apps/gnome-osd") main_vbox = gtk.VBox(False, 18) main_vbox.set_border_width(12) main_vbox.show() # Font hbox = gtk.HBox(False, 6) label = gtk.Label(_("OSD _Font: ")) label.set_use_underline(True) label.set_alignment(0, 0.5) hbox.pack_start(label, False, True) font = gnome.ui.FontPicker() font.set_property('mode', gnome.ui.FONT_PICKER_MODE_FONT_INFO) hbox.pack_start(font, True, True) label.set_mnemonic_widget(font) hbox.show_all() main_vbox.add(hbox) FontSync(font, prefs, 'osd_font') hbox = gtk.HBox(False, 6) hbox.show() main_vbox.add(hbox) # Animations animations = gtk.CheckButton(_("_Animations")) animations.show() hbox.add(animations) ToggleSync(animations, prefs, "animations") # Drop shadow drop_shadow = gtk.CheckButton(_("_Drop shadow")) drop_shadow.show() hbox.add(drop_shadow) ToggleSync(drop_shadow, prefs, "drop_shadow") # Sound sound = gtk.CheckButton(_("_Sound")) sound.show() hbox.add(sound) ToggleSync(sound, prefs, "enable_sound") # Hide on hover hide = gtk.CheckButton(_("_Hide on mouse hover")) hide.show() main_vbox.add(hide) ToggleSync(hide, prefs, "hide_on_hover") # --- Alignment group = RadioGroup([ (_("Top _left"), 'top-left'), (_("_Top"), 'top-center'), (_("Top _right"), 'top-right'), (_("L_eft"), 'center-left'), (_("_Center"), 'center-center'), (_("Ri_ght"), 'center-right'), (_("Bottom l_eft"), 'bottom-left'), (_("_Bottom"), 'bottom-center'), (_("Bottom r_ight"), 'bottom-right'), ]) table = gtk.Table(3, 3) table.show() table.set_row_spacings(6) table.set_col_spacings(6) table.attach(group.items['top-left'], 0, 1, 0, 1) table.attach(group.items['top-center'], 1, 2, 0, 1) table.attach(group.items['top-right'], 2, 3, 0, 1) table.attach(group.items['center-left'], 0, 1, 1, 2) table.attach(group.items['center-center'], 1, 2, 1, 2) table.attach(group.items['center-right'], 2, 3, 1, 2) table.attach(group.items['bottom-left'], 0, 1, 2, 3) table.attach(group.items['bottom-center'], 1, 2, 2, 3) table.attach(group.items['bottom-right'], 2, 3, 2, 3) AlignmentGroupSync(group, prefs) # Avoid Panels avoid = gtk.CheckButton(_("A_void panels")) avoid.show() ToggleSync(avoid, prefs, "avoid_panels") vbox = gtk.VBox(False, 6) vbox.show() vbox.add(table) vbox.add(avoid) container = HIGContainer(_("Alignment"), vbox) main_vbox.add(container) return main_vbox def events_preferences(): main_vbox = gtk.VBox(False, 18) main_vbox.set_border_width(12) main_vbox.show() tooltips = gtk.Tooltips() # Song change prefs = gconfsync.GConfSync("/apps/gnome-osd/plugins/song_change") check = gtk.CheckButton(_("Notify on _song changes")) tooltips.set_tip(check, _("Works with Rhythmbox and Muine")) check.show() container = HIGContainer(_("Music Player"), check) main_vbox.pack_start(container, False, False, 0) ToggleSync(check, prefs, "enabled") # XChat prefs = gconfsync.GConfSync("/apps/gnome-osd/plugins/xchat") vbox = gtk.VBox(False, 6) vbox.show() container = HIGContainer(_("IRC (Chat)"), vbox) main_vbox.pack_start(container, False, False, 0) check = gtk.CheckButton(_("Notify on _IRC messages directed to me")) tooltips.set_tip(check, _("Works with XChat (>= 2.6) with D-BUS plugin")) check.show() vbox.pack_start(check, False, False, 0) ToggleSync(check, prefs, "enabled") enabled_check = check check = gtk.CheckButton(_("Include _message text")) enabled_check.connect("toggled", lambda check1, check2: check2.set_sensitive(check1.get_active()), check) check.show() vbox.pack_start(check, False, False, 0) ToggleSync(check, prefs, "full") # Evolution prefs = gconfsync.GConfSync("/apps/gnome-osd/plugins/email") vbox = gtk.VBox(False, 6) vbox.show() container = HIGContainer(_("EMail"), vbox) main_vbox.pack_start(container, False, False, 0) check = gtk.CheckButton(_("Notify when new _email arrives")) tooltips.set_tip(check, _("Works with Evolution with enabled D-BUS plugin")) check.show() vbox.pack_start(check, False, False, 0) ToggleSync(check, prefs, "enabled") # pidgin pidgin_prefs = gconfsync.GConfSync("/apps/gnome-osd/plugins/pidgin") gaim_prefs = gconfsync.GConfSync("/apps/gnome-osd/plugins/gaim") vbox = gtk.VBox(False, 6) vbox.show() container = HIGContainer(_("Pidgin/Gaim"), vbox) main_vbox.pack_start(container, False, False, 0) check = gtk.CheckButton(_("Notify buddies actions")) tooltips.set_tip(check, _("Notify when a contact logs in or out, writes, or sends a message")) check.show() vbox.pack_start(check, False, False, 0) ToggleSync(check, pidgin_prefs, "enabled") ToggleSync(check, gaim_prefs, "enabled") return main_vbox notebook = gtk.Notebook() notebook.show() dialog.vbox.add(notebook) notebook.append_page(general_preferences(), gobject.new( gtk.Label, label=_("General"), visible=True)) notebook.append_page(events_preferences(), gobject.new( gtk.Label, label=_("Notifications"), visible=True)) def dialog_response(dialog, response): if response == gtk.RESPONSE_CLOSE: dialog.destroy() elif response == RESPONSE_TEST: osd = bonobo.get_object("OAFIID:GNOME_OSD", "IDL:Bonobo/Application:1.0") osd.ref() # AppClient steals one reference osd = bonobo.AppClient(osd) osd.msg_send("show", [_("This is a %s %s test sent from the preferences dialog") % (gnome_osd_conf.PACKAGE, gnome_osd_conf.VERSION)]) elif response == RESPONSE_ABOUT: about = gobject.new(gtk.AboutDialog, translator_credits=_("translator-credits"), authors=["Gustavo J. A. M. Carneiro", "Fabien Carrion (Pidgin/Gaim support)"], version=gnome_osd_conf.VERSION, name="GNOME OSD", license=( """GNOME OSD 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. GNOME OSD 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 GNOME OSD; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA"""), wrap_license=True, comments=_("An OSD (On Screen Display) message notification system for GNOME.") ) about.set_transient_for(dialog) about.show() def cb(dialog, response): if response == gtk.RESPONSE_CANCEL: dialog.destroy() about.connect("response", cb) dialog.connect("response", dialog_response) dialog.connect("destroy", lambda *unused_args: gtk.main_quit()) if HAVE_DBUS: ## just in case, activate the event bridge now... dbus.SessionBus().start_service_by_name("pt.inescporto.telecom.GnomeOSD.EventBridge") dialog.show() gtk.main() if __name__ == '__main__': main() gnome-osd-0.12.2/gnomeosd/__init__.py0000644000175000017500000000000010605727052017546 0ustar adpeeteradpeetergnome-osd-0.12.2/gnomeosd/gosd.py0000755000175000017500000001442610605727052016767 0ustar adpeeteradpeeterimport gobject import pango import gtk import gtk.gdk as gdk BORDER_WIDTH=1 def osd(text, bgcolor, fgcolor, fontdesc, use_markup=False, alignment=pango.ALIGN_CENTER, fake_translucent_bg=False, drop_shadow=False, max_width=None, debug_frame=False, ellipsize=pango.ELLIPSIZE_NONE): assert isinstance(fontdesc, pango.FontDescription) win = gtk.Window(gtk.WINDOW_POPUP) win.add_events(gtk.gdk.ENTER_NOTIFY_MASK) darea = gtk.DrawingArea() win.add(darea) darea.show() if use_markup: layout = win.create_pango_layout('') layout.set_markup(text) else: layout = win.create_pango_layout(text) try: layout.set_ellipsize(ellipsize) except AttributeError: print "ellipsize attribute not supported, ignored" layout.set_justify(False) layout.set_alignment(alignment) layout.set_font_description(fontdesc) if max_width is None: MAX_WIDTH = gdk.screen_width() - 8 else: MAX_WIDTH = max_width - 8 layout.set_width(pango.SCALE*MAX_WIDTH) if ellipsize != pango.ELLIPSIZE_NONE: layout.set_wrap(pango.WRAP_WORD) width, height = layout.get_pixel_size() off_x = BORDER_WIDTH*2 off_y = BORDER_WIDTH*2 if alignment == pango.ALIGN_CENTER: off_x -= MAX_WIDTH/2 - width/2 elif alignment == pango.ALIGN_RIGHT: off_x -= MAX_WIDTH - width width += BORDER_WIDTH*4 height += BORDER_WIDTH*4 if drop_shadow: drop_shadow_distance = max(2, int(fontdesc.get_size()/pango.SCALE*0.1)) width += drop_shadow_distance height += drop_shadow_distance darea.set_size_request(width, height) darea.realize() pixmap = gtk.gdk.Pixmap(darea.window, width, height) #pixmap.set_colormap(darea.window.get_colormap()) fg_gc = gdk.GC(pixmap); fg_gc.copy(darea.style.fg_gc[gtk.STATE_NORMAL]) bg_gc = gdk.GC(pixmap); bg_gc.copy(darea.style.fg_gc[gtk.STATE_NORMAL]) fg_gc.set_foreground(darea.get_colormap().alloc_color(fgcolor)) bg_gc.set_background(darea.get_colormap().alloc_color(bgcolor)) pixmap.draw_rectangle(bg_gc, True, 0, 0, width, height) pixmap.draw_layout(fg_gc, off_x, off_y, layout) if debug_frame: pixmap.draw_rectangle(fg_gc, False, 0, 0, width - 1, height - 1) bitmap = gtk.gdk.Pixmap(darea.window, width, height, 1) #bitmap.set_colormap(darea.window.get_colormap()) fg_gc = gdk.GC(bitmap) bg_gc = gdk.GC(bitmap) fg_gc.set_foreground(gdk.Color(pixel=-1)) bg_gc.set_background(gdk.Color(pixel=0)) if fake_translucent_bg: w, h = 2, 2 stipple = gtk.gdk.Pixmap(None, w, h, 1) stipple.draw_rectangle(bg_gc, True, 0, 0, w, h) stipple.draw_point(fg_gc, 0, 0) stipple.draw_point(fg_gc, 1, 1) fg_gc.set_stipple(stipple) bitmap.draw_rectangle(bg_gc, True, 0, 0, width, height) fg_gc.set_fill(gtk.gdk.STIPPLED) bitmap.draw_rectangle(fg_gc, True, 0, 0, width, height) fg_gc.set_fill(gtk.gdk.SOLID) # draw corners corner_size = int(fontdesc.get_size()/pango.SCALE*0.5) fg_gc.set_function(gtk.gdk.AND) gc = gdk.GC(bitmap) corner = gtk.gdk.Pixmap(bitmap, corner_size, corner_size) def draw_corner(angle1, x, y, arc_x0, arc_y0): gc.set_foreground(gdk.Color(pixel=0)) corner.draw_rectangle(gc, True, 0, 0, corner_size, corner_size) gc.set_foreground(gdk.Color(pixel=1)) corner.draw_arc(gc, True, arc_x0, arc_y0, corner_size*2, corner_size*2, angle1*64, 90*64) bitmap.draw_drawable(fg_gc, corner, 0, 0, x, y, corner_size, corner_size) # top-left draw_corner(90, 0, 0, 0, 0) # bottom-left draw_corner(180, 0, height - corner_size, 0, -corner_size) # bottom-right draw_corner(270, width - corner_size, height - corner_size, -corner_size, -corner_size) # top-right draw_corner(0, width - corner_size, 0, -corner_size, 0) fg_gc.set_function(gtk.gdk.SET) else: bitmap.draw_rectangle(bg_gc, True, 0, 0, width, height) bitmap.draw_layout(fg_gc, off_x, off_y, layout) bitmap.draw_layout(fg_gc, off_x + BORDER_WIDTH, off_y, layout) bitmap.draw_layout(fg_gc, off_x + BORDER_WIDTH, off_y + BORDER_WIDTH, layout) bitmap.draw_layout(fg_gc, off_x, off_y + BORDER_WIDTH, layout) bitmap.draw_layout(fg_gc, off_x - BORDER_WIDTH, off_y + BORDER_WIDTH, layout) bitmap.draw_layout(fg_gc, off_x - BORDER_WIDTH, off_y, layout) bitmap.draw_layout(fg_gc, off_x - BORDER_WIDTH, off_y - BORDER_WIDTH, layout) bitmap.draw_layout(fg_gc, off_x, off_y - BORDER_WIDTH, layout) bitmap.draw_layout(fg_gc, off_x + BORDER_WIDTH, off_y - BORDER_WIDTH, layout) if drop_shadow: bitmap.draw_layout(fg_gc, off_x + drop_shadow_distance, off_y + drop_shadow_distance, layout) if debug_frame: bitmap.draw_rectangle(fg_gc, False, 0, 0, width - 1, height - 1) darea.window.set_back_pixmap(pixmap, False) win.window.shape_combine_mask(bitmap, 0, 0) win.width = width win.height = height return win def popup(text, bgcolor=None, fgcolor=None, fontdesc=None, use_markup=False): assert isinstance(fontdesc, pango.FontDescription) win = gtk.Window(gtk.WINDOW_POPUP) win.set_border_width(0) frame = gobject.new(gtk.Frame, shadow_type=gtk.SHADOW_ETCHED_OUT, visible=True) win.add(frame) label = gobject.new(gtk.Label, use_markup=True, label=text, visible=True) label.modify_font(fontdesc) frame.add(label) win.show() win.width, win.height = win.allocation.width, win.allocation.height return win if __name__ == '__main__': w = osd("Hello World" "! sad adasd asd asd as das asd" " asdasdasdashdjasdlasl dkasdaskdjakaskdjasdlsajldj", "#000000", "#80ff80", pango.FontDescription("sans serif 48"), use_markup=True, drop_shadow=True, ellipsize=pango.ELLIPSIZE_END) w.move(gdk.screen_width()/2 - w.width/2, gdk.screen_height() - w.height - 10) def motion(wid, ev): print "enter notify!" w.connect("enter-notify-event", motion) w.show() gtk.main() gnome-osd-0.12.2/gnomeosd/eventbridge.py0000755000175000017500000004732110644221752020330 0ustar adpeeteradpeeter# -*- Mode: python; encoding: utf-8 -*- ## XChat OSD song notification ## (C) 2004 Gustavo J. A. M. Carneiro ## Some code copied from xchatrb.py (xchat plugin), (c) Gustavo ## Carneiro and G-LiTe / ## GPL license applies, blah blah ## More recent changes in main ChangeLog... ## Changes in version 0.3 ## - Ditch gosd, require gnome-osd ## Changes in version 0.2 ## - Thinner and less ugly border (Gustavo) ## Version: 0.1 (first release) ## Configuration variables: SHOW_FULL_INFO = True import pygtk; pygtk.require("2.0") import ORBit import CORBA import bonobo.activation import string import bonobo import gobject import xml.sax.saxutils from gnomeosd import gnome_osd_conf import gettext import gnome.ui import sys import os.path import atexit import gconfsync from xscreensaver import XScreenSaverMonitor try: import dbus import dbus.service if getattr(dbus, "version", (0,0,0)) >= (0,41,0): import dbus.glib HAVE_DBUS = True except: HAVE_DBUS = False # missing consts from the typelib _ACTIVATION_FLAG_NO_LOCAL = 1<<0; # No shared libraries _ACTIVATION_FLAG_PRIVATE = 1<<1; # start a new server and don't register it _ACTIVATION_FLAG_EXISTING_ONLY = 1<<2; # don't start the server if not started song_change_prefs = gconfsync.GConfSync("/apps/gnome-osd/plugins/song_change") xchat_prefs = gconfsync.GConfSync("/apps/gnome-osd/plugins/xchat") email_prefs = gconfsync.GConfSync("/apps/gnome-osd/plugins/email") gaim_prefs = gconfsync.GConfSync("/apps/gnome-osd/plugins/gaim") pidgin_prefs = gconfsync.GConfSync("/apps/gnome-osd/plugins/pidgin") listener = None # Bonobo/ObjectDirectory:activation:register listener screensaver_active = False class OSD(object): def __init__(self): self.server = None self.client = None self.timeout = None self.last_message = None def _get_osd(self): if self.server is not None: try: # "ping" it self.server.ref() self.server.unref() except: print "OSD server died!" self.server = None self.client = None if self.server is None: self.server = bonobo.get_object("OAFIID:GNOME_OSD", "IDL:Bonobo/Application:1.0") self.server.ref() # AppClient steals one reference self.client = bonobo.AppClient(self.server) def _filter_timeout(self): self.timeout = None def send(self, message): if screensaver_active: return self._get_osd() if isinstance(message, unicode): message = message.encode("utf-8") if self.timeout is None: self.timeout = gobject.timeout_add(200, self._filter_timeout) else: if message == self.last_message: #print >> sys.stderr, "filtered duplicate message", message return err = self.client.msg_send("show-full", (message,)) if err: print >> sys.stderr, err self.last_message = message osd = OSD() _rhythmbox = None def get_rhythmbox(): global _rhythmbox def get_new(): return bonobo.activation.activate( "repo_ids.has('IDL:GNOME/Rhythmbox:1.0')", [], _ACTIVATION_FLAG_EXISTING_ONLY) if _rhythmbox is None: _rhythmbox = get_new() else: # Check if the cached reference points to a server that is # still alive, otherwise ask bonobo-activation for a new fresh # reference. try: # basically this means: _rhythmbox.ping() _rhythmbox.ref() _rhythmbox.unref() except CORBA.COMM_FAILURE: _rhythmbox = get_new() return _rhythmbox class SongInfo(object): __slots__ = ['title', 'album', 'artist', 'duration', 'track_number'] def get_psong(): rb = get_rhythmbox() if rb is None: print "Rhythmbox is not running" return None pb = rb.getPlayerProperties() info = pb.getValue("song").value() pb.unref() if info is None: print "Rhythmbox is not playing anything" return None if not info.title: return "(untitled song)" return format_psong(info) def format_psong(info): # --- duration --- duration = info.duration if duration is None or duration == 0: duration_str = None else: if duration == -1: print "Rhythmbox is not playing anything" return None else: hours = duration // 3600 duration = duration % 3600 minutes = duration // 60 duration = duration % 60 duration_str = str(minutes) + ":" + str(duration).zfill(2) if hours == 0: duration_str = '%s:%s' % (str(minutes), str(duration).zfill(2)) else: duration_str = '%s:%s:%s' % (str(hours), str(minutes).zfill(2), str(duration).zfill(2)) # --- title --- title = escape(info.title) if title.endswith('.mp3') or title.endswith('.ogg'): title = title[:-4] msg = "♪ %s" % title if duration_str is not None: msg += " (%s) ♪" % duration_str else: msg += " ♪" extra_info = [] # --- artist --- if info.artist: extra_info.append("%s" " %s" % (_("Artist"), escape(info.artist))) # --- album --- if info.album: extra_info.append("%s" " %s" % (_("Album"), escape(info.album))) if info.track_number != -1: extra_info.append("%s" " %i" % (_("Track"), info.track_number)) if SHOW_FULL_INFO and extra_info: return "\n".join((msg, "%s" % " ".join(extra_info))) else: return msg def rb_properties_cb(listener, event, foo, *ev): global song_change_prefs, osd if not song_change_prefs['enabled']: return song = get_psong() osd.send("" + song + "") def monitor_rhythmbox(*args): global listener rb = get_rhythmbox() if rb is not None: if listener is not None: bonobo.event_source_client_remove_listener( rb.getPlayerProperties(), listener) listener = bonobo.event_source_client_add_listener( rb.getPlayerProperties(), rb_properties_cb, "Bonobo/Property:change:song") def die_cb(cli): print "Die!!" global listener rb = get_rhythmbox() if rb is not None: if listener is not None: bonobo.event_source_client_remove_listener( rb.getPlayerProperties(), listener) bonobo.main_quit() print "OK, quitting..." def evolution_new_mail_callback(uri, folder=None): global email_prefs, osd if not email_prefs['enabled']: return if folder is None: if not uri.upper().endswith("INBOX"): return else: if folder.upper() != "INBOX": return osd.send("You Have Mail") def muine_song_change_cb(arg): global song_change_prefs, osd if not song_change_prefs['enabled']: return d = dict((x.strip() for x in s1.split(":", 1)) for s1 in arg.split("\n")) info = SongInfo() info.title = d['title'] info.album = d['album'] info.artist = d['artist'] info.duration = int(d['duration']) info.track_number = int(d['track_number']) song = format_psong(info) osd.send("" + song + "") def escape(text): return xml.sax.saxutils.escape(text, {'\\': ''', '"': '"'}) XCHAT_EAT_NONE = 0 # pass it on through! XCHAT_EAT_XCHAT = 1 # don't let xchat see this event XCHAT_EAT_PLUGIN = 2 # don't let other plugins see this event XCHAT_EAT_ALL = (XCHAT_EAT_XCHAT|XCHAT_EAT_PLUGIN) # don't let anything see this event try: _xchat_ver = [int(x) for x in os.popen("xchat --version 2> /dev/null").read().split()[1].split('.')] except IndexError: _xchat_ver = None XCHAT_DBUS_SERVICE = "org.xchat.service" if _xchat_ver >= [2,8]: XCHAT_DBUS_OBJECT = "/org/xchat/Remote" XCHAT_DBUS_INTERFACE = "org.xchat.plugin" else: XCHAT_DBUS_OBJECT = "/org/xchat/RemoteObject" XCHAT_DBUS_INTERFACE = "org.xchat.interface" del _xchat_ver def monitor_xchat(bus): remote_object = bus.get_object(XCHAT_DBUS_SERVICE, XCHAT_DBUS_OBJECT) xchat = dbus.Interface(remote_object, XCHAT_DBUS_INTERFACE) event_ids = [] for event in ('Channel Action Hilight', 'Channel Msg Hilight', 'Private Message', 'Private Message to Dialog'): id_ = xchat.HookPrint(event, 0, XCHAT_EAT_NONE) event_ids.append(id_) atexit.register(xchat.unhook, id_) def print_cb(word, id_, context_id=None): global xchat_prefs, osd if id_ not in event_ids: return if not xchat_prefs['enabled']: return sender = word[0] channel= xchat.GetInfo('channel') text = word[1] message = "%s "\ "<%s"\ ">" % \ (escape(channel), escape(sender)) if xchat_prefs['full']: message += ' ' + escape(text) message = "%s" % message osd.send(message) remote_object.connect_to_signal("PrintSignal", print_cb, dbus_interface=XCHAT_DBUS_INTERFACE) def xchat_registered_cb(*args): try: monitor_xchat(dbus.SessionBus()) except dbus.DBusException, ex: print "XChat monitoring is not working:", ex def screensaver_active_cb(active): global screensaver_active screensaver_active = active def xscreensaver_state_changed(mon, state): global screensaver_active if state == 'UNBLANK': screensaver_active = False elif state == 'LOCK': screensaver_active = True def monitor_xscreensaver(): try: mon = XScreenSaverMonitor() except gobject.GError: print "xscreensaver not available" else: mon.connect("state-changed", xscreensaver_state_changed) def rhythmbox_dbus_song_change_cb(uri): if not uri: return global song_change_prefs, osd if not song_change_prefs['enabled']: return bus = dbus.SessionBus() rbshellobj = bus.get_object('org.gnome.Rhythmbox', '/org/gnome/Rhythmbox/Shell') rbshell = dbus.Interface(rbshellobj, 'org.gnome.Rhythmbox.Shell') props = rbshell.getSongProperties(uri) info = SongInfo() info.title = props['title'] info.album = props['album'] info.artist = props['artist'] info.duration = int(props['duration']) info.track_number = int(props['track-number']) song = format_psong(info) osd.send("" + song + "") ## --------- pidgin def format_ppidgin(buddy, action): return "%s " \ "%s" % (buddy, action) def pidgin_event_buddyon_cb(buddyid): global pidgin_prefs, osd if not pidgin_prefs['enabled']: return bus = dbus.SessionBus() pidginobj = bus.get_object("im.pidgin.purple.PurpleService", "/im/pidgin/purple/PurpleObject") pidgin = dbus.Interface(pidginobj, "im.pidgin.purple.PurpleInterface") alias = pidgin.PurpleBuddyGetAlias(buddyid) message = format_ppidgin(alias, "logs in") osd.send("" + message + "") def pidgin_event_buddyoff_cb(buddyid): global pidgin_prefs, osd if not pidgin_prefs['enabled']: return bus = dbus.SessionBus() pidginobj = bus.get_object("im.pidgin.purple.PurpleService", "/im/pidgin/purple/PurpleObject") pidgin = dbus.Interface(pidginobj, "im.pidgin.purple.PurpleInterface") alias = pidgin.PurpleBuddyGetAlias(buddyid) message = format_ppidgin(alias, "logs out") osd.send("" + message + "") def pidgin_event_message_cb(account, name): global pidgin_prefs, osd if not pidgin_prefs['enabled']: return bus = dbus.SessionBus() pidginobj = bus.get_object("im.pidgin.purple.PurpleService", "/im/pidgin/purple/PurpleObject") pidgin = dbus.Interface(pidginobj, "im.pidgin.purple.PurpleInterface") buddy = pidgin.PurpleFindBuddy(account, name) if buddy != 0: alias = pidgin.PurpleBuddyGetAlias(buddy) else: alias = name message = format_ppidgin(alias, "is writing a message") osd.send("" + message + "") def pidgin_event_messagereceived_cb(account, name, message, conversation, flags): global pidgin_prefs, osd if not pidgin_prefs['enabled']: return bus = dbus.SessionBus() pidginobj = bus.get_object("im.pidgin.purple.PurpleService", "/im/pidgin/purple/PurpleObject") pidgin = dbus.Interface(pidginobj, "im.pidgin.purple.PurpleInterface") buddy = pidgin.PurpleFindBuddy(account, name) if buddy != 0: alias = pidgin.PurpleBuddyGetAlias(buddy) else: alias = name message = format_ppidgin(alias, "sent a message") osd.send("" + message + "") def monitor_pidgin(bus): bus.add_signal_receiver(pidgin_event_buddyon_cb, "BuddySignedOn", "im.pidgin.purple.PurpleInterface") bus.add_signal_receiver(pidgin_event_buddyoff_cb, "BuddySignedOff", "im.pidgin.purple.PurpleInterface") bus.add_signal_receiver(pidgin_event_message_cb, "BuddyTyping", "im.pidgin.purple.PurpleInterface") bus.add_signal_receiver(pidgin_event_messagereceived_cb, "ReceivedImMsg", "im.pidgin.purple.PurpleInterface") ## --------- /pidgin ## --------- gaim def format_pgaim(buddy, action): return "%s " \ "%s" % (buddy, action) def gaim_event_buddyon_cb(buddyid): global gaim_prefs, osd if not gaim_prefs['enabled']: return bus = dbus.SessionBus() gaimobj = bus.get_object("net.sf.gaim.GaimService", "/net/sf/gaim/GaimObject") gaim = dbus.Interface(gaimobj, "net.sf.gaim.GaimInterface") alias = gaim.GaimBuddyGetAlias(buddyid) message = format_pgaim(alias, "logs in") osd.send("" + message + "") def gaim_event_buddyoff_cb(buddyid): global gaim_prefs, osd if not gaim_prefs['enabled']: return bus = dbus.SessionBus() gaimobj = bus.get_object("net.sf.gaim.GaimService", "/net/sf/gaim/GaimObject") gaim = dbus.Interface(gaimobj, "net.sf.gaim.GaimInterface") alias = gaim.GaimBuddyGetAlias(buddyid) message = format_pgaim(alias, "logs out") osd.send("" + message + "") def gaim_event_message_cb(account, name): global gaim_prefs, osd if not gaim_prefs['enabled']: return bus = dbus.SessionBus() gaimobj = bus.get_object("net.sf.gaim.GaimService", "/net/sf/gaim/GaimObject") gaim = dbus.Interface(gaimobj, "net.sf.gaim.GaimInterface") buddy = gaim.GaimFindBuddy(account, name) if buddy != 0: alias = gaim.GaimBuddyGetAlias(buddy) else: alias = name message = format_pgaim(alias, "is writing a message") osd.send("" + message + "") def gaim_event_messagereceived_cb(account, name, message, conversation, flags): global gaim_prefs, osd if not gaim_prefs['enabled']: return bus = dbus.SessionBus() gaimobj = bus.get_object("net.sf.gaim.GaimService", "/net/sf/gaim/GaimObject") gaim = dbus.Interface(gaimobj, "net.sf.gaim.GaimInterface") buddy = gaim.GaimFindBuddy(account, name) if buddy != 0: alias = gaim.GaimBuddyGetAlias(buddy) else: alias = name message = format_pgaim(alias, "sent a message") osd.send("" + message + "") def monitor_gaim(bus): bus.add_signal_receiver(gaim_event_buddyon_cb, "BuddySignedOn", "net.sf.gaim.GaimInterface") bus.add_signal_receiver(gaim_event_buddyoff_cb, "BuddySignedOff", "net.sf.gaim.GaimInterface") bus.add_signal_receiver(gaim_event_message_cb, "BuddyTyping", "net.sf.gaim.GaimInterface") bus.add_signal_receiver(gaim_event_messagereceived_cb, "ReceivedImMsg", "net.sf.gaim.GaimInterface") ## --------- /gaim def monitor_dbus_apps(): bus = dbus.SessionBus() bus.add_signal_receiver(evolution_new_mail_callback, "Newmail", "org.gnome.evolution.mail.dbus.Signal") bus.add_signal_receiver(muine_song_change_cb, "SongChanged", "org.gnome.Muine.Player") bus.add_signal_receiver(rhythmbox_dbus_song_change_cb, "playingUriChanged", "org.gnome.Rhythmbox.Player") bus.add_signal_receiver(xchat_registered_cb, "NameOwnerChanged", "org.freedesktop.DBus", arg0=XCHAT_DBUS_SERVICE) bus.add_signal_receiver(screensaver_active_cb, "ActiveChanged", "org.gnome.ScreenSaver") monitor_pidgin(bus) try: monitor_xchat(bus) except dbus.DBusException, ex: print "XChat monitoring is not working:", ex if HAVE_DBUS: _our_bus_name = None def start_dbus_interface(): global _our_bus_name session_bus = dbus.SessionBus() bus = dbus.SessionBus() if dbus.version >= (0,80): _our_bus_name = None # need to keep the BusName referenced in order to hang on to the name try: _our_bus_name = dbus.service.BusName("pt.inescporto.telecom.GnomeOSD.EventBridge", bus, do_not_queue=True) except dbus.NameExistsException: raise SystemExit("already running") else: retval = dbus.dbus_bindings.bus_request_name(session_bus.get_connection(), "pt.inescporto.telecom.GnomeOSD.EventBridge", dbus.dbus_bindings.NAME_FLAG_DO_NOT_QUEUE) if retval in (dbus.dbus_bindings.REQUEST_NAME_REPLY_PRIMARY_OWNER, dbus.dbus_bindings.REQUEST_NAME_REPLY_ALREADY_OWNER): pass elif retval in (dbus.dbus_bindings.REQUEST_NAME_REPLY_EXISTS, dbus.dbus_bindings.REQUEST_NAME_REPLY_IN_QUEUE): raise SystemExit("already running") def main(): gettext.install("gnome-osd", gnome_osd_conf.datadir + "/locale") gnome.program_init(os.path.basename(sys.argv[0]), gnome_osd_conf.VERSION) cli = gnome.ui.master_client() cli.connect("die", die_cb) cli.set_restart_command(1, sys.argv[:1]) global listener listener = bonobo.event_source_client_add_listener( bonobo.activation.activate("iid == 'OAFIID:Bonobo_Activation_EventSource'"), monitor_rhythmbox, "Bonobo/ObjectDirectory:activation:register") monitor_rhythmbox() monitor_xscreensaver() if HAVE_DBUS: monitor_dbus_apps() start_dbus_interface() else: print >> sys.stderr, "Unable to monitor D-BUS applications" bonobo.main() gnome-osd-0.12.2/gnomeosd/server.py0000644000175000017500000003373410605727052017341 0ustar adpeeteradpeeterfrom __future__ import division import sys import gobject import gtk import gtk.gdk as gdk import pango import bonobo import gosd import gconfsync import gc import os.path import gnome import gnome_osd_conf import warnings import xml.dom.minidom as dom import gtasklet import traceback try: import dbus import dbus.service import dbus.glib except ImportError: HAVE_DBUS = False else: HAVE_DBUS = True bgcolor = "#000000" fgcolor = "#80ff80" gosd.BORDER_WIDTH = 1 ANIMATION = True ANIMATION_STEPS = 10 ANIMATION_TIME = 200 gnome.program_init("gnome-osd-server", gnome_osd_conf.VERSION) prefs = gconfsync.GConfSync("/apps/gnome-osd", dict(osd_halignment=dict(left=pango.ALIGN_LEFT, right=pango.ALIGN_RIGHT, center=pango.ALIGN_CENTER))) # Note: interning atoms avoids X server roundtrips _NET_CURRENT_DESKTOP = gtk.gdk.atom_intern("_NET_CURRENT_DESKTOP") _NET_WORKAREA = gtk.gdk.atom_intern("_NET_WORKAREA") def get_current_workarea(): root = gtk.gdk.screen_get_default().get_root_window() prop = root.property_get(_NET_CURRENT_DESKTOP) if prop is None: return None propname, proptype, propvalue = prop current = propvalue[0] prop = root.property_get(_NET_WORKAREA) if prop is None: return None propname, proptype, propvalue = prop return propvalue[current*4 : (current + 1)*4] def _map_ellipsize_val(val): return { 'none': pango.ELLIPSIZE_NONE, 'start': pango.ELLIPSIZE_START, 'middle': pango.ELLIPSIZE_MIDDLE, 'end': pango.ELLIPSIZE_END, } [val.lower()] class OSDMessage(object): class Message(object): __slots__ = ('text', 'timeout') class Animation(gtasklet.Tasklet): def __init__(self, win, x0, y0, xf, yf): self.x = float(x0) self.y = float(y0) self.dx = (xf - x0) / ANIMATION_STEPS self.dy = (yf - y0) / ANIMATION_STEPS self.win = win self.counter = ANIMATION_STEPS self.timeout = gtasklet.WaitForTimeout(ANIMATION_TIME//ANIMATION_STEPS) win.move(int(x0), int(y0)) win.show() gtasklet.Tasklet.__init__(self) def run(self): counter = ANIMATION_STEPS while counter: counter -= 1 yield self.timeout gtasklet.get_event() self.x += self.dx self.y += self.dy self.win.move(int(self.x), int(self.y)) def __init__(self, id, inherit=None): self.hide_timeout = None self.message_queue = [] self.__show_lock = False self.animation_vector = None self.inherit = inherit self.props = {} self.id = id self.occupied_area = None self.__show_task = None def getprop(self, name): try: return self.props[name] except KeyError: if self.inherit is None: return prefs[name] else: return self.inherit.getprop(name) def show(self, text, timeout=None): msg = self.Message() msg.text = text if timeout is None: msg.timeout = self.getprop('hide_timeout') else: msg.timeout = timeout self.message_queue.append(msg) if self.__show_task is None: self.__show_task = gtasklet.Tasklet(self._show_messages()) else: ## speed up hiding existing message self.__show_task.send_message(gtasklet.Message("continue")) def _show_messages(self): while self.message_queue: msg = self.message_queue.pop(0) halign = self.getprop('osd_halignment') vpos = self.getprop('osd_vposition') if self.getprop('avoid_panels'): workarea = get_current_workarea() if workarea is not None: desk_x, desk_y, desk_w, desk_h = workarea else: warnings.warn("get_current_workarea failed, somehow") desk_x, desk_y = 0, 0 desk_w = gdk.screen_width() desk_h = gdk.screen_height() else: desk_x, desk_y = 0, 0 desk_w = gdk.screen_width() desk_h = gdk.screen_height() w = gosd.osd(msg.text, bgcolor, fgcolor, pango.FontDescription(self.getprop('osd_font')), use_markup=True, alignment=halign, fake_translucent_bg=self.getprop("osd_fake_translucent_bg"), drop_shadow=self.getprop("drop_shadow"), max_width=desk_w, debug_frame=self.getprop('debug_frame'), ellipsize=_map_ellipsize_val(self.getprop('ellipsize'))) if self.getprop('enable_sound'): gnome.sound_play(self.__get_sound_sample_file()) y, x, y_final = self.reserve_display_area(vpos, halign, w, desk_x, desk_y, desk_w, desk_h) if self.getprop('animations'): anim = self.Animation(w, x, y, x, y_final) yield gtasklet.WaitForTasklet(anim), gtasklet.WaitForMessages(defer='continue') gtasklet.get_event() else: w.move(x, y_final) w.show() wait_list = [gtasklet.WaitForMessages(accept='continue')] if not self.message_queue: ## if there are messages waiting, don't pause wait_list.append(gtasklet.WaitForTimeout(msg.timeout)) if self.getprop('hide_on_hover'): wait_list.append(gtasklet.WaitForSignal(w, "enter-notify-event")) yield wait_list ## during this yield the message stays on screen, very still event = gtasklet.get_event() ## Now hide it if self.getprop('animations'): anim = self.Animation(w, x, y_final, x, y) yield gtasklet.WaitForTasklet(anim), gtasklet.WaitForMessages(defer='continue') gtasklet.get_event() w.destroy() self.occupied_area = None while gc.collect(): pass self.__show_task = None return def __get_sound_sample_file(self): sound_sample = self.getprop('sound_sample') if sound_sample[0] == '/': return sound_sample else: return os.path.join(gnome_osd_conf.datadir, "sounds", sound_sample) instances = {} def get(cls, attrs={}): global prefs id_ = attrs.get('id', 'default') inherit = attrs.get('inherit', 'default') try: osd_msg = cls.instances[id_] except KeyError: if inherit == 'default': inherit_osd = None else: inherit_osd = cls.instances[inherit] osd_msg = OSDMessage(id=id_, inherit=inherit_osd) cls.instances[id_] = osd_msg for key, str_val in attrs.iteritems(): if key in ('id', 'inherit'): # special properties, no gconf schema continue if id_ == 'default': raise ValueError, "changing message properties"\ " for 'default' instance not allowed" val = prefs.parse_string(key, str_val) osd_msg.props[key] = val return osd_msg get = classmethod(get) def reserve_display_area(self, vpos, halign, w, desk_x, desk_y, desk_w, desk_h): if halign == pango.ALIGN_LEFT: x = 2 + desk_x elif halign == pango.ALIGN_RIGHT: x = desk_x + desk_w - w.width - 2 else: # center x = desk_x + desk_w/2 - w.width/2 occupied_areas = [inst.occupied_area for inst in self.instances.itervalues() if not (inst is self or inst.occupied_area is None)] def intersection(area, x, y): x1, y1 = x, y x2, y2 = x + w.width, y + w.height ox1, oy1, ox2, oy2 = area result = ((x1 >= ox1 and x1 <= ox2 or x2 <= ox2 and x2 >= ox1 or x1 <= ox1 and x2 >= ox2) and (y1 >= oy1 and y1 <= oy2 or y2 <= oy2 and y2 >= oy1 or y1 <= oy1 and y2 >= oy2)) return result if vpos == 'top': y = -w.height def sort_func(a, b): return cmp(a[3], b[3]) occupied_areas.sort(sort_func) y_final = desk_y + 2 for area in occupied_areas: if intersection(area, x, y_final): y_final = area[3] + 2 else: break elif vpos == 'center': y = -w.height y_ideal = desk_y + desk_h//2 - w.height//2 def sort_func(a, b): return cmp(abs(y_ideal - a), abs(y_ideal - b)) y_final = y_ideal possible_targets = [y_ideal] for area in occupied_areas: possible_targets.append(area[3] + 2) possible_targets.append(area[1] - 2 - w.height) possible_targets.sort(sort_func) for target in possible_targets: for area in occupied_areas: if intersection(area, x, target): break else: y_final = target break else: y_final = None assert y_final is not None elif vpos == 'bottom': y = gdk.screen_height() y_final = desk_y + desk_h - w.height - 2 def sort_func(a, b): return cmp(b[1], a[1]) occupied_areas.sort(sort_func) for area in occupied_areas: if intersection(area, x, y_final): y_final = area[1] - 2 - w.height else: break else: raise ValueError, "invalid vposition '%s'" % vpos self.occupied_area = (x, y_final, x + w.width, y_final + w.height) return y, x, y_final def message_quit_cb(app_client, message, app): print "received quit message" app.unref() bonobo.main_quit() def message_show_cb(_, message, timeout=-1): try: attrs = {'id': 'default'} if timeout == -1: timeout = None osd_msg = OSDMessage.get(attrs) osd_msg.show(message, timeout) return '' except Exception, ex: exc_info = sys.exc_info() try: error = "".join(traceback.format_exception(*exc_info)) finally: del exc_info print >> sys.stderr, error return error def message_parse(message): '''message_parse(msg) -> (attrs, pango_markup)''' doc = dom.parseString(message.decode("utf-8")) root = doc.documentElement if root.tagName != "message": raise RuntimeError("Protocol error: expecting , got <%s>" % root.tagName) pango_markup = "".join(map(dom.Node.toxml, root.childNodes)) attrs = {} for i in xrange(root.attributes.length): name = root.attributes.item(i).name attrs[name] = root.getAttribute(name) return attrs, pango_markup def message_show_full_cb(_, message): try: attrs, pango_s = message_parse(message) osd_msg = OSDMessage.get(attrs) osd_msg.show(pango_s) return '' except Exception, ex: print >> sys.stderr, ex return "%s: %s" % (str(ex.__class__), str(ex)) (ACTIVATION_REG_SUCCESS, ACTIVATION_REG_NOT_LISTED, ACTIVATION_REG_ALREADY_ACTIVE, ACTIVATION_REG_ERROR) = range(4) def start_bonobo_interface(): os.putenv("DISPLAY", gtk.gdk.get_display()) bonobo.activate() app = bonobo.Application("GNOME_OSD") def last_unref_cb(*args): print "Last Unref, quitting" bonobo.main_quit() reg = bonobo.activation.active_server_register("OAFIID:GNOME_OSD", app.corba_objref()) if reg != ACTIVATION_REG_SUCCESS: raise SystemExit(3) app.connect("message::quit", message_quit_cb, app) app.register_message("show", "Show a message in pango markup using default options", str, (str, int), message_show_cb) app.register_message("show-full", "Show a message in Gnome OSD protocol format" " (XML ... )", str, (str,), message_show_full_cb) bonobo.context_running_get().connect("last-unref", last_unref_cb) if HAVE_DBUS: class DBusInterface(dbus.service.Object): def __init__(self, bus_name, object_path="/Server"): dbus.service.Object.__init__(self, bus_name, object_path) #@dbus.service.method("pt.inescporto.telecom.GnomeOSD") def showMessage(self, message, timeout=-1): return message_show_cb(None, message, timeout) showMessage = dbus.service.method("pt.inescporto.telecom.GnomeOSD")(showMessage) #@dbus.service.method("pt.inescporto.telecom.GnomeOSD") def showMessageFull(self, message): return message_show_full_cb(None, message) showMessageFull = dbus.service.method("pt.inescporto.telecom.GnomeOSD")(showMessageFull) def start_dbus_interface(): session_bus = dbus.SessionBus() name = dbus.service.BusName("pt.inescporto.telecom.GnomeOSD", bus=session_bus) obj = DBusInterface(name) def main(): print "starting Bonobo interface..." start_bonobo_interface() if HAVE_DBUS: print "starting DBUS interface..." start_dbus_interface() print "entering main loop..." bonobo.main() gnome-osd-0.12.2/gnome-osd-server.in0000644000175000017500000000013210605727052017354 0ustar adpeeteradpeeter#! @PYTHON@ import pygtk; pygtk.require("2.0") from gnomeosd import server server.main() gnome-osd-0.12.2/Makefile.in0000644000175000017500000007535310760340244015712 0ustar adpeeteradpeeter# Makefile.in generated by automake 1.9.6 from Makefile.am. # @configure_input@ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, # 2003, 2004, 2005 Free Software Foundation, Inc. # This Makefile.in is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY, to the extent permitted by law; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ pkgdatadir = $(datadir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ top_builddir = . am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd INSTALL = @INSTALL@ install_sh_DATA = $(install_sh) -c -m 644 install_sh_PROGRAM = $(install_sh) -c install_sh_SCRIPT = $(install_sh) -c INSTALL_HEADER = $(INSTALL_DATA) transform = $(program_transform_name) NORMAL_INSTALL = : PRE_INSTALL = : POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : subdir = . DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \ ChangeLog INSTALL NEWS config.guess config.sub install-sh \ missing mkinstalldirs py-compile ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno configure.status.lineno mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(componentdir)" \ "$(DESTDIR)$(autostartdir)" "$(DESTDIR)$(dbus_servicedir)" \ "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(pixmapdir)" \ "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(schemadir)" \ "$(DESTDIR)$(serverdir)" nodist_binSCRIPT_INSTALL = $(INSTALL_SCRIPT) nodist_componentSCRIPT_INSTALL = $(INSTALL_SCRIPT) SCRIPTS = $(nodist_bin_SCRIPTS) $(nodist_component_SCRIPTS) SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; am__vpath_adj = case $$p in \ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; autostartDATA_INSTALL = $(INSTALL_DATA) dbus_serviceDATA_INSTALL = $(INSTALL_DATA) desktopDATA_INSTALL = $(INSTALL_DATA) pixmapDATA_INSTALL = $(INSTALL_DATA) pkgdataDATA_INSTALL = $(INSTALL_DATA) schemaDATA_INSTALL = $(INSTALL_DATA) serverDATA_INSTALL = $(INSTALL_DATA) DATA = $(autostart_DATA) $(dbus_service_DATA) $(desktop_DATA) \ $(pixmap_DATA) $(pkgdata_DATA) $(schema_DATA) $(server_DATA) ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ { test ! -d $(distdir) \ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -fr $(distdir); }; } DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ 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@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ GCONFTOOL = @GCONFTOOL@ GCONF_SCHEMAS_INSTALL_FALSE = @GCONF_SCHEMAS_INSTALL_FALSE@ GCONF_SCHEMAS_INSTALL_TRUE = @GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_SCHEMA_CONFIG_SOURCE = @GCONF_SCHEMA_CONFIG_SOURCE@ GCONF_SCHEMA_FILE_DIR = @GCONF_SCHEMA_FILE_DIR@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GNOME_OSD_CFLAGS = @GNOME_OSD_CFLAGS@ GNOME_OSD_LIBS = @GNOME_OSD_LIBS@ GREP = @GREP@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ INSTOBJEXT = @INSTOBJEXT@ INTLLIBS = @INTLLIBS@ INTLTOOL_CAVES_RULE = @INTLTOOL_CAVES_RULE@ INTLTOOL_DESKTOP_RULE = @INTLTOOL_DESKTOP_RULE@ INTLTOOL_DIRECTORY_RULE = @INTLTOOL_DIRECTORY_RULE@ INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ INTLTOOL_POLICY_RULE = @INTLTOOL_POLICY_RULE@ INTLTOOL_PONG_RULE = @INTLTOOL_PONG_RULE@ INTLTOOL_PROP_RULE = @INTLTOOL_PROP_RULE@ INTLTOOL_SCHEMAS_RULE = @INTLTOOL_SCHEMAS_RULE@ INTLTOOL_SERVER_RULE = @INTLTOOL_SERVER_RULE@ INTLTOOL_SERVICE_RULE = @INTLTOOL_SERVICE_RULE@ INTLTOOL_SHEET_RULE = @INTLTOOL_SHEET_RULE@ INTLTOOL_SOUNDLIST_RULE = @INTLTOOL_SOUNDLIST_RULE@ INTLTOOL_THEME_RULE = @INTLTOOL_THEME_RULE@ INTLTOOL_UI_RULE = @INTLTOOL_UI_RULE@ INTLTOOL_UPDATE = @INTLTOOL_UPDATE@ INTLTOOL_XAM_RULE = @INTLTOOL_XAM_RULE@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LTLIBOBJS = @LTLIBOBJS@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ 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_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ PKG_CONFIG = @PKG_CONFIG@ POFILES = @POFILES@ POSUB = @POSUB@ PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@ PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@ PYTHON = @PYTHON@ PYTHON2_3 = @PYTHON2_3@ PYTHON2_4 = @PYTHON2_4@ PYTHON2_5 = @PYTHON2_5@ PYTHON_EXEC_PREFIX = @PYTHON_EXEC_PREFIX@ PYTHON_PLATFORM = @PYTHON_PLATFORM@ PYTHON_PREFIX = @PYTHON_PREFIX@ PYTHON_VERSION = @PYTHON_VERSION@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_prefix_program = @ac_prefix_program@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build_alias = @build_alias@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host_alias = @host_alias@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ pkgpyexecdir = @pkgpyexecdir@ pkgpythondir = @pkgpythondir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ pyexecdir = @pyexecdir@ pythondir = @pythondir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = po gnomeosd man CLEANFILES = GNOME_OSD.server core *.pyc *.pyo $(schema_DATA) \ $(desktop_DATA) gnome-osd-server gnome-osd-client \ gnome-osd-properties gnome-osd-event-bridge \ pt.inescporto.telecom.GnomeOSD.service \ pt.inescporto.telecom.GnomeOSD.EventBridge.service server_dot_in = GNOME_OSD.server.in serverdir = $(libdir)/bonobo/servers server_DATA = GNOME_OSD.server nodist_component_SCRIPTS = gnome-osd-server componentdir = $(libexecdir) nodist_bin_SCRIPTS = gnome-osd-properties gnome-osd-client gnome-osd-event-bridge EXTRA_DIST = $(server_dot_in) $(component_SCRIPTS) $(bin_SCRIPTS) \ intltool-extract.in intltool-merge.in intltool-update.in \ $(schema_in_files) $(desktop_in_files) $(pixmap_DATA) \ gnome-osd-server.in gnome-osd-client.in \ gnome-osd-properties.in gnome-osd-event-bridge.in \ $(example_plugins) pt.inescporto.telecom.GnomeOSD.service.in \ pt.inescporto.telecom.GnomeOSD.EventBridge.service.in \ $(autostart_DATA) generate-ChangeLog DISTCLEANFILES = intltool-extract intltool-merge intltool-update schemadir = @GCONF_SCHEMA_FILE_DIR@ schema_in_files = gnome-osd.schemas.in schema_DATA = $(schema_in_files:.schemas.in=.schemas) desktopdir = $(datadir)/control-center-2.0/capplets desktop_in_files = gnome-osd-properties.desktop.in desktop_DATA = $(desktop_in_files:.desktop.in=.desktop) # icon pixmapdir = $(datadir)/pixmaps pixmap_DATA = gnome-osd.png example_plugins = xchatosd.py pkgdata_DATA = xchatosd.py dbus_servicedir = $(datadir)/dbus-1/services dbus_service_DATA = pt.inescporto.telecom.GnomeOSD.service pt.inescporto.telecom.GnomeOSD.EventBridge.service autostartdir = $(sysconfdir)/xdg/autostart autostart_DATA = gnome-osd-event-bridge.desktop all: all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ cd $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) install-nodist_binSCRIPTS: $(nodist_bin_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(nodist_bin_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(nodist_binSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(nodist_binSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(bindir)/$$f"; \ else :; fi; \ done uninstall-nodist_binSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(nodist_bin_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done install-nodist_componentSCRIPTS: $(nodist_component_SCRIPTS) @$(NORMAL_INSTALL) test -z "$(componentdir)" || $(mkdir_p) "$(DESTDIR)$(componentdir)" @list='$(nodist_component_SCRIPTS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ if test -f $$d$$p; then \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " $(nodist_componentSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(componentdir)/$$f'"; \ $(nodist_componentSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(componentdir)/$$f"; \ else :; fi; \ done uninstall-nodist_componentSCRIPTS: @$(NORMAL_UNINSTALL) @list='$(nodist_component_SCRIPTS)'; for p in $$list; do \ f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ echo " rm -f '$(DESTDIR)$(componentdir)/$$f'"; \ rm -f "$(DESTDIR)$(componentdir)/$$f"; \ done uninstall-info-am: install-autostartDATA: $(autostart_DATA) @$(NORMAL_INSTALL) test -z "$(autostartdir)" || $(mkdir_p) "$(DESTDIR)$(autostartdir)" @list='$(autostart_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(autostartDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(autostartdir)/$$f'"; \ $(autostartDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(autostartdir)/$$f"; \ done uninstall-autostartDATA: @$(NORMAL_UNINSTALL) @list='$(autostart_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(autostartdir)/$$f'"; \ rm -f "$(DESTDIR)$(autostartdir)/$$f"; \ done install-dbus_serviceDATA: $(dbus_service_DATA) @$(NORMAL_INSTALL) test -z "$(dbus_servicedir)" || $(mkdir_p) "$(DESTDIR)$(dbus_servicedir)" @list='$(dbus_service_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(dbus_serviceDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(dbus_servicedir)/$$f'"; \ $(dbus_serviceDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(dbus_servicedir)/$$f"; \ done uninstall-dbus_serviceDATA: @$(NORMAL_UNINSTALL) @list='$(dbus_service_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(dbus_servicedir)/$$f'"; \ rm -f "$(DESTDIR)$(dbus_servicedir)/$$f"; \ done install-desktopDATA: $(desktop_DATA) @$(NORMAL_INSTALL) test -z "$(desktopdir)" || $(mkdir_p) "$(DESTDIR)$(desktopdir)" @list='$(desktop_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(desktopDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(desktopdir)/$$f'"; \ $(desktopDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(desktopdir)/$$f"; \ done uninstall-desktopDATA: @$(NORMAL_UNINSTALL) @list='$(desktop_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(desktopdir)/$$f'"; \ rm -f "$(DESTDIR)$(desktopdir)/$$f"; \ done install-pixmapDATA: $(pixmap_DATA) @$(NORMAL_INSTALL) test -z "$(pixmapdir)" || $(mkdir_p) "$(DESTDIR)$(pixmapdir)" @list='$(pixmap_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pixmapDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pixmapdir)/$$f'"; \ $(pixmapDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pixmapdir)/$$f"; \ done uninstall-pixmapDATA: @$(NORMAL_UNINSTALL) @list='$(pixmap_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pixmapdir)/$$f'"; \ rm -f "$(DESTDIR)$(pixmapdir)/$$f"; \ done install-pkgdataDATA: $(pkgdata_DATA) @$(NORMAL_INSTALL) test -z "$(pkgdatadir)" || $(mkdir_p) "$(DESTDIR)$(pkgdatadir)" @list='$(pkgdata_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \ $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \ done uninstall-pkgdataDATA: @$(NORMAL_UNINSTALL) @list='$(pkgdata_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \ rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \ done install-schemaDATA: $(schema_DATA) @$(NORMAL_INSTALL) test -z "$(schemadir)" || $(mkdir_p) "$(DESTDIR)$(schemadir)" @list='$(schema_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(schemaDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(schemadir)/$$f'"; \ $(schemaDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(schemadir)/$$f"; \ done uninstall-schemaDATA: @$(NORMAL_UNINSTALL) @list='$(schema_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(schemadir)/$$f'"; \ rm -f "$(DESTDIR)$(schemadir)/$$f"; \ done install-serverDATA: $(server_DATA) @$(NORMAL_INSTALL) test -z "$(serverdir)" || $(mkdir_p) "$(DESTDIR)$(serverdir)" @list='$(server_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(serverDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(serverdir)/$$f'"; \ $(serverDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(serverdir)/$$f"; \ done uninstall-serverDATA: @$(NORMAL_UNINSTALL) @list='$(server_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(serverdir)/$$f'"; \ rm -f "$(DESTDIR)$(serverdir)/$$f"; \ done # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) $(mkdir_p) $(distdir)/po @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \ || chmod -R a+r $(distdir) dist-gzip: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 $(am__remove_distdir) dist-tarZ: distdir tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__remove_distdir) dist-shar: distdir shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__remove_distdir) dist dist-all: distdir tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz $(am__remove_distdir) # This target untars the dist file and tries a VPATH configuration. Then # it guarantees that the distribution is self-contained by making another # tarfile. distcheck: dist case '$(DIST_ARCHIVES)' in \ *.tar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ *.tar.bz2*) \ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ *.tar.Z*) \ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ *.shar.gz*) \ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ *.zip*) \ unzip $(distdir).zip ;;\ esac chmod -R a-w $(distdir); chmod a+w $(distdir) mkdir $(distdir)/_build mkdir $(distdir)/_inst chmod a-w $(distdir) dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ && cd $(distdir)/_build \ && ../configure --srcdir=.. --prefix="$$dc_install_base" \ $(DISTCHECK_CONFIGURE_FLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) \ && $(MAKE) $(AM_MAKEFLAGS) dvi \ && $(MAKE) $(AM_MAKEFLAGS) check \ && $(MAKE) $(AM_MAKEFLAGS) install \ && $(MAKE) $(AM_MAKEFLAGS) installcheck \ && $(MAKE) $(AM_MAKEFLAGS) uninstall \ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ distuninstallcheck \ && chmod -R a-w "$$dc_install_base" \ && ({ \ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ } || { rm -rf "$$dc_destdir"; exit 1; }) \ && rm -rf "$$dc_destdir" \ && $(MAKE) $(AM_MAKEFLAGS) dist \ && rm -rf $(DIST_ARCHIVES) \ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck $(am__remove_distdir) @(echo "$(distdir) archives ready for distribution: "; \ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}' distuninstallcheck: @cd $(distuninstallcheck_dir) \ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ || { echo "ERROR: files left after uninstall:" ; \ if test -n "$(DESTDIR)"; then \ echo " (check DESTDIR support)"; \ fi ; \ $(distuninstallcheck_listfiles) ; \ exit 1; } >&2 distcleancheck: distclean @if test '$(srcdir)' = . ; then \ echo "ERROR: distcleancheck can only run from a VPATH build" ; \ exit 1 ; \ fi @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ || { echo "ERROR: files left in build directory after distclean:" ; \ $(distcleancheck_listfiles) ; \ exit 1; } >&2 check-am: all-am check: check-recursive all-am: Makefile $(SCRIPTS) $(DATA) installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(componentdir)" "$(DESTDIR)$(autostartdir)" "$(DESTDIR)$(dbus_servicedir)" "$(DESTDIR)$(desktopdir)" "$(DESTDIR)$(pixmapdir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(schemadir)" "$(DESTDIR)$(serverdir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-autostartDATA install-data-local \ install-dbus_serviceDATA install-desktopDATA \ install-nodist_componentSCRIPTS install-pixmapDATA \ install-pkgdataDATA install-schemaDATA install-serverDATA install-exec-am: install-nodist_binSCRIPTS install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-autostartDATA uninstall-dbus_serviceDATA \ uninstall-desktopDATA uninstall-info-am \ uninstall-nodist_binSCRIPTS uninstall-nodist_componentSCRIPTS \ uninstall-pixmapDATA uninstall-pkgdataDATA \ uninstall-schemaDATA uninstall-serverDATA uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-generic clean-recursive ctags \ ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-hook \ dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-generic distclean-recursive distclean-tags \ distcleancheck distdir distuninstallcheck dvi dvi-am html \ html-am info info-am install install-am install-autostartDATA \ install-data install-data-am install-data-local \ install-dbus_serviceDATA install-desktopDATA install-exec \ install-exec-am install-info install-info-am install-man \ install-nodist_binSCRIPTS install-nodist_componentSCRIPTS \ install-pixmapDATA install-pkgdataDATA install-schemaDATA \ install-serverDATA install-strip installcheck installcheck-am \ installdirs installdirs-am maintainer-clean \ maintainer-clean-generic maintainer-clean-recursive \ mostlyclean mostlyclean-generic mostlyclean-recursive pdf \ pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \ uninstall-autostartDATA uninstall-dbus_serviceDATA \ uninstall-desktopDATA uninstall-info-am \ uninstall-nodist_binSCRIPTS uninstall-nodist_componentSCRIPTS \ uninstall-pixmapDATA uninstall-pkgdataDATA \ uninstall-schemaDATA uninstall-serverDATA # .server rules GNOME_OSD.server: GNOME_OSD.server.in sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@ # gconf schemas @INTLTOOL_SCHEMAS_RULE@ @GCONF_SCHEMAS_INSTALL_TRUE@install-data-local: install-schemaDATA @GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL)\ @GCONF_SCHEMAS_INSTALL_TRUE@ --makefile-install-rule $(schema_DATA) @GCONF_SCHEMAS_INSTALL_FALSE@install-data-local: # capplet @INTLTOOL_DESKTOP_RULE@ gnome-osd-server: gnome-osd-server.in sed -e s!\@PYTHON\@!@PYTHON@! < $< > $@ chmod a+x $@ gnome-osd-server: Makefile gnome-osd-client: gnome-osd-client.in sed -e s!\@PYTHON\@!@PYTHON@! < $< > $@ chmod a+x $@ gnome-osd-client: Makefile gnome-osd-properties: gnome-osd-properties.in sed -e s!\@PYTHON\@!@PYTHON@! < $< > $@ chmod a+x $@ gnome-osd-properties: Makefile gnome-osd-event-bridge: gnome-osd-event-bridge.in sed -e s!\@PYTHON\@!@PYTHON@! < $< > $@ chmod a+x $@ gnome-osd-event-bridge: Makefile %.service: %.service.in sed \ -e s!\@libexecdir\@!@libexecdir@! \ -e s!\@bindir\@!@bindir@! \ < $< > $@ %.service: %.service.in Makefile dist-hook: $(srcdir)/generate-ChangeLog -rm -f $(distdir)/ChangeLog cp -p $(srcdir)/ChangeLog $(distdir)/ChangeLog # 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: gnome-osd-0.12.2/gnome-osd-properties.in0000644000175000017500000000013310605727052020243 0ustar adpeeteradpeeter#! @PYTHON@ import pygtk; pygtk.require("2.0") from gnomeosd import capplet capplet.main() gnome-osd-0.12.2/missing0000755000175000017500000002540610605734075015245 0ustar adpeeteradpeeter#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2005-06-08.21 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard , 1996. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301, USA. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try \`$0 --help' for more information" exit 1 fi run=: # In the cases where this matters, `missing' is being run in the # srcdir already. if test -f configure.ac; then configure_ac=configure.ac else configure_ac=configure.in fi msg="missing on your system" case "$1" in --run) # Try to run requested program, and just exit if it succeeds. run= shift "$@" && exit 0 # Exit code 63 means version mismatch. This often happens # when the user try to use an ancient version of a tool on # a file that requires a minimum version. In this case we # we should proceed has if the program had been absent, or # if --run hadn't been passed. if test $? = 63; then run=: msg="probably too old" fi ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an error status if there is no known handling for PROGRAM. Options: -h, --help display this help and exit -v, --version output version information and exit --run try to run the given command, and emulate it if it fails Supported PROGRAM values: aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c help2man touch the output file lex create \`lex.yy.c', if possible, from existing .c makeinfo touch the output file tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: Unknown \`$1' option" echo 1>&2 "Try \`$0 --help' for more information" exit 1 ;; esac # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect # the program). case "$1" in lex|yacc) # Not GNU programs, they don't have --version. ;; tar) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then exit 1 fi ;; *) if test -z "$run" && ($1 --version) > /dev/null 2>&1; then # We have it, but it failed. exit 1 elif test "x$2" = "x--version" || test "x$2" = "x--help"; then # Could not run --version or --help. This is probably someone # running `$TOOL --version' or `$TOOL --help' to check whether # $TOOL exists and not knowing $TOOL uses missing. exit 1 fi ;; esac # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. case "$1" in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." touch aclocal.m4 ;; autoconf) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." touch configure ;; autoheader) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want to install the \`Autoconf' and \`GNU m4' packages. Grab them from any GNU archive site." files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}` test -z "$files" && files="config.h" touch_files= for f in $files; do case "$f" in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; esac done touch $touch_files ;; automake*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'. You might want to install the \`Automake' and \`Perl' packages. Grab them from any GNU archive site." find . -type f -name Makefile.am -print | sed 's/\.am$/.in/' | while read f; do touch "$f"; done ;; autom4te) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the proper tools for further handling them. You can get \`$1' as part of \`Autoconf' from any GNU archive site." file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo "#! /bin/sh" echo "# Created by GNU Automake missing as a replacement of" echo "# $ $@" echo "exit 0" chmod +x $file exit 1 fi ;; bison|yacc) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" y.tab.h fi ;; esac fi if [ ! -f y.tab.h ]; then echo >y.tab.h fi if [ ! -f y.tab.c ]; then echo 'main() { return 0; }' >y.tab.c fi ;; lex|flex) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c if [ $# -ne 1 ]; then eval LASTARG="\${$#}" case "$LASTARG" in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` if [ -f "$SRCFILE" ]; then cp "$SRCFILE" lex.yy.c fi ;; esac fi if [ ! -f lex.yy.c ]; then echo 'main() { return 0; }' >lex.yy.c fi ;; help2man) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` fi if [ -f "$file" ]; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" exit 1 fi ;; makeinfo) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file indirectly affecting the aspect of the manual. The spurious call might also be the consequence of using a buggy \`make' (AIX, DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi # If the file does not exist, the user really needs makeinfo; # let's fail without touching anything. test -f $file || exit 1 touch $file ;; tar) shift # We have already tried tar in the generic part. # Look for gnutar/gtar before invocation to avoid ugly error # messages. if (gnutar --version > /dev/null 2>&1); then gnutar "$@" && exit 0 fi if (gtar --version > /dev/null 2>&1); then gtar "$@" && exit 0 fi firstarg="$1" if shift; then case "$firstarg" in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac case "$firstarg" in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 ;; esac fi echo 1>&2 "\ WARNING: I can't seem to be able to run \`tar' with the given arguments. You may want to install GNU tar or Free paxutils, or check the command line arguments." exit 1 ;; *) echo 1>&2 "\ WARNING: \`$1' is needed, and is $msg. You might have modified some files without having the proper tools for further handling them. Check the \`README' file, it often tells you about the needed prerequisites for installing this package. You may also peek at any GNU archive site, in case some other package would contain this missing \`$1' program." exit 1 ;; esac exit 0 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: gnome-osd-0.12.2/AUTHORS0000644000175000017500000000025010605727052014701 0ustar adpeeteradpeeterGustavo Carneiro Translations: ============= Portuguese: Gustavo Carneiro Japanese: Takeshi AIHANA Czech: Pavel Mlcoch Swedish: Daniel Nylander gnome-osd-0.12.2/intltool-update.in0000644000175000017500000007442610757530222017324 0ustar adpeeteradpeeter#!@INTLTOOL_PERL@ -w # -*- Mode: perl; indent-tabs-mode: nil; c-basic-offset: 4 -*- # # The Intltool Message Updater # # Copyright (C) 2000-2003 Free Software Foundation. # # Intltool is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # version 2 published by the Free Software Foundation. # # Intltool 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., 675 Mass Ave, Cambridge, MA 02139, 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. # # Authors: Kenneth Christiansen # Maciej Stachowiak # Darin Adler ## Release information my $PROGRAM = "intltool-update"; my $VERSION = "0.37.0"; my $PACKAGE = "intltool"; ## Loaded modules use strict; use Getopt::Long; use Cwd; use File::Copy; use File::Find; ## Scalars used by the option stuff my $HELP_ARG = 0; my $VERSION_ARG = 0; my $DIST_ARG = 0; my $POT_ARG = 0; my $HEADERS_ARG = 0; my $MAINTAIN_ARG = 0; my $REPORT_ARG = 0; my $VERBOSE = 0; my $GETTEXT_PACKAGE = ""; my $OUTPUT_FILE = ""; my @languages; my %varhash = (); my %po_files_by_lang = (); # Regular expressions to categorize file types. # FIXME: Please check if the following is correct my $xml_support = "xml(?:\\.in)*|". # http://www.w3.org/XML/ (Note: .in is not required) "ui|". # Bonobo specific - User Interface desc. files "lang|". # ? "glade2?(?:\\.in)*|". # Glade specific - User Interface desc. files (Note: .in is not required) "scm(?:\\.in)*|". # ? (Note: .in is not required) "oaf(?:\\.in)+|". # DEPRECATED: Replaces by Bonobo .server files "etspec|". # ? "server(?:\\.in)+|". # Bonobo specific "sheet(?:\\.in)+|". # ? "schemas(?:\\.in)+|". # GConf specific "pong(?:\\.in)+|". # DEPRECATED: PONG is not used [by GNOME] any longer. "kbd(?:\\.in)+|". # GOK specific. "policy(?:\\.in)+"; # PolicyKit files my $ini_support = "icon(?:\\.in)+|". # http://www.freedesktop.org/Standards/icon-theme-spec "desktop(?:\\.in)+|". # http://www.freedesktop.org/Standards/menu-spec "caves(?:\\.in)+|". # GNOME Games specific "directory(?:\\.in)+|". # http://www.freedesktop.org/Standards/menu-spec "soundlist(?:\\.in)+|". # GNOME specific "keys(?:\\.in)+|". # GNOME Mime database specific "theme(?:\\.in)+|". # http://www.freedesktop.org/Standards/icon-theme-spec "service(?:\\.in)+"; # DBus specific my $buildin_gettext_support = "c|y|cs|cc|cpp|c\\+\\+|h|hh|gob|py"; ## Always flush buffer when printing $| = 1; ## Sometimes the source tree will be rooted somewhere else. my $SRCDIR = $ENV{"srcdir"} || "."; my $POTFILES_in; $POTFILES_in = "<$SRCDIR/POTFILES.in"; my $devnull = ($^O eq 'MSWin32' ? 'NUL:' : '/dev/null'); ## Handle options GetOptions ( "help" => \$HELP_ARG, "version" => \$VERSION_ARG, "dist|d" => \$DIST_ARG, "pot|p" => \$POT_ARG, "headers|s" => \$HEADERS_ARG, "maintain|m" => \$MAINTAIN_ARG, "report|r" => \$REPORT_ARG, "verbose|x" => \$VERBOSE, "gettext-package|g=s" => \$GETTEXT_PACKAGE, "output-file|o=s" => \$OUTPUT_FILE, ) or &Console_WriteError_InvalidOption; &Console_Write_IntltoolHelp if $HELP_ARG; &Console_Write_IntltoolVersion if $VERSION_ARG; my $arg_count = ($DIST_ARG > 0) + ($POT_ARG > 0) + ($HEADERS_ARG > 0) + ($MAINTAIN_ARG > 0) + ($REPORT_ARG > 0); &Console_Write_IntltoolHelp if $arg_count > 1; my $PKGNAME = FindPackageName (); # --version and --help don't require a module name my $MODULE = $GETTEXT_PACKAGE || $PKGNAME || "unknown"; if ($POT_ARG) { &GenerateHeaders; &GeneratePOTemplate; } elsif ($HEADERS_ARG) { &GenerateHeaders; } elsif ($MAINTAIN_ARG) { &FindLeftoutFiles; } elsif ($REPORT_ARG) { &GenerateHeaders; &GeneratePOTemplate; &Console_Write_CoverageReport; } elsif ((defined $ARGV[0]) && $ARGV[0] =~ /^[a-z]/) { my $lang = $ARGV[0]; ## Report error if the language file supplied ## to the command line is non-existent &Console_WriteError_NotExisting("$SRCDIR/$lang.po") if ! -s "$SRCDIR/$lang.po"; if (!$DIST_ARG) { print "Working, please wait..." if $VERBOSE; &GenerateHeaders; &GeneratePOTemplate; } &POFile_Update ($lang, $OUTPUT_FILE); &Console_Write_TranslationStatus ($lang, $OUTPUT_FILE); } else { &Console_Write_IntltoolHelp; } exit; ######### sub Console_Write_IntltoolVersion { print <<_EOF_; ${PROGRAM} (${PACKAGE}) $VERSION Written by Kenneth Christiansen, Maciej Stachowiak, and Darin Adler. Copyright (C) 2000-2003 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. _EOF_ exit; } sub Console_Write_IntltoolHelp { print <<_EOF_; Usage: ${PROGRAM} [OPTION]... LANGCODE Updates PO template files and merge them with the translations. Mode of operation (only one is allowed): -p, --pot generate the PO template only -s, --headers generate the header files in POTFILES.in -m, --maintain search for left out files from POTFILES.in -r, --report display a status report for the module -d, --dist merge LANGCODE.po with existing PO template Extra options: -g, --gettext-package=NAME override PO template name, useful with --pot -o, --output-file=FILE write merged translation to FILE -x, --verbose display lots of feedback --help display this help and exit --version output version information and exit Examples of use: ${PROGRAM} --pot just create a new PO template ${PROGRAM} xy create new PO template and merge xy.po with it Report bugs to http://bugzilla.gnome.org/ (product name "$PACKAGE") or send email to . _EOF_ exit; } sub echo_n { my $str = shift; my $ret = `echo "$str"`; $ret =~ s/\n$//; # do we need the "s" flag? return $ret; } sub POFile_DetermineType ($) { my $type = $_; my $gettext_type; my $xml_regex = "(?:" . $xml_support . ")"; my $ini_regex = "(?:" . $ini_support . ")"; my $buildin_regex = "(?:" . $buildin_gettext_support . ")"; if ($type =~ /\[type: gettext\/([^\]].*)]/) { $gettext_type=$1; } elsif ($type =~ /schemas(\.in)+$/) { $gettext_type="schemas"; } elsif ($type =~ /glade2?(\.in)*$/) { $gettext_type="glade"; } elsif ($type =~ /scm(\.in)*$/) { $gettext_type="scheme"; } elsif ($type =~ /keys(\.in)+$/) { $gettext_type="keys"; } # bucket types elsif ($type =~ /$xml_regex$/) { $gettext_type="xml"; } elsif ($type =~ /$ini_regex$/) { $gettext_type="ini"; } elsif ($type =~ /$buildin_regex$/) { $gettext_type="buildin"; } else { $gettext_type="unknown"; } return "gettext\/$gettext_type"; } sub TextFile_DetermineEncoding ($) { my $gettext_code="ASCII"; # All files are ASCII by default my $filetype=`file $_ | cut -d ' ' -f 2`; if ($? eq "0") { if ($filetype =~ /^(ISO|UTF)/) { chomp ($gettext_code = $filetype); } elsif ($filetype =~ /^XML/) { $gettext_code="UTF-8"; # We asume that .glade and other .xml files are UTF-8 } } return $gettext_code; } sub isNotValidMissing { my ($file) = @_; return if $file =~ /^\{arch\}\/.*$/; return if $file =~ /^$varhash{"PACKAGE"}-$varhash{"VERSION"}\/.*$/; } sub FindLeftoutFiles { my (@buf_i18n_plain, @buf_i18n_xml, @buf_i18n_xml_unmarked, @buf_i18n_ini, @buf_potfiles, @buf_potfiles_ignore, @buf_allfiles, @buf_allfiles_sorted, @buf_potfiles_sorted, @buf_potfiles_ignore_sorted ); ## Search and find all translatable files find sub { push @buf_i18n_plain, "$File::Find::name" if /\.($buildin_gettext_support)$/; push @buf_i18n_xml, "$File::Find::name" if /\.($xml_support)$/; push @buf_i18n_ini, "$File::Find::name" if /\.($ini_support)$/; push @buf_i18n_xml_unmarked, "$File::Find::name" if /\.(schemas(\.in)+)$/; }, ".."; find sub { push @buf_i18n_plain, "$File::Find::name" if /\.($buildin_gettext_support)$/; push @buf_i18n_xml, "$File::Find::name" if /\.($xml_support)$/; push @buf_i18n_ini, "$File::Find::name" if /\.($ini_support)$/; push @buf_i18n_xml_unmarked, "$File::Find::name" if /\.(schemas(\.in)+)$/; }, "$SRCDIR/.." if "$SRCDIR" ne "."; open POTFILES, $POTFILES_in or die "$PROGRAM: there's no POTFILES.in!\n"; @buf_potfiles = grep !/^(#|\s*$)/, ; close POTFILES; foreach (@buf_potfiles) { s/^\[.*]\s*//; } print "Searching for missing translatable files...\n" if $VERBOSE; ## Check if we should ignore some found files, when ## comparing with POTFILES.in foreach my $ignore ("POTFILES.skip", "POTFILES.ignore") { (-s "$SRCDIR/$ignore") or next; if ("$ignore" eq "POTFILES.ignore") { print "The usage of POTFILES.ignore is deprecated. Please consider moving the\n". "content of this file to POTFILES.skip.\n"; } print "Found $ignore: Ignoring files...\n" if $VERBOSE; open FILE, "<$SRCDIR/$ignore" or die "ERROR: Failed to open $SRCDIR/$ignore!\n"; while () { push @buf_potfiles_ignore, $_ unless /^(#|\s*$)/; } close FILE; @buf_potfiles_ignore_sorted = sort (@buf_potfiles_ignore); } foreach my $file (@buf_i18n_plain) { my $in_comment = 0; my $in_macro = 0; open FILE, "<$file"; while () { # Handle continued multi-line comment. if ($in_comment) { next unless s-.*\*/--; $in_comment = 0; } # Handle continued macro. if ($in_macro) { $in_macro = 0 unless /\\$/; next; } # Handle start of macro (or any preprocessor directive). if (/^\s*\#/) { $in_macro = 1 if /^([^\\]|\\.)*\\$/; next; } # Handle comments and quoted text. while (m-(/\*|//|\'|\")-) # \' and \" keep emacs perl mode happy { my $match = $1; if ($match eq "/*") { if (!s-/\*.*?\*/--) { s-/\*.*--; $in_comment = 1; } } elsif ($match eq "//") { s-//.*--; } else # ' or " { if (!s-$match([^\\]|\\.)*?$match-QUOTEDTEXT-) { warn "mismatched quotes at line $. in $file\n"; s-$match.*--; } } } if (/\w\.GetString *\(QUOTEDTEXT/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { ## Remove the first 3 chars and add newline push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } ## C_ N_ Q_ and _ are the macros defined in gi8n.h if (/[CNQ]?_ *\(QUOTEDTEXT/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { ## Remove the first 3 chars and add newline push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_xml) { open FILE, "<$file"; while () { # FIXME: share the pattern matching code with intltool-extract if (/\s_[-A-Za-z0-9._:]+\s*=\s*\"([^"]+)\"/ || /<_[^>]+>/ || /translatable=\"yes\"/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_ini) { open FILE, "<$file"; while () { if (/_(.*)=/) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } last; } } close FILE; } foreach my $file (@buf_i18n_xml_unmarked) { if (defined isNotValidMissing (unpack("x3 A*", $file))) { push @buf_allfiles, unpack("x3 A*", $file) . "\n"; } } @buf_allfiles_sorted = sort (@buf_allfiles); @buf_potfiles_sorted = sort (@buf_potfiles); my %in2; foreach (@buf_potfiles_sorted) { s#^$SRCDIR/../##; s#^$SRCDIR/##; $in2{$_} = 1; } foreach (@buf_potfiles_ignore_sorted) { s#^$SRCDIR/../##; s#^$SRCDIR/##; $in2{$_} = 1; } my @result; foreach (@buf_allfiles_sorted) { my $dummy = $_; my $srcdir = $SRCDIR; $srcdir =~ s#^../##; $dummy =~ s#^$srcdir/../##; $dummy =~ s#^$srcdir/##; $dummy =~ s#_build/##; if (!exists($in2{$dummy})) { push @result, $dummy } } my @buf_potfiles_notexist; foreach (@buf_potfiles_sorted) { chomp (my $dummy = $_); if ("$dummy" ne "" and !(-f "$SRCDIR/../$dummy" or -f "../$dummy")) { push @buf_potfiles_notexist, $_; } } ## Save file with information about the files missing ## if any, and give information about this procedure. if (@result + @buf_potfiles_notexist > 0) { if (@result) { print "\n" if $VERBOSE; unlink "missing"; open OUT, ">missing"; print OUT @result; close OUT; warn "\e[1mThe following files contain translations and are currently not in use. Please\e[0m\n". "\e[1mconsider adding these to the POTFILES.in file, located in the po/ directory.\e[0m\n\n"; print STDERR @result, "\n"; warn "If some of these files are left out on purpose then please add them to\n". "POTFILES.skip instead of POTFILES.in. A file \e[1m'missing'\e[0m containing this list\n". "of left out files has been written in the current directory.\n"; } if (@buf_potfiles_notexist) { unlink "notexist"; open OUT, ">notexist"; print OUT @buf_potfiles_notexist; close OUT; warn "\n" if ($VERBOSE or @result); warn "\e[1mThe following files do not exist anymore:\e[0m\n\n"; warn @buf_potfiles_notexist, "\n"; warn "Please remove them from POTFILES.in. A file \e[1m'notexist'\e[0m\n". "containing this list of absent files has been written in the current directory.\n"; } } ## If there is nothing to complain about, notify the user else { print "\nAll files containing translations are present in POTFILES.in.\n" if $VERBOSE; } } sub Console_WriteError_InvalidOption { ## Handle invalid arguments print STDERR "Try `${PROGRAM} --help' for more information.\n"; exit 1; } sub isProgramInPath { my ($file) = @_; # If either a file exists, or when run it returns 0 exit status return 1 if ((-x $file) or (system("$file --version >$devnull") == 0)); return 0; } sub isGNUGettextTool { my ($file) = @_; # Check that we are using GNU gettext tools if (isProgramInPath ($file)) { my $version = `$file --version`; return 1 if ($version =~ m/.*\(GNU .*\).*/); } return 0; } sub GenerateHeaders { my $EXTRACT = $ENV{"INTLTOOL_EXTRACT"} || "intltool-extract"; ## Generate the .h header files, so we can allow glade and ## xml translation support if (! isProgramInPath ("$EXTRACT")) { print STDERR "\n *** The intltool-extract script wasn't found!" ."\n *** Without it, intltool-update can not generate files.\n"; exit; } else { open (FILE, $POTFILES_in) or die "$PROGRAM: POTFILES.in not found.\n"; while () { chomp; next if /^\[\s*encoding/; ## Find xml files in POTFILES.in and generate the ## files with help from the extract script my $gettext_type= &POFile_DetermineType ($1); if (/\.($xml_support|$ini_support)$/ || /^\[/) { s/^\[[^\[].*]\s*//; my $filename = "../$_"; if ($VERBOSE) { system ($EXTRACT, "--update", "--srcdir=$SRCDIR", "--type=$gettext_type", $filename); } else { system ($EXTRACT, "--update", "--type=$gettext_type", "--srcdir=$SRCDIR", "--quiet", $filename); } } } close FILE; } } # # Generate .pot file from POTFILES.in # sub GeneratePOTemplate { my $XGETTEXT = $ENV{"XGETTEXT"} || "xgettext"; my $XGETTEXT_ARGS = $ENV{"XGETTEXT_ARGS"} || ''; chomp $XGETTEXT; if (! isGNUGettextTool ("$XGETTEXT")) { print STDERR " *** GNU xgettext is not found on this system!\n". " *** Without it, intltool-update can not extract strings.\n"; exit; } print "Building $MODULE.pot...\n" if $VERBOSE; open INFILE, $POTFILES_in; unlink "POTFILES.in.temp"; open OUTFILE, ">POTFILES.in.temp" or die("Cannot open POTFILES.in.temp for writing"); my $gettext_support_nonascii = 0; # checks for GNU gettext >= 0.12 my $dummy = `$XGETTEXT --version --from-code=UTF-8 >$devnull 2>$devnull`; if ($? == 0) { $gettext_support_nonascii = 1; } else { # urge everybody to upgrade gettext print STDERR "WARNING: This version of gettext does not support extracting non-ASCII\n". " strings. That means you should install a version of gettext\n". " that supports non-ASCII strings (such as GNU gettext >= 0.12),\n". " or have to let non-ASCII strings untranslated. (If there is any)\n"; } my $encoding = "ASCII"; my $forced_gettext_code; my @temp_headers; my $encoding_problem_is_reported = 0; while () { next if (/^#/ or /^\s*$/); chomp; my $gettext_code; if (/^\[\s*encoding:\s*(.*)\s*\]/) { $forced_gettext_code=$1; } elsif (/\.($xml_support|$ini_support)$/ || /^\[/) { s/^\[.*]\s*//; print OUTFILE "../$_.h\n"; push @temp_headers, "../$_.h"; $gettext_code = &TextFile_DetermineEncoding ("../$_.h") if ($gettext_support_nonascii and not defined $forced_gettext_code); } else { print OUTFILE "$SRCDIR/../$_\n"; $gettext_code = &TextFile_DetermineEncoding ("$SRCDIR/../$_") if ($gettext_support_nonascii and not defined $forced_gettext_code); } next if (! $gettext_support_nonascii); if (defined $forced_gettext_code) { $encoding=$forced_gettext_code; } elsif (defined $gettext_code and "$encoding" ne "$gettext_code") { if ($encoding eq "ASCII") { $encoding=$gettext_code; } elsif ($gettext_code ne "ASCII") { # Only report once because the message is quite long if (! $encoding_problem_is_reported) { print STDERR "WARNING: You should use the same file encoding for all your project files,\n". " but $PROGRAM thinks that most of the source files are in\n". " $encoding encoding, while \"$_\" is (likely) in\n". " $gettext_code encoding. If you are sure that all translatable strings\n". " are in same encoding (say UTF-8), please \e[1m*prepend*\e[0m the following\n". " line to POTFILES.in:\n\n". " [encoding: UTF-8]\n\n". " and make sure that configure.in/ac checks for $PACKAGE >= 0.27 .\n". "(such warning message will only be reported once.)\n"; $encoding_problem_is_reported = 1; } } } } close OUTFILE; close INFILE; unlink "$MODULE.pot"; my @xgettext_argument=("$XGETTEXT", "--add-comments", "--directory\=.", "--default-domain\=$MODULE", "--flag\=g_strdup_printf:1:c-format", "--flag\=g_string_printf:2:c-format", "--flag\=g_string_append_printf:2:c-format", "--flag\=g_error_new:3:c-format", "--flag\=g_set_error:4:c-format", "--flag\=g_markup_printf_escaped:1:c-format", "--flag\=g_log:3:c-format", "--flag\=g_print:1:c-format", "--flag\=g_printerr:1:c-format", "--flag\=g_printf:1:c-format", "--flag\=g_fprintf:2:c-format", "--flag\=g_sprintf:2:c-format", "--flag\=g_snprintf:3:c-format", "--flag\=g_scanner_error:2:c-format", "--flag\=g_scanner_warn:2:c-format", "--output\=$MODULE\.pot", "--files-from\=\.\/POTFILES\.in\.temp"); my $XGETTEXT_KEYWORDS = &FindPOTKeywords; push @xgettext_argument, $XGETTEXT_KEYWORDS; my $MSGID_BUGS_ADDRESS = &FindMakevarsBugAddress; push @xgettext_argument, "--msgid-bugs-address\=\"$MSGID_BUGS_ADDRESS\"" if $MSGID_BUGS_ADDRESS; push @xgettext_argument, "--from-code\=$encoding" if ($gettext_support_nonascii); push @xgettext_argument, $XGETTEXT_ARGS if $XGETTEXT_ARGS; my $xgettext_command = join ' ', @xgettext_argument; # intercept xgettext error message print "Running $xgettext_command\n" if $VERBOSE; my $xgettext_error_msg = `$xgettext_command 2>\&1`; my $command_failed = $?; unlink "POTFILES.in.temp"; print "Removing generated header (.h) files..." if $VERBOSE; unlink foreach (@temp_headers); print "done.\n" if $VERBOSE; if (! $command_failed) { if (! -e "$MODULE.pot") { print "None of the files in POTFILES.in contain strings marked for translation.\n" if $VERBOSE; } else { print "Wrote $MODULE.pot\n" if $VERBOSE; } } else { if ($xgettext_error_msg =~ /--from-code/) { # replace non-ASCII error message with a more useful one. print STDERR "ERROR: xgettext failed to generate PO template file because there is non-ASCII\n". " string marked for translation. Please make sure that all strings marked\n". " for translation are in uniform encoding (say UTF-8), then \e[1m*prepend*\e[0m the\n". " following line to POTFILES.in and rerun $PROGRAM:\n\n". " [encoding: UTF-8]\n\n"; } else { print STDERR "$xgettext_error_msg"; if (-e "$MODULE.pot") { # is this possible? print STDERR "ERROR: xgettext failed but still managed to generate PO template file.\n". " Please consult error message above if there is any.\n"; } else { print STDERR "ERROR: xgettext failed to generate PO template file. Please consult\n". " error message above if there is any.\n"; } } exit (1); } } sub POFile_Update { -f "$MODULE.pot" or die "$PROGRAM: $MODULE.pot does not exist.\n"; my $MSGMERGE = $ENV{"MSGMERGE"} || "msgmerge"; my ($lang, $outfile) = @_; if (! isGNUGettextTool ("$MSGMERGE")) { print STDERR " *** GNU msgmerge is not found on this system!\n". " *** Without it, intltool-update can not extract strings.\n"; exit; } print "Merging $SRCDIR/$lang.po with $MODULE.pot..." if $VERBOSE; my $infile = "$SRCDIR/$lang.po"; $outfile = "$SRCDIR/$lang.po" if ($outfile eq ""); # I think msgmerge won't overwrite old file if merge is not successful system ("$MSGMERGE", "-o", $outfile, $infile, "$MODULE.pot"); } sub Console_WriteError_NotExisting { my ($file) = @_; ## Report error if supplied language file is non-existing print STDERR "$PROGRAM: $file does not exist!\n"; print STDERR "Try '$PROGRAM --help' for more information.\n"; exit; } sub GatherPOFiles { my @po_files = glob ("./*.po"); @languages = map (&POFile_GetLanguage, @po_files); foreach my $lang (@languages) { $po_files_by_lang{$lang} = shift (@po_files); } } sub POFile_GetLanguage ($) { s/^(.*\/)?(.+)\.po$/$2/; return $_; } sub Console_Write_TranslationStatus { my ($lang, $output_file) = @_; my $MSGFMT = $ENV{"MSGFMT"} || "msgfmt"; if (! isGNUGettextTool ("$MSGFMT")) { print STDERR " *** GNU msgfmt is not found on this system!\n". " *** Without it, intltool-update can not extract strings.\n"; exit; } $output_file = "$SRCDIR/$lang.po" if ($output_file eq ""); system ("$MSGFMT", "-o", "$devnull", "--verbose", $output_file); } sub Console_Write_CoverageReport { my $MSGFMT = $ENV{"MSGFMT"} || "msgfmt"; if (! isGNUGettextTool ("$MSGFMT")) { print STDERR " *** GNU msgfmt is not found on this system!\n". " *** Without it, intltool-update can not extract strings.\n"; exit; } &GatherPOFiles; foreach my $lang (@languages) { print STDERR "$lang: "; &POFile_Update ($lang, ""); } print STDERR "\n\n * Current translation support in $MODULE \n\n"; foreach my $lang (@languages) { print STDERR "$lang: "; system ("$MSGFMT", "-o", "$devnull", "--verbose", "$SRCDIR/$lang.po"); } } sub SubstituteVariable { my ($str) = @_; # always need to rewind file whenever it has been accessed seek (CONF, 0, 0); # cache each variable. varhash is global to we can add # variables elsewhere. while () { if (/^(\w+)=(.*)$/) { ($varhash{$1} = $2) =~ s/^["'](.*)["']$/$1/; } } if ($str =~ /^(.*)\${?([A-Z_]+)}?(.*)$/) { my $rest = $3; my $untouched = $1; my $sub = ""; # Ignore recursive definitions of variables $sub = $varhash{$2} if defined $varhash{$2} and $varhash{$2} !~ /\${?$2}?/; return SubstituteVariable ("$untouched$sub$rest"); } # We're using Perl backticks ` and "echo -n" here in order to # expand any shell escapes (such as backticks themselves) in every variable return echo_n ($str); } sub CONF_Handle_Open { my $base_dirname = getcwd(); $base_dirname =~ s@.*/@@; my ($conf_in, $src_dir); if ($base_dirname =~ /^po(-.+)?$/) { if (-f "Makevars") { my $makefile_source; local (*IN); open (IN, ") { if (/^top_builddir[ \t]*=/) { $src_dir = $_; $src_dir =~ s/^top_builddir[ \t]*=[ \t]*([^ \t\n\r]*)/$1/; chomp $src_dir; if (-f "$src_dir" . "/configure.ac") { $conf_in = "$src_dir" . "/configure.ac" . "\n"; } else { $conf_in = "$src_dir" . "/configure.in" . "\n"; } last; } } close IN; $conf_in || die "Cannot find top_builddir in Makevars."; } elsif (-f "$SRCDIR/../configure.ac") { $conf_in = "$SRCDIR/../configure.ac"; } elsif (-f "$SRCDIR/../configure.in") { $conf_in = "$SRCDIR/../configure.in"; } else { my $makefile_source; local (*IN); open (IN, ") { if (/^top_srcdir[ \t]*=/) { $src_dir = $_; $src_dir =~ s/^top_srcdir[ \t]*=[ \t]*([^ \t\n\r]*)/$1/; chomp $src_dir; $conf_in = "$src_dir" . "/configure.in" . "\n"; last; } } close IN; $conf_in || die "Cannot find top_srcdir in Makefile."; } open (CONF, "<$conf_in"); } else { print STDERR "$PROGRAM: Unable to proceed.\n" . "Make sure to run this script inside the po directory.\n"; exit; } } sub FindPackageName { my $version; my $domain = &FindMakevarsDomain; my $name = $domain || "untitled"; &CONF_Handle_Open; my $conf_source; { local (*IN); open (IN, "<&CONF") || return $name; seek (IN, 0, 0); local $/; # slurp mode $conf_source = ; close IN; } # priority for getting package name: # 1. GETTEXT_PACKAGE # 2. first argument of AC_INIT (with >= 2 arguments) # 3. first argument of AM_INIT_AUTOMAKE (with >= 2 argument) # /^AM_INIT_AUTOMAKE\([\s\[]*([^,\)\s\]]+)/m # the \s makes this not work, why? if ($conf_source =~ /^AM_INIT_AUTOMAKE\(([^,\)]+),([^,\)]+)/m) { ($name, $version) = ($1, $2); $name =~ s/[\[\]\s]//g; $version =~ s/[\[\]\s]//g; $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); } if ($conf_source =~ /^AC_INIT\(([^,\)]+),([^,\)]+)/m) { ($name, $version) = ($1, $2); $name =~ s/[\[\]\s]//g; $version =~ s/[\[\]\s]//g; $varhash{"PACKAGE_NAME"} = $name if (not $name =~ /\${?AC_PACKAGE_NAME}?/); $varhash{"PACKAGE"} = $name if (not $name =~ /\${?PACKAGE}?/); $varhash{"PACKAGE_VERSION"} = $version if (not $name =~ /\${?AC_PACKAGE_VERSION}?/); $varhash{"VERSION"} = $version if (not $name =~ /\${?VERSION}?/); } # \s makes this not work, why? $name = $1 if $conf_source =~ /^GETTEXT_PACKAGE=\[?([^\n\]]+)/m; # m4 macros AC_PACKAGE_NAME, AC_PACKAGE_VERSION etc. have same value # as corresponding $PACKAGE_NAME, $PACKAGE_VERSION etc. shell variables. $name =~ s/\bAC_PACKAGE_/\$PACKAGE_/g; $name = $domain if $domain; $name = SubstituteVariable ($name); $name =~ s/^["'](.*)["']$/$1/; return $name if $name; } sub FindPOTKeywords { my $keywords = "--keyword\=\_ --keyword\=N\_ --keyword\=U\_ --keyword\=Q\_"; my $varname = "XGETTEXT_OPTIONS"; my $make_source; { local (*IN); open (IN, "; close IN; } # unwrap lines split with a trailing \ $make_source =~ s/\\ $ \n/ /mxg; $keywords = $1 if $make_source =~ /^$varname[ ]*=\[?([^\n\]]+)/m; return $keywords; } sub FindMakevarsDomain { my $domain = ""; my $makevars_source; { local (*IN); open (IN, "; close IN; } $domain = $1 if $makevars_source =~ /^DOMAIN[ ]*=\[?([^\n\]\$]+)/m; $domain =~ s/^\s+//; $domain =~ s/\s+$//; return $domain; } sub FindMakevarsBugAddress { my $address = ""; my $makevars_source; { local (*IN); open (IN, "; close IN; } $address = $1 if $makevars_source =~ /^MSGID_BUGS_ADDRESS[ ]*=\[?([^\n\]\$]+)/m; $address =~ s/^\s+//; $address =~ s/\s+$//; return $address; } gnome-osd-0.12.2/py-compile0000755000175000017500000001005610605734075015645 0ustar adpeeteradpeeter#!/bin/sh # py-compile - Compile a Python program scriptversion=2005-05-14.22 # Copyright (C) 2000, 2001, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 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. # This file is maintained in Automake, please report # bugs to or send patches to # . if [ -z "$PYTHON" ]; then PYTHON=python fi basedir= destdir= files= while test $# -ne 0; do case "$1" in --basedir) basedir=$2 if test -z "$basedir"; then echo "$0: Missing argument to --basedir." 1>&2 exit 1 fi shift ;; --destdir) destdir=$2 if test -z "$destdir"; then echo "$0: Missing argument to --destdir." 1>&2 exit 1 fi shift ;; -h|--h*) cat <<\EOF Usage: py-compile [--help] [--version] [--basedir DIR] [--destdir DIR] FILES..." Byte compile some python scripts FILES. Use --destdir to specify any leading directory path to the FILES that you don't want to include in the byte compiled file. Specify --basedir for any additional path information you do want to be shown in the byte compiled file. Example: py-compile --destdir /tmp/pkg-root --basedir /usr/share/test test.py test2.py Report bugs to . EOF exit $? ;; -v|--v*) echo "py-compile $scriptversion" exit $? ;; *) files="$files $1" ;; esac shift done if test -z "$files"; then echo "$0: No files given. Try \`$0 --help' for more information." 1>&2 exit 1 fi # if basedir was given, then it should be prepended to filenames before # byte compilation. if [ -z "$basedir" ]; then pathtrans="path = file" else pathtrans="path = os.path.join('$basedir', file)" fi # if destdir was given, then it needs to be prepended to the filename to # byte compile but not go into the compiled file. if [ -z "$destdir" ]; then filetrans="filepath = path" else filetrans="filepath = os.path.normpath('$destdir' + os.sep + path)" fi $PYTHON -c " import sys, os, string, py_compile files = '''$files''' print 'Byte-compiling python modules...' for file in string.split(files): $pathtrans $filetrans if not os.path.exists(filepath) or not (len(filepath) >= 3 and filepath[-3:] == '.py'): continue print file, sys.stdout.flush() py_compile.compile(filepath, filepath + 'c', path) print" || exit $? # this will fail for python < 1.5, but that doesn't matter ... $PYTHON -O -c " import sys, os, string, py_compile files = '''$files''' print 'Byte-compiling python modules (optimized versions) ...' for file in string.split(files): $pathtrans $filetrans if not os.path.exists(filepath) or not (len(filepath) >= 3 and filepath[-3:] == '.py'): continue print file, sys.stdout.flush() py_compile.compile(filepath, filepath + 'o', path) print" 2>/dev/null || : # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: gnome-osd-0.12.2/acinclude.m40000644000175000017500000001174610605727052016036 0ustar adpeeteradpeeter# Copyright 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. # AM_PATH_PYTHON_VERSION(ABI-VERSION1, [MINIMUM-VERSION1 [, ABI-VERSION2, [MINIMUM-VERSION2 ...]]]) # # An alternative to AM_PATH_PYTHON that checks for specific python ABI/version pairs. # Example: # AM_PATH_PYTHON_VERSION(2.3, 2.3.5, 2.4, 2.4.0) # checks for a python2.3 binary returning python version >= 2.3.5, and # if that fails it looks for python2.4 containing version >= 2.4.0 # It aborts configure with an error if no statisfying version is found. # Env. var. PYTHON can be used to point a specific/laternate version to configure. AC_DEFUN([AM_PATH_PYTHON_VERSION], [ m4_pattern_allow([m4_shift]) _python_save="$PYTHON" dnl Find a Python interpreter with corresponding ABI version. m4_define(PYTHON_var, PYTHON[]m4_translit($1,[.],[_])) if test -z "$PYTHON"; then AC_PATH_PROG(PYTHON_var, python$1, []) else PYTHON_var="$PYTHON" fi PYTHON="$PYTHON_var" AC_SUBST(PYTHON) if test -n "$PYTHON"; then m4_if([$2],[],[ ], [ dnl A version check is needed. AC_MSG_CHECKING([whether $PYTHON version is >= $2]) AM_PYTHON_CHECK_VERSION([$PYTHON], [$2], [AC_MSG_RESULT(yes)], [AC_MSG_RESULT([no]); PYTHON=""]) ]) fi if test -z "$PYTHON"; then dnl if more arguments, shift/recurse, else fail m4_if([$3],[],[ AC_MSG_ERROR([no suitable Python interpreter found]) ], [ PYTHON="$_python_save" AM_PATH_PYTHON_VERSION(m4_shift(m4_shift($@))) ]) else dnl Query Python for its version number. Getting [:3] seems to be dnl the best way to do this; it's what "site.py" does in the standard dnl library. AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], [am_cv_python_version=`$PYTHON -c "import sys; print sys.version[[:3]]"`]) AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) dnl Use the values of $prefix and $exec_prefix for the corresponding dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made dnl distinct variables so they can be overridden if need be. However, dnl general consensus is that you shouldn't need this ability. AC_SUBST([PYTHON_PREFIX], ['${prefix}']) AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) dnl At times (like when building shared libraries) you may want dnl to know which OS platform Python thinks this is. AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], [am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`]) AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) dnl Set up 4 directories: dnl pythondir -- where to install python scripts. This is the dnl site-packages directory, not the python standard library dnl directory like in previous automake betas. This behavior dnl is more consistent with lispdir.m4 for example. dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON script directory], [am_cv_python_pythondir], [am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`]) AC_SUBST([pythondir], [$am_cv_python_pythondir]) dnl pkgpythondir -- $PACKAGE directory under pythondir. Was dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is dnl more consistent with the rest of automake. AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) dnl pyexecdir -- directory for installing python extension modules dnl (shared libraries) dnl Query distutils for this directory. distutils does not exist in dnl Python 1.5, so we fall back to the hardcoded directory if it dnl doesn't work. AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], [am_cv_python_pyexecdir], [am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`]) AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) fi ]) gnome-osd-0.12.2/COPYING0000644000175000017500000004311010605727052014666 0ustar adpeeteradpeeter GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. gnome-osd-0.12.2/gnome-osd.schemas.in0000644000175000017500000002155210644222263017500 0ustar adpeeteradpeeter /schemas/gnome-osd/osd_font /apps/gnome-osd/osd_font gnome-osd string sans serif 20 Font used in OSD messages This is the base font used in OSD messages. It can be overridden using pango markup, of course. /schemas/gnome-osd/osd_halignment /apps/gnome-osd/osd_halignment gnome-osd string center Horizontal alignment of OSD messages Horizontal alignment of OSD messages. Can be 'center', 'left', or 'right'. /schemas/gnome-osd/osd_vposition /apps/gnome-osd/osd_vposition gnome-osd string bottom Vertical position of OSD messages Vertical position of OSD messages. Can be 'top', 'center', or 'bottom'. /schemas/gnome-osd/osd_fake_translucent_bg /apps/gnome-osd/osd_fake_translucent_bg gnome-osd bool false Enable a fake translucent background effect If true, a background is added with a stipple effect to immitate translucency. WARNING: this effect seems to slow down the X server considerably while the message is visible. /schemas/gnome-osd/animations /apps/gnome-osd/animations gnome-osd bool false Enable animations If true, messages will slide in and out of screen, instead of simply popping. /schemas/gnome-osd/drop_shadow /apps/gnome-osd/drop_shadow gnome-osd bool true Enable drop shadow If true, a drop shadow will be displayed behind the text. /schemas/gnome-osd/hide_on_hover /apps/gnome-osd/hide_on_hover gnome-osd bool true Hide on mouse hover If true, moving the mouse cursor over the text will automatically hide it. /schemas/gnome-osd/enable_sound /apps/gnome-osd/enable_sound gnome-osd bool false Enable sound If true, a sound sample will be played when a message appears. Requires esd sound server. /schemas/gnome-osd/sound_sample /apps/gnome-osd/sound_sample gnome-osd string gtk-events/clicked.wav Sound sample File name of the sample to play when enable_sound is true. If it doesn't start with /, it is a path relative to $datadir/sounds /schemas/gnome-osd/avoid_panels /apps/gnome-osd/avoid_panels gnome-osd bool false Avoid Panels If true, messages will not appear on top of any existing panels, provided you have a EWMH compliant Window Manager. /schemas/gnome-osd/hide_timeout /apps/gnome-osd/hide_timeout gnome-osd int 7000 Default auto-hide timeout Default auto-hide timeout, in miliseconds. /schemas/gnome-osd/debug_frame /apps/gnome-osd/debug_frame gnome-osd bool false Debug Frame If true, messages will have a wire frame around them, showing the exact rectangular area that is considered for alignment and collision detection purposes. Warning: this option is meant for debugging purposes exclusively, so do not rely on it being present in all GnomeOSD versions. /schemas/gnome-osd/ellipsize /apps/gnome-osd/ellipsize gnome-osd string none Ellipsize Mode Ellipsize mode for OSD messages. Can be 'none', 'start', 'middle', or 'end'. Ellipsizing means to replace part of the text with ... when it doesn't fit in the screen. /schemas/gnome-osd/plugins/xchat/enabled /apps/gnome-osd/plugins/xchat/enabled gnome-osd bool true XChat Plugin Enabled Toggle whether XChat OSD notifications are enabled. Note: requires XChat D-BUS plugin (xchat >= 2.6) /schemas/gnome-osd/plugins/xchat/full /apps/gnome-osd/plugins/xchat/full gnome-osd bool true XChat Plugin Full Message Toggle whether XChat OSD notification messages include full text or just channel/nickname. /schemas/gnome-osd/plugins/song_change/enabled /apps/gnome-osd/plugins/song_change/enabled gnome-osd bool true Song Change Plugin Enabled Toggle whether song change (Rhythmbox, Muine) OSD notifications are enabled. /schemas/gnome-osd/plugins/email/enabled /apps/gnome-osd/plugins/email/enabled gnome-osd bool true New Mail Plugin Enabled Toggle whether new email notifications are enabled. Note: this plugin requires that Evolution has the D-BUS plugin active. /schemas/gnome-osd/plugins/gaim/enabled /apps/gnome-osd/plugins/gaim/enabled gnome-osd bool false Gaim Plugin Enabled Toggle whether Gaim OSD notifications are enabled. Note: this plugin requires Gaim D-BUS plugin. /schemas/gnome-osd/plugins/pidgin/enabled /apps/gnome-osd/plugins/pidgin/enabled gnome-osd bool false Pidgin Plugin Enabled Toggle whether Pidgin OSD notifications are enabled. Note: this plugin requires Pidgin D-BUS plugin. gnome-osd-0.12.2/ChangeLog0000444000175000017500000001620410760341026015402 0ustar adpeeteradpeeter2008-02-24 Gustavo J. A. M. Carneiro * configure.ac: [66] Version 0.12.2 * po/POTFILES.in: [65] Add missing file with translations to scan. * NEWS: [64] Update * generate-ChangeLog: [63] Fix changelog generation (old rev must come first) 2008-02-24 Gustavo J. A. M. Carneiro * po/ca.po, * po/de.po, * po/en_GB.po, * po/es.po, * po/fr.po, * po/hu.po, * po/it.po, * po/ms.po, * po/pl.po, * po/ru.po, * po/tr.po, * po/zh_CN.po: Added. * configure.ac, * po/cs.po, * po/ja.po, * po/pt.po, * po/sv.po: Modified. [62] Update / add translation files from launchpad. 2007-07-08 Gustavo J. A. M. Carneiro * .bzrignore, * gnome-osd.schemas.in, * gnomeosd/capplet.py, * gnomeosd/eventbridge.py: [61] Support the new name of Gajim: Pidgin. Patch by Fabien Carrion, modified by me to also support old Gaim in parallel. Also fix the close button in the about dialog. 2007-04-07 Gustavo J. A. M. Carneiro * NEWS, * configure.ac: [60] 0.12.1 2007-04-07 Gustavo J. A. M. Carneiro * .bzrignore: Added. [59] ignore files 2007-04-07 Gustavo J. A. M. Carneiro * gnomeosd/capplet.py, * gnomeosd/eventbridge.py: [58] Fix spelling in gaim notification messages. Patch by Mark Reitblatt. Closes LP#91822. Also improve the working in the capplet. * gnomeosd/eventbridge.py: [57] Don't process empty URIs from RB song notifications; closes LP#82507. * GNOME_OSD.server.in: [56] Add a bonobo:environment attribute to the bonobo .server file to prevent stale environment variables. Closes LP#81399. 2007-04-07 Gustavo J. A. M. Carneiro * generate-ChangeLog: Added. * INSTALL, * Makefile.am, * autogen.sh: Modified. * ChangeLog: Renamed to ChangeLog.old and modified. [55] Automatically generate ChangeLog from commit logs. 2007-02-25 Gustavo J. A. M. Carneiro * configure.ac: [54] Explicitly support Python 2.5- 2007-02-25 Gustavo J. A. M. Carneiro * po/sv.po: Added. * AUTHORS, * configure.ac, * po/ChangeLog: Modified. [53] Add swedish translations, by Daniel Nylander 2007-02-10 Gustavo J. A. M. Carneiro * gnomeosd/eventbridge.py: [52] import ORBit before CORBA, as we should always do 2007-01-13 Gustavo J. A. M. Carneiro * configure.ac: [51] Release 0.12.0 * NEWS: [50] Update * gnomeosd/eventbridge.py: [49] Make XChat monitoring work again also for XChat 2.8. * gnome-osd.schemas.in: [48] I find Gaim notifications way too annoying in their current form; changed the default to disable them. * gnome-osd.schemas.in, * gnomeosd/capplet.py, * gnomeosd/eventbridge.py: [47] Apply "Integration between Gnome Osd and Gaim" patch from http://fabien.carrion.free.fr/Rhythmbox.html by Fabien Carrion. * gnomeosd/eventbridge.py: [46] Make evolution new mail notifications work also with more a recent Evolution D-BUS interface * gnomeosd/gosd.py, * gnomeosd/server.py: [45] User enter-notify event rather than motion- notify to check for "mouse over", since motion notify stopped working for unknown reason. 2006-12-27 Gustavo J. A. M. Carneiro * gnomeosd/eventbridge.py: [44] Patch from Simon McVittie to make it work with dbus-python 0.80. 2006-08-20 gjc@localhost.localdomain * NEWS, * configure.ac: [43] release 0.11.3 2006-08-13 gjc@localhost.localdomain * gnomeosd/eventbridge.py: [42] When trying to monitor rhythmbox through dbus, make sure we don't inadvertly launch RB when it was not running in the first place. 2006-08-09 gjc@localhost.localdomain * gnomeosd/eventbridge.py: [41] Make rhythmbox song changing monitoring work for RB 0.9.5 2006-08-02 gjc@localhost.localdomain * gnomeosd/xscreensaver.py: Added. * NEWS, * configure.ac, * gnomeosd/Makefile.am, * gnomeosd/eventbridge.py: Modified. [40] Make screensaver detection work for xscreensaver too. 2006-07-01 gjc@localhost.localdomain * NEWS: [39] update NEWS * configure.ac: [38] release 0.11.1 * .hgignore, * gnomeosd/eventbridge.py: [37] Detect when gnome-sreensaver is saving screen; disable messages during this period. 2006-03-12 gjc@localhost.localdomain * .hgtags: Added. [36] Added tag 0.11.0 for changeset b656e541c3875df090510345a9448e6268f30446 2006-03-12 gjc@localhost.localdomain * po/cs.po, * po/ja.po, * po/pt.po: [35] final translations.. * po/cs.po: [34] Convert from iso_8859-2 to utf-8 to make gtk+ happy. * gnomeosd/capplet.py: [33] Call locale.bind_textdomain_codeset, just in case.. * debian/control.in: [32] build depends on docbook2x * README: [31] remove the 'lack of usability studies' disclaimer * gnomeosd/capplet.py: [30] add program description to about dialog * ChangeLog, * NEWS: [29] Update NEWS for next release. 2006-03-12 gjc@localhost.localdomain * pt.inescporto.telecom.GnomeOSD.EventBridge.service.in: Added. * .hgignore, * Makefile.am, * gnomeosd/capplet.py, * gnomeosd/eventbridge.py, * po/cs.po, * po/ja.po, * po/pt.po, * pt.inescporto.telecom.GnomeOSD.service.in: Modified. [28] Add translator credits; add unique activation through dbus to event bridge; launch event bridge from the capplet. 2006-03-12 gjc@localhost.localdomain * gnomeosd/gtkexcepthook.py: Added. * AUTHORS, * gnomeosd/Makefile.am, * gnomeosd/capplet.py, * gnomeosd/gconfsync.py: Modified. [27] add gtkexcepthook 2006-03-12 gjc@localhost.localdomain * po/cs.po: [26] Updated Czech translations * gnomeosd/gconfsync.py: [25] Avoid using gconf_client_get_default_from_schema 2006-03-11 gjc@localhost.localdomain * debian/changelog, * gnomeosd/capplet.py, * po/pt.po: [24] i18 bug fix 2006-03-11 gjc@localhost.localdomain * debian/control: Removed. [23] remove generated control file 2006-03-11 gjc@localhost.localdomain * debian, * debian/changelog, * debian/compat, * debian/control, * debian/control.in, * debian/rules: Added. * gnomeosd/eventbridge.py: Modified. [22] re-add debian dir to generate deb packages 2006-03-11 gjc@localhost.localdomain * po/cs.po, * po/ja.po, * po/pt.po: [21] Rescan sources, merge translations. 2006-03-11 gjc@localhost.localdomain * po/cs.po: Added. [20] Czeck translations by Pavel Mlcoch 2006-03-11 gjc@localhost.localdomain * configure.ac: [19] bump version to 0.11.0; add cs to ALL_LINGUAS * gnomeosd/gosd.py: [18] remove silly license comments, let everything be GPL * gnomeosd/capplet.py: [17] correct underline accelerators * gnomeosd/eventbridge.py: [16] Add "low pass filter" to eliminate duplicate messages. * gnome-osd-properties.desktop.in: [15] update categories * gnomeosd/eventbridge.py: [14] make event bridge honor gconf settings * gnome-osd-properties.in, * gnomeosd/capplet.py, * gnomeosd/gconfsync.py: [13] Avoid gobject.type_register warnings Add preferences GUI to enable disable individual standard notifications 2006-03-08 gjc@localhost.localdomain * ChangeLog, * gnome-osd.schemas.in: [12] * gnome-osd.schemas.in: Add gconf keys for enabling/disabling individual OSD plugins. ** For older ChangeLog entries please see the file ChangeLog.old ** gnome-osd-0.12.2/GNOME_OSD.server.in0000644000175000017500000000176610605745736017066 0ustar adpeeteradpeeter gnome-osd-0.12.2/NEWS0000644000175000017500000001440710760340222014331 0ustar adpeeteradpeeterOverview of Changes from gnome-osd 0.12.1 to gnome-osd 0.12.2 ================================================================== * Support the gaim -> pidgin name change (Fabien Carrion) * Update / add translations from launchpad (many authors) Overview of Changes from gnome-osd 0.12.0 to gnome-osd 0.12.1 ================================================================== * Assorted bug fixes Overview of Changes from gnome-osd 0.11.3 to gnome-osd 0.12.0 ================================================================== * Make EMail notifications work again for newer Evolution * Make IRC notifications work again for newer XChat * Fix bug with 'Hide on mouse hover' option * New Gaim buddy notifications, by Fabien Carrion. Overview of Changes from gnome-osd 0.11.2 to gnome-osd 0.11.3 ================================================================== * Listening for song changes works also for Rhythmbox 0.9.5. Overview of Changes from gnome-osd 0.11.1 to gnome-osd 0.11.2 ================================================================== * Make screensaver detection work also for xscreensaver. Overview of Changes from gnome-osd 0.11.0 to gnome-osd 0.11.1 ================================================================== * Detect when screensaver is active, and disable all messages during this period; only works with gnome-screensaver, though. Overview of Changes from gnome-osd 0.10.0 to gnome-osd 0.11.0 ================================================================== * Add new GUI options to control event-bridge plugins * Capplet starts gnome-osd-event-bridge using D-BUS * Add Czech translations, by Pavel Mlcoch Overview of Changes from gnome-osd 0.9.2 to gnome-osd 0.10.0 ================================================================== * New gnome-osd-client man page * Rename rbosd.py to gnome-osd-event-bridge * Install autostart desktop file for gnome-osd-event-bridge (for GNOME 2.14) Overview of Changes from gnome-osd 0.9.1 to gnome-osd 0.9.2 ================================================================== * Nothing new, just removed the debian/ directory in order to comply with debian guidelines. Overview of Changes from gnome-osd 0.9.0 to gnome-osd 0.9.1 ================================================================== * OSD server - Bug fixes - Add support for 'ellipsize' modes * xchatosd.py: - Ellipsize at text at the end. Overview of Changes from gnome-osd 0.8.0 to gnome-osd 0.9.0 ================================================================== * OSD server - Use the new gtasklet[1] module to simplify callbacks - Add a D-BUS interface, if module is available * command-line client - Add a D-BUS interface, if module is available * rbosd.py - Monitor Evolution mail and Muine song changes, using D-BUS [1] http://www.gnome.org/~gjc/gtasklet Overview of Changes from gnome-osd 0.7.3 to gnome-osd 0.8.0 ================================================================== * xchatosd: - New commands /OSD_ENABLE, /OSD_DISABLE, /OSD_FULLMESSAGE and /OSD_ONLYALERT, to enable/disable OSD and switch between full and "alert only" modes (Dorneles Treméa, Gustavo) - Add better events support (Dorneles) - Tweak load/unload messages (Dorneles) * control panel applet - Add 'center' vertical alignment options that were previously available only as gconf keys (Dorneles) * OSD server - Allow the OSD server to be killed when X connection is lost; avoids problems with multiple OSD servers running when logging out/in without rebooting (Gustavo) * rbosd.py - Add session management support, so that the user can just run it once and save session to have it restart on next login (Gustavo) Overview of Changes from gnome-osd 0.7.1 to gnome-osd 0.7.2 ================================================================== * Fix a stupid bug in RB plugin. Overview of Changes from gnome-osd 0.7.0 to gnome-osd 0.7.1 ================================================================== * Install xchat and RB plugins into $(pkgdatadir) Overview of Changes from gnome-osd 0.6.0 to gnome-osd 0.7.0 ================================================================== * More flexibility with a new protocol, allowing multiple OSD instances, and override of properties for specific messages; * New 'center' vertical alignment option available in the protocol (but not in the preferences) * hide_timeout also available in the protocol * Any kind of error encountered by the server (eg. message parsing) is reported back to the client. * WARNING: python modules location has changed; please update your plugins. Overview of Changes from gnome-osd 0.5.2 to gnome-osd 0.6.0 ================================================================== * Add option to avoid panels when positioning messages * Add a "Test" button to the preferences dialog Overview of Changes from gnome-osd 0.5.1 to gnome-osd 0.5.2 ================================================================== * * Fix stupid makefile bug that caused gnome_osd_conf.py to be shipped with the tarball, when it wasn't supposed to. This keeps i18n and window icon from working. Overview of Changes from gnome-osd 0.5.0 to gnome-osd 0.5.1 ================================================================== * Fix a GConf warning * Translate rhythmbox plugin (Artist/Album/Track) * Japanese translation (Takeshi AIHANA) Overview of Changes from gnome-osd 0.4.0 to gnome-osd 0.5.0 ================================================================== * New preferences to play a sound on message popup and automatically hide text on mouse hover. * Fixes: - XML-escape title of songs in rhythmbox plugin (some songs were not displaying due to pango markup error). Overview of Changes from gnome-osd 0.3.0 to gnome-osd 0.4.0 ================================================================== * New preferences 'Animations' and 'Drop shadow' * New capplet icon Overview of Changes from gnome-osd 0.2.0 to gnome-osd 0.3.0 ================================================================== * New control center preferences dialog, allowing configuration of font and message position/alignment. Overview of Changes from gnome-osd 0.1.0 to gnome-osd 0.2.0 ================================================================== * gosd module - Add pango alignment option - Minor rendering fix - Change to LGPL * rbosd.py - Bug fixes; - Much better looking messages; gnome-osd-0.12.2/configure0000755000175000017500000074013010760340245015545 0ustar adpeeteradpeeter#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61. # # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, # 2002, 2003, 2004, 2005, 2006 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=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) as_nl=' ' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH if test "x$CONFIG_SHELL" = x; then if (eval ":") 2>/dev/null; then as_have_required=yes else as_have_required=no fi if test $as_have_required = yes && (eval ": (as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=\$LINENO as_lineno_2=\$LINENO test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ") 2> /dev/null; then : else as_candidate_shells= as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. case $as_dir in /*) for as_base in sh bash ksh sh5; do as_candidate_shells="$as_candidate_shells $as_dir/$as_base" done;; esac done IFS=$as_save_IFS for as_shell in $as_candidate_shells $SHELL; do # Try only shells that exist, to save several forks. if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { ("$as_shell") 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : _ASEOF }; then CONFIG_SHELL=$as_shell as_have_required=yes if { "$as_shell" 2> /dev/null <<\_ASEOF if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi : (as_func_return () { (exit $1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = "$1" ); then : else exitcode=1 echo positional parameters were not saved. fi test $exitcode = 0) || { (exit 1); exit 1; } ( as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } _ASEOF }; then break fi fi done if test "x$CONFIG_SHELL" != x; then for as_var in BASH_ENV ENV do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done export CONFIG_SHELL exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} fi if test $as_have_required = no; then echo This script requires a shell more modern than all the echo shells that I found on your system. Please install a echo modern shell, or manually run the script under such a echo shell if you do have one. { (exit 1); exit 1; } fi fi fi (eval "as_func_return () { (exit \$1) } as_func_success () { as_func_return 0 } as_func_failure () { as_func_return 1 } as_func_ret_success () { return 0 } as_func_ret_failure () { return 1 } exitcode=0 if as_func_success; then : else exitcode=1 echo as_func_success failed. fi if as_func_failure; then exitcode=1 echo as_func_failure succeeded. fi if as_func_ret_success; then : else exitcode=1 echo as_func_ret_success failed. fi if as_func_ret_failure; then exitcode=1 echo as_func_ret_failure succeeded. fi if ( set x; as_func_ret_success y && test x = \"\$1\" ); then : else exitcode=1 echo positional parameters were not saved. fi test \$exitcode = 0") || { echo No shell found that supports shell functions. echo Please tell autoconf@gnu.org about your system, echo including any error possibly output before this echo message } as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir fi echo >conf$$.file 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 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= SHELL=${CONFIG_SHELL-/bin/sh} # Identity of this package. PACKAGE_NAME= PACKAGE_TARNAME= PACKAGE_VERSION= PACKAGE_STRING= PACKAGE_BUGREPORT= ac_unique_file="gnomeosd/gosd.py" # 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='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datarootdir datadir sysconfdir sharedstatedir localstatedir includedir oldincludedir docdir infodir htmldir dvidir pdfdir psdir libdir localedir mandir DEFS ECHO_C ECHO_N ECHO_T LIBS build_alias host_alias target_alias INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GETTEXT_PACKAGE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP GREP EGREP USE_NLS MSGFMT MSGFMT_OPTS GMSGFMT XGETTEXT CATALOGS CATOBJEXT DATADIRNAME GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS INTLTOOL_DESKTOP_RULE INTLTOOL_DIRECTORY_RULE INTLTOOL_KEYS_RULE INTLTOOL_PROP_RULE INTLTOOL_OAF_RULE INTLTOOL_PONG_RULE INTLTOOL_SERVER_RULE INTLTOOL_SHEET_RULE INTLTOOL_SOUNDLIST_RULE INTLTOOL_UI_RULE INTLTOOL_XAM_RULE INTLTOOL_KBD_RULE INTLTOOL_XML_RULE INTLTOOL_XML_NOMERGE_RULE INTLTOOL_CAVES_RULE INTLTOOL_SCHEMAS_RULE INTLTOOL_THEME_RULE INTLTOOL_SERVICE_RULE INTLTOOL_POLICY_RULE MSGMERGE INTLTOOL_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL ALL_LINGUAS PYTHON2_5 PYTHON PYTHON2_4 PYTHON2_3 PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pyexecdir pkgpyexecdir ac_prefix_program PKG_CONFIG GNOME_OSD_CFLAGS GNOME_OSD_LIBS GCONFTOOL GCONF_SCHEMA_CONFIG_SOURCE GCONF_SCHEMA_FILE_DIR GCONF_SCHEMAS_INSTALL_TRUE GCONF_SCHEMAS_INSTALL_FALSE LIBOBJS LTLIBOBJS' ac_subst_files='' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP PKG_CONFIG GNOME_OSD_CFLAGS GNOME_OSD_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (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=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_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` eval enable_$ac_feature=no ;; -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_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid feature name: $ac_feature" >&2 { (exit 1); exit 1; }; } ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` eval enable_$ac_feature=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -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_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/[-.]/_/g'` eval with_$ac_package=\$ac_optarg ;; -without-* | --without-*) ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid package name: $ac_package" >&2 { (exit 1); exit 1; }; } ac_package=`echo $ac_package | sed 's/[-.]/_/g'` eval with_$ac_package=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 { (exit 1); exit 1; }; } eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` { echo "$as_me: error: missing argument to $ac_option" >&2 { (exit 1); exit 1; }; } fi # Be sure to have absolute directory names. 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 case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 { (exit 1); exit 1; }; } done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe 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 .` || { echo "$as_me: error: Working directory cannot be determined" >&2 { (exit 1); exit 1; }; } test "X$ac_ls_di" = "X$ac_pwd_ls_di" || { echo "$as_me: error: pwd does not report name of working directory" >&2 { (exit 1); exit 1; }; } # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$0" || $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$0" : 'X\(//\)[^/]' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X"$0" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 { (exit 1); exit 1; }; } fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 { (exit 1); exit 1; }; } pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures 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 _ACEOF fi if test -n "$ac_init_help"; then cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --disable-schemas-install Disable the schemas installation 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 C/C++/Objective C preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor PKG_CONFIG path to pkg-config utility GNOME_OSD_CFLAGS C compiler flags for GNOME_OSD, overriding pkg-config GNOME_OSD_LIBS linker flags for GNOME_OSD, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || continue ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`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 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.61 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by $as_me, which was generated by GNU Autoconf 2.61. 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=. 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=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 2) ac_configure_args1="$ac_configure_args1 '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac done done $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo cat <<\_ASBOX ## ---------------- ## ## Cache variables. ## ## ---------------- ## _ASBOX echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo cat <<\_ASBOX ## ----------------- ## ## Output variables. ## ## ----------------- ## _ASBOX echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then cat <<\_ASBOX ## ------------------- ## ## File substitutions. ## ## ------------------- ## _ASBOX echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then cat <<\_ASBOX ## ----------- ## ## confdefs.h. ## ## ----------- ## _ASBOX echo cat confdefs.h echo fi test "$ac_signal" != 0 && echo "$as_me: caught signal $ac_signal" echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer explicitly selected file to automatically selected ones. if test -n "$CONFIG_SITE"; then set x "$CONFIG_SITE" elif test "x$prefix" != xNONE; then set x "$prefix/share/config.site" "$prefix/etc/config.site" else set x "$ac_default_prefix/share/config.site" \ "$ac_default_prefix/etc/config.site" fi shift for ac_site_file do if test -r "$ac_site_file"; then { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special # files actually), so we avoid doing that. if test -f "$cache_file"; then { echo "$as_me:$LINENO: loading cache $cache_file" >&5 echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { echo "$as_me:$LINENO: creating cache $cache_file" >&5 echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $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,) { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 echo "$as_me: former value: $ac_old_val" >&2;} { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 echo "$as_me: current value: $ac_new_val" >&2;} ac_cache_corrupted=: fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 echo "$as_me: error: changes in the environment can compromise the build" >&2;} { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu am__api_version="1.9" ac_aux_dir= for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} { (exit 1); exit 1; }; } fi # 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. { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; } if test -z "$INSTALL"; then if test "${ac_cv_path_install+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in ./ | .// | /cC/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if { 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 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi done done ;; esac done IFS=$as_save_IFS 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 { echo "$as_me:$LINENO: result: $INSTALL" >&5 echo "${ECHO_T}$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { echo "$as_me:$LINENO: checking whether build environment is sane" >&5 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; } # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&5 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken alias in your environment" >&2;} { (exit 1); exit 1; }; } fi test "$2" = conftest.file ) then # Ok. : else { { echo "$as_me:$LINENO: error: newly created file is older than distributed files! Check your system clock" >&5 echo "$as_me: error: newly created file is older than distributed files! Check your system clock" >&2;} { (exit 1); exit 1; }; } fi { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. echo might interpret backslashes. # By default was `s,x,x', remove it if useless. cat <<\_ACEOF >conftest.sed s/[\\$]/&&/g;s/;s,x,x,$// _ACEOF program_transform_name=`echo $program_transform_name | sed -f conftest.sed` rm -f conftest.sed # expand $ac_aux_dir to an absolute path am_aux_dir=`cd $ac_aux_dir && pwd` test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} fi if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_AWK+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { 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" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { echo "$as_me:$LINENO: result: $AWK" >&5 echo "${ECHO_T}$AWK" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$AWK" && break done { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; } set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&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 { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } SET_MAKE= else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} { (exit 1); exit 1; }; } fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE=gnome-osd VERSION=0.12.2 cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} install_sh=${install_sh-"$am_aux_dir/install-sh"} # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { 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" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { echo "$as_me:$LINENO: result: $STRIP" >&5 echo "${ECHO_T}$STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { 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" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 echo "${ECHO_T}$ac_ct_STRIP" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" # We need awk for the "check" target. The system "awk" is bad on # some platforms. # Always define AMTAR for backward compatibility. AMTAR=${AMTAR-"${am_missing_run}tar"} am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; } # Check whether --enable-maintainer-mode was given. if test "${enable_maintainer_mode+set}" = set; then enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval else USE_MAINTAINER_MODE=no fi { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; } if test $USE_MAINTAINER_MODE = yes; then MAINTAINER_MODE_TRUE= MAINTAINER_MODE_FALSE='#' else MAINTAINER_MODE_TRUE='#' MAINTAINER_MODE_FALSE= fi MAINT=$MAINTAINER_MODE_TRUE ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS" ALL_LINGUAS="pt ja cs sv ca de en_GB es fr hu it ms pl ru tr zh_CN" GETTEXT_PACKAGE=gnome-osd cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi { echo "$as_me:$LINENO: result: $_am_result" >&5 echo "${ECHO_T}$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking 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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { 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" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { 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" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { 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" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { 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" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { 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" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $CC" >&5 echo "${ECHO_T}$CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_prog_ac_ct_CC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { 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" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 echo "${ECHO_T}$ac_ct_CC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&5 echo "$as_me: error: no acceptable C compiler found in \$PATH See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } # Provide some information about the compiler. echo "$as_me:$LINENO: checking for C compiler version" >&5 ac_compiler=`set X $ac_compile; echo $2` { (ac_try="$ac_compiler --version >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler --version >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -v >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -v >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } { (ac_try="$ac_compiler -V >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compiler -V >&5") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # # List of possible output files, starting from the most likely. # The algorithm is not robust to junk in `.', hence go to wildcards (a.*) # only as a last resort. b.out is created by i960 compilers. ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out' # # The IRIX 6 linker writes into existing files which may not be # executable, retaining their permissions. Remove them first so a # subsequent execution test works. ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link_default") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; 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 | *.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 { echo "$as_me:$LINENO: result: $ac_file" >&5 echo "${ECHO_T}$ac_file" >&6; } if test -z "$ac_file"; then echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: C compiler cannot create executables See \`config.log' for more details." >&5 echo "$as_me: error: C compiler cannot create executables See \`config.log' for more details." >&2;} { (exit 77); exit 77; }; } fi ac_exeext=$ac_cv_exeext # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { echo "$as_me:$LINENO: checking whether the C compiler works" >&5 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 # If not cross compiling, check that we can run a simple program. if test "$cross_compiling" != yes; then if { ac_try='./$ac_file' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { echo "$as_me:$LINENO: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&5 echo "$as_me: error: cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi fi fi { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } rm -f a.out a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $cross_compiling" >&5 echo "${ECHO_T}$cross_compiling" >&6; } { echo "$as_me:$LINENO: checking for suffix of executables" >&5 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest$ac_cv_exeext { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 echo "${ECHO_T}$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT { echo "$as_me:$LINENO: checking for suffix of object files" >&5 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } if test "${ac_cv_objext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; 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 ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&5 echo "$as_me: error: cannot compute suffix of object files: cannot compile See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 echo "${ECHO_T}$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; } if test "${ac_cv_c_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_compiler_gnu=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } GCC=`test $ac_compiler_gnu = yes && echo yes` ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CFLAGS="" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; } if test "${ac_cv_prog_cc_c89+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -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" 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cc_c89=$ac_arg else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 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) { echo "$as_me:$LINENO: result: none needed" >&5 echo "${ECHO_T}none needed" >&6; } ;; xno) { echo "$as_me:$LINENO: result: unsupported" >&5 echo "${ECHO_T}unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; esac 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= { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; } if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named `D' -- because `-MD' means `put the output # in D'. mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with # Solaris 8's {/usr,}/bin/sh. touch sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf case $depmode in nosideeffect) # after this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; none) break ;; esac # We check with `-c' and `-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle `-M -o', and we need to detect this. if depmode=$depmode \ source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if test "${ac_cv_prog_CPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { echo "$as_me:$LINENO: result: $CPP" >&5 echo "${ECHO_T}$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Broken: fails on valid input. continue fi rm -f conftest.err conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then # Broken: success on invalid input. continue else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; } if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Extract the first word of "grep ggrep" to use in msg output if test -z "$GREP"; then set dummy grep ggrep; ac_prog_name=$2 if test "${ac_cv_path_GREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else 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 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" 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 ac_count=`expr $ac_count + 1` 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 fi GREP="$ac_cv_path_GREP" if test -z "$GREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_GREP=$GREP fi fi { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 echo "${ECHO_T}$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { echo "$as_me:$LINENO: checking for egrep" >&5 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; } if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else # Extract the first word of "egrep" to use in msg output if test -z "$EGREP"; then set dummy egrep; ac_prog_name=$2 if test "${ac_cv_path_EGREP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else 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 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" 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 ac_count=`expr $ac_count + 1` 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 fi EGREP="$ac_cv_path_EGREP" if test -z "$EGREP"; then { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} { (exit 1); exit 1; }; } fi else ac_cv_path_EGREP=$EGREP fi fi fi { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } if test "${ac_cv_header_stdc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_header_stdc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_stdc=no fi rm -f 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #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 rm -f conftest$ac_exeext if { (ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' { (case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_try") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; }; then : else echo "$as_me: program exited with status $ac_status" >&5 echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ( exit $ac_status ) ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi fi fi { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 echo "${ECHO_T}$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then cat >>confdefs.h <<\_ACEOF #define STDC_HEADERS 1 _ACEOF fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then eval "$as_ac_Header=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_Header=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done for ac_header in locale.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking $ac_header usability" >&5 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include <$ac_header> _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking $ac_header presence" >&5 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include <$ac_header> _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else eval "$as_ac_Header=\$ac_header_preproc" fi ac_res=`eval echo '${'$as_ac_Header'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } fi if test `eval echo '${'$as_ac_Header'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done if test $ac_cv_header_locale_h = yes; then { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; } if test "${am_cv_val_LC_MESSAGES+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return LC_MESSAGES ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then am_cv_val_LC_MESSAGES=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 am_cv_val_LC_MESSAGES=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; } if test $am_cv_val_LC_MESSAGES = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_LC_MESSAGES 1 _ACEOF fi fi USE_NLS=yes gt_cv_have_gettext=no CATOBJEXT=NONE XGETTEXT=: INTLLIBS= if test "${ac_cv_header_libintl_h+set}" = set; then { echo "$as_me:$LINENO: checking for libintl.h" >&5 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; } if test "${ac_cv_header_libintl_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; } else # Is the header compilable? { echo "$as_me:$LINENO: checking libintl.h usability" >&5 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default #include _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_compile") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_header_compiler=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 echo "${ECHO_T}$ac_header_compiler" >&6; } # Is the header present? { echo "$as_me:$LINENO: checking libintl.h presence" >&5 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; } cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include _ACEOF if { (ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } >/dev/null && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then ac_header_preproc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_header_preproc=no fi rm -f conftest.err conftest.$ac_ext { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 echo "${ECHO_T}$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: check for missing prerequisite headers?" >&5 echo "$as_me: WARNING: libintl.h: check for missing prerequisite headers?" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&5 echo "$as_me: WARNING: libintl.h: section \"Present But Cannot Be Compiled\"" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;} { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;} ;; esac { echo "$as_me:$LINENO: checking for libintl.h" >&5 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; } if test "${ac_cv_header_libintl_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_header_libintl_h=$ac_header_preproc fi { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; } fi if test $ac_cv_header_libintl_h = yes; then gt_cv_func_dgettext_libintl="no" libintl_extra_libs="" # # First check in libc # { echo "$as_me:$LINENO: checking for ngettext in libc" >&5 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; } if test "${gt_cv_func_ngettext_libc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return !ngettext ("","", 1) ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then gt_cv_func_ngettext_libc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_ngettext_libc=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; } if test "$gt_cv_func_ngettext_libc" = "yes" ; then { echo "$as_me:$LINENO: checking for dgettext in libc" >&5 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; } if test "${gt_cv_func_dgettext_libc+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include int main () { return !dgettext ("","") ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then gt_cv_func_dgettext_libc=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 gt_cv_func_dgettext_libc=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; } fi if test "$gt_cv_func_ngettext_libc" = "yes" ; then for ac_func in bind_textdomain_codeset do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done 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 { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; } if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_intl_bindtextdomain=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_bindtextdomain=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; } if test $ac_cv_lib_intl_bindtextdomain = yes; then { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; } if test "${ac_cv_lib_intl_ngettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_intl_ngettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; } if test $ac_cv_lib_intl_ngettext = yes; then { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; } if test "${ac_cv_lib_intl_dgettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_intl_dgettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_dgettext=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; } if test $ac_cv_lib_intl_dgettext = yes; then gt_cv_func_dgettext_libintl=yes fi fi fi if test "$gt_cv_func_dgettext_libintl" != "yes" ; then { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: " >&5 echo "${ECHO_T}" >&6; } { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; } if test "${ac_cv_lib_intl_ngettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_intl_ngettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_ngettext=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; } if test $ac_cv_lib_intl_ngettext = yes; then { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; } if test "${ac_cv_lib_intl_dcgettext+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lintl -liconv $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Override any 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 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_lib_intl_dcgettext=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_intl_dcgettext=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; } if test $ac_cv_lib_intl_dcgettext = yes; 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 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done 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 cat >>confdefs.h <<\_ACEOF #define HAVE_GETTEXT 1 _ACEOF # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $MSGFMT" >&5 echo "${ECHO_T}$MSGFMT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "$MSGFMT" != "no"; then glib_save_LIBS="$LIBS" LIBS="$LIBS $INTLLIBS" for ac_func in dcgettext do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define $ac_func to an innocuous variant, in case declares $ac_func. For example, HP-UX 11i declares gettimeofday. */ #define $ac_func innocuous_$ac_func /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $ac_func (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $ac_func /* Override any 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 $ac_func (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$ac_func || defined __stub___$ac_func choke me #endif int main () { return $ac_func (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then eval "$as_ac_var=yes" else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 eval "$as_ac_var=no" fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_res=`eval echo '${'$as_ac_var'}'` { echo "$as_me:$LINENO: result: $ac_res" >&5 echo "${ECHO_T}$ac_res" >&6; } if test `eval echo '${'$as_ac_var'}'` = yes; then cat >>confdefs.h <<_ACEOF #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done MSGFMT_OPTS= { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_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 { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } 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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_GMSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" ;; esac fi GMSGFMT=$ac_cv_path_GMSGFMT if test -n "$GMSGFMT"; then { echo "$as_me:$LINENO: result: $GMSGFMT" >&5 echo "${ECHO_T}$GMSGFMT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi # Extract the first word of "xgettext", so it can be a program name with args. set dummy xgettext; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 echo "${ECHO_T}$XGETTEXT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then CATOBJEXT=.gmo DATADIRNAME=share else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 case $host in *-*-solaris*) { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; } if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define bind_textdomain_codeset to an innocuous variant, in case declares bind_textdomain_codeset. For example, HP-UX 11i declares gettimeofday. */ #define bind_textdomain_codeset innocuous_bind_textdomain_codeset /* System header to define __stub macros and hopefully few prototypes, which can conflict with char bind_textdomain_codeset (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef bind_textdomain_codeset /* 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 bind_textdomain_codeset (); /* 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_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset choke me #endif int main () { return bind_textdomain_codeset (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_func_bind_textdomain_codeset=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_bind_textdomain_codeset=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; } if test $ac_cv_func_bind_textdomain_codeset = yes; 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_ipa8_conftest.oo \ 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 cat >>confdefs.h <<\_ACEOF #define ENABLE_NLS 1 _ACEOF fi if test "$XGETTEXT" != ":"; then if $XGETTEXT --omit-header /dev/null 2> /dev/null; then : ; else { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&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 { echo "$as_me:$LINENO: result: $LINGUAS" >&5 echo "${ECHO_T}$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 case "$am__api_version" in 1.01234) { { echo "$as_me:$LINENO: error: Automake 1.5 or newer is required to use intltool" >&5 echo "$as_me: error: Automake 1.5 or newer is required to use intltool" >&2;} { (exit 1); exit 1; }; } ;; *) ;; esac if test -n ""; then { echo "$as_me:$LINENO: checking for intltool >= " >&5 echo $ECHO_N "checking for intltool >= ... $ECHO_C" >&6; } INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` INTLTOOL_APPLIED_VERSION=`awk -F\" '/\\$VERSION / { print $ 2; }' ${ac_aux_dir}/intltool-update.in` INTLTOOL_APPLIED_VERSION_AS_INT=`awk -F\" '/\\$VERSION / { split($ 2, VERSION, "."); print VERSION[1] * 1000 + VERSION[2] * 100 + VERSION[3];}' ${ac_aux_dir}/intltool-update.in` { echo "$as_me:$LINENO: result: $INTLTOOL_APPLIED_VERSION found" >&5 echo "${ECHO_T}$INTLTOOL_APPLIED_VERSION found" >&6; } test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || { { echo "$as_me:$LINENO: error: Your intltool is too old. You need intltool or later." >&5 echo "$as_me: error: Your intltool is too old. You need intltool or later." >&2;} { (exit 1); exit 1; }; } 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 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $XGETTEXT" >&5 echo "${ECHO_T}$XGETTEXT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi # Extract the first word of "msgmerge", so it can be a program name with args. set dummy msgmerge; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_MSGMERGE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $MSGMERGE" >&5 echo "${ECHO_T}$MSGMERGE" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi # Extract the first word of "msgfmt", so it can be a program name with args. set dummy msgfmt; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $MSGFMT" >&5 echo "${ECHO_T}$MSGFMT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;} { (exit 1); exit 1; }; } 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 { { echo "$as_me:$LINENO: error: GNU gettext tools not found; required for intltool" >&5 echo "$as_me: error: GNU gettext tools not found; required for intltool" >&2;} { (exit 1); exit 1; }; } fi # Use the tools built into the package, not the ones that are installed. INTLTOOL_EXTRACT='$(top_builddir)/intltool-extract' INTLTOOL_MERGE='$(top_builddir)/intltool-merge' INTLTOOL_UPDATE='$(top_builddir)/intltool-update' # Extract the first word of "perl", so it can be a program name with args. set dummy perl; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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" echo "$as_me:$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 { echo "$as_me:$LINENO: result: $INTLTOOL_PERL" >&5 echo "${ECHO_T}$INTLTOOL_PERL" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test -z "$INTLTOOL_PERL"; then { { echo "$as_me:$LINENO: error: perl not found; required for intltool" >&5 echo "$as_me: error: perl not found; required for intltool" >&2;} { (exit 1); exit 1; }; } fi if test -z "`$INTLTOOL_PERL -v | fgrep '5.' 2> /dev/null`"; then { { echo "$as_me:$LINENO: error: perl 5.x required for intltool" >&5 echo "$as_me: error: perl 5.x required for intltool" >&2;} { (exit 1); exit 1; }; } fi if test "x" != "xno-xml"; then { echo "$as_me:$LINENO: checking for XML::Parser" >&5 echo $ECHO_N "checking for XML::Parser... $ECHO_C" >&6; } if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then { echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6; } else { { echo "$as_me:$LINENO: error: XML::Parser perl module is required for intltool" >&5 echo "$as_me: error: XML::Parser perl module is required for intltool" >&2;} { (exit 1); exit 1; }; } 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 >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { extern int _nl_msg_cat_cntr; return _nl_msg_cat_cntr ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then DATADIRNAME=share else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 case $host in *-*-solaris*) { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; } if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ /* Define bind_textdomain_codeset to an innocuous variant, in case declares bind_textdomain_codeset. For example, HP-UX 11i declares gettimeofday. */ #define bind_textdomain_codeset innocuous_bind_textdomain_codeset /* System header to define __stub macros and hopefully few prototypes, which can conflict with char bind_textdomain_codeset (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef bind_textdomain_codeset /* 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 bind_textdomain_codeset (); /* 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_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset choke me #endif int main () { return bind_textdomain_codeset (); ; return 0; } _ACEOF 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 "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 (eval "$ac_link") 2>conftest.er1 ac_status=$? grep -v '^ *+' conftest.er1 >conftest.err rm -f conftest.er1 cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then ac_cv_func_bind_textdomain_codeset=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_bind_textdomain_codeset=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; } if test $ac_cv_func_bind_textdomain_codeset = yes; then DATADIRNAME=share else DATADIRNAME=lib fi ;; *) DATADIRNAME=lib ;; esac fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext fi ac_config_commands="$ac_config_commands intltool" _python_save="$PYTHON" if test -z "$PYTHON"; then # Extract the first word of "python2.5", so it can be a program name with args. set dummy python2.5; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_PYTHON2_5+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PYTHON2_5 in [\\/]* | ?:[\\/]*) ac_cv_path_PYTHON2_5="$PYTHON2_5" # 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_PYTHON2_5="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PYTHON2_5=$ac_cv_path_PYTHON2_5 if test -n "$PYTHON2_5"; then { echo "$as_me:$LINENO: result: $PYTHON2_5" >&5 echo "${ECHO_T}$PYTHON2_5" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi else PYTHON2_5="$PYTHON" fi PYTHON="$PYTHON2_5" if test -n "$PYTHON"; then { echo "$as_me:$LINENO: checking whether $PYTHON version is >= 2.5.0" >&5 echo $ECHO_N "checking whether $PYTHON version is >= 2.5.0... $ECHO_C" >&6; } prog="import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.5.0', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)" if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 ($PYTHON -c "$prog") >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; }; PYTHON="" fi fi if test -z "$PYTHON"; then PYTHON="$_python_save" _python_save="$PYTHON" if test -z "$PYTHON"; then # Extract the first word of "python2.4", so it can be a program name with args. set dummy python2.4; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_PYTHON2_4+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PYTHON2_4 in [\\/]* | ?:[\\/]*) ac_cv_path_PYTHON2_4="$PYTHON2_4" # 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_PYTHON2_4="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PYTHON2_4=$ac_cv_path_PYTHON2_4 if test -n "$PYTHON2_4"; then { echo "$as_me:$LINENO: result: $PYTHON2_4" >&5 echo "${ECHO_T}$PYTHON2_4" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi else PYTHON2_4="$PYTHON" fi PYTHON="$PYTHON2_4" if test -n "$PYTHON"; then { echo "$as_me:$LINENO: checking whether $PYTHON version is >= 2.4.0" >&5 echo $ECHO_N "checking whether $PYTHON version is >= 2.4.0... $ECHO_C" >&6; } prog="import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.4.0', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)" if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 ($PYTHON -c "$prog") >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; }; PYTHON="" fi fi if test -z "$PYTHON"; then PYTHON="$_python_save" _python_save="$PYTHON" if test -z "$PYTHON"; then # Extract the first word of "python2.3", so it can be a program name with args. set dummy python2.3; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_PYTHON2_3+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PYTHON2_3 in [\\/]* | ?:[\\/]*) ac_cv_path_PYTHON2_3="$PYTHON2_3" # 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_PYTHON2_3="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PYTHON2_3=$ac_cv_path_PYTHON2_3 if test -n "$PYTHON2_3"; then { echo "$as_me:$LINENO: result: $PYTHON2_3" >&5 echo "${ECHO_T}$PYTHON2_3" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi else PYTHON2_3="$PYTHON" fi PYTHON="$PYTHON2_3" if test -n "$PYTHON"; then { echo "$as_me:$LINENO: checking whether $PYTHON version is >= 2.3.4" >&5 echo $ECHO_N "checking whether $PYTHON version is >= 2.3.4... $ECHO_C" >&6; } prog="import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.3.4', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)" if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 ($PYTHON -c "$prog") >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; }; PYTHON="" fi fi if test -z "$PYTHON"; then { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5 echo "$as_me: error: no suitable Python interpreter found" >&2;} { (exit 1); exit 1; }; } else { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; } if test "${am_cv_python_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` fi { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 echo "${ECHO_T}$am_cv_python_version" >&6; } PYTHON_VERSION=$am_cv_python_version PYTHON_PREFIX='${prefix}' PYTHON_EXEC_PREFIX='${exec_prefix}' { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; } if test "${am_cv_python_platform+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` fi { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 echo "${ECHO_T}$am_cv_python_platform" >&6; } PYTHON_PLATFORM=$am_cv_python_platform { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; } if test "${am_cv_python_pythondir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` fi { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 echo "${ECHO_T}$am_cv_python_pythondir" >&6; } pythondir=$am_cv_python_pythondir pkgpythondir=\${pythondir}/$PACKAGE { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; } if test "${am_cv_python_pyexecdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` fi { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; } pyexecdir=$am_cv_python_pyexecdir pkgpyexecdir=\${pyexecdir}/$PACKAGE fi else { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; } if test "${am_cv_python_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` fi { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 echo "${ECHO_T}$am_cv_python_version" >&6; } PYTHON_VERSION=$am_cv_python_version PYTHON_PREFIX='${prefix}' PYTHON_EXEC_PREFIX='${exec_prefix}' { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; } if test "${am_cv_python_platform+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` fi { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 echo "${ECHO_T}$am_cv_python_platform" >&6; } PYTHON_PLATFORM=$am_cv_python_platform { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; } if test "${am_cv_python_pythondir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` fi { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 echo "${ECHO_T}$am_cv_python_pythondir" >&6; } pythondir=$am_cv_python_pythondir pkgpythondir=\${pythondir}/$PACKAGE { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; } if test "${am_cv_python_pyexecdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` fi { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; } pyexecdir=$am_cv_python_pyexecdir pkgpyexecdir=\${pyexecdir}/$PACKAGE fi else { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; } if test "${am_cv_python_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` fi { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 echo "${ECHO_T}$am_cv_python_version" >&6; } PYTHON_VERSION=$am_cv_python_version PYTHON_PREFIX='${prefix}' PYTHON_EXEC_PREFIX='${exec_prefix}' { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; } if test "${am_cv_python_platform+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` fi { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 echo "${ECHO_T}$am_cv_python_platform" >&6; } PYTHON_PLATFORM=$am_cv_python_platform { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; } if test "${am_cv_python_pythondir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` fi { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 echo "${ECHO_T}$am_cv_python_pythondir" >&6; } pythondir=$am_cv_python_pythondir pkgpythondir=\${pythondir}/$PACKAGE { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; } if test "${am_cv_python_pyexecdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` fi { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; } pyexecdir=$am_cv_python_pyexecdir pkgpyexecdir=\${pyexecdir}/$PACKAGE fi if test "x$prefix" = xNONE; then echo $ECHO_N "checking for prefix by $ECHO_C" >&6 # Extract the first word of "bonobo-activation-run-query", so it can be a program name with args. set dummy bonobo-activation-run-query; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_ac_prefix_program+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $ac_prefix_program in [\\/]* | ?:[\\/]*) ac_cv_path_ac_prefix_program="$ac_prefix_program" # 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_prefix_program="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_prefix_program=$ac_cv_path_ac_prefix_program if test -n "$ac_prefix_program"; then { echo "$as_me:$LINENO: result: $ac_prefix_program" >&5 echo "${ECHO_T}$ac_prefix_program" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test -n "$ac_prefix_program"; then prefix=`$as_dirname -- "$ac_prefix_program" || $as_expr X"$ac_prefix_program" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$ac_prefix_program" : 'X\(//\)[^/]' \| \ X"$ac_prefix_program" : 'X\(//\)$' \| \ X"$ac_prefix_program" : 'X\(/\)' \| . 2>/dev/null || echo X"$ac_prefix_program" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` prefix=`$as_dirname -- "$prefix" || $as_expr X"$prefix" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$prefix" : 'X\(//\)[^/]' \| \ X"$prefix" : 'X\(//\)$' \| \ X"$prefix" : 'X\(/\)' \| . 2>/dev/null || echo X"$prefix" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` fi fi if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { 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" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 echo "${ECHO_T}$PKG_CONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if { 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" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&5 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools whose name does not start with the host triplet. If you think this configuration is useful to you, please write to autoconf@gnu.org." >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } PKG_CONFIG="" fi fi pkg_failed=no { echo "$as_me:$LINENO: checking for GNOME_OSD" >&5 echo $ECHO_N "checking for GNOME_OSD... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GNOME_OSD_CFLAGS"; then pkg_cv_GNOME_OSD_CFLAGS="$GNOME_OSD_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.4.0 gnome-python-2.0 >= 2.6.0\"") >&5 ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.4.0 gnome-python-2.0 >= 2.6.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GNOME_OSD_CFLAGS=`$PKG_CONFIG --cflags "pygtk-2.0 >= 2.4.0 gnome-python-2.0 >= 2.6.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GNOME_OSD_LIBS"; then pkg_cv_GNOME_OSD_LIBS="$GNOME_OSD_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pygtk-2.0 >= 2.4.0 gnome-python-2.0 >= 2.6.0\"") >&5 ($PKG_CONFIG --exists --print-errors "pygtk-2.0 >= 2.4.0 gnome-python-2.0 >= 2.6.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GNOME_OSD_LIBS=`$PKG_CONFIG --libs "pygtk-2.0 >= 2.4.0 gnome-python-2.0 >= 2.6.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test $pkg_failed = yes; then if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then GNOME_OSD_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pygtk-2.0 >= 2.4.0 gnome-python-2.0 >= 2.6.0"` else GNOME_OSD_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pygtk-2.0 >= 2.4.0 gnome-python-2.0 >= 2.6.0"` fi # Put the nasty error message in config.log where it belongs echo "$GNOME_OSD_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (pygtk-2.0 >= 2.4.0 gnome-python-2.0 >= 2.6.0) were not met: $GNOME_OSD_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_OSD_CFLAGS and GNOME_OSD_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 echo "$as_me: error: Package requirements (pygtk-2.0 >= 2.4.0 gnome-python-2.0 >= 2.6.0) were not met: $GNOME_OSD_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_OSD_CFLAGS and GNOME_OSD_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&2;} { (exit 1); exit 1; }; } elif test $pkg_failed = untried; then { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GNOME_OSD_CFLAGS and GNOME_OSD_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&5 echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables GNOME_OSD_CFLAGS and GNOME_OSD_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } else GNOME_OSD_CFLAGS=$pkg_cv_GNOME_OSD_CFLAGS GNOME_OSD_LIBS=$pkg_cv_GNOME_OSD_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : fi # -===- -===- if test -n "$PYTHON"; then # If the user set $PYTHON, use it and don't search something else. { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.3" >&5 echo $ECHO_N "checking whether $PYTHON version >= 2.3... $ECHO_C" >&6; } prog="import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.3', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)" if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5 ($PYTHON -c "$prog") >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { { echo "$as_me:$LINENO: error: too old" >&5 echo "$as_me: error: too old" >&2;} { (exit 1); exit 1; }; } fi am_display_PYTHON=$PYTHON else # Otherwise, try each interpreter until we find one that satisfies # VERSION. { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.3" >&5 echo $ECHO_N "checking for a Python interpreter with version >= 2.3... $ECHO_C" >&6; } if test "${am_cv_pathless_PYTHON+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do test "$am_cv_pathless_PYTHON" = none && break prog="import sys, string # split strings by '.' and convert to numeric. Append some zeros # because we need at least 4 digits for the hex conversion. minver = map(int, string.split('2.3', '.')) + [0, 0, 0] minverhex = 0 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i] sys.exit(sys.hexversion < minverhex)" if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then break fi done fi { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; } # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. if test "$am_cv_pathless_PYTHON" = none; then PYTHON=: else # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args. set dummy $am_cv_pathless_PYTHON; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_PYTHON+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $PYTHON in [\\/]* | ?:[\\/]*) ac_cv_path_PYTHON="$PYTHON" # 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_PYTHON="$as_dir/$ac_word$ac_exec_ext" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PYTHON=$ac_cv_path_PYTHON if test -n "$PYTHON"; then { echo "$as_me:$LINENO: result: $PYTHON" >&5 echo "${ECHO_T}$PYTHON" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi am_display_PYTHON=$am_cv_pathless_PYTHON fi if test "$PYTHON" = :; then { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5 echo "$as_me: error: no suitable Python interpreter found" >&2;} { (exit 1); exit 1; }; } else { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; } if test "${am_cv_python_version+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` fi { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5 echo "${ECHO_T}$am_cv_python_version" >&6; } PYTHON_VERSION=$am_cv_python_version PYTHON_PREFIX='${prefix}' PYTHON_EXEC_PREFIX='${exec_prefix}' { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; } if test "${am_cv_python_platform+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` fi { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5 echo "${ECHO_T}$am_cv_python_platform" >&6; } PYTHON_PLATFORM=$am_cv_python_platform { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; } if test "${am_cv_python_pythondir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` fi { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5 echo "${ECHO_T}$am_cv_python_pythondir" >&6; } pythondir=$am_cv_python_pythondir pkgpythondir=\${pythondir}/$PACKAGE { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; } if test "${am_cv_python_pyexecdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` fi { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; } pyexecdir=$am_cv_python_pyexecdir pkgpyexecdir=\${pyexecdir}/$PACKAGE fi # -===- -===- # Extract the first word of "gconftool-2", so it can be a program name with args. set dummy gconftool-2; ac_word=$2 { echo "$as_me:$LINENO: checking for $ac_word" >&5 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } if test "${ac_cv_path_GCONFTOOL+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&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" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS test -z "$ac_cv_path_GCONFTOOL" && ac_cv_path_GCONFTOOL="no" ;; esac fi GCONFTOOL=$ac_cv_path_GCONFTOOL if test -n "$GCONFTOOL"; then { echo "$as_me:$LINENO: result: $GCONFTOOL" >&5 echo "${ECHO_T}$GCONFTOOL" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test x"$GCONFTOOL" = xno; then { { echo "$as_me:$LINENO: error: gconftool-2 executable not found in your path - should be installed with GConf" >&5 echo "$as_me: error: gconftool-2 executable not found in your path - should be installed with GConf" >&2;} { (exit 1); exit 1; }; } 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 { echo "$as_me:$LINENO: result: Using config source $GCONF_SCHEMA_CONFIG_SOURCE for schema installation" >&5 echo "${ECHO_T}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 { echo "$as_me:$LINENO: result: Using $GCONF_SCHEMA_FILE_DIR as install directory for schema files" >&5 echo "${ECHO_T}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) ;; *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-schemas-install" >&5 echo "$as_me: error: bad value ${enableval} for --enable-schemas-install" >&2;} { (exit 1); exit 1; }; } ;; 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 # -===- -===- ac_config_files="$ac_config_files Makefile po/Makefile.in gnomeosd/Makefile man/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( *) $as_unset $ac_var ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote # substitution turns \\\\ into \\, and sed turns \\ into \). sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then test "x$cache_file" != "x/dev/null" && { echo "$as_me:$LINENO: updating cache $cache_file" >&5 echo "$as_me: updating cache $cache_file" >&6;} cat confcache >$cache_file else { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' # Transform confdefs.h into DEFS. # Protect against shell expansion while executing Makefile rules. # Protect against Makefile macro expansion. # # If the first sed substitution is executed (which looks for macros that # take arguments), then branch to the quote section. Otherwise, # look for a macro that doesn't take arguments. ac_script=' t clear :clear s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g t quote s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g t quote b any :quote s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g s/\[/\\&/g s/\]/\\&/g s/\$/$$/g H :any ${ g s/^\n// s/\n/ /g p } ' DEFS=`sed -n "$ac_script" confdefs.h` ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi ac_config_commands="$ac_config_commands po/stamp-it" if test -z "${GCONF_SCHEMAS_INSTALL_TRUE}" && test -z "${GCONF_SCHEMAS_INSTALL_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"GCONF_SCHEMAS_INSTALL\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi : ${CONFIG_STATUS=./config.status} ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 echo "$as_me: creating $CONFIG_STATUS" >&6;} cat >$CONFIG_STATUS <<_ACEOF #! $SHELL # Generated by $as_me. # Run this file to recreate the current configuration. # Compiler output produced by configure, useful for debugging # configure, is in config.log if it exists. debug=false ac_cs_recheck=false ac_cs_silent=false SHELL=\${CONFIG_SHELL-$SHELL} _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ## --------------------- ## ## M4sh Initialization. ## ## --------------------- ## # Be 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=: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which # is contrary to our usage. Disable this feature. alias -g '${1+"$@"}'='"$@"' setopt NO_GLOB_SUBST else case `(set -o) 2>/dev/null` in *posix*) set -o posix ;; esac fi # PATH needs CR # Avoid depending upon Character Ranges. as_cr_letters='abcdefghijklmnopqrstuvwxyz' as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' as_cr_Letters=$as_cr_letters$as_cr_LETTERS as_cr_digits='0123456789' as_cr_alnum=$as_cr_Letters$as_cr_digits # The user is always right. if test "${PATH_SEPARATOR+set}" != set; then echo "#! /bin/sh" >conf$$.sh echo "exit 0" >>conf$$.sh chmod +x conf$$.sh if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then PATH_SEPARATOR=';' else PATH_SEPARATOR=: fi rm -f conf$$.sh fi # Support unset when possible. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then as_unset=unset else as_unset=false fi # IFS # We need space, tab and new line, in precisely that order. Quoting is # there to prevent editors from complaining about space-tab. # (If _AS_PATH_WALK were called with IFS unset, it would disable word # splitting by setting IFS to empty value.) as_nl=' ' IFS=" "" $as_nl" # Find who we are. Look in the path if we contain no directory separator. case $0 in *[\\/]* ) as_myself=$0 ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break done IFS=$as_save_IFS ;; esac # We did not find ourselves, most probably we were run as `sh COMMAND' # in which case we are not to be found in the path. if test "x$as_myself" = x; then as_myself=$0 fi if test ! -f "$as_myself"; then echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 { (exit 1); exit 1; } fi # Work around bugs in pre-3.0 UWIN ksh. for as_var in ENV MAIL MAILPATH do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. for as_var in \ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ LC_TELEPHONE LC_TIME do if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then eval $as_var=C; export $as_var else ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var fi done # Required to use basename. if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then as_basename=basename else as_basename=false fi # Name of the executable. as_me=`$as_basename -- "$0" || $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ X"$0" : 'X\(//\)$' \| \ X"$0" : 'X\(/\)' \| . 2>/dev/null || echo X/"$0" | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/ q } /^X\/\(\/\/\)$/{ s//\1/ q } /^X\/\(\/\).*/{ s//\1/ q } s/.*/./; q'` # CDPATH. $as_unset CDPATH as_lineno_1=$LINENO as_lineno_2=$LINENO test "x$as_lineno_1" != "x$as_lineno_2" && test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { # Create $as_me.lineno as a copy of $as_myself, but with $LINENO # uniformly replaced by the line number. The first 'sed' inserts a # line-number line after each line using $LINENO; the second 'sed' # does the real work. The second script uses 'N' to pair each # line-number line with the line containing $LINENO, and appends # trailing '-' during substitution so that $LINENO is not a special # case at line end. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the # scripts with optimization help from Paolo Bonzini. Blame Lee # E. McMahon (1931-1989) for sed's syntax. :-) sed -n ' p /[$]LINENO/= ' <$as_myself | sed ' s/[$]LINENO.*/&-/ t lineno b :lineno N :loop s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ t loop s/-\n.*// ' >$as_me.lineno && chmod +x "$as_me.lineno" || { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 { (exit 1); exit 1; }; } # Don't try to exec as it changes $[0], causing all sort of problems # (the dirname of $[0] is not the place where we might find the # original and so on. Autoconf is especially sensitive to this). . "./$as_me.lineno" # Exit status is that of the last command. exit } if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in -n*) case `echo 'x\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. *) ECHO_C='\c';; esac;; *) ECHO_N='-n';; esac if expr a : '\(a\)' >/dev/null 2>&1 && test "X`expr 00001 : '.*\(...\)'`" = X001; then as_expr=expr else as_expr=false fi rm -f conf$$ conf$$.exe conf$$.file if test -d conf$$.dir; then rm -f conf$$.dir/conf$$.file else rm -f conf$$.dir mkdir conf$$.dir fi echo >conf$$.file 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 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null if mkdir -p . 2>/dev/null; then as_mkdir_p=: else test -d ./-p && rmdir ./-p as_mkdir_p=false fi if test -x / >/dev/null 2>&1; then as_test_x='test -x' else if ls -dL / >/dev/null 2>&1; then as_ls_L_option=L else as_ls_L_option= fi as_test_x=' eval sh -c '\'' if test -d "$1"; then test -d "$1/."; else case $1 in -*)set "./$1";; esac; case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in ???[sx]*):;;*)false;;esac;fi '\'' sh ' fi as_executable_p=$as_test_x # Sed expression to map a string onto a valid CPP name. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" # Sed expression to map a string onto a valid variable name. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" exec 6>&1 # Save the log message, to keep $[0] and so on meaningful, and to # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" This file was extended by $as_me, which was generated by GNU Autoconf 2.61. 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 cat >>$CONFIG_STATUS <<_ACEOF # Files that config.status was made for. config_files="$ac_config_files" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF ac_cs_usage="\ \`$as_me' instantiates files from templates according to the current configuration. Usage: $0 [OPTIONS] [FILE]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit -q, --quiet do not print progress messages -d, --debug don't remove temporary files --recheck update $as_me by reconfiguring in the same conditions --file=FILE[:TEMPLATE] instantiate the configuration file FILE Configuration files: $config_files Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ config.status configured by $0, generated by GNU Autoconf 2.61, with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" Copyright (C) 2006 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' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # If no file are specified by the user, then we need to provide default # value. By we need to know if files were specified by the user. ac_need_defaults=: while test $# != 0 do case $1 in --*=*) ac_option=`expr "X$1" : 'X\([^=]*\)='` ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` ac_shift=: ;; *) ac_option=$1 ac_optarg=$2 ac_shift=shift ;; 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 ) echo "$ac_cs_version"; exit ;; --debug | --debu | --deb | --de | --d | -d ) debug=: ;; --file | --fil | --fi | --f ) $ac_shift CONFIG_FILES="$CONFIG_FILES $ac_optarg" ac_need_defaults=false;; --he | --h | --help | --hel | -h ) 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. -*) { echo "$as_me: error: unrecognized option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } ;; *) ac_config_targets="$ac_config_targets $1" ac_need_defaults=false ;; esac shift done ac_configure_extra_args= if $ac_cs_silent; then exec 6>/dev/null ac_configure_extra_args="$ac_configure_extra_args --silent" fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF if \$ac_cs_recheck; then echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 CONFIG_SHELL=$SHELL export CONFIG_SHELL exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF exec 5>>config.log { echo sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX ## Running $as_me. ## _ASBOX echo "$ac_log" } >&5 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" INTLTOOL_PERL='${INTLTOOL_PERL}' ac_aux_dir='${ac_aux_dir}' prefix="$prefix" exec_prefix="$exec_prefix" INTLTOOL_LIBDIR="$libdir" INTLTOOL_EXTRACT='${INTLTOOL_EXTRACT}' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # Handling of arguments. for ac_config_target in $ac_config_targets do case $ac_config_target in "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "gnomeosd/Makefile") CONFIG_FILES="$CONFIG_FILES gnomeosd/Makefile" ;; "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;; "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} { (exit 1); exit 1; }; };; esac done # If the user did not use the arguments to specify the items to instantiate, # then the envvar interface is used. Set only those that are not. # We use the long form for the default assignment because of an extremely # bizarre bug on SunOS 4.1.3. if $ac_need_defaults; then test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files test "${CONFIG_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= trap 'exit_status=$? { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status ' 0 trap '{ (exit 1); exit 1; }' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || { echo "$me: cannot create a temporary directory in ." >&2 { (exit 1); exit 1; } } # # Set up the sed scripts for CONFIG_FILES section. # # No need to generate the scripts if there are no CONFIG_FILES. # This happens for instance when ./config.status config.h if test -n "$CONFIG_FILES"; then _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF SHELL!$SHELL$ac_delim PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim PACKAGE_NAME!$PACKAGE_NAME$ac_delim PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim PACKAGE_STRING!$PACKAGE_STRING$ac_delim PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim exec_prefix!$exec_prefix$ac_delim prefix!$prefix$ac_delim program_transform_name!$program_transform_name$ac_delim bindir!$bindir$ac_delim sbindir!$sbindir$ac_delim libexecdir!$libexecdir$ac_delim datarootdir!$datarootdir$ac_delim datadir!$datadir$ac_delim sysconfdir!$sysconfdir$ac_delim sharedstatedir!$sharedstatedir$ac_delim localstatedir!$localstatedir$ac_delim includedir!$includedir$ac_delim oldincludedir!$oldincludedir$ac_delim docdir!$docdir$ac_delim infodir!$infodir$ac_delim htmldir!$htmldir$ac_delim dvidir!$dvidir$ac_delim pdfdir!$pdfdir$ac_delim psdir!$psdir$ac_delim libdir!$libdir$ac_delim localedir!$localedir$ac_delim mandir!$mandir$ac_delim DEFS!$DEFS$ac_delim ECHO_C!$ECHO_C$ac_delim ECHO_N!$ECHO_N$ac_delim ECHO_T!$ECHO_T$ac_delim LIBS!$LIBS$ac_delim build_alias!$build_alias$ac_delim host_alias!$host_alias$ac_delim target_alias!$target_alias$ac_delim INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim INSTALL_DATA!$INSTALL_DATA$ac_delim CYGPATH_W!$CYGPATH_W$ac_delim PACKAGE!$PACKAGE$ac_delim VERSION!$VERSION$ac_delim ACLOCAL!$ACLOCAL$ac_delim AUTOCONF!$AUTOCONF$ac_delim AUTOMAKE!$AUTOMAKE$ac_delim AUTOHEADER!$AUTOHEADER$ac_delim MAKEINFO!$MAKEINFO$ac_delim install_sh!$install_sh$ac_delim STRIP!$STRIP$ac_delim INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim mkdir_p!$mkdir_p$ac_delim AWK!$AWK$ac_delim SET_MAKE!$SET_MAKE$ac_delim am__leading_dot!$am__leading_dot$ac_delim AMTAR!$AMTAR$ac_delim am__tar!$am__tar$ac_delim am__untar!$am__untar$ac_delim MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim MAINT!$MAINT$ac_delim GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim CC!$CC$ac_delim CFLAGS!$CFLAGS$ac_delim LDFLAGS!$LDFLAGS$ac_delim CPPFLAGS!$CPPFLAGS$ac_delim ac_ct_CC!$ac_ct_CC$ac_delim EXEEXT!$EXEEXT$ac_delim OBJEXT!$OBJEXT$ac_delim DEPDIR!$DEPDIR$ac_delim am__include!$am__include$ac_delim am__quote!$am__quote$ac_delim AMDEP_TRUE!$AMDEP_TRUE$ac_delim AMDEP_FALSE!$AMDEP_FALSE$ac_delim AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim CCDEPMODE!$CCDEPMODE$ac_delim am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim CPP!$CPP$ac_delim GREP!$GREP$ac_delim EGREP!$EGREP$ac_delim USE_NLS!$USE_NLS$ac_delim MSGFMT!$MSGFMT$ac_delim MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim GMSGFMT!$GMSGFMT$ac_delim XGETTEXT!$XGETTEXT$ac_delim CATALOGS!$CATALOGS$ac_delim CATOBJEXT!$CATOBJEXT$ac_delim DATADIRNAME!$DATADIRNAME$ac_delim GMOFILES!$GMOFILES$ac_delim INSTOBJEXT!$INSTOBJEXT$ac_delim INTLLIBS!$INTLLIBS$ac_delim PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim POFILES!$POFILES$ac_delim POSUB!$POSUB$ac_delim MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` if test -n "$ac_eof"; then ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` ac_eof=`expr $ac_eof + 1` fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof /@[a-zA-Z_][a-zA-Z_0-9]*@/!b _ACEOF sed ' s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g s/^/s,@/; s/!/@,|#_!!_#|/ :n t n s/'"$ac_delim"'$/,g/; t s/$/\\/; p N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF CEOF$ac_eof _ACEOF ac_delim='%!_!# ' for ac_last_try in false false false false false :; do cat >conf$$subs.sed <<_ACEOF INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim INTLTOOL_POLICY_RULE!$INTLTOOL_POLICY_RULE$ac_delim MSGMERGE!$MSGMERGE$ac_delim INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim ALL_LINGUAS!$ALL_LINGUAS$ac_delim PYTHON2_3!$PYTHON2_3$ac_delim PYTHON!$PYTHON$ac_delim PYTHON2_3!$PYTHON2_3$ac_delim PYTHON2_3!$PYTHON2_3$ac_delim PYTHON_VERSION!$PYTHON_VERSION$ac_delim PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim pythondir!$pythondir$ac_delim pkgpythondir!$pkgpythondir$ac_delim pyexecdir!$pyexecdir$ac_delim pkgpyexecdir!$pkgpyexecdir$ac_delim ac_prefix_program!$ac_prefix_program$ac_delim PKG_CONFIG!$PKG_CONFIG$ac_delim GNOME_OSD_CFLAGS!$GNOME_OSD_CFLAGS$ac_delim GNOME_OSD_LIBS!$GNOME_OSD_LIBS$ac_delim GCONFTOOL!$GCONFTOOL$ac_delim GCONF_SCHEMA_CONFIG_SOURCE!$GCONF_SCHEMA_CONFIG_SOURCE$ac_delim GCONF_SCHEMA_FILE_DIR!$GCONF_SCHEMA_FILE_DIR$ac_delim GCONF_SCHEMAS_INSTALL_TRUE!$GCONF_SCHEMAS_INSTALL_TRUE$ac_delim GCONF_SCHEMAS_INSTALL_FALSE!$GCONF_SCHEMAS_INSTALL_FALSE$ac_delim LIBOBJS!$LIBOBJS$ac_delim LTLIBOBJS!$LTLIBOBJS$ac_delim _ACEOF if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 48; then break elif $ac_last_try; then { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} { (exit 1); exit 1; }; } else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` if test -n "$ac_eof"; then ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` ac_eof=`expr $ac_eof + 1` fi cat >>$CONFIG_STATUS <<_ACEOF cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end _ACEOF sed ' s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g s/^/s,@/; s/!/@,|#_!!_#|/ :n t n s/'"$ac_delim"'$/,g/; t s/$/\\/; p N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n ' >>$CONFIG_STATUS >$CONFIG_STATUS <<_ACEOF :end s/|#_!!_#|//g CEOF$ac_eof _ACEOF # VPATH may cause trouble with some makes, so we remove $(srcdir), # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=/{ s/:*\$(srcdir):*/:/ s/:*\${srcdir}:*/:/ s/:*@srcdir@:*/:/ s/^\([^=]*=[ ]*\):*/\1/ s/:*$// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF fi # test -n "$CONFIG_FILES" for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS do case $ac_tag in :[FHLC]) ac_mode=$ac_tag; continue;; esac case $ac_mode$ac_tag in :[FHL]*:*);; :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 echo "$as_me: error: Invalid tag $ac_tag." >&2;} { (exit 1); exit 1; }; };; :[FH]-) ac_tag=-:-;; :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; esac ac_save_IFS=$IFS IFS=: set x $ac_tag IFS=$ac_save_IFS shift ac_file=$1 shift case $ac_mode in :L) ac_source=$1;; :[FH]) ac_file_inputs= for ac_f do case $ac_f in -) ac_f="$tmp/stdin";; *) # Look for the file first in the build tree, then in the source tree # (if the path is not absolute). The absolute path cannot be DOS-style, # because $ac_f cannot contain `:'. test -f "$ac_f" || case $ac_f in [\\/$]*) false;; *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; esac || { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 echo "$as_me: error: cannot find input file: $ac_f" >&2;} { (exit 1); exit 1; }; };; esac ac_file_inputs="$ac_file_inputs $ac_f" done # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ configure_input="Generated from "`IFS=: echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." if test x"$ac_file" != x-; then configure_input="$ac_file. $configure_input" { echo "$as_me:$LINENO: creating $ac_file" >&5 echo "$as_me: creating $ac_file" >&6;} fi case $ac_tag in *:-:* | *:-) cat >"$tmp/stdin";; 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 || echo X"$ac_file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir="$ac_dir" case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`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 || 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" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } ac_builddir=. case "$ac_dir" in .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; *) ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` # A ".." for each directory in $ac_dir_suffix. ac_top_builddir_sub=`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 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF # 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= case `sed -n '/datarootdir/ { p q } /@datadir@/p /@docdir@/p /@infodir@/p /@localedir@/p /@mandir@/p ' $ac_file_inputs` in *datarootdir*) ac_datarootdir_seen=yes;; *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF 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 sed "$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF :t /@[a-zA-Z_][a-zA-Z_0-9]*@/!b s&@configure_input@&$configure_input&;t t s&@top_builddir@&$ac_top_builddir_sub&;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 $ac_datarootdir_hack " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&5 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' which seems to be undefined. Please make sure it is defined." >&2;} rm -f "$tmp/stdin" case $ac_file in -) cat "$tmp/out"; rm -f "$tmp/out";; *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; esac ;; :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5 echo "$as_me: executing $ac_file commands" >&6;} ;; esac case $ac_file$ac_mode in "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do # Strip MF so we end up with the name of the file. mf=`echo "$mf" | sed -e 's/:.*$//'` # Check whether this is an Automake generated Makefile or not. # We used to match only the files named `Makefile.in', but # some people rename them; so instead we look at the file content. # Grep'ing the first line is not enough: some people post-process # each Makefile.in and add a new line on top of each file to say so. # So let's grep whole file. if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then dirpart=`$as_dirname -- "$mf" || $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$mf" : 'X\(//\)[^/]' \| \ X"$mf" : 'X\(//\)$' \| \ X"$mf" : 'X\(/\)' \| . 2>/dev/null || echo X"$mf" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` else continue fi # Extract the definition of DEPDIR, am__include, and am__quote # from the Makefile without running `make'. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` test -z "$DEPDIR" && continue am__include=`sed -n 's/^am__include = //p' < "$mf"` test -z "am__include" && continue am__quote=`sed -n 's/^am__quote = //p' < "$mf"` # When using ansi2knr, U may be empty or an underscore; expand it U=`sed -n 's/^U = //p' < "$mf"` # Find all dependency output files, they are included files with # $(DEPDIR) in their names. We invoke sed twice because it is the # simplest approach to changing $(DEPDIR) to its actual value in the # expansion. for file in `sed -n " s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do # Make sure the directory exists. test -f "$dirpart/$file" && continue fdir=`$as_dirname -- "$file" || $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$file" : 'X\(//\)[^/]' \| \ X"$file" : 'X\(//\)$' \| \ X"$file" : 'X\(/\)' \| . 2>/dev/null || echo X"$file" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` { as_dir=$dirpart/$fdir case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { as_dirs= while :; do case $as_dir in #( *\'*) as_qdir=`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 || 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" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 echo "$as_me: error: cannot create directory $as_dir" >&2;} { (exit 1); exit 1; }; }; } # 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 ;; "intltool":C) for file in intltool-extract intltool-merge intltool-update; do sed -e "s|@INTLTOOL_EXTRACT@|`pwd`/intltool-extract|g" \ -e "s|@INTLTOOL_LIBDIR@|${INTLTOOL_LIBDIR}|g" \ -e "s|@INTLTOOL_PERL@|${INTLTOOL_PERL}|g" \ < ${ac_aux_dir}/${file}.in > ${file}.out if cmp -s ${file} ${file}.out 2>/dev/null; then rm -f ${file}.out else mv -f ${file}.out ${file} fi chmod ugo+x ${file} chmod u+w ${file} done ;; "po/stamp-it":C) 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" if test ! -f "po/Makefile"; then { { echo "$as_me:$LINENO: error: po/Makefile is not ready." >&5 echo "$as_me: error: po/Makefile is not ready." >&2;} { (exit 1); exit 1; }; } fi mv "po/Makefile" "po/Makefile.tmp" sed '/^POTFILES =/,/[^\\]$/ { /^POTFILES =/!d r po/POTFILES } ' "po/Makefile.tmp" >"po/Makefile" rm -f "po/Makefile.tmp" mv "po/stamp-it.tmp" "po/stamp-it" ;; esac done # for ac_tag { (exit 0); exit 0; } _ACEOF chmod +x $CONFIG_STATUS ac_clean_files=$ac_clean_files_save # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || { (exit 1); exit 1; } fi