libmimedir-0.4.2/0000777000175000017500000000000010654704037010645 500000000000000libmimedir-0.4.2/mkinstalldirs0000755000175000017500000000662210654703052013371 00000000000000#! /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: libmimedir-0.4.2/depcomp0000755000175000017500000003710010654703052012133 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2005-07-09.11 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 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 Alexandre Oliva . case $1 in '') echo "$0: No command. Try \`$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by `PROGRAMS ARGS'. object Object file output by `PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputing dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" alpha=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz ## The second -e expression handles DOS-style file names with drive letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the `deleted header file' problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. tr ' ' ' ' < "$tmpdepfile" | ## Some versions of gcc put a space before the `:'. On the theory ## that the space means something, we add a space to the output as ## well. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like `#:fec' to the end of the # dependency line. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \ tr ' ' ' ' >> $depfile echo >> $depfile # The second pass generates a dummy entry for each header file. tr ' ' ' ' < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> $depfile else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts `$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'` tmpdepfile="$stripped.u" if test "$libtool" = yes; then "$@" -Wc,-M else "$@" -M fi stat=$? if test -f "$tmpdepfile"; then : else stripped=`echo "$stripped" | sed 's,^.*/,,'` tmpdepfile="$stripped.u" fi if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi if test -f "$tmpdepfile"; then outname="$stripped.o" # Each line is of the form `foo.o: dependent.h'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile" sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile" else # The sourcefile does not contain any dependencies, so just # store a dummy comment line, to avoid errors with the Makefile # "include basename.Plo" scheme. echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; icc) # Intel's C compiler understands `-MD -MF file'. However on # icc -MD -MF foo.d -c -o sub/foo.o sub/foo.c # ICC 7.0 will fill foo.d with something like # foo.o: sub/foo.c # foo.o: sub/foo.h # which is wrong. We want: # sub/foo.o: sub/foo.c # sub/foo.o: sub/foo.h # sub/foo.c: # sub/foo.h: # ICC 7.1 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using \ : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. `cc -MD -o foo.o ...' puts the dependencies into `foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in `foo.d' instead, so we check for that too. # Subdirectories are respected. dir=`echo "$object" | sed -e 's|/[^/]*$|/|'` test "x$dir" = "x$object" && dir= base=`echo "$object" | sed -e 's|^.*/||' -e 's/\.o$//' -e 's/\.lo$//'` if test "$libtool" = yes; then # With Tru64 cc, shared objects can also be used to make a # static library. This mecanism is used in libtool 1.4 series to # handle both shared and static libraries in a single compilation. # With libtool 1.4, dependencies were output in $dir.libs/$base.lo.d. # # With libtool 1.5 this exception was removed, and libtool now # generates 2 separate objects for the 2 libraries. These two # compilations output dependencies in in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir.libs/$base.lo.d # libtool 1.4 tmpdepfile2=$dir$base.o.d # libtool 1.5 tmpdepfile3=$dir.libs/$base.o.d # libtool 1.5 tmpdepfile4=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.o.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d tmpdepfile4=$dir$base.d "$@" -MD fi stat=$? if test $stat -eq 0; then : else rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" "$tmpdepfile4" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[a-z]*:,$object:," < "$tmpdepfile" > "$depfile" # That's a tab and a space in the []. sed -e 's,^.*\.[a-z]*:[ ]*,,' -e 's,$,:,' < "$tmpdepfile" >> "$depfile" else echo "#dummy" > "$depfile" fi rm -f "$tmpdepfile" ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for `:' # in the target name. This is to cope with DOS-style filenames: # a dependency such as `c:/foo/bar' could be seen as target `c' otherwise. "$@" $dashmflag | sed 's:^[ ]*[^: ][^:][^:]*\:[ ]*:'"$object"'\: :' > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" tr ' ' ' ' < "$tmpdepfile" | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # X makedepend shift cleared=no for arg in "$@"; do case $cleared in no) set ""; shift cleared=yes ;; esac case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix="`echo $object | sed 's/^.*\././'`" touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" sed '1,2d' "$tmpdepfile" | tr ' ' ' ' | \ ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test $1 != '--mode=compile'; do shift done shift fi # Remove `-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o, # because we must use -o when running libtool. "$@" || exit $? IFS=" " for arg do case "$arg" in "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile" echo " " >> "$depfile" . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-end: "$" # End: libmimedir-0.4.2/Makefile.am0000644000175000017500000000047010654447702012621 00000000000000SUBDIRS = mimedir bin po docs EXTRA_DIST = \ COPYING.LIB \ mimedir-1.0.pc.in \ intltool-extract.in \ intltool-merge.in \ intltool-update.in distclean-local: $(RM) -f intltool-extract intltool-merge intltool-update pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = mimedir-1.0.pc include gpe-dist.am libmimedir-0.4.2/configure0000755000175000017500000301754710654700112012477 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for MIME Directory Library 0.4.2. # # Report bugs to . # # 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'" # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` ;; esac echo=${ECHO-echo} if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "$0" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null 2>&1 && unset CDPATH if test -z "$ECHO"; then if test "X${echo_test_string+set}" != Xset; then # find a string as large as possible, as long as the shell can cope with it for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... if (echo_test_string=`eval $cmd`) 2>/dev/null && echo_test_string=`eval $cmd` && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL $0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL $0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "$0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" fi tagnames=${tagnames+${tagnames},}CXX tagnames=${tagnames+${tagnames},}F77 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='MIME Directory Library' PACKAGE_TARNAME='libmimedir' PACKAGE_VERSION='0.4.2' PACKAGE_STRING='MIME Directory Library 0.4.2' PACKAGE_BUGREPORT='mailto:gpe-list@linuxtogo.org' ac_unique_file="mimedir/mimedir-attribute.c" # 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 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_EXTRACT INTLTOOL_MERGE INTLTOOL_UPDATE INTLTOOL_PERL INTLTOOL_ICONV INTLTOOL_MSGFMT INTLTOOL_MSGMERGE INTLTOOL_XGETTEXT ALL_LINGUAS 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 DATADIRNAME MIMEDIR_MAJOR_VERSION MIMEDIR_MINOR_VERSION MIMEDIR_MICRO_VERSION LT_CURRENT LT_REVISION LT_AGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT build build_cpu build_vendor build_os host host_cpu host_vendor host_os GREP EGREP LN_S ECHO AR RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG GLIB_CFLAGS GLIB_LIBS GLIB_GENMARSHAL GETTEXT_PACKAGE USE_NLS MSGFMT MSGFMT_OPTS GMSGFMT XGETTEXT CATALOGS CATOBJEXT GMOFILES INSTOBJEXT INTLLIBS PO_IN_DATADIR_TRUE PO_IN_DATADIR_FALSE POFILES POSUB MKINSTALLDIRS HTML_DIR GTKDOC ENABLE_GTK_DOC_TRUE ENABLE_GTK_DOC_FALSE LIBOBJS LTLIBOBJS' ac_subst_files='' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP CXX CXXFLAGS CCC CXXCPP F77 FFLAGS PKG_CONFIG GLIB_CFLAGS GLIB_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_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *) ac_optarg=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 MIME Directory Library 0.4.2 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/libmimedir] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of MIME Directory Library 0.4.2:";; esac cat <<\_ACEOF Optional Features: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-dependency-tracking speeds up one-time build --enable-dependency-tracking do not reject slow dependency extractors --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer --enable-shared[=PKGS] build shared libraries [default=yes] --enable-static[=PKGS] build static libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --enable-gtk-doc Use gtk-doc to build documentation default=auto Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-pic try to use only PIC/non-PIC objects [default=use both] --with-tags[=TAGS] include additional configurations [automatic] --with-html-dir=PATH path to installed docs 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 CXX C++ compiler command CXXFLAGS C++ compiler flags CXXCPP C++ preprocessor F77 Fortran 77 compiler command FFLAGS Fortran 77 compiler flags PKG_CONFIG path to pkg-config utility GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config GLIB_LIBS linker flags for GLIB, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || 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 MIME Directory Library configure 0.4.2 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 MIME Directory Library $as_me 0.4.2, 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=libmimedir VERSION=0.4.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 -' 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 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 $< $@' # 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 # Extract the first word of "iconv", so it can be a program name with args. set dummy iconv; 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_ICONV+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $INTLTOOL_ICONV in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_ICONV="$INTLTOOL_ICONV" # 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_ICONV="$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_INTLTOOL_ICONV" && ac_cv_path_INTLTOOL_ICONV="iconv" ;; esac fi INTLTOOL_ICONV=$ac_cv_path_INTLTOOL_ICONV if test -n "$INTLTOOL_ICONV"; then { echo "$as_me:$LINENO: result: $INTLTOOL_ICONV" >&5 echo "${ECHO_T}$INTLTOOL_ICONV" >&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_INTLTOOL_MSGFMT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $INTLTOOL_MSGFMT in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_MSGFMT="$INTLTOOL_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_INTLTOOL_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 test -z "$ac_cv_path_INTLTOOL_MSGFMT" && ac_cv_path_INTLTOOL_MSGFMT="msgfmt" ;; esac fi INTLTOOL_MSGFMT=$ac_cv_path_INTLTOOL_MSGFMT if test -n "$INTLTOOL_MSGFMT"; then { echo "$as_me:$LINENO: result: $INTLTOOL_MSGFMT" >&5 echo "${ECHO_T}$INTLTOOL_MSGFMT" >&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_INTLTOOL_MSGMERGE+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $INTLTOOL_MSGMERGE in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_MSGMERGE="$INTLTOOL_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_INTLTOOL_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 test -z "$ac_cv_path_INTLTOOL_MSGMERGE" && ac_cv_path_INTLTOOL_MSGMERGE="msgmerge" ;; esac fi INTLTOOL_MSGMERGE=$ac_cv_path_INTLTOOL_MSGMERGE if test -n "$INTLTOOL_MSGMERGE"; then { echo "$as_me:$LINENO: result: $INTLTOOL_MSGMERGE" >&5 echo "${ECHO_T}$INTLTOOL_MSGMERGE" >&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_INTLTOOL_XGETTEXT+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $INTLTOOL_XGETTEXT in [\\/]* | ?:[\\/]*) ac_cv_path_INTLTOOL_XGETTEXT="$INTLTOOL_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_INTLTOOL_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 test -z "$ac_cv_path_INTLTOOL_XGETTEXT" && ac_cv_path_INTLTOOL_XGETTEXT="xgettext" ;; esac fi INTLTOOL_XGETTEXT=$ac_cv_path_INTLTOOL_XGETTEXT if test -n "$INTLTOOL_XGETTEXT"; then { echo "$as_me:$LINENO: result: $INTLTOOL_XGETTEXT" >&5 echo "${ECHO_T}$INTLTOOL_XGETTEXT" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } 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" ac_config_headers="$ac_config_headers config.h" MIMEDIR_MAJOR_VERSION=0 MIMEDIR_MINOR_VERSION=4 MIMEDIR_MICRO_VERSION=0 MIMEDIR_VERSION=$MIMEDIR_MAJOR_VERSION.$MIMEDIR_MINOR_VERSION.$MIMEDIR_MICRO_VERSION LT_CURRENT=0 LT_REVISION=0 LT_AGE=0 { 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 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); } { 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 { echo "$as_me:$LINENO: checking for library containing strerror" >&5 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } if test "${ac_cv_search_strerror+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_func_search_save_LIBS=$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 strerror (); int main () { return strerror (); ; return 0; } _ACEOF for ac_lib in '' cposix; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi 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_search_strerror=$ac_res else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext if test "${ac_cv_search_strerror+set}" = set; then break fi done if test "${ac_cv_search_strerror+set}" = set; then : else ac_cv_search_strerror=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5 echo "${ECHO_T}$ac_cv_search_strerror" >&6; } ac_res=$ac_cv_search_strerror if test "$ac_res" != no; then test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi # Check whether --enable-shared was given. if test "${enable_shared+set}" = set; then enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac else enable_shared=yes fi # Check whether --enable-static was given. if test "${enable_static+set}" = set; then enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac else enable_static=yes fi # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac else enable_fast_install=yes fi # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} { (exit 1); exit 1; }; } { echo "$as_me:$LINENO: checking build system type" >&5 echo $ECHO_N "checking build system type... $ECHO_C" >&6; } if test "${ac_cv_build+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 echo "$as_me: error: cannot guess build type; you must specify one" >&2;} { (exit 1); exit 1; }; } ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} { (exit 1); exit 1; }; } fi { echo "$as_me:$LINENO: result: $ac_cv_build" >&5 echo "${ECHO_T}$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 echo "$as_me: error: invalid value of canonical build" >&2;} { (exit 1); exit 1; }; };; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { echo "$as_me:$LINENO: checking host system type" >&5 echo $ECHO_N "checking host system type... $ECHO_C" >&6; } if test "${ac_cv_host+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} { (exit 1); exit 1; }; } fi fi { echo "$as_me:$LINENO: result: $ac_cv_host" >&5 echo "${ECHO_T}$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 echo "$as_me: error: invalid value of canonical host" >&2;} { (exit 1); exit 1; }; };; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; } if test "${lt_cv_path_SED+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done fi SED=$lt_cv_path_SED { echo "$as_me:$LINENO: result: $SED" >&5 echo "${ECHO_T}$SED" >&6; } { 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" # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } else { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 echo "${ECHO_T}$LD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; } if test "${lt_cv_ld_reload_flag+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_ld_reload_flag='-r' fi { echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in darwin*) if test "$GCC" = yes; then reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac { echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; } if test "${lt_cv_path_NM+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi fi { echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 echo "${ECHO_T}$lt_cv_path_NM" >&6; } NM="$lt_cv_path_NM" { echo "$as_me:$LINENO: checking whether ln -s works" >&5 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else { echo "$as_me:$LINENO: result: no, using $LN_S" >&5 echo "${ECHO_T}no, using $LN_S" >&6; } fi { echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; } if test "${lt_cv_deplibs_check_method+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # `unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # which responds to the $file_magic_cmd with a given extended regex. # If you have `file' or equivalent on your system and you're not sure # whether `pass_all' will *always* work, you probably want this one. case $host_os in aix4* | aix5*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump'. lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix3*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux* | k*bsd*-gnu) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; nto-qnx*) lt_cv_deplibs_check_method=unknown ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; esac fi { echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; } file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval=$enable_libtool_lock; fi test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '#line 5721 "configure"' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; } if test "${lt_cv_cc_needs_belf+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else 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 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 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 lt_cv_cc_needs_belf=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 lt_cv_cc_needs_belf=no fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; } if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) LD="${LD-ld} -m elf64_sparc" ;; *) LD="${LD-ld} -64" ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks="$enable_libtool_lock" 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 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 dlfcn.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;} ( cat <<\_ASBOX ## -------------------------------------------- ## ## Report this to mailto:gpe-list@linuxtogo.org ## ## -------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { 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 ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu if test -z "$CXX"; then if test -n "$CCC"; then CXX=$CCC else if test -n "$ac_tool_prefix"; then for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 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_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$CXX"; then ac_cv_prog_CXX="$CXX" # 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_CXX="$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 CXX=$ac_cv_prog_CXX if test -n "$CXX"; then { echo "$as_me:$LINENO: result: $CXX" >&5 echo "${ECHO_T}$CXX" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$CXX" && break done fi if test -z "$CXX"; then ac_ct_CXX=$CXX for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 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_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_CXX"; then ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # 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_CXX="$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_CXX=$ac_cv_prog_ac_ct_CXX if test -n "$ac_ct_CXX"; then { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 echo "${ECHO_T}$ac_ct_CXX" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$ac_ct_CXX" && break done if test "x$ac_ct_CXX" = x; then CXX="g++" 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 CXX=$ac_ct_CXX fi fi fi fi # 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); } { 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_cxx_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_cxx_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_cxx_compiler_gnu=$ac_compiler_gnu fi { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; } GXX=`test $ac_compiler_gnu = yes && echo yes` ac_test_CXXFLAGS=${CXXFLAGS+set} ac_save_CXXFLAGS=$CXXFLAGS { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; } if test "${ac_cv_prog_cxx_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_save_cxx_werror_flag=$ac_cxx_werror_flag ac_cxx_werror_flag=yes ac_cv_prog_cxx_g=no CXXFLAGS="-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_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 CXXFLAGS="" 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_cxx_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_cxx_werror_flag=$ac_save_cxx_werror_flag CXXFLAGS="-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_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_cxx_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_cxx_werror_flag=$ac_save_cxx_werror_flag fi { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; } if test "$ac_test_CXXFLAGS" = set; then CXXFLAGS=$ac_save_CXXFLAGS elif test $ac_cv_prog_cxx_g = yes; then if test "$GXX" = yes; then CXXFLAGS="-g -O2" else CXXFLAGS="-g" fi else if test "$GXX" = yes; then CXXFLAGS="-O2" else CXXFLAGS= fi fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu depcc="$CXX" 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_CXX_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_CXX_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_CXX_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CXX_dependencies_compiler_type=none fi fi { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; } CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then am__fastdepCXX_TRUE= am__fastdepCXX_FALSE='#' else am__fastdepCXX_TRUE='#' am__fastdepCXX_FALSE= fi if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_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; } if test -z "$CXXCPP"; then if test "${ac_cv_prog_CXXCPP+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # Double quotes because CXXCPP needs to be expanded for CXXCPP in "$CXX -E" "/lib/cpp" do ac_preproc_ok=false for ac_cxx_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_cxx_preproc_warn_flag$ac_cxx_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_cxx_preproc_warn_flag$ac_cxx_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_CXXCPP=$CXXCPP fi CXXCPP=$ac_cv_prog_CXXCPP else ac_cv_prog_CXXCPP=$CXXCPP fi { echo "$as_me:$LINENO: result: $CXXCPP" >&5 echo "${ECHO_T}$CXXCPP" >&6; } ac_preproc_ok=false for ac_cxx_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_cxx_preproc_warn_flag$ac_cxx_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_cxx_preproc_warn_flag$ac_cxx_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 \"$CXXCPP\" fails sanity check See \`config.log' for more details." >&5 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check See \`config.log' for more details." >&2;} { (exit 1); exit 1; }; } fi ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu fi ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_f77_compiler_gnu if test -n "$ac_tool_prefix"; then for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn 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_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$F77"; then ac_cv_prog_F77="$F77" # 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_F77="$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 F77=$ac_cv_prog_F77 if test -n "$F77"; then { echo "$as_me:$LINENO: result: $F77" >&5 echo "${ECHO_T}$F77" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$F77" && break done fi if test -z "$F77"; then ac_ct_F77=$F77 for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn 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_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_F77"; then ac_cv_prog_ac_ct_F77="$ac_ct_F77" # 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_F77="$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_F77=$ac_cv_prog_ac_ct_F77 if test -n "$ac_ct_F77"; then { echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 echo "${ECHO_T}$ac_ct_F77" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -n "$ac_ct_F77" && break done if test "x$ac_ct_F77" = x; then F77="" 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 F77=$ac_ct_F77 fi fi # Provide some information about the compiler. echo "$as_me:$LINENO: checking for Fortran 77 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); } rm -f a.out # If we don't use `.F' as extension, the preprocessor is not run on the # input file. (Note that this only needs to work for GNU compilers.) ac_save_ext=$ac_ext ac_ext=F { echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6; } if test "${ac_cv_f77_compiler_gnu+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF program main #ifndef __GNUC__ choke me #endif end _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_f77_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_f77_compiler_gnu=$ac_compiler_gnu fi { echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6; } ac_ext=$ac_save_ext ac_test_FFLAGS=${FFLAGS+set} ac_save_FFLAGS=$FFLAGS FFLAGS= { echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6; } if test "${ac_cv_prog_f77_g+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else FFLAGS=-g cat >conftest.$ac_ext <<_ACEOF program main end _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_f77_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then ac_cv_prog_f77_g=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_prog_f77_g=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6; } if test "$ac_test_FFLAGS" = set; then FFLAGS=$ac_save_FFLAGS elif test $ac_cv_prog_f77_g = yes; then if test "x$ac_cv_f77_compiler_gnu" = xyes; then FFLAGS="-g -O2" else FFLAGS="-g" fi else if test "x$ac_cv_f77_compiler_gnu" = xyes; then FFLAGS="-O2" else FFLAGS= fi fi G77=`test $ac_compiler_gnu = yes && echo yes` 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 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! # find the maximum length of command line arguments { echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; } if test "${lt_cv_sys_max_cmd_len+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \ = "XX$teststring") >/dev/null 2>&1 && new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done teststring= # Add a significant safety factor because C++ compilers can tack on massive # amounts of additional arguments before passing them to the linker. # It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` ;; esac fi if test -n $lt_cv_sys_max_cmd_len ; then { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; } else { echo "$as_me:$LINENO: result: none" >&5 echo "${ECHO_T}none" >&6; } fi # Check for command to grab the raw symbol name followed by C symbol from nm. { echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; } if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Transform an extracted symbol line into a proper C declaration lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32*) symcode='[ABCDGISTW]' ;; hpux*) # Its linker distinguishes data from code symbols if test "$host_cpu" = ia64; then symcode='[ABCDEGRST]' fi lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; linux* | k*bsd*-gnu) if test "$host_cpu" = ia64; then symcode='[ABCDGIRSTW]' lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris*) symcode='[BDRT]' ;; sco3.2v5*) symcode='[DT]' ;; sysv4.2uw2*) symcode='[DT]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[ABDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Now try to grab the symbols. nlist=conftest.nm if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if grep ' nm_test_var$' "$nlist" >/dev/null; then if grep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[] = { EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -f conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then { echo "$as_me:$LINENO: result: failed" >&5 echo "${ECHO_T}failed" >&6; } else { echo "$as_me:$LINENO: result: ok" >&5 echo "${ECHO_T}ok" >&6; } fi { echo "$as_me:$LINENO: checking for objdir" >&5 echo $ECHO_N "checking for objdir... $ECHO_C" >&6; } if test "${lt_cv_objdir+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi { echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 echo "${ECHO_T}$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e 1s/^X//' sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; 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_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # 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_AR="${ac_tool_prefix}ar" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { echo "$as_me:$LINENO: result: $AR" >&5 echo "${ECHO_T}$AR" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_AR"; then ac_ct_AR=$AR # Extract the first word of "ar", so it can be a program name with args. set dummy ar; 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_AR+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_AR="ar" 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_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 echo "${ECHO_T}$ac_ct_AR" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_AR" = x; then AR="false" 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 AR=$ac_ct_AR fi else AR="$ac_cv_prog_AR" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; 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_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # 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_RANLIB="${ac_tool_prefix}ranlib" echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { echo "$as_me:$LINENO: result: $RANLIB" >&5 echo "${ECHO_T}$RANLIB" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; 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_RANLIB+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # 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_RANLIB="ranlib" 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_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 echo "${ECHO_T}$ac_ct_RANLIB" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" 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 RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi 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 old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$SED" && SED=sed test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; } if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/${ac_tool_prefix}file; then lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { echo "$as_me:$LINENO: checking for file" >&5 echo $ECHO_N "checking for file... $ECHO_C" >&6; } if test "${lt_cv_path_MAGIC_CMD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/file; then lt_cv_path_MAGIC_CMD="$ac_dir/file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac fi MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 echo "${ECHO_T}$MAGIC_CMD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi else MAGIC_CMD=: fi fi fi ;; esac enable_dlopen=no enable_win32_dll=no # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then enableval=$enable_libtool_lock; fi test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Check whether --with-pic was given. if test "${with_pic+set}" = set; then withval=$with_pic; pic_mode="$withval" else pic_mode=default fi test -z "$pic_mode" && pic_mode=default # Use C for the default configuration in the libtool script tagname= lt_save_CC="$CC" 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 # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}\n' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* lt_prog_compiler_no_builtin_flag= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag=' -fno-builtin' { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:8453: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:8457: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } if test "$GCC" = yes; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; interix3*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; *) lt_prog_compiler_pic='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic='-qnocommon' lt_prog_compiler_wl='-Wl,' ;; esac ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; linux* | k*bsd*-gnu) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 echo "${ECHO_T}$lt_prog_compiler_pic" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; } if test "${lt_prog_compiler_pic_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:8721: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:8725: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; } if test x"$lt_prog_compiler_pic_works" = xyes; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } if test "${lt_prog_compiler_static_works+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_static_works=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" printf "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_static_works=yes fi else lt_prog_compiler_static_works=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; } if test x"$lt_prog_compiler_static_works" = xyes; then : else lt_prog_compiler_static= fi { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_c_o+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:8825: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:8829: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6; } if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } runpath_var= allow_undefined_flag= enable_shared_with_static_runtimes=no archive_cmds= archive_expsym_cmds= old_archive_From_new_cmds= old_archive_from_expsyms_cmds= export_dynamic_flag_spec= whole_archive_flag_spec= thread_safe_flag_spec= hardcode_libdir_flag_spec= hardcode_libdir_flag_spec_ld= hardcode_libdir_separator= hardcode_direct=no hardcode_minus_L=no hardcode_shlibpath_var=unsupported link_all_deplibs=unknown hardcode_automatic=no module_cmds= module_expsym_cmds= always_export_symbols=no export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs=no fi ;; interix3*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi link_all_deplibs=no else ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test "$ld_shlibs" = no; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_libdir_separator=':' link_all_deplibs=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct=yes else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an empty executable. 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 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 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. 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 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 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' ${wl}-bernotok' allow_undefined_flag=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' archive_cmds_need_lc=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes # see comment about different semantics on the GNU ld section ld_shlibs=no ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported whole_archive_flag_spec='' link_all_deplibs=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs=no ;; esac fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; freebsd1*) ld_shlibs=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: hardcode_direct=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_libdir_flag_spec_ld='+b $libdir' hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes export_dynamic_flag_spec='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld='-rpath $libdir' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: link_all_deplibs=yes ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; openbsd*) hardcode_direct=yes hardcode_shlibpath_var=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' export_dynamic_flag_spec='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-R$libdir' ;; *) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported archive_cmds='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine linker options so we # cannot just pass the convience library names through # without $wl, iff we do not link with $LD. # Luckily, gcc supports the same syntax we need for Sun Studio. # Supported since Solaris 2.6 (maybe 2.5.1?) case $wlarc in '') whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; *) whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac ;; esac link_all_deplibs=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) no_undefined_flag='${wl}-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag='${wl}-z,text' allow_undefined_flag='${wl}-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac fi { echo "$as_me:$LINENO: result: $ld_shlibs" >&5 echo "${ECHO_T}$ld_shlibs" >&6; } test "$ld_shlibs" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc=no else archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 echo "${ECHO_T}$archive_cmds_need_lc" >&6; } ;; esac fi ;; esac { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; freebsd*) # from 4.6 on shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix3*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || \ test -n "$runpath_var" || \ test "X$hardcode_automatic" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && test "$hardcode_minus_L" != no; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { echo "$as_me:$LINENO: result: $hardcode_action" >&5 echo "${ECHO_T}$hardcode_action" >&6; } if test "$hardcode_action" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi striplib= old_striplib= { echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" { 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; } fi ;; *) { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } ;; esac fi if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $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 dlopen (); int main () { return dlopen (); ; 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_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=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_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; *) { echo "$as_me:$LINENO: checking for shl_load" >&5 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; } if test "${ac_cv_func_shl_load+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 shl_load to an innocuous variant, in case declares shl_load. For example, HP-UX 11i declares gettimeofday. */ #define shl_load innocuous_shl_load /* System header to define __stub macros and hopefully few prototypes, which can conflict with char shl_load (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef shl_load /* 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 shl_load (); /* 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_shl_load || defined __stub___shl_load choke me #endif int main () { return shl_load (); ; 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_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_shl_load=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_shl_load" >&5 echo "${ECHO_T}$ac_cv_func_shl_load" >&6; } if test $ac_cv_func_shl_load = yes; then lt_cv_dlopen="shl_load" else { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; } if test "${ac_cv_lib_dld_shl_load+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $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 shl_load (); int main () { return shl_load (); ; 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_dld_shl_load=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_shl_load=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_dld_shl_load" >&5 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; } if test $ac_cv_lib_dld_shl_load = yes; then lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" else { echo "$as_me:$LINENO: checking for dlopen" >&5 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; } if test "${ac_cv_func_dlopen+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 dlopen to an innocuous variant, in case declares dlopen. For example, HP-UX 11i declares gettimeofday. */ #define dlopen innocuous_dlopen /* System header to define __stub macros and hopefully few prototypes, which can conflict with char dlopen (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef dlopen /* 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 dlopen (); /* 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_dlopen || defined __stub___dlopen choke me #endif int main () { return dlopen (); ; 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_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_func_dlopen=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_dlopen" >&5 echo "${ECHO_T}$ac_cv_func_dlopen" >&6; } if test $ac_cv_func_dlopen = yes; then lt_cv_dlopen="dlopen" else { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; } if test "${ac_cv_lib_dl_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $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 dlopen (); int main () { return dlopen (); ; 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_dl_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dl_dlopen=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_dl_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; } if test $ac_cv_lib_dl_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" else { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; } if test "${ac_cv_lib_svld_dlopen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $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 dlopen (); int main () { return dlopen (); ; 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_svld_dlopen=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_svld_dlopen=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_svld_dlopen" >&5 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; } if test $ac_cv_lib_svld_dlopen = yes; then lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" else { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; } if test "${ac_cv_lib_dld_dld_link+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $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 dld_link (); int main () { return dld_link (); ; 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_dld_dld_link=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_lib_dld_dld_link=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_dld_dld_link" >&5 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; } if test $ac_cv_lib_dld_dld_link = yes; then lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" fi fi fi fi fi fi ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; } if test "${lt_cv_dlopen_self+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 echo "${ECHO_T}$lt_cv_dlopen_self" >&6; } if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; } if test "${lt_cv_dlopen_self_static+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test "$cross_compiling" = yes; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); exit (status); } EOF if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 (eval $ac_link) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi # Report which library types will actually be built { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6; } { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac { echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6; } { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes { echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$enable_static" >&6; } # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler \ CC \ LD \ lt_prog_compiler_wl \ lt_prog_compiler_pic \ lt_prog_compiler_static \ lt_prog_compiler_no_builtin_flag \ export_dynamic_flag_spec \ thread_safe_flag_spec \ whole_archive_flag_spec \ enable_shared_with_static_runtimes \ old_archive_cmds \ old_archive_from_new_cmds \ predep_objects \ postdep_objects \ predeps \ postdeps \ compiler_lib_search_path \ archive_cmds \ archive_expsym_cmds \ postinstall_cmds \ postuninstall_cmds \ old_archive_from_expsyms_cmds \ allow_undefined_flag \ no_undefined_flag \ export_symbols_cmds \ hardcode_libdir_flag_spec \ hardcode_libdir_flag_spec_ld \ hardcode_libdir_separator \ hardcode_automatic \ module_cmds \ module_expsym_cmds \ lt_cv_prog_compiler_c_o \ exclude_expsyms \ include_expsyms; do case $var in old_archive_cmds | \ old_archive_from_new_cmds | \ archive_cmds | \ archive_expsym_cmds | \ module_cmds | \ module_expsym_cmds | \ old_archive_from_expsyms_cmds | \ export_symbols_cmds | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="${ofile}T" trap "$rm \"$cfgfile\"; exit 1" 1 2 15 $rm -f "$cfgfile" { echo "$as_me:$LINENO: creating $ofile" >&5 echo "$as_me: creating $ofile" >&6;} cat <<__EOF__ >> "$cfgfile" #! $SHELL # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: # Originally by Gordon Matzigkeit , 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 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. # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e 1s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # The names of the tagged configurations supported by this script. available_tags= # ### BEGIN LIBTOOL CONFIG # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler # Is the compiler the GNU C compiler? with_gcc=$GCC # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds archive_expsym_cmds=$lt_archive_expsym_cmds postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds module_expsym_cmds=$lt_module_expsym_cmds # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms # Symbols that must always be exported. include_expsyms=$lt_include_expsyms # ### END LIBTOOL CONFIG __EOF__ case $host_os in aix3*) cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi EOF ;; esac # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || \ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" # Check whether --with-tags was given. if test "${with_tags+set}" = set; then withval=$with_tags; tagnames="$withval" fi if test -f "$ltmain" && test -n "$tagnames"; then if test ! -f "${ofile}"; then { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} fi if test -z "$LTCC"; then eval "`$SHELL ${ofile} --config | grep '^LTCC='`" if test -z "$LTCC"; then { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} else { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} fi fi if test -z "$LTCFLAGS"; then eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" fi # Extract list of available tagged configurations in $ofile. # Note that this assumes the entire list is on one line. available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for tagname in $tagnames; do IFS="$lt_save_ifs" # Check whether tagname contains only valid characters case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in "") ;; *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 echo "$as_me: error: invalid tag name: $tagname" >&2;} { (exit 1); exit 1; }; } ;; esac if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null then { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} { (exit 1); exit 1; }; } fi # Update the list of available tags. if test -n "$tagname"; then echo appending configuration tag \"$tagname\" to $ofile case $tagname in CXX) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then ac_ext=cpp ac_cpp='$CXXCPP $CPPFLAGS' ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu archive_cmds_need_lc_CXX=no allow_undefined_flag_CXX= always_export_symbols_CXX=no archive_expsym_cmds_CXX= export_dynamic_flag_spec_CXX= hardcode_direct_CXX=no hardcode_libdir_flag_spec_CXX= hardcode_libdir_flag_spec_ld_CXX= hardcode_libdir_separator_CXX= hardcode_minus_L_CXX=no hardcode_shlibpath_var_CXX=unsupported hardcode_automatic_CXX=no module_cmds_CXX= module_expsym_cmds_CXX= link_all_deplibs_CXX=unknown old_archive_cmds_CXX=$old_archive_cmds no_undefined_flag_CXX= whole_archive_flag_spec_CXX= enable_shared_with_static_runtimes_CXX=no # Dependencies to place before and after the object being linked: predep_objects_CXX= postdep_objects_CXX= predeps_CXX= postdeps_CXX= compiler_lib_search_path_CXX= # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o objext_CXX=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} compiler=$CC compiler_CXX=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # We don't want -fno-exception wen compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' else lt_prog_compiler_no_builtin_flag_CXX= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. { echo "$as_me:$LINENO: checking for ld used by $CC" >&5 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then { echo "$as_me:$LINENO: checking for GNU ld" >&5 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; } else { echo "$as_me:$LINENO: checking for non-GNU ld" >&5 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; } fi if test "${lt_cv_path_LD+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 echo "${ECHO_T}$LD" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} { (exit 1); exit 1; }; } { echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; } if test "${lt_cv_prog_gnu_ld+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_CXX= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } ld_shlibs_CXX=yes case $host_os in aix3*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_CXX='' hardcode_direct_CXX=yes hardcode_libdir_separator_CXX=':' link_all_deplibs_CXX=yes if test "$GXX" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct_CXX=yes else # We have old collect2 hardcode_direct_CXX=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_CXX=yes hardcode_libdir_flag_spec_CXX='-L$libdir' hardcode_libdir_separator_CXX= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_CXX=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_CXX='-berok' # Determine the default libpath from the value encoded in an empty executable. 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 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_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_CXX="-z nodefs" archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. 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 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_cxx_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_CXX=' ${wl}-bernotok' allow_undefined_flag_CXX=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_CXX='$convenience' archive_cmds_need_lc_CXX=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_CXX=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_CXX=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_CXX='-L$libdir' allow_undefined_flag_CXX=unsupported always_export_symbols_CXX=no enable_shared_with_static_runtimes_CXX=yes if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs_CXX=no fi ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc_CXX=no hardcode_direct_CXX=no hardcode_automatic_CXX=yes hardcode_shlibpath_var_CXX=unsupported whole_archive_flag_spec_CXX='' link_all_deplibs_CXX=yes if test "$GXX" = yes ; then lt_int_apple_cc_single_mod=no output_verbose_link_cmd='echo' if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then lt_int_apple_cc_single_mod=yes fi if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds if test "X$lt_int_apple_cc_single_mod" = Xyes ; then archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' fi module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_CXX=no ;; esac fi ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; freebsd[12]*) # C++ shared libraries reported to be fairly broken before switch to ELF ld_shlibs_CXX=no ;; freebsd-elf*) archive_cmds_need_lc_CXX=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions ld_shlibs_CXX=yes ;; gnu*) ;; hpux9*) hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: export_dynamic_flag_spec_CXX='${wl}-E' hardcode_direct_CXX=yes hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aCC*) archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[-]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' hardcode_libdir_separator_CXX=: case $host_cpu in hppa*64*|ia64*) hardcode_libdir_flag_spec_ld_CXX='+b $libdir' ;; *) export_dynamic_flag_spec_CXX='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) hardcode_direct_CXX=no hardcode_shlibpath_var_CXX=no ;; *) hardcode_direct_CXX=yes hardcode_minus_L_CXX=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; aCC*) case $host_cpu in hppa*64*) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; interix3*) hardcode_direct_CXX=no hardcode_shlibpath_var_CXX=no hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' fi fi link_all_deplibs_CXX=yes ;; esac hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: ;; linux* | k*bsd*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc*) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac archive_cmds_need_lc_CXX=no hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC*) # Portland Group C++ compiler archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_CXX='${wl}--export-dynamic' whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_CXX='-rpath $libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; esac ;; lynxos*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; m88k*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_direct_CXX=yes hardcode_shlibpath_var_CXX=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; openbsd2*) # C++ shared libraries are fairly broken ld_shlibs_CXX=no ;; openbsd*) hardcode_direct_CXX=yes hardcode_shlibpath_var_CXX=no archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' export_dynamic_flag_spec_CXX='${wl}-E' whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd='echo' ;; osf3*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' hardcode_libdir_separator_CXX=: # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; cxx*) allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' hardcode_libdir_separator_CXX=: # Archives containing C++ object files must be created using # the KAI C++ compiler. old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; cxx*) allow_undefined_flag_CXX=' -expect_unresolved \*' archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ $rm $lib.exp' hardcode_libdir_flag_spec_CXX='-rpath $libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_CXX=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support ld_shlibs_CXX=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ archive_cmds_need_lc_CXX=yes no_undefined_flag_CXX=' -zdefs' archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' hardcode_libdir_flag_spec_CXX='-R$libdir' hardcode_shlibpath_var_CXX=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The C++ compiler is used as linker so we must use $wl # flag to pass the commands to the underlying system # linker. We must also pass each convience library through # to the system linker between allextract/defaultextract. # The C++ compiler will combine linker options so we # cannot just pass the convience library names through # without $wl. # Supported since Solaris 2.6 (maybe 2.5.1?) whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac link_all_deplibs_CXX=yes output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then no_undefined_flag_CXX=' ${wl}-z ${wl}defs' if $CC --version | grep -v '^2\.7' > /dev/null; then archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" fi hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag_CXX='${wl}-z,text' archive_cmds_need_lc_CXX=no hardcode_shlibpath_var_CXX=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. # So that behaviour is only enabled if SCOABSPATH is set to a # non-empty value in the environment. Most likely only useful for # creating official distributions of packages. # This is a hack until libtool officially supports absolute path # names for shared libraries. no_undefined_flag_CXX='${wl}-z,text' allow_undefined_flag_CXX='${wl}-z,nodefs' archive_cmds_need_lc_CXX=no hardcode_shlibpath_var_CXX=no hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator_CXX=':' link_all_deplibs_CXX=yes export_dynamic_flag_spec_CXX='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; *) # FIXME: insert proper C++ library support ld_shlibs_CXX=no ;; esac { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 echo "${ECHO_T}$ld_shlibs_CXX" >&6; } test "$ld_shlibs_CXX" = no && can_build_shared=no GCC_CXX="$GXX" LD_CXX="$LD" cat > conftest.$ac_ext <&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then # Parse the compiler output and extract the necessary # objects, libraries and library flags. # Sentinel used to keep track of whether or not we are before # the conftest object file. pre_test_object_deps_done=no # The `*' in the case matches for architectures that use `case' in # $output_verbose_cmd can trigger glob expansion during the loop # eval without this substitution. output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"` for p in `eval $output_verbose_link_cmd`; do case $p in -L* | -R* | -l*) # Some compilers place space between "-{L,R}" and the path. # Remove the space. if test $p = "-L" \ || test $p = "-R"; then prev=$p continue else prev= fi if test "$pre_test_object_deps_done" = no; then case $p in -L* | -R*) # Internal compiler library paths should come after those # provided the user. The postdeps already come after the # user supplied libs so there is no need to process them. if test -z "$compiler_lib_search_path_CXX"; then compiler_lib_search_path_CXX="${prev}${p}" else compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" fi ;; # The "-l" case would never come before the object being # linked, so don't bother handling this case. esac else if test -z "$postdeps_CXX"; then postdeps_CXX="${prev}${p}" else postdeps_CXX="${postdeps_CXX} ${prev}${p}" fi fi ;; *.$objext) # This assumes that the test object file only shows up # once in the compiler output. if test "$p" = "conftest.$objext"; then pre_test_object_deps_done=yes continue fi if test "$pre_test_object_deps_done" = no; then if test -z "$predep_objects_CXX"; then predep_objects_CXX="$p" else predep_objects_CXX="$predep_objects_CXX $p" fi else if test -z "$postdep_objects_CXX"; then postdep_objects_CXX="$p" else postdep_objects_CXX="$postdep_objects_CXX $p" fi fi ;; *) ;; # Ignore the rest. esac done # Clean up. rm -f a.out a.exe else echo "libtool.m4: error: problem compiling CXX test program" fi $rm -f confest.$objext # PORTME: override above test on systems where it is broken case $host_os in interix3*) # Interix 3.5 installs completely hosed .la files for C++, so rather than # hack all around it, let's just trust "g++" to DTRT. predep_objects_CXX= postdep_objects_CXX= postdeps_CXX= ;; solaris*) case $cc_basename in CC*) # Adding this requires a known-good setup of shared libraries for # Sun compiler versions before 5.6, else PIC objects from an old # archive will be linked into the output, leading to subtle bugs. postdeps_CXX='-lCstd -lCrun' ;; esac ;; esac case " $postdeps_CXX " in *" -lc "*) archive_cmds_need_lc_CXX=no ;; esac lt_prog_compiler_wl_CXX= lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX= { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_CXX='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | os2* | pw32*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_CXX='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_CXX='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all lt_prog_compiler_pic_CXX= ;; interix3*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_CXX=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) ;; *) lt_prog_compiler_pic_CXX='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_CXX='-fPIC' ;; esac else case $host_os in aix4* | aix5*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_CXX='-Bstatic' else lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_CXX='-qnocommon' lt_prog_compiler_wl_CXX='-Wl,' ;; esac ;; dgux*) case $cc_basename in ec++*) lt_prog_compiler_pic_CXX='-KPIC' ;; ghcx*) # Green Hills C++ Compiler lt_prog_compiler_pic_CXX='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' if test "$host_cpu" != ia64; then lt_prog_compiler_pic_CXX='+Z' fi ;; aCC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_CXX='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_static_CXX='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler lt_prog_compiler_wl_CXX='--backend -Wl,' lt_prog_compiler_pic_CXX='-fPIC' ;; icpc* | ecpc*) # Intel C++ lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-static' ;; pgCC*) # Portland Group C++ compiler. lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-fpic' lt_prog_compiler_static_CXX='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; *) ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) lt_prog_compiler_pic_CXX='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu) ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) lt_prog_compiler_wl_CXX='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 lt_prog_compiler_pic_CXX='-pic' ;; cxx*) # Digital/Compaq C++ lt_prog_compiler_wl_CXX='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. lt_prog_compiler_pic_CXX= lt_prog_compiler_static_CXX='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' lt_prog_compiler_wl_CXX='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler lt_prog_compiler_pic_CXX='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x lt_prog_compiler_pic_CXX='-pic' lt_prog_compiler_static_CXX='-Bstatic' ;; lcc*) # Lucid lt_prog_compiler_pic_CXX='-pic' ;; *) ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 lt_prog_compiler_pic_CXX='-KPIC' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) lt_prog_compiler_wl_CXX='-Wl,' lt_prog_compiler_pic_CXX='-KPIC' lt_prog_compiler_static_CXX='-Bstatic' ;; esac ;; vxworks*) ;; *) lt_prog_compiler_can_build_shared_CXX=no ;; esac fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_CXX"; then { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6; } if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_CXX=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:13558: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:13562: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works_CXX=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6; } if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then case $lt_prog_compiler_pic_CXX in "" | " "*) ;; *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; esac else lt_prog_compiler_pic_CXX= lt_prog_compiler_can_build_shared_CXX=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_CXX= ;; *) lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } if test "${lt_prog_compiler_static_works_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_static_works_CXX=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" printf "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_static_works_CXX=yes fi else lt_prog_compiler_static_works_CXX=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6; } if test x"$lt_prog_compiler_static_works_CXX" = xyes; then : else lt_prog_compiler_static_CXX= fi { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_CXX=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:13662: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:13666: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_CXX=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6; } if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' case $host_os in aix4* | aix5*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) export_symbols_cmds_CXX="$ltdll_cmds" ;; cygwin* | mingw*) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' ;; linux* | k*bsd*-gnu) link_all_deplibs_CXX=no ;; *) export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac { echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 echo "${ECHO_T}$ld_shlibs_CXX" >&6; } test "$ld_shlibs_CXX" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_CXX" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_CXX=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_CXX in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_CXX pic_flag=$lt_prog_compiler_pic_CXX compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_CXX allow_undefined_flag_CXX= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_CXX=no else archive_cmds_need_lc_CXX=yes fi allow_undefined_flag_CXX=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6; } ;; esac fi ;; esac { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; freebsd*) # from 4.6 on shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix3*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } hardcode_action_CXX= if test -n "$hardcode_libdir_flag_spec_CXX" || \ test -n "$runpath_var_CXX" || \ test "X$hardcode_automatic_CXX" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_CXX" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && test "$hardcode_minus_L_CXX" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_CXX=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_CXX=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_CXX=unsupported fi { echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 echo "${ECHO_T}$hardcode_action_CXX" >&6; } if test "$hardcode_action_CXX" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_CXX \ CC_CXX \ LD_CXX \ lt_prog_compiler_wl_CXX \ lt_prog_compiler_pic_CXX \ lt_prog_compiler_static_CXX \ lt_prog_compiler_no_builtin_flag_CXX \ export_dynamic_flag_spec_CXX \ thread_safe_flag_spec_CXX \ whole_archive_flag_spec_CXX \ enable_shared_with_static_runtimes_CXX \ old_archive_cmds_CXX \ old_archive_from_new_cmds_CXX \ predep_objects_CXX \ postdep_objects_CXX \ predeps_CXX \ postdeps_CXX \ compiler_lib_search_path_CXX \ archive_cmds_CXX \ archive_expsym_cmds_CXX \ postinstall_cmds_CXX \ postuninstall_cmds_CXX \ old_archive_from_expsyms_cmds_CXX \ allow_undefined_flag_CXX \ no_undefined_flag_CXX \ export_symbols_cmds_CXX \ hardcode_libdir_flag_spec_CXX \ hardcode_libdir_flag_spec_ld_CXX \ hardcode_libdir_separator_CXX \ hardcode_automatic_CXX \ module_cmds_CXX \ module_expsym_cmds_CXX \ lt_cv_prog_compiler_c_o_CXX \ exclude_expsyms_CXX \ include_expsyms_CXX; do case $var in old_archive_cmds_CXX | \ old_archive_from_new_cmds_CXX | \ archive_cmds_CXX | \ archive_expsym_cmds_CXX | \ module_cmds_CXX | \ module_expsym_cmds_CXX | \ old_archive_from_expsyms_cmds_CXX | \ export_symbols_cmds_CXX | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_CXX # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_CXX # Is the compiler the GNU C compiler? with_gcc=$GCC_CXX # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_CXX # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_CXX # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_CXX pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_CXX # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_CXX old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_CXX archive_expsym_cmds=$lt_archive_expsym_cmds_CXX postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_CXX module_expsym_cmds=$lt_module_expsym_cmds_CXX # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_CXX # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_CXX # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_CXX # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_CXX # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_CXX # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_CXX # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_CXX # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_CXX # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_CXX # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_CXX # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_CXX # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_CXX # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_CXX" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_CXX # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_CXX # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_CXX # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_CXX # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ldcxx=$with_gnu_ld with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld else tagname="" fi ;; F77) if test -n "$F77" && test "X$F77" != "Xno"; then ac_ext=f ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_f77_compiler_gnu archive_cmds_need_lc_F77=no allow_undefined_flag_F77= always_export_symbols_F77=no archive_expsym_cmds_F77= export_dynamic_flag_spec_F77= hardcode_direct_F77=no hardcode_libdir_flag_spec_F77= hardcode_libdir_flag_spec_ld_F77= hardcode_libdir_separator_F77= hardcode_minus_L_F77=no hardcode_automatic_F77=no module_cmds_F77= module_expsym_cmds_F77= link_all_deplibs_F77=unknown old_archive_cmds_F77=$old_archive_cmds no_undefined_flag_F77= whole_archive_flag_spec_F77= enable_shared_with_static_runtimes_F77=no # Source file extension for f77 test sources. ac_ext=f # Object file extension for compiled f77 test sources. objext=o objext_F77=$objext # Code to be used in simple compile tests lt_simple_compile_test_code=" subroutine t\n return\n end\n" # Code to be used in simple link tests lt_simple_link_test_code=" program t\n end\n" # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${F77-"f77"} compiler=$CC compiler_F77=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; } { echo "$as_me:$LINENO: result: $can_build_shared" >&5 echo "${ECHO_T}$can_build_shared" >&6; } { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; } test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac { echo "$as_me:$LINENO: result: $enable_shared" >&5 echo "${ECHO_T}$enable_shared" >&6; } { echo "$as_me:$LINENO: checking whether to build static libraries" >&5 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; } # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes { echo "$as_me:$LINENO: result: $enable_static" >&5 echo "${ECHO_T}$enable_static" >&6; } GCC_F77="$G77" LD_F77="$LD" lt_prog_compiler_wl_F77= lt_prog_compiler_pic_F77= lt_prog_compiler_static_F77= { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } if test "$GCC" = yes; then lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_static_F77='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_F77='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_F77='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_F77='-fno-common' ;; interix3*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared_F77=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_F77=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_F77='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_F77='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl_F77='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_F77='-Bstatic' else lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_F77='-qnocommon' lt_prog_compiler_wl_F77='-Wl,' ;; esac ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_F77='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl_F77='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_F77='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static_F77='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl_F77='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static_F77='-non_shared' ;; newsos6) lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; linux* | k*bsd*-gnu) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-fpic' lt_prog_compiler_static_F77='-Bstatic' ;; ccc*) lt_prog_compiler_wl_F77='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static_F77='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl_F77='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static_F77='-non_shared' ;; solaris*) lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl_F77='-Qoption ld ';; *) lt_prog_compiler_wl_F77='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl_F77='-Qoption ld ' lt_prog_compiler_pic_F77='-PIC' lt_prog_compiler_static_F77='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic_F77='-Kconform_pic' lt_prog_compiler_static_F77='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_pic_F77='-KPIC' lt_prog_compiler_static_F77='-Bstatic' ;; unicos*) lt_prog_compiler_wl_F77='-Wl,' lt_prog_compiler_can_build_shared_F77=no ;; uts4*) lt_prog_compiler_pic_F77='-pic' lt_prog_compiler_static_F77='-Bstatic' ;; *) lt_prog_compiler_can_build_shared_F77=no ;; esac fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_F77"; then { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6; } if test "${lt_prog_compiler_pic_works_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_F77=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_F77" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:15223: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:15227: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works_F77=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6; } if test x"$lt_prog_compiler_pic_works_F77" = xyes; then case $lt_prog_compiler_pic_F77 in "" | " "*) ;; *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; esac else lt_prog_compiler_pic_F77= lt_prog_compiler_can_build_shared_F77=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_F77= ;; *) lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\" { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } if test "${lt_prog_compiler_static_works_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_static_works_F77=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" printf "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_static_works_F77=yes fi else lt_prog_compiler_static_works_F77=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_F77" >&5 echo "${ECHO_T}$lt_prog_compiler_static_works_F77" >&6; } if test x"$lt_prog_compiler_static_works_F77" = xyes; then : else lt_prog_compiler_static_F77= fi { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_F77=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:15327: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:15331: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_F77=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6; } if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } runpath_var= allow_undefined_flag_F77= enable_shared_with_static_runtimes_F77=no archive_cmds_F77= archive_expsym_cmds_F77= old_archive_From_new_cmds_F77= old_archive_from_expsyms_cmds_F77= export_dynamic_flag_spec_F77= whole_archive_flag_spec_F77= thread_safe_flag_spec_F77= hardcode_libdir_flag_spec_F77= hardcode_libdir_flag_spec_ld_F77= hardcode_libdir_separator_F77= hardcode_direct_F77=no hardcode_minus_L_F77=no hardcode_shlibpath_var_F77=unsupported link_all_deplibs_F77=unknown hardcode_automatic_F77=no module_cmds_F77= module_expsym_cmds_F77= always_export_symbols_F77=no export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms_F77= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs_F77=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_F77='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_F77= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs_F77=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs_F77=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_F77=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_F77=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_F77='-L$libdir' allow_undefined_flag_F77=unsupported always_export_symbols_F77=no enable_shared_with_static_runtimes_F77=yes export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs_F77=no fi ;; interix3*) hardcode_direct_F77=no hardcode_shlibpath_var_F77=no hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' export_dynamic_flag_spec_F77='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds_F77='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi link_all_deplibs_F77=no else ld_shlibs_F77=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs_F77=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs_F77=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; esac ;; sunos4*) archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_F77=no fi ;; esac if test "$ld_shlibs_F77" = no; then runpath_var= hardcode_libdir_flag_spec_F77= export_dynamic_flag_spec_F77= whole_archive_flag_spec_F77= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag_F77=unsupported always_export_symbols_F77=yes archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L_F77=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct_F77=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_F77='' hardcode_direct_F77=yes hardcode_libdir_separator_F77=':' link_all_deplibs_F77=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct_F77=yes else # We have old collect2 hardcode_direct_F77=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_F77=yes hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_libdir_separator_F77= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_F77=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_F77='-berok' # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF program main end _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_f77_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_F77="-z nodefs" archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. cat >conftest.$ac_ext <<_ACEOF program main end _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_f77_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && $as_test_x conftest$ac_exeext; then aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_F77=' ${wl}-bernotok' allow_undefined_flag_F77=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_F77='$convenience' archive_cmds_need_lc_F77=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds_F77='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes # see comment about different semantics on the GNU ld section ld_shlibs_F77=no ;; bsdi[45]*) export_dynamic_flag_spec_F77=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec_F77=' ' allow_undefined_flag_F77=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds_F77='true' # FIXME: Should let the user specify the lib program. old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path_F77='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes_F77=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag_F77='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc_F77=no hardcode_direct_F77=no hardcode_automatic_F77=yes hardcode_shlibpath_var_F77=unsupported whole_archive_flag_spec_F77='' link_all_deplibs_F77=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_F77=no ;; esac fi ;; dgux*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_shlibpath_var_F77=no ;; freebsd1*) ld_shlibs_F77=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes hardcode_minus_L_F77=yes hardcode_shlibpath_var_F77=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds_F77='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_direct_F77=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes export_dynamic_flag_spec_F77='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_direct_F77=yes export_dynamic_flag_spec_F77='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' hardcode_libdir_separator_F77=: case $host_cpu in hppa*64*|ia64*) hardcode_libdir_flag_spec_ld_F77='+b $libdir' hardcode_direct_F77=no hardcode_shlibpath_var_F77=no ;; *) hardcode_direct_F77=yes export_dynamic_flag_spec_F77='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_F77=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' fi hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: link_all_deplibs_F77=yes ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no ;; newsos6) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: hardcode_shlibpath_var_F77=no ;; openbsd*) hardcode_direct_F77=yes hardcode_shlibpath_var_F77=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' export_dynamic_flag_spec_F77='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-R$libdir' ;; *) archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_minus_L_F77=yes allow_undefined_flag_F77=unsupported archive_cmds_F77='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag_F77=' -expect_unresolved \*' archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_F77=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' else allow_undefined_flag_F77=' -expect_unresolved \*' archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec_F77='-rpath $libdir' fi hardcode_libdir_separator_F77=: ;; solaris*) no_undefined_flag_F77=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec_F77='-R$libdir' hardcode_shlibpath_var_F77=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine linker options so we # cannot just pass the convience library names through # without $wl, iff we do not link with $LD. # Luckily, gcc supports the same syntax we need for Sun Studio. # Supported since Solaris 2.6 (maybe 2.5.1?) case $wlarc in '') whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; *) whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac ;; esac link_all_deplibs_F77=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_direct_F77=yes hardcode_minus_L_F77=yes hardcode_shlibpath_var_F77=no ;; sysv4) case $host_vendor in sni) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds_F77='$CC -r -o $output$reload_objs' hardcode_direct_F77=no ;; motorola) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_F77=no ;; sysv4.3*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_F77=no export_dynamic_flag_spec_F77='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_F77=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs_F77=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) no_undefined_flag_F77='${wl}-z,text' archive_cmds_need_lc_F77=no hardcode_shlibpath_var_F77=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag_F77='${wl}-z,text' allow_undefined_flag_F77='${wl}-z,nodefs' archive_cmds_need_lc_F77=no hardcode_shlibpath_var_F77=no hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator_F77=':' link_all_deplibs_F77=yes export_dynamic_flag_spec_F77='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_F77='-L$libdir' hardcode_shlibpath_var_F77=no ;; *) ld_shlibs_F77=no ;; esac fi { echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 echo "${ECHO_T}$ld_shlibs_F77" >&6; } test "$ld_shlibs_F77" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_F77" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_F77=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_F77 in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_F77 pic_flag=$lt_prog_compiler_pic_F77 compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_F77 allow_undefined_flag_F77= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_F77=no else archive_cmds_need_lc_F77=yes fi allow_undefined_flag_F77=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6; } ;; esac fi ;; esac { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; freebsd*) # from 4.6 on shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix3*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } hardcode_action_F77= if test -n "$hardcode_libdir_flag_spec_F77" || \ test -n "$runpath_var_F77" || \ test "X$hardcode_automatic_F77" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_F77" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && test "$hardcode_minus_L_F77" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_F77=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_F77=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_F77=unsupported fi { echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 echo "${ECHO_T}$hardcode_action_F77" >&6; } if test "$hardcode_action_F77" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_F77 \ CC_F77 \ LD_F77 \ lt_prog_compiler_wl_F77 \ lt_prog_compiler_pic_F77 \ lt_prog_compiler_static_F77 \ lt_prog_compiler_no_builtin_flag_F77 \ export_dynamic_flag_spec_F77 \ thread_safe_flag_spec_F77 \ whole_archive_flag_spec_F77 \ enable_shared_with_static_runtimes_F77 \ old_archive_cmds_F77 \ old_archive_from_new_cmds_F77 \ predep_objects_F77 \ postdep_objects_F77 \ predeps_F77 \ postdeps_F77 \ compiler_lib_search_path_F77 \ archive_cmds_F77 \ archive_expsym_cmds_F77 \ postinstall_cmds_F77 \ postuninstall_cmds_F77 \ old_archive_from_expsyms_cmds_F77 \ allow_undefined_flag_F77 \ no_undefined_flag_F77 \ export_symbols_cmds_F77 \ hardcode_libdir_flag_spec_F77 \ hardcode_libdir_flag_spec_ld_F77 \ hardcode_libdir_separator_F77 \ hardcode_automatic_F77 \ module_cmds_F77 \ module_expsym_cmds_F77 \ lt_cv_prog_compiler_c_o_F77 \ exclude_expsyms_F77 \ include_expsyms_F77; do case $var in old_archive_cmds_F77 | \ old_archive_from_new_cmds_F77 | \ archive_cmds_F77 | \ archive_expsym_cmds_F77 | \ module_cmds_F77 | \ module_expsym_cmds_F77 | \ old_archive_from_expsyms_cmds_F77 | \ export_symbols_cmds_F77 | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_F77 # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_F77 # Is the compiler the GNU C compiler? with_gcc=$GCC_F77 # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_F77 # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_F77 # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_F77 pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_F77 # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_F77 old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_F77 archive_expsym_cmds=$lt_archive_expsym_cmds_F77 postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_F77 module_expsym_cmds=$lt_module_expsym_cmds_F77 # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_F77 # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_F77 # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_F77 # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_F77 # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_F77 # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_F77 # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_F77 # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_F77 # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_F77 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_F77 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_F77 # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_F77 # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_F77" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_F77 # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_F77 # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_F77 # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_F77 # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" else tagname="" fi ;; GCJ) if test -n "$GCJ" && test "X$GCJ" != "Xno"; then # Source file extension for Java test sources. ac_ext=java # Object file extension for compiled Java test sources. objext=o objext_GCJ=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="class foo {}\n" # Code to be used in simple link tests lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${GCJ-"gcj"} compiler=$CC compiler_GCJ=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` # GCJ did not exist at the time GCC didn't implicitly link libc in. archive_cmds_need_lc_GCJ=no old_archive_cmds_GCJ=$old_archive_cmds lt_prog_compiler_no_builtin_flag_GCJ= if test "$GCC" = yes; then lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:17514: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:17518: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl_GCJ= lt_prog_compiler_pic_GCJ= lt_prog_compiler_static_GCJ= { echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; } if test "$GCC" = yes; then lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_static_GCJ='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_GCJ='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic_GCJ='-fno-common' ;; interix3*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared_GCJ=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic_GCJ=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_GCJ='-fPIC' ;; esac ;; *) lt_prog_compiler_pic_GCJ='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl_GCJ='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor lt_prog_compiler_static_GCJ='-Bstatic' else lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) lt_prog_compiler_pic_GCJ='-qnocommon' lt_prog_compiler_wl_GCJ='-Wl,' ;; esac ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl_GCJ='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic_GCJ='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl_GCJ='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static_GCJ='-non_shared' ;; newsos6) lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; linux* | k*bsd*-gnu) case $cc_basename in icc* | ecc*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-fpic' lt_prog_compiler_static_GCJ='-Bstatic' ;; ccc*) lt_prog_compiler_wl_GCJ='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static_GCJ='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl_GCJ='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static_GCJ='-non_shared' ;; solaris*) lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' case $cc_basename in f77* | f90* | f95*) lt_prog_compiler_wl_GCJ='-Qoption ld ';; *) lt_prog_compiler_wl_GCJ='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl_GCJ='-Qoption ld ' lt_prog_compiler_pic_GCJ='-PIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then lt_prog_compiler_pic_GCJ='-Kconform_pic' lt_prog_compiler_static_GCJ='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_pic_GCJ='-KPIC' lt_prog_compiler_static_GCJ='-Bstatic' ;; unicos*) lt_prog_compiler_wl_GCJ='-Wl,' lt_prog_compiler_can_build_shared_GCJ=no ;; uts4*) lt_prog_compiler_pic_GCJ='-pic' lt_prog_compiler_static_GCJ='-Bstatic' ;; *) lt_prog_compiler_can_build_shared_GCJ=no ;; esac fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6; } # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic_GCJ"; then { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6; } if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_pic_works_GCJ=no ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic_GCJ" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:17782: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:17786: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_pic_works_GCJ=yes fi fi $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6; } if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then case $lt_prog_compiler_pic_GCJ in "" | " "*) ;; *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; esac else lt_prog_compiler_pic_GCJ= lt_prog_compiler_can_build_shared_GCJ=no fi fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic_GCJ= ;; *) lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" ;; esac # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\" { echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; } if test "${lt_prog_compiler_static_works_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_prog_compiler_static_works_GCJ=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $lt_tmp_static_flag" printf "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_prog_compiler_static_works_GCJ=yes fi else lt_prog_compiler_static_works_GCJ=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" fi { echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_GCJ" >&5 echo "${ECHO_T}$lt_prog_compiler_static_works_GCJ" >&6; } if test x"$lt_prog_compiler_static_works_GCJ" = xyes; then : else lt_prog_compiler_static_GCJ= fi { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; } if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else lt_cv_prog_compiler_c_o_GCJ=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:17886: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:17890: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o_GCJ=yes fi fi chmod u+w . 2>&5 $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* fi { echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6; } hard_links="nottested" if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; } hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { echo "$as_me:$LINENO: result: $hard_links" >&5 echo "${ECHO_T}$hard_links" >&6; } if test "$hard_links" = no; then { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; } runpath_var= allow_undefined_flag_GCJ= enable_shared_with_static_runtimes_GCJ=no archive_cmds_GCJ= archive_expsym_cmds_GCJ= old_archive_From_new_cmds_GCJ= old_archive_from_expsyms_cmds_GCJ= export_dynamic_flag_spec_GCJ= whole_archive_flag_spec_GCJ= thread_safe_flag_spec_GCJ= hardcode_libdir_flag_spec_GCJ= hardcode_libdir_flag_spec_ld_GCJ= hardcode_libdir_separator_GCJ= hardcode_direct_GCJ=no hardcode_minus_L_GCJ=no hardcode_shlibpath_var_GCJ=unsupported link_all_deplibs_GCJ=unknown hardcode_automatic_GCJ=no module_cmds_GCJ= module_expsym_cmds_GCJ= always_export_symbols_GCJ=no export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms_GCJ= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac ld_shlibs_GCJ=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else whole_archive_flag_spec_GCJ= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs_GCJ=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. ld_shlibs_GCJ=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then allow_undefined_flag_GCJ=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else ld_shlibs_GCJ=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec_GCJ='-L$libdir' allow_undefined_flag_GCJ=unsupported always_export_symbols_GCJ=no enable_shared_with_static_runtimes_GCJ=yes export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs_GCJ=no fi ;; interix3*) hardcode_direct_GCJ=no hardcode_shlibpath_var_GCJ=no hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' export_dynamic_flag_spec_GCJ='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds_GCJ='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi link_all_deplibs_GCJ=no else ld_shlibs_GCJ=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then ld_shlibs_GCJ=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs_GCJ=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; esac ;; sunos4*) archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs_GCJ=no fi ;; esac if test "$ld_shlibs_GCJ" = no; then runpath_var= hardcode_libdir_flag_spec_GCJ= export_dynamic_flag_spec_GCJ= whole_archive_flag_spec_GCJ= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag_GCJ=unsupported always_export_symbols_GCJ=yes archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L_GCJ=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct_GCJ=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' else export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[23]|aix4.[23].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds_GCJ='' hardcode_direct_GCJ=yes hardcode_libdir_separator_GCJ=':' link_all_deplibs_GCJ=yes if test "$GCC" = yes; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 hardcode_direct_GCJ=yes else # We have old collect2 hardcode_direct_GCJ=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L_GCJ=yes hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_libdir_separator_GCJ= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols_GCJ=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag_GCJ='-berok' # Determine the default libpath from the value encoded in an empty executable. 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 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 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' allow_undefined_flag_GCJ="-z nodefs" archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. 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 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 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 fi rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ conftest$ac_exeext conftest.$ac_ext if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag_GCJ=' ${wl}-bernotok' allow_undefined_flag_GCJ=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec_GCJ='$convenience' archive_cmds_need_lc_GCJ=yes # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) archive_cmds_GCJ='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes # see comment about different semantics on the GNU ld section ld_shlibs_GCJ=no ;; bsdi[45]*) export_dynamic_flag_spec_GCJ=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. hardcode_libdir_flag_spec_GCJ=' ' allow_undefined_flag_GCJ=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_From_new_cmds_GCJ='true' # FIXME: Should let the user specify the lib program. old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`' enable_shared_with_static_runtimes_GCJ=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[012]) allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[012]) allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac archive_cmds_need_lc_GCJ=no hardcode_direct_GCJ=no hardcode_automatic_GCJ=yes hardcode_shlibpath_var_GCJ=unsupported whole_archive_flag_spec_GCJ='' link_all_deplibs_GCJ=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) ld_shlibs_GCJ=no ;; esac fi ;; dgux*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_shlibpath_var_GCJ=no ;; freebsd1*) ld_shlibs_GCJ=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes hardcode_minus_L_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; hpux9*) if test "$GCC" = yes; then archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else archive_cmds_GCJ='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_direct_GCJ=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_direct_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' hardcode_libdir_separator_GCJ=: case $host_cpu in hppa*64*|ia64*) hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' hardcode_direct_GCJ=no hardcode_shlibpath_var_GCJ=no ;; *) hardcode_direct_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L_GCJ=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' fi hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: link_all_deplibs_GCJ=yes ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; newsos6) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: hardcode_shlibpath_var_GCJ=no ;; openbsd*) hardcode_direct_GCJ=yes hardcode_shlibpath_var_GCJ=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' export_dynamic_flag_spec_GCJ='${wl}-E' else case $host_os in openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-R$libdir' ;; *) archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' ;; esac fi ;; os2*) hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_minus_L_GCJ=yes allow_undefined_flag_GCJ=unsupported archive_cmds_GCJ='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else allow_undefined_flag_GCJ=' -expect_unresolved \*' archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' hardcode_libdir_separator_GCJ=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' else allow_undefined_flag_GCJ=' -expect_unresolved \*' archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec_GCJ='-rpath $libdir' fi hardcode_libdir_separator_GCJ=: ;; solaris*) no_undefined_flag_GCJ=' -z text' if test "$GCC" = yes; then wlarc='${wl}' archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi hardcode_libdir_flag_spec_GCJ='-R$libdir' hardcode_shlibpath_var_GCJ=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine linker options so we # cannot just pass the convience library names through # without $wl, iff we do not link with $LD. # Luckily, gcc supports the same syntax we need for Sun Studio. # Supported since Solaris 2.6 (maybe 2.5.1?) case $wlarc in '') whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; *) whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac ;; esac link_all_deplibs_GCJ=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_direct_GCJ=yes hardcode_minus_L_GCJ=yes hardcode_shlibpath_var_GCJ=no ;; sysv4) case $host_vendor in sni) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds_GCJ='$CC -r -o $output$reload_objs' hardcode_direct_GCJ=no ;; motorola) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var_GCJ=no ;; sysv4.3*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_GCJ=no export_dynamic_flag_spec_GCJ='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var_GCJ=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs_GCJ=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*) no_undefined_flag_GCJ='${wl}-z,text' archive_cmds_need_lc_GCJ=no hardcode_shlibpath_var_GCJ=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag_GCJ='${wl}-z,text' allow_undefined_flag_GCJ='${wl}-z,nodefs' archive_cmds_need_lc_GCJ=no hardcode_shlibpath_var_GCJ=no hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' hardcode_libdir_separator_GCJ=':' link_all_deplibs_GCJ=yes export_dynamic_flag_spec_GCJ='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec_GCJ='-L$libdir' hardcode_shlibpath_var_GCJ=no ;; *) ld_shlibs_GCJ=no ;; esac fi { echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 echo "${ECHO_T}$ld_shlibs_GCJ" >&6; } test "$ld_shlibs_GCJ" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc_GCJ" in x|xyes) # Assume -lc should be added archive_cmds_need_lc_GCJ=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $archive_cmds_GCJ in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; } $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 (eval $ac_compile) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl_GCJ pic_flag=$lt_prog_compiler_pic_GCJ compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ allow_undefined_flag_GCJ= if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } then archive_cmds_need_lc_GCJ=no else archive_cmds_need_lc_GCJ=yes fi allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* { echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6; } ;; esac fi ;; esac { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; } library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[123]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; freebsd*) # from 4.6 on shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix3*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[89] | openbsd2.[89].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { echo "$as_me:$LINENO: result: $dynamic_linker" >&5 echo "${ECHO_T}$dynamic_linker" >&6; } test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; } hardcode_action_GCJ= if test -n "$hardcode_libdir_flag_spec_GCJ" || \ test -n "$runpath_var_GCJ" || \ test "X$hardcode_automatic_GCJ" = "Xyes" ; then # We can hardcode non-existant directories. if test "$hardcode_direct_GCJ" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && test "$hardcode_minus_L_GCJ" != no; then # Linking always hardcodes the temporary library directory. hardcode_action_GCJ=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action_GCJ=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action_GCJ=unsupported fi { echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 echo "${ECHO_T}$hardcode_action_GCJ" >&6; } if test "$hardcode_action_GCJ" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_GCJ \ CC_GCJ \ LD_GCJ \ lt_prog_compiler_wl_GCJ \ lt_prog_compiler_pic_GCJ \ lt_prog_compiler_static_GCJ \ lt_prog_compiler_no_builtin_flag_GCJ \ export_dynamic_flag_spec_GCJ \ thread_safe_flag_spec_GCJ \ whole_archive_flag_spec_GCJ \ enable_shared_with_static_runtimes_GCJ \ old_archive_cmds_GCJ \ old_archive_from_new_cmds_GCJ \ predep_objects_GCJ \ postdep_objects_GCJ \ predeps_GCJ \ postdeps_GCJ \ compiler_lib_search_path_GCJ \ archive_cmds_GCJ \ archive_expsym_cmds_GCJ \ postinstall_cmds_GCJ \ postuninstall_cmds_GCJ \ old_archive_from_expsyms_cmds_GCJ \ allow_undefined_flag_GCJ \ no_undefined_flag_GCJ \ export_symbols_cmds_GCJ \ hardcode_libdir_flag_spec_GCJ \ hardcode_libdir_flag_spec_ld_GCJ \ hardcode_libdir_separator_GCJ \ hardcode_automatic_GCJ \ module_cmds_GCJ \ module_expsym_cmds_GCJ \ lt_cv_prog_compiler_c_o_GCJ \ exclude_expsyms_GCJ \ include_expsyms_GCJ; do case $var in old_archive_cmds_GCJ | \ old_archive_from_new_cmds_GCJ | \ archive_cmds_GCJ | \ archive_expsym_cmds_GCJ | \ module_cmds_GCJ | \ module_expsym_cmds_GCJ | \ old_archive_from_expsyms_cmds_GCJ | \ export_symbols_cmds_GCJ | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_GCJ # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_GCJ # Is the compiler the GNU C compiler? with_gcc=$GCC_GCJ # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_GCJ # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_GCJ # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_GCJ pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_GCJ # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_GCJ old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_GCJ archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_GCJ module_expsym_cmds=$lt_module_expsym_cmds_GCJ # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_GCJ # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_GCJ # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_GCJ # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_GCJ # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_GCJ # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_GCJ # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_GCJ # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_GCJ # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_GCJ # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_GCJ # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_GCJ # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_GCJ" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_GCJ # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_GCJ # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_GCJ # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_GCJ # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" else tagname="" fi ;; RC) # Source file extension for RC test sources. ac_ext=rc # Object file extension for compiled RC test sources. objext=o objext_RC=$objext # Code to be used in simple compile tests lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' # Code to be used in simple link tests lt_simple_link_test_code="$lt_simple_compile_test_code" # ltmain only uses $CC for tagged configurations so make sure $CC is set. # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* # Allow CC to be a program name with arguments. lt_save_CC="$CC" CC=${RC-"windres"} compiler=$CC compiler_RC=$CC for cc_temp in $compiler""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` lt_cv_prog_compiler_c_o_RC=yes # The else clause should only fire when bootstrapping the # libtool distribution, otherwise you forgot to ship ltmain.sh # with your package, and you will get complaints that there are # no rules to generate ltmain.sh. if test -f "$ltmain"; then # See if we are running on zsh, and set the options which allow our commands through # without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Now quote all the things that may contain metacharacters while being # careful not to overquote the AC_SUBSTed values. We take copies of the # variables and quote the copies for generation of the libtool script. for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \ SED SHELL STRIP \ libname_spec library_names_spec soname_spec extract_expsyms_cmds \ old_striplib striplib file_magic_cmd finish_cmds finish_eval \ deplibs_check_method reload_flag reload_cmds need_locks \ lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_c_name_address \ sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ old_postinstall_cmds old_postuninstall_cmds \ compiler_RC \ CC_RC \ LD_RC \ lt_prog_compiler_wl_RC \ lt_prog_compiler_pic_RC \ lt_prog_compiler_static_RC \ lt_prog_compiler_no_builtin_flag_RC \ export_dynamic_flag_spec_RC \ thread_safe_flag_spec_RC \ whole_archive_flag_spec_RC \ enable_shared_with_static_runtimes_RC \ old_archive_cmds_RC \ old_archive_from_new_cmds_RC \ predep_objects_RC \ postdep_objects_RC \ predeps_RC \ postdeps_RC \ compiler_lib_search_path_RC \ archive_cmds_RC \ archive_expsym_cmds_RC \ postinstall_cmds_RC \ postuninstall_cmds_RC \ old_archive_from_expsyms_cmds_RC \ allow_undefined_flag_RC \ no_undefined_flag_RC \ export_symbols_cmds_RC \ hardcode_libdir_flag_spec_RC \ hardcode_libdir_flag_spec_ld_RC \ hardcode_libdir_separator_RC \ hardcode_automatic_RC \ module_cmds_RC \ module_expsym_cmds_RC \ lt_cv_prog_compiler_c_o_RC \ exclude_expsyms_RC \ include_expsyms_RC; do case $var in old_archive_cmds_RC | \ old_archive_from_new_cmds_RC | \ archive_cmds_RC | \ archive_expsym_cmds_RC | \ module_cmds_RC | \ module_expsym_cmds_RC | \ old_archive_from_expsyms_cmds_RC | \ export_symbols_cmds_RC | \ extract_expsyms_cmds | reload_cmds | finish_cmds | \ postinstall_cmds | postuninstall_cmds | \ old_postinstall_cmds | old_postuninstall_cmds | \ sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) # Double-quote double-evaled strings. eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" ;; *) eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" ;; esac done case $lt_echo in *'\$0 --fallback-echo"') lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` ;; esac cfgfile="$ofile" cat <<__EOF__ >> "$cfgfile" # ### BEGIN LIBTOOL TAG CONFIG: $tagname # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$archive_cmds_need_lc_RC # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_compiler_RC # Is the compiler the GNU C compiler? with_gcc=$GCC_RC # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_LD_RC # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl_RC # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic_RC pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_lt_prog_compiler_static_RC # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_old_archive_cmds_RC old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC # Commands used to build and install a shared archive. archive_cmds=$lt_archive_cmds_RC archive_expsym_cmds=$lt_archive_expsym_cmds_RC postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_module_cmds_RC module_expsym_cmds=$lt_module_expsym_cmds_RC # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_predep_objects_RC # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_postdep_objects_RC # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_predeps_RC # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_postdeps_RC # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_compiler_lib_search_path_RC # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_allow_undefined_flag_RC # Flag that forces no undefined symbols. no_undefined_flag=$lt_no_undefined_flag_RC # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$hardcode_action_RC # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$hardcode_direct_RC # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$hardcode_minus_L_RC # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$hardcode_shlibpath_var_RC # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$hardcode_automatic_RC # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$link_all_deplibs_RC # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$fix_srcfile_path_RC" # Set to yes if exported symbols are required. always_export_symbols=$always_export_symbols_RC # The commands to list exported symbols. export_symbols_cmds=$lt_export_symbols_cmds_RC # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_exclude_expsyms_RC # Symbols that must always be exported. include_expsyms=$lt_include_expsyms_RC # ### END LIBTOOL TAG CONFIG: $tagname __EOF__ else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC="$lt_save_CC" ;; *) { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 echo "$as_me: error: Unsupported tag name: $tagname" >&2;} { (exit 1); exit 1; }; } ;; esac # Append the new tag name to the list of available tags. if test -n "$tagname" ; then available_tags="$available_tags $tagname" fi fi done IFS="$lt_save_ifs" # Now substitute the updated list of available tags. if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then mv "${ofile}T" "$ofile" chmod +x "$ofile" else rm -f "${ofile}T" { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 echo "$as_me: error: unable to update list of available tagged configurations." >&2;} { (exit 1); exit 1; }; } fi fi # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' # Prevent multiple expansion { 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 # 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 for an ANSI C-conforming const" >&5 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } if test "${ac_cv_c_const+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ int main () { /* FIXME: Include the comments suggested by Paul. */ #ifndef __cplusplus /* Ultrix mips cc rejects this. */ typedef int charset[2]; const charset cs; /* SunOS 4.1.1 cc rejects this. */ char const *const *pcpcc; char **ppc; /* NEC SVR4.0.2 mips cc rejects this. */ struct point {int x, y;}; static struct point const zero = {0,0}; /* AIX XL C 1.02.0.0 rejects this. It does not let you subtract one const X* pointer from another in an arm of an if-expression whose if-part is not a constant expression */ const char *g = "string"; pcpcc = &g + (g ? g-g : 0); /* HPUX 7.0 cc rejects these. */ ++pcpcc; ppc = (char**) pcpcc; pcpcc = (char const *const *) ppc; { /* SCO 3.2v4 cc rejects this. */ char *t; char const *s = 0 ? (char *) 0 : (char const *) 0; *t++ = 0; if (s) return 0; } { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ int x[] = {25, 17}; const int *foo = &x[0]; ++foo; } { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ typedef const int *iptr; iptr p = 0; ++p; } { /* AIX XL C 1.02.0.0 rejects this saying "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ struct s { int j; const int *ap[3]; }; struct s *b; b->j = 5; } { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ const int foo = 10; if (!foo) return 0; } return !cs[0] && !zero.x; #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_cv_c_const=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_c_const=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 echo "${ECHO_T}$ac_cv_c_const" >&6; } if test $ac_cv_c_const = no; then cat >>confdefs.h <<\_ACEOF #define const _ACEOF fi { echo "$as_me:$LINENO: checking for inline" >&5 echo $ECHO_N "checking for inline... $ECHO_C" >&6; } if test "${ac_cv_c_inline+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_cv_c_inline=no for ac_kw in inline __inline__ __inline; do cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #ifndef __cplusplus typedef int foo_t; static $ac_kw foo_t static_foo () {return 0; } $ac_kw foo_t foo () {return 0; } #endif _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_c_inline=$ac_kw 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 test "$ac_cv_c_inline" != no && break done fi { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 echo "${ECHO_T}$ac_cv_c_inline" >&6; } case $ac_cv_c_inline in inline | yes) ;; *) case $ac_cv_c_inline in no) ac_val=;; *) ac_val=$ac_cv_c_inline;; esac cat >>confdefs.h <<_ACEOF #ifndef __cplusplus #define inline $ac_val #endif _ACEOF ;; esac { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } if test "${ac_cv_header_time+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include #include int main () { if ((struct tm *) 0) return 0; ; return 0; } _ACEOF rm -f conftest.$ac_objext if { (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_time=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_header_time=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 echo "${ECHO_T}$ac_cv_header_time" >&6; } if test $ac_cv_header_time = yes; then cat >>confdefs.h <<\_ACEOF #define TIME_WITH_SYS_TIME 1 _ACEOF fi { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; } if test "${ac_cv_struct_tm+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 int main () { struct tm tm; int *p = &tm.tm_sec; return !p; ; 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_struct_tm=time.h else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_struct_tm=sys/time.h fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 echo "${ECHO_T}$ac_cv_struct_tm" >&6; } if test $ac_cv_struct_tm = sys/time.h; then cat >>confdefs.h <<\_ACEOF #define TM_IN_SYS_TIME 1 _ACEOF fi { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; } if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include <$ac_cv_struct_tm> int main () { static struct tm ac_aggr; if (ac_aggr.tm_zone) return 0; ; 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_member_struct_tm_tm_zone=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ #include #include <$ac_cv_struct_tm> int main () { static struct tm ac_aggr; if (sizeof ac_aggr.tm_zone) return 0; ; 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_member_struct_tm_tm_zone=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_member_struct_tm_tm_zone=no 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 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; } if test $ac_cv_member_struct_tm_tm_zone = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_STRUCT_TM_TM_ZONE 1 _ACEOF fi if test "$ac_cv_member_struct_tm_tm_zone" = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_TM_ZONE 1 _ACEOF else { echo "$as_me:$LINENO: checking whether tzname is declared" >&5 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; } if test "${ac_cv_have_decl_tzname+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 () { #ifndef tzname (void) tzname; #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_cv_have_decl_tzname=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_have_decl_tzname=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; } if test $ac_cv_have_decl_tzname = yes; then cat >>confdefs.h <<_ACEOF #define HAVE_DECL_TZNAME 1 _ACEOF else cat >>confdefs.h <<_ACEOF #define HAVE_DECL_TZNAME 0 _ACEOF fi { echo "$as_me:$LINENO: checking for tzname" >&5 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; } if test "${ac_cv_var_tzname+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 #if !HAVE_DECL_TZNAME extern char *tzname[]; #endif int main () { return tzname[0][0]; ; 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_var_tzname=yes else echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_cv_var_tzname=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_var_tzname" >&5 echo "${ECHO_T}$ac_cv_var_tzname" >&6; } if test $ac_cv_var_tzname = yes; then cat >>confdefs.h <<\_ACEOF #define HAVE_TZNAME 1 _ACEOF 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 GLIB" >&5 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; } if test -n "$PKG_CONFIG"; then if test -n "$GLIB_CFLAGS"; then pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.0.0 gobject-2.0 >= 2.0.0\"") >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.0.0 gobject-2.0 >= 2.0.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.0.0 gobject-2.0 >= 2.0.0" 2>/dev/null` else pkg_failed=yes fi fi else pkg_failed=untried fi if test -n "$PKG_CONFIG"; then if test -n "$GLIB_LIBS"; then pkg_cv_GLIB_LIBS="$GLIB_LIBS" else if test -n "$PKG_CONFIG" && \ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.0.0 gobject-2.0 >= 2.0.0\"") >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.0.0 gobject-2.0 >= 2.0.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.0.0 gobject-2.0 >= 2.0.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 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0 >= 2.0.0 gobject-2.0 >= 2.0.0"` else GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.0.0 gobject-2.0 >= 2.0.0"` fi # Put the nasty error message in config.log where it belongs echo "$GLIB_PKG_ERRORS" >&5 { { echo "$as_me:$LINENO: error: Package requirements (glib-2.0 >= 2.0.0 gobject-2.0 >= 2.0.0) were not met: $GLIB_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 GLIB_CFLAGS and GLIB_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 (glib-2.0 >= 2.0.0 gobject-2.0 >= 2.0.0) were not met: $GLIB_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 GLIB_CFLAGS and GLIB_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 GLIB_CFLAGS and GLIB_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 GLIB_CFLAGS and GLIB_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 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS GLIB_LIBS=$pkg_cv_GLIB_LIBS { echo "$as_me:$LINENO: result: yes" >&5 echo "${ECHO_T}yes" >&6; } : fi GLIB_GENMARSHAL="`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`" GETTEXT_PACKAGE=libmimedir cat >>confdefs.h <<_ACEOF #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" _ACEOF ALL_LINGUAS="ar az ca cs de dz el en_CA en_GB es fi fr ga hr ml ne nl pl pt pt_BR rw sr sr@Latn sv uk vi zh_CN" 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;} ( cat <<\_ASBOX ## -------------------------------------------- ## ## Report this to mailto:gpe-list@linuxtogo.org ## ## -------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { echo "$as_me:$LINENO: checking for $ac_header" >&5 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } if { 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;} ( cat <<\_ASBOX ## -------------------------------------------- ## ## Report this to mailto:gpe-list@linuxtogo.org ## ## -------------------------------------------- ## _ASBOX ) | sed "s/^/$as_me: WARNING: /" >&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 ################################################## # Check for gtk-doc ################################################## # Check whether --with-html-dir was given. if test "${with_html_dir+set}" = set; then withval=$with_html_dir; fi if test "x$with_html_dir" = "x" ; then HTML_DIR='${datadir}/gtk-doc/html' else HTML_DIR=$with_html_dir fi # Extract the first word of "gtkdoc-mkdb", so it can be a program name with args. set dummy gtkdoc-mkdb; 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_GTKDOC+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else if test -n "$GTKDOC"; then ac_cv_prog_GTKDOC="$GTKDOC" # 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_GTKDOC="true" 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_prog_GTKDOC" && ac_cv_prog_GTKDOC="false" fi fi GTKDOC=$ac_cv_prog_GTKDOC if test -n "$GTKDOC"; then { echo "$as_me:$LINENO: result: $GTKDOC" >&5 echo "${ECHO_T}$GTKDOC" >&6; } else { echo "$as_me:$LINENO: result: no" >&5 echo "${ECHO_T}no" >&6; } fi gtk_doc_min_version=0.6 if $GTKDOC ; then gtk_doc_version=`gtkdoc-mkdb --version` { echo "$as_me:$LINENO: checking gtk-doc version ($gtk_doc_version) >= $gtk_doc_min_version" >&5 echo $ECHO_N "checking gtk-doc version ($gtk_doc_version) >= $gtk_doc_min_version... $ECHO_C" >&6; } if perl <= "$gtk_doc_min_version") ? 0 : 1); EOF { 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; } GTKDOC=false fi fi # Check whether --enable-gtk-doc was given. if test "${enable_gtk_doc+set}" = set; then enableval=$enable_gtk_doc; enable_gtk_doc="$enableval" else enable_gtk_doc=auto fi if test x$enable_gtk_doc = xauto ; then if test x$GTKDOC = xtrue ; then enable_gtk_doc=yes else enable_gtk_doc=no fi fi if test x$enable_gtk_doc = xyes; then ENABLE_GTK_DOC_TRUE= ENABLE_GTK_DOC_FALSE='#' else ENABLE_GTK_DOC_TRUE='#' ENABLE_GTK_DOC_FALSE= fi ################################################## # Output ################################################## ac_config_files="$ac_config_files Makefile po/Makefile.in mimedir/Makefile bin/Makefile docs/Makefile docs/reference/Makefile docs/reference/mimedir/Makefile mimedir-1.0.pc" 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}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_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 "${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 "${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 "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then { { echo "$as_me:$LINENO: error: conditional \"ENABLE_GTK_DOC\" was never defined. Usually this means the macro was only invoked conditionally." >&5 echo "$as_me: error: conditional \"ENABLE_GTK_DOC\" 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 MIME Directory Library $as_me 0.4.2, 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_headers="$ac_config_headers" 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 --header=FILE[:TEMPLATE] instantiate the configuration header FILE Configuration files: $config_files Configuration headers: $config_headers Configuration commands: $config_commands Report bugs to ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF ac_cs_version="\\ MIME Directory Library config.status 0.4.2 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;; --header | --heade | --head | --hea ) $ac_shift CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header { echo "$as_me: error: ambiguous option: $1 Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; };; --help | --hel | -h ) echo "$ac_cs_usage"; exit ;; -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}' INTLTOOL_ICONV='${INTLTOOL_ICONV}' INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}' INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}' _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" ;; "intltool") CONFIG_COMMANDS="$CONFIG_COMMANDS intltool" ;; "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; "mimedir/Makefile") CONFIG_FILES="$CONFIG_FILES mimedir/Makefile" ;; "bin/Makefile") CONFIG_FILES="$CONFIG_FILES bin/Makefile" ;; "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;; "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;; "docs/reference/mimedir/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/mimedir/Makefile" ;; "mimedir-1.0.pc") CONFIG_FILES="$CONFIG_FILES mimedir-1.0.pc" ;; "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_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands fi # Have a temporary directory for convenience. Make it in the build tree # simply because there is no reason against having it here, and in addition, # creating and moving files from /tmp can sometimes cause problems. # Hook for its removal unless debugging. # Note that there is a small window in which the directory will not be cleaned: # after its creation but before its name has been assigned to `$tmp'. $debug || { tmp= 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 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_EXTRACT!$INTLTOOL_EXTRACT$ac_delim INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim ALL_LINGUAS!$ALL_LINGUAS$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 _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 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim CCDEPMODE!$CCDEPMODE$ac_delim am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim DATADIRNAME!$DATADIRNAME$ac_delim MIMEDIR_MAJOR_VERSION!$MIMEDIR_MAJOR_VERSION$ac_delim MIMEDIR_MINOR_VERSION!$MIMEDIR_MINOR_VERSION$ac_delim MIMEDIR_MICRO_VERSION!$MIMEDIR_MICRO_VERSION$ac_delim LT_CURRENT!$LT_CURRENT$ac_delim LT_REVISION!$LT_REVISION$ac_delim LT_AGE!$LT_AGE$ac_delim MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim MAINT!$MAINT$ac_delim build!$build$ac_delim build_cpu!$build_cpu$ac_delim build_vendor!$build_vendor$ac_delim build_os!$build_os$ac_delim host!$host$ac_delim host_cpu!$host_cpu$ac_delim host_vendor!$host_vendor$ac_delim host_os!$host_os$ac_delim GREP!$GREP$ac_delim EGREP!$EGREP$ac_delim LN_S!$LN_S$ac_delim ECHO!$ECHO$ac_delim AR!$AR$ac_delim RANLIB!$RANLIB$ac_delim CPP!$CPP$ac_delim CXX!$CXX$ac_delim CXXFLAGS!$CXXFLAGS$ac_delim ac_ct_CXX!$ac_ct_CXX$ac_delim CXXDEPMODE!$CXXDEPMODE$ac_delim am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim CXXCPP!$CXXCPP$ac_delim F77!$F77$ac_delim FFLAGS!$FFLAGS$ac_delim ac_ct_F77!$ac_ct_F77$ac_delim LIBTOOL!$LIBTOOL$ac_delim PKG_CONFIG!$PKG_CONFIG$ac_delim GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim GLIB_LIBS!$GLIB_LIBS$ac_delim GLIB_GENMARSHAL!$GLIB_GENMARSHAL$ac_delim GETTEXT_PACKAGE!$GETTEXT_PACKAGE$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 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 HTML_DIR!$HTML_DIR$ac_delim GTKDOC!$GTKDOC$ac_delim ENABLE_GTK_DOC_TRUE!$ENABLE_GTK_DOC_TRUE$ac_delim ENABLE_GTK_DOC_FALSE!$ENABLE_GTK_DOC_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` = 66; 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 :H $CONFIG_HEADERS :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 ;; :H) # # CONFIG_HEADER # _ACEOF # Transform confdefs.h into a sed script `conftest.defines', that # substitutes the proper values into config.h.in to produce config.h. rm -f conftest.defines conftest.tail # First, append a space to every undef/define line, to ease matching. echo 's/$/ /' >conftest.defines # Then, protect against being on the right side of a sed subst, or in # an unquoted here document, in config.status. If some macros were # called several times there might be several #defines for the same # symbol, which is useless. But do not sort them, since the last # AC_DEFINE must be honored. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where # NAME is the cpp macro being defined, VALUE is the value it is being given. # PARAMS is the parameter list in the macro definition--in most cases, it's # just an empty string. ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*' ac_dB='\\)[ (].*,\\1define\\2' ac_dC=' ' ac_dD=' ,' uniq confdefs.h | sed -n ' t rset :rset s/^[ ]*#[ ]*define[ ][ ]*// t ok d :ok s/[\\&,]/\\&/g s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p ' >>conftest.defines # Remove the space that was appended to ease matching. # Then replace #undef with comments. This is necessary, for # example, in the case of _POSIX_SOURCE, which is predefined and required # on some systems where configure will not decide to define it. # (The regexp can be short, since the line contains either #define or #undef.) echo 's/ $// s,^[ #]*u.*,/* & */,' >>conftest.defines # Break up conftest.defines: ac_max_sed_lines=50 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1" # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2" # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1" # et cetera. ac_in='$ac_file_inputs' ac_out='"$tmp/out1"' ac_nxt='"$tmp/out2"' while : do # Write a here document: cat >>$CONFIG_STATUS <<_ACEOF # First, check the format of the line: cat >"\$tmp/defines.sed" <<\\CEOF /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def b :def _ACEOF sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS echo 'CEOF sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail grep . conftest.tail >/dev/null || break rm -f conftest.defines mv conftest.tail conftest.defines done rm -f conftest.defines conftest.tail echo "ac_result=$ac_in" >>$CONFIG_STATUS cat >>$CONFIG_STATUS <<\_ACEOF if test x"$ac_file" != x-; then echo "/* $configure_input */" >"$tmp/config.h" cat "$ac_result" >>"$tmp/config.h" if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 echo "$as_me: $ac_file is unchanged" >&6;} else rm -f $ac_file mv "$tmp/config.h" $ac_file fi else echo "/* $configure_input */" cat "$ac_result" fi rm -f "$tmp/out12" # Compute $ac_file's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $ac_file | $ac_file:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $ac_file" >`$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'`/stamp-h$_am_stamp_count ;; :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 ;; "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_ICONV@|${INTLTOOL_ICONV}|g" \ -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \ -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \ -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|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 ;; "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile esac ;; "po/stamp-it":C) 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 libmimedir-0.4.2/intltool-update.in0000644000175000017500000006732710654703045014252 00000000000000#!@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.35.5"; 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. 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)+)$/; }, ".."; 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; } ## N_ Q_ and _ are the three macros defined in gi8n.h if (/[NQ]?_ *\(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) { $in2{$_} = 1; } foreach (@buf_potfiles_ignore_sorted) { $in2{$_} = 1; } my @result; foreach (@buf_allfiles_sorted) { if (!exists($in2{$_})) { push @result, $_ } } 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 isIntltoolExtractInPath { my ($file) = @_; # If either a file exists, or when run it returns 0 exit status return 1 if ((-x $file) or (system("$file >/dev/null") == 0)); 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 (! isIntltoolExtractInPath("$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"} || "@INTLTOOL_XGETTEXT@"; my $XGETTEXT_ARGS = $ENV{"XGETTEXT_ARGS"} || ''; chomp $XGETTEXT; if (! -x $XGETTEXT) { print STDERR " *** 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\=\.", "--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"} || "@INTLTOOL_MSGMERGE@"; my ($lang, $outfile) = @_; 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"} || "@INTLTOOL_MSGFMT@"; $output_file = "$SRCDIR/$lang.po" if ($output_file eq ""); system ("$MSGFMT", "-o", "$devnull", "--verbose", $output_file); } sub Console_Write_CoverageReport { my $MSGFMT = $ENV{"MSGFMT"} || "@INTLTOOL_MSGFMT@"; &GatherPOFiles; foreach my $lang (@languages) { print "$lang: "; &POFile_Update ($lang, ""); } print "\n\n * Current translation support in $MODULE \n\n"; foreach my $lang (@languages) { print "$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 "../configure.ac") { $conf_in = "../configure.ac"; } elsif (-f "../configure.in") { $conf_in = "../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; } $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; } libmimedir-0.4.2/intltool-merge.in0000644000175000017500000010714110654703045014054 00000000000000#!@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.35.5"; ## 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 $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, "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"} || $ENV{"INTLTOOL_ICONV"} || "@INTLTOOL_ICONV@"; my $devnull = ($^O eq 'MSWin32' ? 'NUL:' : '/dev/null'); # 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 && @ARGV > 2) { &utf8_sanity_check; &preparation; &print_message; "ed_merge_translations; &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 -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 { 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; } ## NOTE: deal with < - < but not > - > because it seems its ok to have ## > in the entity. For further info please look at #84738. sub entity_decode { local ($_) = @_; s/'/'/g; # ' s/"/"/g; # " s/&/&/g; s/</; 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; } } 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_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+)=.*/[$lang]$1=$translation/; print OUTPUT; } } else { print OUTPUT; } } close OUTPUT; close INPUT; } 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 ($lang, $string) = @_; $string =~ s/\\\"/\"/g; my $translation = $translations{$lang, $string}; $translation = $string if !$translation; $translation =~ s/\"/\\\"/g; return $translation } sub quoted_merge_translations { 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($lang, $1) . "\""/ge; print OUTPUT; } close OUTPUT; close INPUT; } } libmimedir-0.4.2/install-sh0000755000175000017500000002202110654703051012555 00000000000000#!/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: libmimedir-0.4.2/configure.in0000644000175000017500000000551410646675344013110 00000000000000# $Id: configure.in,v 1.37 2006/12/19 04:18:07 pgeyleg Exp $ AC_INIT(MIME Directory Library, 0.4.2, mailto:gpe-list@linuxtogo.org, libmimedir) AC_PREREQ(2.53) AC_CONFIG_SRCDIR(mimedir/mimedir-attribute.c) AM_INIT_AUTOMAKE(libmimedir, AC_PACKAGE_VERSION) AC_PROG_INTLTOOL AM_CONFIG_HEADER(config.h) MIMEDIR_MAJOR_VERSION=0 MIMEDIR_MINOR_VERSION=4 MIMEDIR_MICRO_VERSION=0 AC_SUBST(MIMEDIR_MAJOR_VERSION) AC_SUBST(MIMEDIR_MINOR_VERSION) AC_SUBST(MIMEDIR_MICRO_VERSION) MIMEDIR_VERSION=$MIMEDIR_MAJOR_VERSION.$MIMEDIR_MINOR_VERSION.$MIMEDIR_MICRO_VERSION LT_CURRENT=0 LT_REVISION=0 LT_AGE=0 AC_SUBST(LT_CURRENT) AC_SUBST(LT_REVISION) AC_SUBST(LT_AGE) AM_MAINTAINER_MODE AC_PROG_CC AC_ISC_POSIX AM_PROG_LIBTOOL AC_STDC_HEADERS AC_PROG_INSTALL dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST AC_C_INLINE AC_HEADER_TIME AC_STRUCT_TIMEZONE dnl Check for Gnome Packages PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.0.0 gobject-2.0 >= 2.0.0) AC_SUBST(GLIB_LIBS) AC_SUBST(GLIB_CFLAGS) GLIB_GENMARSHAL="`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`" AC_SUBST(GLIB_GENMARSHAL) dnl gettext Related Stuff GETTEXT_PACKAGE=libmimedir AC_SUBST(GETTEXT_PACKAGE) AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Package name to be used by gettext.]) ALL_LINGUAS="ar az ca cs de dz el en_CA en_GB es fi fr ga hr ml ne nl pl pt pt_BR rw sr sr@Latn sv uk vi zh_CN" AM_GLIB_GNU_GETTEXT ################################################## # Check for gtk-doc ################################################## AC_ARG_WITH(html-dir, [ --with-html-dir=PATH path to installed docs ]) if test "x$with_html_dir" = "x" ; then HTML_DIR='${datadir}/gtk-doc/html' else HTML_DIR=$with_html_dir fi AC_SUBST(HTML_DIR) AC_CHECK_PROG(GTKDOC, gtkdoc-mkdb, true, false) gtk_doc_min_version=0.6 if $GTKDOC ; then gtk_doc_version=`gtkdoc-mkdb --version` AC_MSG_CHECKING([gtk-doc version ($gtk_doc_version) >= $gtk_doc_min_version]) if perl <= "$gtk_doc_min_version") ? 0 : 1); EOF AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) GTKDOC=false fi fi dnl Let people disable the gtk-doc stuff. AC_ARG_ENABLE(gtk-doc, [ --enable-gtk-doc Use gtk-doc to build documentation [default=auto]], enable_gtk_doc="$enableval", enable_gtk_doc=auto) if test x$enable_gtk_doc = xauto ; then if test x$GTKDOC = xtrue ; then enable_gtk_doc=yes else enable_gtk_doc=no fi fi AM_CONDITIONAL(ENABLE_GTK_DOC, test x$enable_gtk_doc = xyes) ################################################## # Output ################################################## dnl Final Output AC_CONFIG_FILES([ Makefile po/Makefile.in mimedir/Makefile bin/Makefile docs/Makefile docs/reference/Makefile docs/reference/mimedir/Makefile mimedir-1.0.pc]) AC_OUTPUT libmimedir-0.4.2/COPYING.LIB0000644000175000017500000006365010603540671012227 00000000000000 GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 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. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public Licenses are intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This license, the Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, 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 and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these rights. These restrictions translate to certain responsibilities for you if you distribute copies of the library or if you modify it. For example, if you distribute copies of the library, whether gratis or for a fee, you must give the recipients all the rights that we gave you. You must make sure that they, too, receive or can get the source code. If you link other code with the library, you must provide complete object files to the recipients, so that they can relink them with the library after making changes to the library and recompiling it. And you must show them these terms so they know their rights. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. ^L Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. The precise terms and conditions for copying, distribution and modification follow. Pay close attention to the difference between a "work based on the library" and a "work that uses the library". The former contains code derived from the library, whereas the latter must be combined with the library in order to run. ^L GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser General Public License (also called "this License"). Each licensee is addressed as "you". A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables. The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under copyright law: that is to say, a work containing the Library or a portion of it, either verbatim or with modifications and/or translated straightforwardly into another language. (Hereinafter, translation is included without limitation in the term "modification".) "Source code" for a work means the preferred form of the work for making modifications to it. For a library, 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 library. Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running a program using the Library is not restricted, and output from such a program is covered only if its contents constitute a work based on the Library (independent of the use of the Library in a tool for writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. 1. You may copy and distribute verbatim copies of the Library's complete 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 distribute a copy of this License along with the Library. 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 Library or any portion of it, thus forming a work based on the Library, 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) The modified work must itself be a software library. b) You must cause the files modified to carry prominent notices stating that you changed the files and the date of any change. c) You must cause the whole of the work to be licensed at no charge to all third parties under the terms of this License. d) If a facility in the modified Library refers to a function or a table of data to be supplied by an application program that uses the facility, other than as an argument passed when the facility is invoked, then you must make a good faith effort to ensure that, in the event an application does not supply such function or table, the facility still operates, and performs whatever part of its purpose remains meaningful. (For example, a function in a library to compute square roots has a purpose that is entirely well-defined independent of the application. Therefore, Subsection 2d requires that any application-supplied function or table used by this function must be optional: if the application does not supply it, the square root function must still compute square roots.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Library, 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 Library, 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 Library. In addition, mere aggregation of another work not based on the Library with the Library (or with a work based on the Library) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may opt to apply the terms of the ordinary GNU General Public License instead of this License to a given copy of the Library. To do this, you must alter all the notices that refer to this License, so that they refer to the ordinary GNU General Public License, version 2, instead of to this License. (If a newer version than version 2 of the ordinary GNU General Public License has appeared, then you can specify that version instead if you wish.) Do not make any other change in these notices. ^L Once this change is made in a given copy, it is irreversible for that copy, so the ordinary GNU General Public License applies to all subsequent copies and derivative works made from that copy. This option is useful when you wish to copy part of the code of the Library into a program that is not a library. 4. You may copy and distribute the Library (or a portion or derivative of it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you 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. If distribution of 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 satisfies the requirement to distribute the source code, even though third parties are not compelled to copy the source along with the object code. 5. A program that contains no derivative of any portion of the Library, but is designed to work with the Library by being compiled or linked with it, is called a "work that uses the Library". Such a work, in isolation, is not a derivative work of the Library, and therefore falls outside the scope of this License. However, linking a "work that uses the Library" with the Library creates an executable that is a derivative of the Library (because it contains portions of the Library), rather than a "work that uses the library". The executable is therefore covered by this License. Section 6 states terms for distribution of such executables. When a "work that uses the Library" uses material from a header file that is part of the Library, the object code for the work may be a derivative work of the Library even though the source code is not. Whether this is true is especially significant if the work can be linked without the Library, or if the work is itself a library. The threshold for this to be true is not precisely defined by law. If such an object file uses only numerical parameters, data structure layouts and accessors, and small macros and small inline functions (ten lines or less in length), then the use of the object file is unrestricted, regardless of whether it is legally a derivative work. (Executables containing this object code plus portions of the Library will still fall under Section 6.) Otherwise, if the work is a derivative of the Library, you may distribute the object code for the work under the terms of Section 6. Any executables containing that work also fall under Section 6, whether or not they are linked directly with the Library itself. ^L 6. As an exception to the Sections above, you may also combine or link a "work that uses the Library" with the Library to produce a work containing portions of the Library, and distribute that work under terms of your choice, provided that the terms permit modification of the work for the customer's own use and reverse engineering for debugging such modifications. You must give prominent notice with each copy of the work that the Library is used in it and that the Library and its use are covered by this License. You must supply a copy of this License. If the work during execution displays copyright notices, you must include the copyright notice for the Library among them, as well as a reference directing the user to the copy of this License. Also, you must do one of these things: a) Accompany the work with the complete corresponding machine-readable source code for the Library including whatever changes were used in the work (which must be distributed under Sections 1 and 2 above); and, if the work is an executable linked with the Library, with the complete machine-readable "work that uses the Library", as object code and/or source code, so that the user can modify the Library and then relink to produce a modified executable containing the modified Library. (It is understood that the user who changes the contents of definitions files in the Library will not necessarily be able to recompile the application to use the modified definitions.) b) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) Accompany the work with a written offer, valid for at least three years, to give the same user the materials specified in Subsection 6a, above, for a charge no more than the cost of performing this distribution. d) If distribution of the work is made by offering access to copy from a designated place, offer equivalent access to copy the above specified materials from the same place. e) Verify that the user has already received a copy of these materials or that you have already sent this user a copy. For an executable, the required form of the "work that uses the Library" must include any data and utility programs needed for reproducing the executable from it. However, as a special exception, the materials to be 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. It may happen that this requirement contradicts the license restrictions of other proprietary libraries that do not normally accompany the operating system. Such a contradiction means you cannot use both them and the Library together in an executable that you distribute. ^L 7. You may place library facilities that are a work based on the Library side-by-side in a single library together with other library facilities not covered by this License, and distribute such a combined library, provided that the separate distribution of the work based on the Library and of the other library facilities is otherwise permitted, and provided that you do these two things: a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities. This must be distributed under the terms of the Sections above. b) Give prominent notice with the combined library of the fact that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 8. You may not copy, modify, sublicense, link with, or distribute the Library except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense, link with, or distribute the Library 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. 9. 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 Library or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Library (or any work based on the Library), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Library or works based on it. 10. Each time you redistribute the Library (or any work based on the Library), the recipient automatically receives a license from the original licensor to copy, distribute, link with or modify the Library 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 with this License. ^L 11. 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 Library at all. For example, if a patent license would not permit royalty-free redistribution of the Library 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 Library. 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. 12. If the distribution and/or use of the Library is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Library 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. 13. The Free Software Foundation may publish revised and/or new versions of the Lesser 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 Library 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 Library does not specify a license version number, you may choose any version ever published by the Free Software Foundation. ^L 14. If you wish to incorporate parts of the Library into other free programs whose distribution conditions are incompatible with these, 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 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY "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 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. 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 LIBRARY 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 LIBRARY (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 LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS ^L How to Apply These Terms to Your New Libraries If you develop a new library, and you want it to be of the greatest possible use to the public, we recommend making it free software that everyone can redistribute and change. You can do so by permitting redistribution under these terms (or, alternatively, under the terms of the ordinary General Public License). To apply these terms, attach the following notices to the library. 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 library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; 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. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the library, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the library `Frob' (a library for tweaking knobs) written by James Random Hacker. , 1 April 1990 Ty Coon, President of Vice That's all there is to it! libmimedir-0.4.2/config.guess0000755000175000017500000012626010654703052013104 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005, 2006 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: libmimedir-0.4.2/docs/0000777000175000017500000000000010654704037011575 500000000000000libmimedir-0.4.2/docs/Makefile.am0000644000175000017500000000016110603540662013537 00000000000000# $Id: Makefile.am,v 1.2 2002/07/22 17:51:12 srittau Exp $ SUBDIRS = reference EXTRA_DIST = class-overview.dia libmimedir-0.4.2/docs/reference/0000777000175000017500000000000010654704037013533 500000000000000libmimedir-0.4.2/docs/reference/Makefile.am0000644000175000017500000000011610603540662015475 00000000000000# $Id: Makefile.am,v 1.1 2002/07/22 17:51:13 srittau Exp $ SUBDIRS = mimedir libmimedir-0.4.2/docs/reference/Makefile.in0000644000175000017500000003750110654703052015516 00000000000000# 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@ # $Id: Makefile.am,v 1.1 2002/07/22 17:51:13 srittau Exp $ 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 = : build_triplet = @build@ host_triplet = @host@ subdir = docs/reference DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTKDOC = @GTKDOC@ HTML_DIR = @HTML_DIR@ 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_ICONV = @INTLTOOL_ICONV@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_MSGFMT = @INTLTOOL_MSGFMT@ INTLTOOL_MSGMERGE = @INTLTOOL_MSGMERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ 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_XGETTEXT = @INTLTOOL_XGETTEXT@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MIMEDIR_MAJOR_VERSION = @MIMEDIR_MAJOR_VERSION@ MIMEDIR_MICRO_VERSION = @MIMEDIR_MICRO_VERSION@ MIMEDIR_MINOR_VERSION = @MIMEDIR_MINOR_VERSION@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ 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@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = mimedir all: all-recursive .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 docs/reference/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu docs/reference/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 mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ clean clean-generic clean-libtool clean-recursive ctags \ ctags-recursive distclean distclean-generic distclean-libtool \ distclean-recursive distclean-tags 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-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic maintainer-clean-recursive \ mostlyclean mostlyclean-generic mostlyclean-libtool \ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: libmimedir-0.4.2/docs/reference/mimedir/0000777000175000017500000000000010654704040015153 500000000000000libmimedir-0.4.2/docs/reference/mimedir/Makefile.am0000644000175000017500000001314710654447702017142 00000000000000## Process this file with automake to produce Makefile.in # $Id: Makefile.am,v 1.6 2002/07/31 12:51:29 srittau Exp $ # The name of the module, e.g. 'glib'. DOC_MODULE=mimedir # The top-level SGML file. Change it if you want. DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml # The directory containing the source code. Relative to $(srcdir). # gtk-doc will search all .c & .h files beneath here for inline comments # documenting functions and macros. DOC_SOURCE_DIR=../../.. # Extra options to supply to gtkdoc-scan. SCAN_OPTIONS= # Extra options to supply to gtkdoc-mkdb. MKDB_OPTIONS=--output-format=SGML # Extra options to supply to gtkdoc-fixref. FIXXREF_OPTIONS= # Used for dependencies. HFILE_GLOB= CFILE_GLOB= # Header files to ignore when scanning. IGNORE_HFILES= \ config.h \ mimedir-marshal.h # Images to copy into HTML directory. HTML_IMAGES = # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). content_files = \ mimedir-bib.sgml \ mimedir-intro.sgml # Other files to distribute. extra_files = # CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib # contains GtkObjects/GObjects and you want to document signals and properties. GTKDOC_CFLAGS = GTKDOC_LIBS = GTKDOC_CC=$(LIBTOOL) --mode=compile $(CC) GTKDOC_LD=$(LIBTOOL) --mode=link $(CC) # If you need to override some of the declarations, place them in this file # and uncomment this line. #DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt DOC_OVERRIDES= #################################### # Everything below here is generic # #################################### # We set GPATH here; this gives us semantics for GNU make # which are more like other make's VPATH, when it comes to # whether a source that is a target of one rule is then # searched for in VPATH/GPATH. # GPATH = $(srcdir) TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) EXTRA_DIST = \ $(content_files) \ $(HTML_IMAGES) \ $(DOC_MAIN_SGML_FILE) \ $(DOC_MODULE)-sections.txt \ $(DOC_MODULE)-overrides.txt DOC_STAMPS=scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \ $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp SCANOBJ_FILES = \ $(DOC_MODULE).args \ $(DOC_MODULE).hierarchy \ $(DOC_MODULE).interfaces \ $(DOC_MODULE).prerequisites \ $(DOC_MODULE).signals CLEANFILES = $(SCANOBJ_FILES) $(DOC_MODULE)-unused.txt $(DOC_STAMPS) if ENABLE_GTK_DOC all-local: html-build.stamp #### scan #### scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) @echo 'gtk-doc: Scanning header files' @-chmod -R u+w $(srcdir) if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \ else \ cd $(srcdir) ; \ for i in $(SCANOBJ_FILES) ; do \ test -f $$i || touch $$i ; \ done \ fi cd $(srcdir) && \ gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES) touch scan-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES): scan-build.stamp @true #### templates #### tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt @echo 'gtk-doc: Rebuilding template files' @-chmod -R u+w $(srcdir) cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS) touch tmpl-build.stamp tmpl.stamp: tmpl-build.stamp @true #### xml #### sgml-build.stamp: tmpl.stamp $(CFILE_GLOB) $(srcdir)/tmpl/*.sgml $(expand_content_files) @echo 'gtk-doc: Building XML' @-chmod -R u+w $(srcdir) cd $(srcdir) && \ gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS) touch sgml-build.stamp sgml.stamp: sgml-build.stamp @true #### html #### html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) @echo 'gtk-doc: Building HTML' @-chmod -R u+w $(srcdir) rm -rf $(srcdir)/html mkdir $(srcdir)/html cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html ) @echo 'gtk-doc: Fixing cross-references' cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) touch html-build.stamp else all-local: endif ############## clean-local: rm -f *~ *.bak rm -rf .libs maintainer-clean-local: clean cd $(srcdir) && rm -rf xml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt install-data-local: installfiles=`echo $(srcdir)/html/*`; \ if test "$$installfiles" = '$(srcdir)/html/*'; \ then echo '-- Nothing to install' ; \ else \ $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \ for i in $$installfiles; do \ echo '-- Installing '$$i ; \ $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ done; \ echo '-- Installing $(srcdir)/html/index.sgml' ; \ $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \ fi uninstall-local: rm -f $(DESTDIR)$(TARGET_DIR)/* # # Require gtk-doc when making dist # if ENABLE_GTK_DOC dist-check-gtkdoc: else dist-check-gtkdoc: @echo "*** gtk-doc should be installed and enabled in order to make dist" endif dist-hook: dist-check-gtkdoc dist-hook-local mkdir $(distdir)/tmpl mkdir $(distdir)/xml mkdir $(distdir)/html -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl -cp $(srcdir)/xml/*.xml $(distdir)/xml -cp $(srcdir)/html/* $(distdir)/html if test -f $(srcdir)/$(DOC_MODULE).types; then \ cp $(srcdir)/$(DOC_MODULE).types $(distdir)/$(DOC_MODULE).types; \ fi .PHONY : dist-hook-local libmimedir-0.4.2/docs/reference/mimedir/html/0000777000175000017500000000000010654704040016117 500000000000000libmimedir-0.4.2/docs/reference/mimedir/html/core-ref.html0000644000175000017500000000502610654704040020426 00000000000000 Core Reference

Core Reference

Table of Contents
mimedir-init -- library initialization routines
MIMEDirAttribute -- MIME Directory Attribute object
MIMEDirProfile -- MIME Directory Profile object
libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirvcard.html0000644000175000017500000014154110654704040023021 00000000000000 MIMEDirVCard

MIMEDirVCard

Name

MIMEDirVCard -- vCard business card object

Synopsis


#include <mimedir/mimedir-vcard.h>


enum                MIMEDirVCardKeyType;

#define             MIMEDIR_VCARD_TIMEZONE_MAX
#define             MIMEDIR_VCARD_TIMEZONE_MIN
#define             MIMEDIR_VCARD_LATITUDE_MAX
#define             MIMEDIR_VCARD_LATITUDE_MIN
#define             MIMEDIR_VCARD_LONGITUDE_MAX
#define             MIMEDIR_VCARD_LONGITUDE_MIN

                    MIMEDirVCard;

void                mimedir_vcard_free_list             (GList *list);
gboolean            mimedir_vcard_write_list            (const gchar *filename,
                                                         GList *list,
                                                         GError **error);
gboolean            mimedir_vcard_write_list_to_channel (GIOChannel *channel,
                                                         GList *list,
                                                         GError **error);

MIMEDirVCard*       mimedir_vcard_new                   (void);
MIMEDirVCard*       mimedir_vcard_new_from_profile      (MIMEDirProfile *profile,
                                                         GError **error);
gboolean            mimedir_vcard_read_from_profile     (MIMEDirVCard *vcard,
                                                         MIMEDirProfile *profile,
                                                         GError **error);
MIMEDirProfile*     mimedir_vcard_write_to_profile      (MIMEDirVCard *vcard);
gboolean            mimedir_vcard_write_to_channel      (MIMEDirVCard *vcard,
                                                         GIOChannel *channel,
                                                         GError **error);
gchar*              mimedir_vcard_write_to_string       (MIMEDirVCard *vcard);
void                mimedir_vcard_set_birthday          (MIMEDirVCard *vcard,
                                                         MIMEDirDateTime *birthday);
MIMEDirDateTime*    mimedir_vcard_get_birthday          (MIMEDirVCard *vcard);
void                mimedir_vcard_set_timezone          (MIMEDirVCard *vcard,
                                                         gint timezone);
gboolean            mimedir_vcard_get_timezone          (MIMEDirVCard *vcard,
                                                         gint *timezone);
void                mimedir_vcard_clear_timezone        (MIMEDirVCard *vcard);
void                mimedir_vcard_set_geo_position      (MIMEDirVCard *vcard,
                                                         gdouble latitude,
                                                         gdouble longitude);
gboolean            mimedir_vcard_get_geo_position      (MIMEDirVCard *vcard,
                                                         gdouble *latitude,
                                                         gdouble *longitude);
void                mimedir_vcard_clear_geo_position    (MIMEDirVCard *vcard);
void                mimedir_vcard_append_address        (MIMEDirVCard *vcard,
                                                         MIMEDirVCardAddress *address);
void                mimedir_vcard_remove_address        (MIMEDirVCard *vcard,
                                                         MIMEDirVCardAddress *address);
void                mimedir_vcard_append_email          (MIMEDirVCard *vcard,
                                                         MIMEDirVCardEMail *email);
void                mimedir_vcard_remove_email          (MIMEDirVCard *vcard,
                                                         MIMEDirVCardEMail *email);
void                mimedir_vcard_append_phone          (MIMEDirVCard *vcard,
                                                         MIMEDirVCardPhone *phone);
void                mimedir_vcard_remove_phone          (MIMEDirVCard *vcard,
                                                         MIMEDirVCardPhone *phone);
MIMEDirVCardAddress* mimedir_vcard_get_preferred_address
                                                        (MIMEDirVCard *vcard);
MIMEDirVCardEMail*  mimedir_vcard_get_preferred_email   (MIMEDirVCard *vcard);
MIMEDirVCardPhone*  mimedir_vcard_get_preferred_phone   (MIMEDirVCard *vcard);
gchar*              mimedir_vcard_get_as_string         (MIMEDirVCard *vcard);


Description

Details

enum MIMEDirVCardKeyType

typedef enum {
	MIMEDIR_VCARD_KEY_UNKNOWN,	/* Key type is not known */
	MIMEDIR_VCARD_KEY_X509,		/* Key is a X.509 key */
	MIMEDIR_VCARD_KEY_PGP		/* Key is a PGP/GnuPG key */
} MIMEDirVCardKeyType;

The type of a public key that is associated with the vCard.

MIMEDIR_VCARD_KEY_UNKNOWN

unknown/unsupported key type

MIMEDIR_VCARD_KEY_X509

X.509 key

MIMEDIR_VCARD_KEY_PGP

PGP/GnuPG key


MIMEDIR_VCARD_TIMEZONE_MAX

#define MIMEDIR_VCARD_TIMEZONE_MAX	(+23 * 60 + 59)

Maximum valid value for the timezone parameter.


MIMEDIR_VCARD_TIMEZONE_MIN

#define MIMEDIR_VCARD_TIMEZONE_MIN	(-23 * 60 + 59)

Minimum valid value for the timezone parameter.


MIMEDIR_VCARD_LATITUDE_MAX

#define MIMEDIR_VCARD_LATITUDE_MAX	(+90.0)

Maximum valid value for the latitude parameter.


MIMEDIR_VCARD_LATITUDE_MIN

#define MIMEDIR_VCARD_LATITUDE_MIN	(-90.0)

Minimum valid value for the latitude parameter.


MIMEDIR_VCARD_LONGITUDE_MAX

#define MIMEDIR_VCARD_LONGITUDE_MAX	(+180.0)

Maximum valid value for the longitude parameter.


MIMEDIR_VCARD_LONGITUDE_MIN

#define MIMEDIR_VCARD_LONGITUDE_MIN	(-180.0)

Minimum valid value for the longitude parameter.


MIMEDirVCard

typedef struct {
	GObject parent;

	MIMEDirVCardPriv *priv;
} MIMEDirVCard;

The MIMEDirVCard struct contains private data only, and should be accessed using the functions below.


mimedir_vcard_free_list ()

void                mimedir_vcard_free_list             (GList *list);

Frees a list of vCards as returned by mimedir_vcard_read_list_from_file() or mimedir_vcard_read_list_from_channel().

list :

list of vCards


mimedir_vcard_write_list ()

gboolean            mimedir_vcard_write_list            (const gchar *filename,
                                                         GList *list,
                                                         GError **error);

Saves a list of vCard to a file.

filename :

file to save to

list :

list of vCard objects

error :

error storage location or NULL

Returns :

success indicator


mimedir_vcard_write_list_to_channel ()

gboolean            mimedir_vcard_write_list_to_channel (GIOChannel *channel,
                                                         GList *list,
                                                         GError **error);

Saves a list of vCard to an I/O channel.

channel :

I/O channel to save to

list :

list of vCard objects

error :

error storage location or NULL

Returns :

success indicator


mimedir_vcard_new ()

MIMEDirVCard*       mimedir_vcard_new                   (void);

Creates a new (empty) vCard object.

Returns :

a new vCard object


mimedir_vcard_new_from_profile ()

MIMEDirVCard*       mimedir_vcard_new_from_profile      (MIMEDirProfile *profile,
                                                         GError **error);

Create a new vCard object and fills it with data retrieved from the supplied profile object. If an error occurs during the read, error will be set and NULL will be returned.

profile :

a profile object

error :

error storage location or NULL

Returns :

the new vCard object or NULL


mimedir_vcard_read_from_profile ()

gboolean            mimedir_vcard_read_from_profile     (MIMEDirVCard *vcard,
                                                         MIMEDirProfile *profile,
                                                         GError **error);

Clears the supplied vCard object and re-initializes it with data read from the supplied profile. If an error occurs during the read, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vcard :

a vCard

profile :

a profile object

error :

error storage location or NULL

Returns :

success indicator


mimedir_vcard_write_to_profile ()

MIMEDirProfile*     mimedir_vcard_write_to_profile      (MIMEDirVCard *vcard);

Saves the vCard object to a newly allocated profile object.

vcard :

a vCard

Returns :

a new profile


mimedir_vcard_write_to_channel ()

gboolean            mimedir_vcard_write_to_channel      (MIMEDirVCard *vcard,
                                                         GIOChannel *channel,
                                                         GError **error);

Saves the vCard object to the supplied I/O channel. If an error occurs during the write, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vcard :

a vCard

channel :

I/O channel to save to

error :

error storage location or NULL

Returns :

success indicator


mimedir_vcard_write_to_string ()

gchar*              mimedir_vcard_write_to_string       (MIMEDirVCard *vcard);

Saves the vCard object to a newly allocated memory buffer. You should free the returned buffer with g_free().

vcard :

a vCard

Returns :

a newly allocated memory buffer


mimedir_vcard_set_birthday ()

void                mimedir_vcard_set_birthday          (MIMEDirVCard *vcard,
                                                         MIMEDirDateTime *birthday);

Set's the person's birthday. Setting the birthday to NULL unsets it.

vcard :

a vCard

birthday :

a MIMEDirDateTime object or NULL


mimedir_vcard_get_birthday ()

MIMEDirDateTime*    mimedir_vcard_get_birthday          (MIMEDirVCard *vcard);

Get's the person's birthday. The return value is not ref'fed.

vcard :

a vCard

Returns :

a MIMEDirDateTime object or NULL if the birthday is undefined


mimedir_vcard_set_timezone ()

void                mimedir_vcard_set_timezone          (MIMEDirVCard *vcard,
                                                         gint timezone);

Sets the time zone to timezone.

vcard :

a vCard

timezone :

time zone in minutes from UTC


mimedir_vcard_get_timezone ()

gboolean            mimedir_vcard_get_timezone          (MIMEDirVCard *vcard,
                                                         gint *timezone);

If the object's time zone is cleared, FALSE is returned and timezone is left unchanged. Otherwise TRUE is returned and timezone is set to the vCard's time zone.

vcard :

a vCard

timezone :

pointer to the timezone storage location or NULL

Returns :

TRUE if the object has a valid time zone, FALSE otherwise


mimedir_vcard_clear_timezone ()

void                mimedir_vcard_clear_timezone        (MIMEDirVCard *vcard);

Clears the card's time zone information.

vcard :

a vCard


mimedir_vcard_set_geo_position ()

void                mimedir_vcard_set_geo_position      (MIMEDirVCard *vcard,
                                                         gdouble latitude,
                                                         gdouble longitude);

Sets the vCard's geographical position to latitude and longitude.

vcard :

a vCard

latitude :

new latitude

longitude :

new longitude


mimedir_vcard_get_geo_position ()

gboolean            mimedir_vcard_get_geo_position      (MIMEDirVCard *vcard,
                                                         gdouble *latitude,
                                                         gdouble *longitude);

If the object's geographical position is cleared, FALSE is returned and latitude and longitude are left unchanged. Otherwise TRUE is returned and latitude and longitude are set to the vCard's geographical position.

vcard :

a vCard

latitude :

pointer to the latitude storage location or NULL

longitude :

pointer to the longitude storage location or NULL

Returns :

TRUE if the object has a valid geographical position, FALSE otherwise


mimedir_vcard_clear_geo_position ()

void                mimedir_vcard_clear_geo_position    (MIMEDirVCard *vcard);

Clears the vCard's geographical position.

vcard :

a vCard


mimedir_vcard_append_address ()

void                mimedir_vcard_append_address        (MIMEDirVCard *vcard,
                                                         MIMEDirVCardAddress *address);

Appends the supplied address object to the vCard.

vcard :

a vCard

address :

a vCard address


mimedir_vcard_remove_address ()

void                mimedir_vcard_remove_address        (MIMEDirVCard *vcard,
                                                         MIMEDirVCardAddress *address);

Removes the supplied address to the vCard.

vcard :

a vCard

address :

a vCard address


mimedir_vcard_append_email ()

void                mimedir_vcard_append_email          (MIMEDirVCard *vcard,
                                                         MIMEDirVCardEMail *email);

Appends the supplied e-mail address to the vCard.

vcard :

a vCard

email :

a vCard e-mail


mimedir_vcard_remove_email ()

void                mimedir_vcard_remove_email          (MIMEDirVCard *vcard,
                                                         MIMEDirVCardEMail *email);

Removes the supplied e-mail address from the vCard.

vcard :

a vCard

email :

a vCard e-mail


mimedir_vcard_append_phone ()

void                mimedir_vcard_append_phone          (MIMEDirVCard *vcard,
                                                         MIMEDirVCardPhone *phone);

Appends the supplied telephone number to the vCard.

vcard :

a vCard

phone :

a vCard phone


mimedir_vcard_remove_phone ()

void                mimedir_vcard_remove_phone          (MIMEDirVCard *vcard,
                                                         MIMEDirVCardPhone *phone);

Removes the supplied telephone number from the vCard.

vcard :

a vCard

phone :

a vCard phone


mimedir_vcard_get_preferred_address ()

MIMEDirVCardAddress* mimedir_vcard_get_preferred_address
                                                        (MIMEDirVCard *vcard);

Returns the preferred address of the supplied vCard object. If no address has the preferred flag set, the first address of the address list is returned. If the address list is empty, NULL is returned.

vcard :

a vCard

Returns :

an address object or NULL


mimedir_vcard_get_preferred_email ()

MIMEDirVCardEMail*  mimedir_vcard_get_preferred_email   (MIMEDirVCard *vcard);

Returns the preferred email address of the supplied vCard object. If no email address has the preferred flag set, the first email address of the email address list is returned. If the email address list is empty, NULL is returned.

vcard :

a vCard

Returns :

an email address object or NULL


mimedir_vcard_get_preferred_phone ()

MIMEDirVCardPhone*  mimedir_vcard_get_preferred_phone   (MIMEDirVCard *vcard);

Returns the preferred phone number of the supplied vCard object. If no phone number has the preferred flag set, the first phone number of the phone number list is returned. If the phone number list is empty, NULL is returned.

vcard :

a vCard

Returns :

a phone number object or NULL


mimedir_vcard_get_as_string ()

gchar*              mimedir_vcard_get_as_string         (MIMEDirVCard *vcard);

Returns the contents of the vCard object as a multi-line human-readable string. It is not guaranteed that this string is of a particular format or contains all information from the vCard object. Nevertheless, it will contain all vital information. You should free the returned string with g_free().

vcard :

a vCard

Returns :

a multi-line string

libmimedir-0.4.2/docs/reference/mimedir/html/ical-ref.html0000644000175000017500000000607010654704040020406 00000000000000 iCal Object Reference

iCal Object Reference

Table of Contents
MIMEDirVCal -- main iCalendar object
MIMEDirVComponent -- iCalendar base object
MIMEDirVAlarm -- iCalendar alarm object
MIMEDirVEvent -- iCalendar event object
MIMEDirVFreeBusy -- iCalendar free/busy object
MIMEDirVJournal -- iCalendar journal object
MIMEDirVTimeZone -- iCalendar time zone object
MIMEDirVTodo -- iCalendar todo object
libmimedir-0.4.2/docs/reference/mimedir/html/overview.html0000644000175000017500000000654510654704040020601 00000000000000 Overview

Overview


Introduction

The MIME Directory Library (or libmimedir in short) is a versatile shared library for parsing and writing MIME Directory Information as described in [MIMEDIR]. Additionally, it contains classes for handling vCard (see [VCARD]) and iCalendar (see [ICAL]) files.

Libmimedir is based on the GObject system and makes heavy use of its property system. Nearly all attributes of vCards or iCalendar components are accessible as properties, while some convenience access functions are provided. Please see the API description for more information.

libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedir-init.html0000644000175000017500000000623310654704040022740 00000000000000 mimedir-init

mimedir-init

Name

mimedir-init -- library initialization routines

Synopsis


#include <mimedir/mimedir-init.h>


void                mimedir_init                        (void);

Description

Details

mimedir_init ()

void                mimedir_init                        (void);

This function must be called prior to calling any other function of libmimedir. It properly initializes any data structures needed by it.

libmimedir-0.4.2/docs/reference/mimedir/html/right.png0000644000175000017500000000073010654704040017656 00000000000000PNG  IHDRw=bKGD pHYs  ~tIME2 I%=eIDATx!o@.'**M0$$?1~vIeEuLl&4䝠Bݛ|>$ݶoc MIMEDirVAlarm

MIMEDirVAlarm

Name

MIMEDirVAlarm -- iCalendar alarm object

Description

Details

enum MIMEDirVAlarmType

typedef enum {
	MIMEDIR_VALARM_UNKNOWN,
	MIMEDIR_VALARM_AUDIO,
	MIMEDIR_VALARM_DISPLAY,
	MIMEDIR_VALARM_EMAIL,
	MIMEDIR_VALARM_PROCEDURE
} MIMEDirVAlarmType;


MIMEDirVAlarm

typedef struct {
	MIMEDirVComponent parent;

	MIMEDirVAlarmPriv *priv;
} MIMEDirVAlarm;


mimedir_valarm_new ()

MIMEDirVAlarm*      mimedir_valarm_new                  (MIMEDirVAlarmType type);

Creates a new (empty) vAlarm object.

type :

the alarm type

Returns :

a new vAlarm object


mimedir_valarm_new_from_profile ()

MIMEDirVAlarm*      mimedir_valarm_new_from_profile     (MIMEDirProfile *profile,
                                                         GError **error);

Create a new vAlarm object and fills it with data retrieved from the supplied profile object. If an error occurs during the read, error will be set and NULL will be returned.

profile :

a MIMEDirProfile object

error :

error storage location or NULL

Returns :

the new vAlarm object or NULL


mimedir_valarm_read_from_profile ()

gboolean            mimedir_valarm_read_from_profile    (MIMEDirVAlarm *valarm,
                                                         MIMEDirProfile *profile,
                                                         GError **error);

Clears the supplied vAlarm object and re-initializes it with data read from the supplied profile. If an error occurs during the read, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

valarm :

a vAlarm object

profile :

a profile object

error :

error storage location or NULL

Returns :

success indicator


mimedir_valarm_write_to_profile ()

MIMEDirProfile*     mimedir_valarm_write_to_profile     (MIMEDirVAlarm *valarm);

Saves the valarm object to a newly allocated profile object.

valarm :

a valarm

Returns :

a new profile


mimedir_valarm_write_to_string ()

gchar*              mimedir_valarm_write_to_string      (MIMEDirVAlarm *valarm);

Saves the valarm object to a newly allocated memory buffer. You should free the returned buffer with g_free().

valarm :

a valarm

Returns :

a newly allocated memory buffer


mimedir_valarm_write_to_channel ()

gboolean            mimedir_valarm_write_to_channel     (MIMEDirVAlarm *valarm,
                                                         GIOChannel *channel,
                                                         GError **error);

Saves the valarm object to the supplied I/O channel. If an error occurs during the write, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

valarm :

a valarm

channel :

I/O channel to save to

error :

error storage location or NULL

Returns :

success indicator


mimedir_valarm_set_alarm_type ()

void                mimedir_valarm_set_alarm_type       (MIMEDirVAlarm *valarm,
                                                         MIMEDirVAlarmType type);

Sets the notification type of the MIMEDirVAlarm object.

valarm :

a MIMEDirVAlarm object

type :

the new type


mimedir_valarm_get_alarm_type ()

MIMEDirVAlarmType   mimedir_valarm_get_alarm_type       (MIMEDirVAlarm *valarm);

Returns the notification type of the MIMEDirVAlarm object.

valarm :

a MIMEDirVAlarm object

Returns :

alarm type


mimedir_valarm_get_next_occurence ()

MIMEDirDateTime*    mimedir_valarm_get_next_occurence   (MIMEDirVAlarm *valarm,
                                                         MIMEDirVComponent *vcomponent,
                                                         MIMEDirDateTime *after);

Returns the first occurence of this alarm after or at the date specified by the after argument. If after is NULL, the very first occurence is returned. If there is no occurence after the specified date, NULL is returned.

valarm :

a MIMEDirVAlarm object

vcomponent :

a MIMEDirVComponent object

after :

a MIMEDirDateTime object

Returns :

a MIMEDirDateTime object or NULL


mimedir_valarm_get_trigger ()

MIMEDirDateTime*    mimedir_valarm_get_trigger          (MIMEDirVAlarm *valarm,
                                                         MIMEDirDateTime *start,
                                                         MIMEDirDateTime *end);

Returns a newly allocated MIMEDirDateTime object that relates the trigger time of the vAlarm object, depending on the supplied start or end clamp times. If end is NULL it is assumed that end equals start.

The returned object should be freed with g_object_unref().

valarm :

a MIMEDirVAlarm object

start :

a MIMEDirDateTime object

end :

a MIMEDirDateTime object or NULL

Returns :

a new MIMEDirDateTime object


mimedir_valarm_get_trigger_from_vcomponent ()

MIMEDirDateTime*    mimedir_valarm_get_trigger_from_vcomponent
                                                        (MIMEDirVAlarm *valarm,
                                                         MIMEDirVComponent *vcomponent);

Returns a newly allocated MIMEDirDateTime object that relates the trigger time of the vAlarm object, corresponding to the start and end date of component.

The returned object should be freed with g_object_unref().

valarm :

a MIMEDirVAlarm object

vcomponent :

a MIMEDirVComponent object

Returns :

a new MIMEDirDateTime object


mimedir_valarm_get_reminder_string ()

gchar*              mimedir_valarm_get_reminder_string  (MIMEDirVAlarm *valarm,
                                                         MIMEDirVComponent *vcomponent);

Return a string that can be presented to the user as reminder for the corresponding appointment or to-do list entry. The returned string should be freed with g_free().

valarm :

a MIMEDirVAlarm object

vcomponent :

the corresponding MIMEDirVComponent object

Returns :

a reminder string

libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirrecurrence.html0000644000175000017500000000772110654704040024060 00000000000000 MIMEDirRecurrence

MIMEDirRecurrence

Name

MIMEDirRecurrence -- iCalendar recurrence object

Synopsis


#include <mimedir/mimedir-recurrence.h>



                    MIMEDirRecurrence;

MIMEDirRecurrence*  mimedir_recurrence_new              (void);


Description

Details

MIMEDirRecurrence

typedef struct {
	GObject parent;

	MIMEDirRecurrencePriv *priv;
} MIMEDirRecurrence;


mimedir_recurrence_new ()

MIMEDirRecurrence*  mimedir_recurrence_new              (void);

Creates a new iCal recurrence object.

Returns :

a new recurrence object

libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirattribute.html0000644000175000017500000025470610654704040023735 00000000000000 MIMEDirAttribute

MIMEDirAttribute

Name

MIMEDirAttribute -- MIME Directory Attribute object

Synopsis


#include <mimedir/mimedir-attribute.h>


#define             MIMEDIR_ATTRIBUTE_ERROR
enum                MIMEDirAttributeError;
#define             MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR
#define             MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR_STR
#define             MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR
#define             MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING_STR
#define             MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR
#define             MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE_STR
#define             MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64_STR
#define             MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP_STR
#define             MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT_STR
#define             MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG_STR
enum                MIMEDirAttributeType;
enum                MIMEDirAttributeEncoding;
#define             MIMEDIR_ATTRIBUTE_ENCODING_NONE

                    MIMEDirAttribute;

MIMEDirAttribute*   mimedir_attribute_new               (void);
gboolean            mimedir_attribute_write_to_channel  (MIMEDirAttribute *attribute,
                                                         GIOChannel *channel,
                                                         GError **error);
const gchar*        mimedir_attribute_get_name          (MIMEDirAttribute *attribute);
void                mimedir_attribute_set_group         (MIMEDirAttribute *attribute,
                                                         const gchar *group);
const gchar*        mimedir_attribute_get_group         (MIMEDirAttribute *attribute);
void                mimedir_attribute_set_attribute_type
                                                        (MIMEDirAttribute *attribute,
                                                         MIMEDirAttributeType type);
MIMEDirAttributeType mimedir_attribute_get_attribute_type
                                                        (MIMEDirAttribute *attribute);
void                mimedir_attribute_append_parameter  (MIMEDirAttribute *attribute,
                                                         const gchar *name,
                                                         GSList *values);
void                mimedir_attribute_append_parameter_simple
                                                        (MIMEDirAttribute *attribute,
                                                         const gchar *name,
                                                         const gchar *value);
gboolean            mimedir_attribute_has_parameter     (MIMEDirAttribute *attribute,
                                                         const gchar *parameter);
GSList*             mimedir_attribute_get_parameter_values
                                                        (MIMEDirAttribute *attribute,
                                                         const gchar *parameter);
const gchar*        mimedir_attribute_get_parameter_value
                                                        (MIMEDirAttribute *attribute,
                                                         const gchar *parameter);
void                mimedir_attribute_free_parameter_values
                                                        (MIMEDirAttribute *attribute,
                                                         GSList *list);
void                mimedir_attribute_set_value_uri     (MIMEDirAttribute *attribute,
                                                         const gchar *uri);
gchar*              mimedir_attribute_get_value_uri     (MIMEDirAttribute *attribute,
                                                         GError **error);
void                mimedir_attribute_set_value_text    (MIMEDirAttribute *attribute,
                                                         const gchar *text);
gchar*              mimedir_attribute_get_value_text    (MIMEDirAttribute *attribute,
                                                         GError **error);
void                mimedir_attribute_set_value_text_list
                                                        (MIMEDirAttribute *attribute,
                                                         GSList *list);
GSList*             mimedir_attribute_get_value_text_list
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);
#define             mimedir_attribute_free_text_list    (list)
void                mimedir_attribute_set_value_datetime
                                                        (MIMEDirAttribute *attribute,
                                                         MIMEDirDateTime *datetime);
MIMEDirDateTime*    mimedir_attribute_get_value_datetime
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);
void                mimedir_attribute_set_value_datetime_list
                                                        (MIMEDirAttribute *attribute,
                                                         GSList *list);
GSList*             mimedir_attribute_get_value_datetime_list
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);
void                mimedir_attribute_free_datetime_list
                                                        (GSList *list);
void                mimedir_attribute_set_value_bool    (MIMEDirAttribute *attribute,
                                                         gboolean b);
gboolean            mimedir_attribute_get_value_bool    (MIMEDirAttribute *attribute,
                                                         GError **error);
void                mimedir_attribute_set_value_int     (MIMEDirAttribute *attribute,
                                                         gint i);
gint                mimedir_attribute_get_value_int     (MIMEDirAttribute *attribute,
                                                         GError **error);
void                mimedir_attribute_set_value_int_list
                                                        (MIMEDirAttribute *attribute,
                                                         GSList *list);
GSList*             mimedir_attribute_get_value_int_list
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);
void                mimedir_attribute_free_int_list     (GSList *list);
void                mimedir_attribute_set_value_float_list
                                                        (MIMEDirAttribute *attribute,
                                                         GSList *list);
GSList*             mimedir_attribute_get_value_float_list
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);
void                mimedir_attribute_free_float_list   (GSList *list);
void                mimedir_attribute_set_value_structured_text
                                                        (MIMEDirAttribute *attribute,
                                                         GSList *list);
GSList*             mimedir_attribute_get_value_structured_text
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);
void                mimedir_attribute_free_structured_text_list
                                                        (GSList *list);


Description

Details

MIMEDIR_ATTRIBUTE_ERROR

#define MIMEDIR_ATTRIBUTE_ERROR mimedir_attribute_error_quark ()

Error domain for MIMEDirAttribute operations. Errors in this domain will be from the MIMEDirAttributeError enumeration. See GError for information on error domains.


enum MIMEDirAttributeError

typedef enum {
	MIMEDIR_ATTRIBUTE_ERROR_SYNTAX,
	MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR,
	MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT,
	MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING,
	MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE,
	MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE,
	MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64,
	MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP,
	MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT,
	MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG
} MIMEDirAttributeError;

Error codes returned by MIMEDirAttribute operations.

MIMEDIR_ATTRIBUTE_ERROR_SYNTAX

There was a syntax error.

MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR

An illegal character was found in the input stream.

MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT

The format of an attribute value does not match the requested value type.

MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING

The attribute value can not be decoded, since its encoding is unknown.

MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE

The attribute value is out of range.

MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE

A parameter that is required to be unique is not.

MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64

Invalid Base64-encoded string.

MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP

Invalid quoted-printable-encoded string.

MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT

The parameter list is too short.

MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG

The parameter list is too long.


MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR

#define MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR			_("syntax error (%s)")

Default string representation of the MIMEDIR_ATTRIBUTE_ERROR_SYNTAX error code.


MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR_STR

#define MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR_STR		_("illegal character 0x%02x for type \"%s\"")

Default string representation of the MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR error code.


MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR

#define MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR		_("invalid format for type \"%s\" in attribute %s")

Default string representation of the MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT error code.


MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING_STR

#define MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING_STR		_("attribute %s could not be decoded, since its encoding is unknown")

Default string representation of the MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING error code.


MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR

#define MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR		_("invalid value in attribute %s")

Default string representation of the MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE error code.


MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE_STR

#define MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE_STR	_("parameter \"%s\" must not be used more than once in attribute %s")

Default string representation of the MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE error code.


MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64_STR

#define MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64_STR		_("invalid Base64 sequence")

Default string representation of the MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64 error code.


MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP_STR

#define MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP_STR			_("invalid quoted-printable sequence")

Default string representation of the MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP error code.


MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT_STR

#define MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT_STR		_("attribute list of %s is too short")

Default string representation of the MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT error code.


MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG_STR

#define MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG_STR		_("attribute list of %s is too long")

Default string representation of the MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG error code.


enum MIMEDirAttributeType

typedef enum {
	MIMEDIR_ATTRIBUTE_TYPE_UNKNOWN,
	MIMEDIR_ATTRIBUTE_TYPE_URI,
	MIMEDIR_ATTRIBUTE_TYPE_TEXT,
	MIMEDIR_ATTRIBUTE_TYPE_DATE,
	MIMEDIR_ATTRIBUTE_TYPE_TIME,
	MIMEDIR_ATTRIBUTE_TYPE_DATETIME,
	MIMEDIR_ATTRIBUTE_TYPE_INTEGER,
	MIMEDIR_ATTRIBUTE_TYPE_FLOAT,
	MIMEDIR_ATTRIBUTE_TYPE_BOOLEAN,

	/* VCard */

	MIMEDIR_ATTRIBUTE_TYPE_STRUCTURED_TEXT,
	MIMEDIR_ATTRIBUTE_TYPE_PARAMETERS,
} MIMEDirAttributeType;

The attribute's type.

MIMEDIR_ATTRIBUTE_TYPE_UNKNOWN

Attribute type is unknown.

MIMEDIR_ATTRIBUTE_TYPE_URI

Attribute represents an URI as defined in [RFC 1738].

MIMEDIR_ATTRIBUTE_TYPE_TEXT

Attribute consists of a list of text string.

MIMEDIR_ATTRIBUTE_TYPE_DATE

Attribute consists of a list of dates.

MIMEDIR_ATTRIBUTE_TYPE_TIME

Attribute consists of a list of times.

MIMEDIR_ATTRIBUTE_TYPE_DATETIME

Attribute consists of list of dates and times.

MIMEDIR_ATTRIBUTE_TYPE_INTEGER

Attribute consists of a list of integer values.

MIMEDIR_ATTRIBUTE_TYPE_FLOAT

Attribute consists of a list of floating point values.

MIMEDIR_ATTRIBUTE_TYPE_BOOLEAN

Attribute is a boolean value.

MIMEDIR_ATTRIBUTE_TYPE_STRUCTURED_TEXT

Attribute is a structured text value.

MIMEDIR_ATTRIBUTE_TYPE_PARAMETERS


enum MIMEDirAttributeEncoding

typedef enum {
	MIMEDIR_ATTRIBUTE_ENCODING_UNKNOWN,
	MIMEDIR_ATTRIBUTE_ENCODING_BASE64,
	MIMEDIR_ATTRIBUTE_ENCODING_QP, /* read-only */
} MIMEDirAttributeEncoding;

The encoding of the attribute's value.

MIMEDIR_ATTRIBUTE_ENCODING_UNKNOWN

The encoding is unknown.

MIMEDIR_ATTRIBUTE_ENCODING_BASE64

The value is Base64-encoded.

MIMEDIR_ATTRIBUTE_ENCODING_QP

The value is encoded as a quoted-printable string. This encoding is read-only and must not be set.


MIMEDIR_ATTRIBUTE_ENCODING_NONE

#define MIMEDIR_ATTRIBUTE_ENCODING_NONE MIMEDIR_ATTRIBUTE_ENCODING_UNKNOWN

Alias for MIMEDIR_ATTRIBUTE_ENCODING_UNKNOWN.


MIMEDirAttribute

typedef struct {
	GObject parent;

	MIMEDirAttributePriv *priv;
} MIMEDirAttribute;

The MIMEDirAttribute struct contains private data only, and should be accessed using the functions below.


mimedir_attribute_new ()

MIMEDirAttribute*   mimedir_attribute_new               (void);

Create a new MIMEDirAttribute object.

Returns :

the new MIMEDirAttribute object


mimedir_attribute_write_to_channel ()

gboolean            mimedir_attribute_write_to_channel  (MIMEDirAttribute *attribute,
                                                         GIOChannel *channel,
                                                         GError **error);

Writes the attribute to the supplied channel. If an error occurs during the write, error will be set and FALSE will be returned. Otherwise TRUE is returned.

attribute :

a MIMEDirAttribute

channel :

an I/O channel

error :

error storage location or NULL

Returns :

success indicator


mimedir_attribute_get_name ()

const gchar*        mimedir_attribute_get_name          (MIMEDirAttribute *attribute);

Returns the name of the attribute.

attribute :

a MIMEDirAttribute

Returns :

the attribute name


mimedir_attribute_set_group ()

void                mimedir_attribute_set_group         (MIMEDirAttribute *attribute,
                                                         const gchar *group);

Sets the name of the attribute to group. If group is NULL the attribute will not belong to any group.

attribute :

a MIMEDirAttribute

group :

new group name or NULL


mimedir_attribute_get_group ()

const gchar*        mimedir_attribute_get_group         (MIMEDirAttribute *attribute);

Returns the group of the attribute. A NULL value means that the attribute does not belong to a group.

attribute :

a MIMEDirAttribute

Returns :

the attribute group or NULL


mimedir_attribute_set_attribute_type ()

void                mimedir_attribute_set_attribute_type
                                                        (MIMEDirAttribute *attribute,
                                                         MIMEDirAttributeType type);

Sets the attribute's type.

attribute :

a MIMEDirAttribute

type :

the new type


mimedir_attribute_get_attribute_type ()

MIMEDirAttributeType mimedir_attribute_get_attribute_type
                                                        (MIMEDirAttribute *attribute);

Gets the attribute's type.

attribute :

a MIMEDirAttribute

Returns :

the attribute type


mimedir_attribute_append_parameter ()

void                mimedir_attribute_append_parameter  (MIMEDirAttribute *attribute,
                                                         const gchar *name,
                                                         GSList *values);

Appends a parameter to an attribute. If a parameter with the same name does already exist, the values are appended to it.

attribute :

a MIMEDirAttribute

name :

parameter name

values :

list of parameter values


mimedir_attribute_append_parameter_simple ()

void                mimedir_attribute_append_parameter_simple
                                                        (MIMEDirAttribute *attribute,
                                                         const gchar *name,
                                                         const gchar *value);

Appends a parameter to an attribute. If a parameter with the same name does already exist, the value is appended to it.

attribute :

a MIMEDirAttribute

name :

parameter name

value :

parameter value


mimedir_attribute_has_parameter ()

gboolean            mimedir_attribute_has_parameter     (MIMEDirAttribute *attribute,
                                                         const gchar *parameter);

Returns TRUE if the attribute possesses the given parameter. Otherwise FALSE is returned.

attribute :

a MIMEDirAttribute

parameter :

parameter name

Returns :

possession indicator


mimedir_attribute_get_parameter_values ()

GSList*             mimedir_attribute_get_parameter_values
                                                        (MIMEDirAttribute *attribute,
                                                         const gchar *parameter);

Returns the list of string values for the given parameter. If the attribute does not possess the parameter, NULL is returned. Otherwise the list has at least one element. This list must be freed with mimedir_attribute_free_parameter_values().

attribute :

a MIMEDirAttribute

parameter :

parameter name

Returns :

the value list or NULL


mimedir_attribute_get_parameter_value ()

const gchar*        mimedir_attribute_get_parameter_value
                                                        (MIMEDirAttribute *attribute,
                                                         const gchar *parameter);

Returns the value for the given parameter. If the attribute does not possess the parameter, NULL is returned.

attribute :

a MIMEDirAttribute

parameter :

parameter name

Returns :

the value or NULL


mimedir_attribute_free_parameter_values ()

void                mimedir_attribute_free_parameter_values
                                                        (MIMEDirAttribute *attribute,
                                                         GSList *list);

Frees an parameter list as obtained through mimedir_attribute_get_parameter_values().

attribute :

a MIMEDirAttribute

list :

the value list


mimedir_attribute_set_value_uri ()

void                mimedir_attribute_set_value_uri     (MIMEDirAttribute *attribute,
                                                         const gchar *uri);

Sets the attribute's value to the supplied URI argument. uri must be a valid URI as described in [URI].

attribute :

a MIMEDirAttribute

uri :

the new URI


mimedir_attribute_get_value_uri ()

gchar*              mimedir_attribute_get_value_uri     (MIMEDirAttribute *attribute,
                                                         GError **error);

Tries to parse the value of attribute as an URI as described in [URI] and returns it. The returned string should be freed with g_free(). If the attribute value can't be interpreted as an URI, error will be set and NULL will be returned.

attribute :

a MIMEDirAttribute

error :

error storage location or NULL

Returns :

the URI or NULL


mimedir_attribute_set_value_text ()

void                mimedir_attribute_set_value_text    (MIMEDirAttribute *attribute,
                                                         const gchar *text);

Sets the value of the attribute to a single text value.

attribute :

a MIMEDirAttribute

text :

the text to set


mimedir_attribute_get_value_text ()

gchar*              mimedir_attribute_get_value_text    (MIMEDirAttribute *attribute,
                                                         GError **error);

Tries to parse the value of an attribute as a single text value and returns it. The returned string should be freed with g_free(). If the attribute value can't be interpreted as text, error will be set and NULL will be returned.

attribute :

a MIMEDirAttribute

error :

error storage location or NULL

Returns :

the text value or NULL


mimedir_attribute_set_value_text_list ()

void                mimedir_attribute_set_value_text_list
                                                        (MIMEDirAttribute *attribute,
                                                         GSList *list);

Sets the attribute to a list of comma-separated text values.

attribute :

a MIMEDirAttribute

list :

list of string pointers


mimedir_attribute_get_value_text_list ()

GSList*             mimedir_attribute_get_value_text_list
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);

Tries to parse the value of an attribute as a comma-separated list of text values and returns the list. The returned list should be freed with mimedir_attribute_free_text_list(). If the attribute value can't be interpreted as text list, error will be set and NULL will be returned.

attribute :

a MIMEDirAttribute

error :

error storage location or NULL

Returns :

the text list or NULL


mimedir_attribute_free_text_list()

#define		 mimedir_attribute_free_text_list(list)		mimedir_attribute_free_list(list)

Frees a list of string pointers as returned by mimedir_attribute_get_value_text_list().

list :


mimedir_attribute_set_value_datetime ()

void                mimedir_attribute_set_value_datetime
                                                        (MIMEDirAttribute *attribute,
                                                         MIMEDirDateTime *datetime);

Sets the attribute's value to the supplied date and time.

attribute :

a MIMEDirAttribute

datetime :

a MIMEDirDateTime


mimedir_attribute_get_value_datetime ()

MIMEDirDateTime*    mimedir_attribute_get_value_datetime
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);

Tries to interpret the attribute's value as a single date/time value. It honors the VALUE parameter if it is set. A newly allocated MIMEDirDateTime object will be returned. It is set to the date and time read. If an error occurs, error will be set and NULL will be returned. Otherwise the returned object must be freed with g_object_unref().

attribute :

a MIMEDirAttribute

error :

error storage location or NULL

Returns :

a newly allocated MIMEDirDateTime object


mimedir_attribute_set_value_datetime_list ()

void                mimedir_attribute_set_value_datetime_list
                                                        (MIMEDirAttribute *attribute,
                                                         GSList *list);

Sets the attribute's value to a comma-separated list of times and dates.

attribute :

an MIMEDirAttribute

list :

a list of MIMEDirDateTime pointers


mimedir_attribute_get_value_datetime_list ()

GSList*             mimedir_attribute_get_value_datetime_list
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);

Tries to parse the value of an attribute as a comma-separated list of date and time values and returns the list. The returned list should be freed with mimedir_attribute_free_datetime_list(). If the attribute value can't be interpreted as date/time list, error will be set and NULL will be returned.

attribute :

a MIMEDirAttribute

error :

error storage location or NULL

Returns :

a list of MIMEDirDateTime pointers


mimedir_attribute_free_datetime_list ()

void                mimedir_attribute_free_datetime_list
                                                        (GSList *list);

Frees a list of MIMEDirAttributeDateTime pointers as returned by mimedir_attribute_get_value_datetime_list().

list :

a GSList


mimedir_attribute_set_value_bool ()

void                mimedir_attribute_set_value_bool    (MIMEDirAttribute *attribute,
                                                         gboolean b);

Sets the attribute's value to a boolean value.

attribute :

a MIMEDirAttribute

b :

boolean value


mimedir_attribute_get_value_bool ()

gboolean            mimedir_attribute_get_value_bool    (MIMEDirAttribute *attribute,
                                                         GError **error);

Tries to parse the value of an attribute as a boolean value and returns. it. If the attribute value can't be interpreted as boolean value, error will be set and NULL will be returned.

attribute :

a MIMEDirAttribute

error :

error storage location or NULL

Returns :

a boolean value


mimedir_attribute_set_value_int ()

void                mimedir_attribute_set_value_int     (MIMEDirAttribute *attribute,
                                                         gint i);

Sets the attribute's value to this integer value.

attribute :

an MIMEDirAttribute

i :

a gint value


mimedir_attribute_get_value_int ()

gint                mimedir_attribute_get_value_int     (MIMEDirAttribute *attribute,
                                                         GError **error);

Tries to parse the value of an attribute as a single integer value and returns it. If the attribute value can't be interpreted as an integer value, error will be set.

attribute :

a MIMEDirAttribute

error :

error storage location or NULL

Returns :

a gint value


mimedir_attribute_set_value_int_list ()

void                mimedir_attribute_set_value_int_list
                                                        (MIMEDirAttribute *attribute,
                                                         GSList *list);

Sets the attribute's value to a comma-separated list of integer values.

attribute :

an MIMEDirAttribute

list :

a list of gint values


mimedir_attribute_get_value_int_list ()

GSList*             mimedir_attribute_get_value_int_list
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);

Tries to parse the value of an attribute as a comma-separated list of integer values and returns the list. The returned list should be freed with mimedir_attribute_free_int_list(). If the attribute value can't be interpreted as int list, error will be set and NULL will be returned.

attribute :

a MIMEDirAttribute

error :

error storage location or NULL

Returns :

a list of gint values


mimedir_attribute_free_int_list ()

void                mimedir_attribute_free_int_list     (GSList *list);

Frees a list of integer values as returned by mimedir_attribute_get_value_int_list().

list :

a GSList


mimedir_attribute_set_value_float_list ()

void                mimedir_attribute_set_value_float_list
                                                        (MIMEDirAttribute *attribute,
                                                         GSList *list);

Sets the attribute's value to a comma-separated list of floating point values.

attribute :

an MIMEDirAttribute

list :

a list of gdouble pointers


mimedir_attribute_get_value_float_list ()

GSList*             mimedir_attribute_get_value_float_list
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);

Tries to parse the value of an attribute as a comma-separated list of floating point values and returns the list. The returned list should be freed with mimedir_attribute_free_float_list(). If the attribute value can't be interpreted as a list of floating point values, error will be set and NULL will be returned.

attribute :

a MIMEDirAttribute

error :

error storage location or NULL

Returns :

a list of gdouble pointers


mimedir_attribute_free_float_list ()

void                mimedir_attribute_free_float_list   (GSList *list);

Frees a list of gdouble pointers as returned by mimedir_attribute_get_value_float_list().

list :

a GSList


mimedir_attribute_set_value_structured_text ()

void                mimedir_attribute_set_value_structured_text
                                                        (MIMEDirAttribute *attribute,
                                                         GSList *list);

Sets the attribute's value to a structured text list, i.e. a semicolon-separated list of comma-separated text strings.

attribute :

an MIMEDirAttribute

list :

a list of GSLists, containing string pointers


mimedir_attribute_get_value_structured_text ()

GSList*             mimedir_attribute_get_value_structured_text
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);

Tries to parse the value of an attribute as a structured text type, i.e. where a comma-separated list of strings is in turn separated by semi-colons. The returned list should be freed with mimedir_attribute_free_structured_text_list(). If the attribute value can't be interpreted as a structured text type, error will be set and NULL will be returned.

attribute :

a MIMEDirAttribute

error :

error storage location or NULL

Returns :

a list of GSLists, containing string pointers


mimedir_attribute_free_structured_text_list ()

void                mimedir_attribute_free_structured_text_list
                                                        (GSList *list);

Frees a list as returned by mimedir_attribute_get_value_structured_text().

list :

a GSList

libmimedir-0.4.2/docs/reference/mimedir/html/left.png0000644000175000017500000000071310654704040017474 00000000000000PNG  IHDRw=bKGD pHYs  ~tIME1&[(XIDATx!OPE*ID%~ꊯ"p'ŏ`sܖrKf hmiIz}ܯI.p\`x l?l[,Hk<#c%\AUx[S7n6rzEs1j@NL$ݤi0 5/}\EKIo͓$a0jdFbkIAh>WlC'?tk;|/t*INZ^`y4Nr]׮ J<ڐt`X1@p䀸dZ')hK $V?%]+LsgUK"w53OIENDB`libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirvevent.html0000644000175000017500000003311210654704040023223 00000000000000 MIMEDirVEvent

MIMEDirVEvent

Name

MIMEDirVEvent -- iCalendar event object

Synopsis


#include <mimedir/mimedir-vevent.h>



                    MIMEDirVEvent;

MIMEDirVEvent*      mimedir_vevent_new                  (void);
MIMEDirVEvent*      mimedir_vevent_new_from_profile     (MIMEDirProfile *profile,
                                                         GError **error);
gboolean            mimedir_vevent_read_from_profile    (MIMEDirVEvent *vevent,
                                                         MIMEDirProfile *profile,
                                                         GError **error);
gboolean            mimedir_vevent_write_to_channel     (MIMEDirVEvent *vevent,
                                                         GIOChannel *channel,
                                                         GError **error);
MIMEDirProfile*     mimedir_vevent_write_to_profile     (MIMEDirVEvent *vevent);
gchar*              mimedir_vevent_write_to_string      (MIMEDirVEvent *vevent);


Description

Details

MIMEDirVEvent

typedef struct {
	MIMEDirVComponent parent;

	MIMEDirVEventPriv *priv;
} MIMEDirVEvent;


mimedir_vevent_new ()

MIMEDirVEvent*      mimedir_vevent_new                  (void);

Creates a new (empty) vevent object.

Returns :

a new vevent object


mimedir_vevent_new_from_profile ()

MIMEDirVEvent*      mimedir_vevent_new_from_profile     (MIMEDirProfile *profile,
                                                         GError **error);

Create a new vEvent object and fills it with data retrieved from the supplied profile object. If an error occurs during the read, error will be set and NULL will be returned.

profile :

a MIMEDirProfile object

error :

error storage location or NULL

Returns :

the new vEvent object or NULL


mimedir_vevent_read_from_profile ()

gboolean            mimedir_vevent_read_from_profile    (MIMEDirVEvent *vevent,
                                                         MIMEDirProfile *profile,
                                                         GError **error);

Clears the supplied vEvent object and re-initializes it with data read from the supplied profile. If an error occurs during the read, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vevent :

a vEvent object

profile :

a profile object

error :

error storage location or NULL

Returns :

success indicator


mimedir_vevent_write_to_channel ()

gboolean            mimedir_vevent_write_to_channel     (MIMEDirVEvent *vevent,
                                                         GIOChannel *channel,
                                                         GError **error);

Saves the vEvent object to the supplied I/O channel. If an error occurs during the write, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vevent :

a MIMEDirVEvent object

channel :

I/O channel to save to

error :

error storage location or NULL

Returns :

success indicator


mimedir_vevent_write_to_profile ()

MIMEDirProfile*     mimedir_vevent_write_to_profile     (MIMEDirVEvent *vevent);

Saves the vEvent object to a newly allocated profile object.

vevent :

a MIMEDirVEvent object

Returns :

a new profile


mimedir_vevent_write_to_string ()

gchar*              mimedir_vevent_write_to_string      (MIMEDirVEvent *vevent);

Saves the vevent object to a newly allocated memory buffer. You should free the returned buffer with g_free().

vevent :

a MIMEDirVEvent object

Returns :

a newly allocated memory buffer

libmimedir-0.4.2/docs/reference/mimedir/html/vcard-ref.html0000644000175000017500000000523110654704040020573 00000000000000 vCard Object Reference

vCard Object Reference

Table of Contents
MIMEDirVCard -- vCard business card object
MIMEDirVCardAddress -- vCard address object
MIMEDirVCardEMail -- vCard e-mail address object
MIMEDirVCardPhone -- vCard phone object
libmimedir-0.4.2/docs/reference/mimedir/html/home.png0000644000175000017500000000121610654704040017471 00000000000000PNG  IHDRw=bKGD pHYs  ~tIME1KvIDATxՕkq?rCp ~CnpCAAJ .B-\'G]:ܠC -(8 Ԁ!fDғklbRoyxwpðIJ<of_-@RHf֟t^ښ$Q|pgv;X^^&s(bwwZF9&3඙ ^IRZUE.0Z]]U PYM8HGIekqqҀ! $۬3n e{-/seeeÌXOͷ$8==USQRR'9-s+B^ Cەs+%<7W :2IENDB`libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirattachment.html0000644000175000017500000002517110654704040024052 00000000000000 MIMEDirAttachment

MIMEDirAttachment

Name

MIMEDirAttachment -- vCard/iCalendar attachment object

Description

Details

MIMEDirAttachment

typedef struct {
	GObject parent;

	MIMEDirAttachmentPriv *priv;
} MIMEDirAttachment;


mimedir_attachment_new ()

MIMEDirAttachment*  mimedir_attachment_new              (void);

Creates a new iCal attachment object.

Returns :

a new attachment object


mimedir_attachment_new_from_attribute ()

MIMEDirAttachment*  mimedir_attachment_new_from_attribute
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);

Creates a new attachment object and initializes it with values read from the supplied attribute object.

attribute :

a MIMEDirAttribute object

error :

error storage location or NULL

Returns :

a new MIMEDirAttachment object or NULL on error


mimedir_attachment_read_from_attribute ()

gboolean            mimedir_attachment_read_from_attribute
                                                        (MIMEDirAttachment *attachment,
                                                         MIMEDirAttribute *attribute,
                                                         GError **error);

Initializes attachment with data read from attribute.

attachment :

a MIMEDirAttachment object

attribute :

a MIMEDirAttribute object

error :

error storage location or NULL

Returns :

success indicator


mimedir_attachment_write_to_attribute ()

MIMEDirAttribute*   mimedir_attachment_write_to_attribute
                                                        (MIMEDirAttachment *attachment);

Write attachment to a newly allocated MIMEDirAttribute object. The returned object should be freed with g_object_unref().

attachment :

a MIMEDirAttachment object

Returns :

A newly allocated MIMEDirAttribute object

libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirattendee.html0000644000175000017500000002451610654704040023515 00000000000000 MIMEDirAttendee

MIMEDirAttendee

Name

MIMEDirAttendee -- iCalendar attendee object

Description

Details

MIMEDirAttendee

typedef struct {
	GObject parent;

	/* Read Only */

	gchar *uri;

	MIMEDirAttendeePriv *priv;
} MIMEDirAttendee;


mimedir_attendee_new ()

MIMEDirAttendee*    mimedir_attendee_new                (void);

Creates a new attendee object.

Returns :

a new attendee object


mimedir_attendee_new_from_attribute ()

MIMEDirAttendee*    mimedir_attendee_new_from_attribute (MIMEDirAttribute *attribute,
                                                         GError **error);

Creates a new attendee object and initializes it with values read from the supplied attribute object.

attribute :

a MIMEDirAttribute object

error :

error storage location or NULL

Returns :

a new MIMEDirAttendee object or NULL on error


mimedir_attendee_read_from_attribute ()

gboolean            mimedir_attendee_read_from_attribute
                                                        (MIMEDirAttendee *attendee,
                                                         MIMEDirAttribute *attribute,
                                                         GError **error);

Initializes attendee with data read from attribute.

attendee :

a MIMEDirAttendee object

attribute :

a MIMEDirAttribute object

error :

error storage location or NULL

Returns :

success indicator


mimedir_attendee_write_to_attribute ()

MIMEDirAttribute*   mimedir_attendee_write_to_attribute (MIMEDirAttendee *attendee);

Write attendee to a newly allocated MIMEDirAttribute object. The returned object should be freed with g_object_unref().

attendee :

a MIMEDirAttendee object

Returns :

A newly allocated MIMEDirAttribute object

libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirvcomponent.html0000644000175000017500000016063310654704040024115 00000000000000 MIMEDirVComponent

MIMEDirVComponent

Name

MIMEDirVComponent -- iCalendar base object

Synopsis


#include <mimedir/mimedir-vcomponent.h>



                    MIMEDirVComponent;

enum                MIMEDirClassification;
enum                MIMEDirStatus;
#define             MIMEDIR_VCOMPONENT_PERCENT_NONE

gboolean            mimedir_vcomponent_read_from_profile
                                                        (MIMEDirVComponent *vcomponent,
                                                         MIMEDirProfile *profile,
                                                         GError **error);
MIMEDirProfile*     mimedir_vcomponent_write_to_profile (MIMEDirVComponent *vcomponent,
                                                         const gchar *profile_name);
gchar*              mimedir_vcomponent_get_categories_as_string
                                                        (MIMEDirVComponent *vcomponent);
void                mimedir_vcomponent_set_alarm_list   (MIMEDirVComponent *vcomponent,
                                                         const GList *list);
const GList*        mimedir_vcomponent_get_alarm_list   (MIMEDirVComponent *vcomponent);
void                mimedir_vcomponent_set_attendee_list
                                                        (MIMEDirVComponent *vcomponent,
                                                         const GList *list);
const GList*        mimedir_vcomponent_get_attendee_list
                                                        (MIMEDirVComponent *vcomponent);
void                mimedir_vcomponent_set_opaque       (MIMEDirVComponent *vcomponent,
                                                         gboolean opaque);
gboolean            mimedir_vcomponent_get_opaque       (MIMEDirVComponent *vcomponent);
void                mimedir_vcomponent_set_classification
                                                        (MIMEDirVComponent *vcomponent,
                                                         MIMEDirClassification classification,
                                                         const gchar *klass);
MIMEDirClassification mimedir_vcomponent_get_classification
                                                        (MIMEDirVComponent *vcomponent,
                                                         const gchar **klass);
void                mimedir_vcomponent_set_location     (MIMEDirVComponent *vcomponent,
                                                         const gchar *location,
                                                         const gchar *uri);
const gchar*        mimedir_vcomponent_get_location     (MIMEDirVComponent *vcomponent,
                                                         const gchar **uri);
void                mimedir_vcomponent_set_geopos       (MIMEDirVComponent *vcomponent,
                                                         gdouble latitude,
                                                         gdouble longitude);
void                mimedir_vcomponent_get_geopos       (MIMEDirVComponent *vcomponent,
                                                         gdouble *latitude,
                                                         gdouble *longitude);
void                mimedir_vcomponent_set_recurrence   (MIMEDirVComponent *vcomponent,
                                                         MIMEDirRecurrence *recurrence);
MIMEDirRecurrence*  mimedir_vcomponent_get_recurrence   (MIMEDirVComponent *vcomponent);
void                mimedir_vcomponent_set_allday       (MIMEDirVComponent *vcomponent,
                                                         gboolean allday);
gboolean            mimedir_vcomponent_get_allday       (MIMEDirVComponent *vcomponent);
gboolean            mimedir_vcomponent_does_recur       (MIMEDirVComponent *vcomponent);
MIMEDirDateTime*    mimedir_vcomponent_get_next_occurence
                                                        (MIMEDirVComponent *vcomponent,
                                                         MIMEDirDateTime *after);
GList*              mimedir_vcomponent_get_occurences_between
                                                        (MIMEDirVComponent *vcomponent,
                                                         MIMEDirDateTime *start,
                                                         MIMEDirDateTime *end);
void                mimedir_vcomponent_free_occurences  (GList *list);
void                mimedir_vcomponent_set_attachment_list
                                                        (MIMEDirVComponent *vcomponent,
                                                         GList *list);
GList*              mimedir_vcomponent_get_attachment_list
                                                        (MIMEDirVComponent *vcomponent);


Description

Details

MIMEDirVComponent

typedef struct {
	GObject parent;

	MIMEDirVComponentPriv *priv;
} MIMEDirVComponent;


enum MIMEDirClassification

typedef enum {
	MIMEDIR_CLASS_PUBLIC,
	MIMEDIR_CLASS_PRIVATE,
	MIMEDIR_CLASS_CONFIDENTIAL,
	MIMEDIR_CLASS_CUSTOM
} MIMEDirClassification;

Classification of an iCalendar component object, i.e. the "secrecy level".

MIMEDIR_CLASS_PUBLIC

Public classification

MIMEDIR_CLASS_PRIVATE

Private classification

MIMEDIR_CLASS_CONFIDENTIAL

Confidential classification

MIMEDIR_CLASS_CUSTOM

Custom classification (string attached)


enum MIMEDirStatus

typedef enum {
	MIMEDIR_STATUS_UNKNOWN,
	MIMEDIR_STATUS_CANCELLED,
	MIMEDIR_STATUS_TENTATIVE,	/* VEvent */
	MIMEDIR_STATUS_CONFIRMED,
	MIMEDIR_STATUS_NEEDS_ACTION,	/* VTodo */
	MIMEDIR_STATUS_COMPLETED,
	MIMEDIR_STATUS_IN_PROCESS,
	MIMEDIR_STATUS_DRAFT,		/* VJournal */
	MIMEDIR_STATUS_FINAL
} MIMEDirStatus;

MIMEDIR_STATUS_UNKNOWN

Unknown status

MIMEDIR_STATUS_CANCELLED

Cancelled appointment

MIMEDIR_STATUS_TENTATIVE

Tentative appointment

MIMEDIR_STATUS_CONFIRMED

Confirmed appointment

MIMEDIR_STATUS_NEEDS_ACTION

Needs action

MIMEDIR_STATUS_COMPLETED

Item completed

MIMEDIR_STATUS_IN_PROCESS

Item being worked on

MIMEDIR_STATUS_DRAFT

Preliminary item

MIMEDIR_STATUS_FINAL

Final item


MIMEDIR_VCOMPONENT_PERCENT_NONE

#define MIMEDIR_VCOMPONENT_PERCENT_NONE (101)

Used to signify that a percentage is unknown or unset.


mimedir_vcomponent_read_from_profile ()

gboolean            mimedir_vcomponent_read_from_profile
                                                        (MIMEDirVComponent *vcomponent,
                                                         MIMEDirProfile *profile,
                                                         GError **error);

Clears the supplied vComponent object and re-initializes it with data read from the supplied profile. If an error occurs during the read, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vcomponent :

a vComponent object

profile :

a profile object

error :

error storage location or NULL

Returns :

success indicator


mimedir_vcomponent_write_to_profile ()

MIMEDirProfile*     mimedir_vcomponent_write_to_profile (MIMEDirVComponent *vcomponent,
                                                         const gchar *profile_name);

Saves the vcomponent object to a newly allocated profile object.

vcomponent :

a vcomponent

profile_name :

the new profile type

Returns :

a new profile


mimedir_vcomponent_get_categories_as_string ()

gchar*              mimedir_vcomponent_get_categories_as_string
                                                        (MIMEDirVComponent *vcomponent);

Returns the categories of this object as a human-readable, comma-separated string. The returned string should be freed with g_free().

vcomponent :

a MIMEDirVComponent object

Returns :

a human-readable string


mimedir_vcomponent_set_alarm_list ()

void                mimedir_vcomponent_set_alarm_list   (MIMEDirVComponent *vcomponent,
                                                         const GList *list);

Sets the list of alarms of this component.

vcomponent :

a MIMEDirVComponent object

list :

a GList pointer


mimedir_vcomponent_get_alarm_list ()

const GList*        mimedir_vcomponent_get_alarm_list   (MIMEDirVComponent *vcomponent);

Returns all alarms of this component. The list must not be modified by the caller. The MIMEDirVAlarm objects in this list must be g_object_ref()'ed when they are to be used by the caller.

vcomponent :

a MIMEDirVComponent object

Returns :

a GList containing MIMEDirVAlarm objects


mimedir_vcomponent_set_attendee_list ()

void                mimedir_vcomponent_set_attendee_list
                                                        (MIMEDirVComponent *vcomponent,
                                                         const GList *list);

Sets the list of attendees for this component.

vcomponent :

a MIMEDirVComponent object

list :

a GList pointer


mimedir_vcomponent_get_attendee_list ()

const GList*        mimedir_vcomponent_get_attendee_list
                                                        (MIMEDirVComponent *vcomponent);

Returns the list of attendees to this particular component.

vcomponent :

a MIMEDirVComponent object

Returns :

a GList containing MIMEDirAttendee objects


mimedir_vcomponent_set_opaque ()

void                mimedir_vcomponent_set_opaque       (MIMEDirVComponent *vcomponent,
                                                         gboolean opaque);

Sets whether an event is to be considered opaque or transparent. A transparent event does not consume time on the calendar.

vcomponent :

a MIMEDirVComponent object

opaque :

TRUE or FALSE


mimedir_vcomponent_get_opaque ()

gboolean            mimedir_vcomponent_get_opaque       (MIMEDirVComponent *vcomponent);

Returns whether an event is opaque or transparent. Transparent events do not consume time on the calendar.

vcomponent :

a MIMEDirVComponent object

Returns :

a boolean value


mimedir_vcomponent_set_classification ()

void                mimedir_vcomponent_set_classification
                                                        (MIMEDirVComponent *vcomponent,
                                                         MIMEDirClassification classification,
                                                         const gchar *klass);

Sets the new security classification to classification. If and only if the classification is MIMEDIR_CLASS_CUSTOM klass must be pointing to a string to use as security classification. Be sure you know what you're doing when using MIMEDIR_CLASS_CUSTOM!

vcomponent :

a MIMEDirVComponent object

classification :

the new security classification

klass :

textual security classficiation


mimedir_vcomponent_get_classification ()

MIMEDirClassification mimedir_vcomponent_get_classification
                                                        (MIMEDirVComponent *vcomponent,
                                                         const gchar **klass);

Returns the component's security classification. If the class ist MIMEDIR_CLASS_CUSTOM and klass is not NULL, klass will be filled to point to a string that signifies the security classification.

vcomponent :

a MIMEDirVComponent object

klass :

pointer to a string storage location or NULL

Returns :

the security classification


mimedir_vcomponent_set_location ()

void                mimedir_vcomponent_set_location     (MIMEDirVComponent *vcomponent,
                                                         const gchar *location,
                                                         const gchar *uri);

Sets the venue, such as a conference or meeting room. uri, if not NULL, points to an alternate representation such as an web site or an LDAP entry.

If location is NULL the property will be unset. In this case, uri must be NULL as well.

vcomponent :

a MIMEDirVComponent object

location :

location specification or NULL

uri :

optional alternate URI or NULL


mimedir_vcomponent_get_location ()

const gchar*        mimedir_vcomponent_get_location     (MIMEDirVComponent *vcomponent,
                                                         const gchar **uri);

Retrieves the venue, such as a conference or meeting room. If this property is not set, NULL will be returned.

If uri is not NULL, it will be set to an URI to an alternate representation (if one was set). If no alternate representation URI was given, uri will be set to NULL.

vcomponent :

a MIMEDirVComponent object

uri :

uri storage pointer or NULL

Returns :

location string or NULL


mimedir_vcomponent_set_geopos ()

void                mimedir_vcomponent_set_geopos       (MIMEDirVComponent *vcomponent,
                                                         gdouble latitude,
                                                         gdouble longitude);

Sets this component's geographic position to latitude/longitude.

vcomponent :

a MIMEDirVComponent object

latitude :

latitude from -90 to +90 degrees

longitude :

longitude from -180 to + 180 degrees


mimedir_vcomponent_get_geopos ()

void                mimedir_vcomponent_get_geopos       (MIMEDirVComponent *vcomponent,
                                                         gdouble *latitude,
                                                         gdouble *longitude);

Sets latitude and longitude to the component's geographical position.

vcomponent :

a MIMEDirVComponent object

latitude :

pointer to a gdouble value or NULL

longitude :

pointer to a gdouble value or NULL


mimedir_vcomponent_set_recurrence ()

void                mimedir_vcomponent_set_recurrence   (MIMEDirVComponent *vcomponent,
                                                         MIMEDirRecurrence *recurrence);

Sets the recurrence information for vcomponent. If recurrence is NULL, this component does not recur.

vcomponent :

a MIMEDirVComponent object

recurrence :

a MIMEDirRecurrence object or NULL


mimedir_vcomponent_get_recurrence ()

MIMEDirRecurrence*  mimedir_vcomponent_get_recurrence   (MIMEDirVComponent *vcomponent);

Returns the recurrence object associated with this component or NULL if there is no recurrence object.

vcomponent :

a MIMEDirVComponent object

Returns :

a MIMEDirRecurrence object or NULL


mimedir_vcomponent_set_allday ()

void                mimedir_vcomponent_set_allday       (MIMEDirVComponent *vcomponent,
                                                         gboolean allday);

Set the allday flag to allday.

vcomponent :

a MIMEDirVComponent object

allday :

TRUE or FALSE


mimedir_vcomponent_get_allday ()

gboolean            mimedir_vcomponent_get_allday       (MIMEDirVComponent *vcomponent);

Return TRUE if the event lasts a whole day, FALSE otherwise.

vcomponent :

a MIMEDirVComponent object

Returns :

TRUE or FALSE


mimedir_vcomponent_does_recur ()

gboolean            mimedir_vcomponent_does_recur       (MIMEDirVComponent *vcomponent);

Return TRUE if the component has an associated recurrence object.

vcomponent :

a MIMEDirVComponent object

Returns :

TRUE or FALSE


mimedir_vcomponent_get_next_occurence ()

MIMEDirDateTime*    mimedir_vcomponent_get_next_occurence
                                                        (MIMEDirVComponent *vcomponent,
                                                         MIMEDirDateTime *after);

Returns the first occurence of this component after or at the date specified by the after argument. If after is NULL, the very first occurence is returned. If there is no occurence after the specified date, NULL is returned.

vcomponent :

a MIMEDirVComponent object

after :

a MIMEDirDateTime object

Returns :

a MIMEDirDateTime object or NULL


mimedir_vcomponent_get_occurences_between ()

GList*              mimedir_vcomponent_get_occurences_between
                                                        (MIMEDirVComponent *vcomponent,
                                                         MIMEDirDateTime *start,
                                                         MIMEDirDateTime *end);

Return a list of MIMEDirDateTime objects that specify the start and end dates of all occurences of vcomponent that overlap with the time interval between start and end. If end is NULL, all occurences that intersect with start are returned.

Every second element in the list may be NULL in which case there is no end time for the occurence.

The returned list should be freed with mimedir_vcomponent_free_occurences().

vcomponent :

a MIMEDirVComponent object

start :

start time

end :

end time, may be NULL

Returns :

a GList containing MIMEDirDateTime objects


mimedir_vcomponent_free_occurences ()

void                mimedir_vcomponent_free_occurences  (GList *list);

Frees a GList as returned by mimedir_vcomponent_get_occurences_between().

list :

a GList as returned by mimedir_vcomponent_get_occurences_between()


mimedir_vcomponent_set_attachment_list ()

void                mimedir_vcomponent_set_attachment_list
                                                        (MIMEDirVComponent *vcomponent,
                                                         GList *list);

Sets the list of attachments of vcomponent to list, freeing the old list.

vcomponent :

a MIMEDirVComponent object

list :

GList of MIMEDirAttachment objects


mimedir_vcomponent_get_attachment_list ()

GList*              mimedir_vcomponent_get_attachment_list
                                                        (MIMEDirVComponent *vcomponent);

Returns the list of attachments of vcomponent. This list is to be considered read-only and must not be altered in any way.

vcomponent :

a MIMEDirVComponent object

Returns :

read-only GList of MIMEDirAttachment objects

libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirprofile.html0000644000175000017500000005417310654704040023366 00000000000000 MIMEDirProfile

MIMEDirProfile

Name

MIMEDirProfile -- MIME Directory Profile object

Description

Details

MIMEDIR_PROFILE_ERROR

#define MIMEDIR_PROFILE_ERROR mimedir_profile_error_quark ()

Error domain for MIMEDirProfile operations. Errors in this domain will be from the MIMEDirProfileError enumeration. See GError for information on error domains.


enum MIMEDirProfileError

typedef enum {
	MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE,
	MIMEDIR_PROFILE_ERROR_UNEXPECTED_END,
	MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING,
	MIMEDIR_PROFILE_ERROR_UNMATCHED_END,
	MIMEDIR_PROFILE_ERROR_WRONG_PROFILE
} MIMEDirProfileError;

Error codes returned by MIMEDirProfile operations.

MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE

An unique attribute was specified twice.

MIMEDIR_PROFILE_ERROR_UNEXPECTED_END

The profile is missing a proper END attribute.

MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING

An attribute that is required for a specific profile type is missing from the profile.

MIMEDIR_PROFILE_ERROR_UNMATCHED_END

The profile has an END attribute, but no BEGIN attribute or the profile's END attribute doesn't match the BEGIN attribute.

MIMEDIR_PROFILE_ERROR_WRONG_PROFILE

The PROFILE attribute does not match the BEGIN attribute.


MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR

#define MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR	_("attribute %s defined twice")

Default string representation of the MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE error code.


MIMEDIR_PROFILE_ERROR_UNEXPECTED_END_STR

#define MIMEDIR_PROFILE_ERROR_UNEXPECTED_END_STR	_("unexpected end of profile")

Default string representation of the MIMEDIR_PROFILE_ERROR_UNEXPECTED_END error code.


MIMEDIR_PROFILE_ERROR_UNMATCHED_END_STR

#define MIMEDIR_PROFILE_ERROR_UNMATCHED_END_STR		_("unmatched END attribute")

Default string representation of the MIMEDIR_PROFILE_ERROR_UNMATCHED_END error code.


MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING_STR

#define MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING_STR	_("required attribute %s is missing")

Default string representation of the MIMEDIR_PROFILE_ERROR_MISSING_STR error code.


MIMEDIR_PROFILE_ERROR_WRONG_PROFILE_STR

#define MIMEDIR_PROFILE_ERROR_WRONG_PROFILE_STR		_("wrong profile %s; expected %s")

Default string representation of the MIMEDIR_PROFILE_ERROR_WRONG_PROFILE error code.


MIMEDirProfile

typedef struct {
	GObject parent;

	MIMEDirProfilePriv *priv;
} MIMEDirProfile;

The MIMEDirProfile struct contains private data only, and should be accessed using the functions below.


mimedir_profile_new ()

MIMEDirProfile*     mimedir_profile_new                 (const gchar *type);

Creates a new profile of a given type.

type :

the profile type, may be NULL

Returns :

pointer to the new profile


mimedir_profile_write_to_channel ()

gboolean            mimedir_profile_write_to_channel    (MIMEDirProfile *profile,
                                                         GIOChannel *channel,
                                                         GError **error);

Writes the profile to the supplied I/O channel. If an error occurs during the write, error will be set and FALSE will be returned. Otherwise TRUE is returned.

profile :

a MIMEDirProfile

channel :

I/O channel to write to

error :

error storage location or NULL

Returns :

success indicator


mimedir_profile_write_to_string ()

gchar*              mimedir_profile_write_to_string     (MIMEDirProfile *profile);

Saves the profile to a newly allocated string. It should be freed with g_free().

profile :

a MIMEDirProfile

Returns :

a string


mimedir_profile_append_attribute ()

void                mimedir_profile_append_attribute    (MIMEDirProfile *profile,
                                                         MIMEDirAttribute *attribute);

Adds an attribute to the supplied profile.

profile :

a MIMEDirProfile

attribute :

attribute to add


mimedir_profile_get_attribute ()

MIMEDirAttribute*   mimedir_profile_get_attribute       (MIMEDirProfile *profile,
                                                         const gchar *name);

Tries to find the first occurence of a given attribute by name and return the MIMEDirAttribute object. If no attribute with the given name is found, NULL is returned.

profile :

a MIMEDirProfile

name :

attribute name

Returns :

the attribute or NULL


mimedir_profile_get_attribute_list ()

GSList*             mimedir_profile_get_attribute_list  (MIMEDirProfile *profile);

Return the ordered list of all the profile's attributes.

profile :

a MIMEDirProfile

Returns :

the attribute list


mimedir_profile_append_subprofile ()

void                mimedir_profile_append_subprofile   (MIMEDirProfile *profile,
                                                         MIMEDirProfile *sub_profile);

Appends sub_profile to profile as a sub-profile.

profile :

a MIMEDirProfile

sub_profile :

a MIMEDirProfile that's to be appended


mimedir_profile_get_subprofiles ()

GSList*             mimedir_profile_get_subprofiles     (MIMEDirProfile *profile);

Returns the list of all sub-profiles of profile. The returned list must not be altered in any way!

profile :

a MIMEDirProfile

Returns :

GSList containing all sub-profiles

libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirvcal.html0000644000175000017500000006022610654704040022647 00000000000000 MIMEDirVCal

MIMEDirVCal

Name

MIMEDirVCal -- main iCalendar object

Description

Details

MIMEDIR_VCAL_ERROR

#define MIMEDIR_VCAL_ERROR mimedir_vcal_error_quark ()

Error domain for MIMEDirAttribute operations. Errors in this domain will be from the MIMEDirAttributeError enumeration. See GError for information on error domains.


enum MIMEDirVCalError

typedef enum {
	MIMEDIR_VCAL_ERROR_UNKNOWN_SCALE
} MIMEDirVCalError;

Error codes returned by MIMEDirVCal operations.

MIMEDIR_VCAL_ERROR_UNKNOWN_SCALE

The specified time scale is unknown.


MIMEDIR_VCAL_ERROR_UNKNOWN_SCALE_STR

#define MIMEDIR_VCAL_ERROR_UNKNOWN_SCALE_STR	_("unknown calendar scale %s")

Default string representation of the MIMEDIR_VAL_ERROR_UNKNOWN_SCALE error code.


MIMEDirVCal

typedef struct {
	GObject parent;

	MIMEDirVCalPriv *priv;
} MIMEDirVCal;


mimedir_vcal_free_list ()

void                mimedir_vcal_free_list              (GList *list);

Frees a list of vcals as returned by mimedir_vcal_read_file() or mimedir_vcal_read_channel().

list :

list of vcals


mimedir_vcal_new ()

MIMEDirVCal*        mimedir_vcal_new                    (void);

Creates a new (empty) vcal object.

Returns :

a new vcal object


mimedir_vcal_new_from_profile ()

MIMEDirVCal*        mimedir_vcal_new_from_profile       (MIMEDirProfile *profile,
                                                         GError **error);

Create a new vcal object and fills it with data retrieved from the supplied profile object. If an error occurs during the read, error will be set and NULL will be returned.

profile :

a profile object

error :

error storage location or NULL

Returns :

the new vcal object or NULL


mimedir_vcal_read_from_profile ()

gboolean            mimedir_vcal_read_from_profile      (MIMEDirVCal *vcal,
                                                         MIMEDirProfile *profile,
                                                         GError **error);

Clears the supplied vcal object and re-initializes it with data read from the supplied profile. If an error occurs during the read, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vcal :

a vcal

profile :

a profile object

error :

error storage location or NULL

Returns :

success indicator


mimedir_vcal_write_to_channel ()

gboolean            mimedir_vcal_write_to_channel       (MIMEDirVCal *vcal,
                                                         GIOChannel *channel,
                                                         GError **error);

Saves the iCal object to the supplied I/O channel. If an error occurs during the write, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vcal :

a MIMEDirVCal object

channel :

I/O channel to save to

error :

error storage location or NULL

Returns :

success indicator


mimedir_vcal_write_to_profile ()

MIMEDirProfile*     mimedir_vcal_write_to_profile       (MIMEDirVCal *vcal);

Saves the iCal object to a newly allocated profile object.

vcal :

a MIMEDirVCal object

Returns :

a new profile


mimedir_vcal_write_to_string ()

gchar*              mimedir_vcal_write_to_string        (MIMEDirVCal *vcal);

Saves the iCal object to a newly allocated memory buffer. You should free the returned buffer with g_free().

vcal :

a MIMEDirVCal object

Returns :

a newly allocated memory buffer


mimedir_vcal_get_component_list ()

GSList*             mimedir_vcal_get_component_list     (MIMEDirVCal *vcal);

Returns all components of this vCalendar. Free the returned list with mimedir_vcal_free_component_list().

vcal :

a vCalendar object

Returns :

a GSList consisting of component objects


mimedir_vcal_get_event_list ()

GSList*             mimedir_vcal_get_event_list         (MIMEDirVCal *vcal);

Returns all vEvent components of this vCalendar. Free the returned list with mimedir_vcal_free_component_list().

vcal :

a vCalendar object

Returns :

a GSList consisting of MIMEDirVEvent objects


mimedir_vcal_get_todo_list ()

GSList*             mimedir_vcal_get_todo_list          (MIMEDirVCal *vcal);

Returns all vTodo components of this vCalendar. Free the returned list with mimedir_vcal_free_component_list().

vcal :

a vCalendar object

Returns :

a GSList consisting of MIMEDirVTodo objects


mimedir_vcal_add_component ()

void                mimedir_vcal_add_component          (MIMEDirVCal *vcal,
                                                         MIMEDirVComponent *component);

Adds a single component to the component list of vcal.

vcal :

a MIMEDirVCal

component :

a MIMEDirVComponent


mimedir_vcal_add_component_list ()

void                mimedir_vcal_add_component_list     (MIMEDirVCal *vcal,
                                                         GList *list);

Adds components to the component list of vcal.

vcal :

a MIMEDirVCal

list :

a GList of MIMEDirVComponent objects


mimedir_vcal_free_component_list ()

void                mimedir_vcal_free_component_list    (GSList *list);

Free a component list as returned by one of the get_*_list functions.

list :

a GSList

libmimedir-0.4.2/docs/reference/mimedir/html/index.sgml0000644000175000017500000011144210654704040020031 00000000000000 libmimedir-0.4.2/docs/reference/mimedir/html/overview-classes.html0000644000175000017500000000560710654704040022232 00000000000000 Class Hierarchy

Class Hierarchy

The core of libmimedir consists of two classes: MIMEDirAttribute and MIMEDirProfile. Each profile represents a collection of attributes that together form a directory entry.

The classes MIMEDirVCard and MIMEDirVCal are built on top of MIMEDirProfile. These classes use MIMEDirProfile to parse an supplied file and interpret its contents as either a vCard or an iCalendar file. They can also write these file types.

libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirvcardaddress.html0000644000175000017500000003462110654704040024367 00000000000000 MIMEDirVCardAddress

MIMEDirVCardAddress

Name

MIMEDirVCardAddress -- vCard address object

Description

The MIMEDirVCardAddress object contains information about a particular address that can be found in vCards. It contains some special properties that relate to the type of address.

Details

MIMEDirVCardAddress

typedef struct {
	GObject parent;

	MIMEDirVCardAddressPriv *priv;
} MIMEDirVCardAddress;

The MIMEDirVCardAddress struct contains private data only, and should be accessed using the functions below.


mimedir_vcard_address_new ()

MIMEDirVCardAddress* mimedir_vcard_address_new          (void);

Create a new MIMEDirVCardAddress object.

Returns :

the MIMEDirVCardAddress object


mimedir_vcard_address_new_from_attribute ()

MIMEDirVCardAddress* mimedir_vcard_address_new_from_attribute
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);

Creates a new MIMEDirVCardAddress object, initializing it with data taken from the attribute object.

attribute :

the object to take data from

error :

location to store the error occuring, or NULL to ignore

Returns :

the MIMEDirVCardAddress object


mimedir_vcard_address_set_from_attribute ()

gboolean            mimedir_vcard_address_set_from_attribute
                                                        (MIMEDirVCardAddress *address,
                                                         MIMEDirAttribute *attribute,
                                                         GError **error);

Initializes the address object to data taken from the attribute object. It is save to use this function, even if the object has been initialized before. All old data will be lost in this case.

address :

the object to manipulate

attribute :

the object to take data from

error :

location to store the error occuring, or NULL to ignore

Returns :

success indicator


mimedir_vcard_address_save_to_attribute ()

MIMEDirAttribute*   mimedir_vcard_address_save_to_attribute
                                                        (MIMEDirVCardAddress *address);

Returns a new attribute that describes the address.

address :

an address object

Returns :

a new attribute


mimedir_vcard_address_get_as_string ()

gchar*              mimedir_vcard_address_get_as_string (MIMEDirVCardAddress *address);

Returns the address as a human-readable string. The returned string should be freed with g_free().

address :

an address object

Returns :

the address as human-readable string


mimedir_vcard_address_get_type_string ()

gchar*              mimedir_vcard_address_get_type_string
                                                        (MIMEDirVCardAddress *address);

Returns the type(s) of the address as a human-readable string. It should be freed with g_free().

address :

the address object

Returns :

the type as human-readable string


mimedir_vcard_address_get_title ()

gchar*              mimedir_vcard_address_get_title     (MIMEDirVCardAddress *address);

Returns a one-line string with the most important address information. The returned string should be freed with g_free().

address :

a vCard address

Returns :

title string

libmimedir-0.4.2/docs/reference/mimedir/html/up.png0000644000175000017500000000062610654704040017171 00000000000000PNG  IHDRw=bKGD pHYs  ~tIME2.E#IDATx=J@Fo] !+2[Z<@/9|t$D9nnBjBRIsI:H8UPN1fcsN95M㧖ɵ 束1~pEe$I 7nrDf!;`'ykI䲤sI_]y^^I>O>?YBIENDB`libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirdatetime.html0000644000175000017500000013672410654704040023525 00000000000000 MIMEDirDateTime

MIMEDirDateTime

Name

MIMEDirDateTime -- date time object

Synopsis


#include <mimedir/mimedir-datetime.h>


#define             MIMEDIR_DATETIME_NOTZ
#define             MIMEDIR_DATETIME_UTC

                    MIMEDirDateTime;

MIMEDirDateTime*    mimedir_datetime_new                (void);
MIMEDirDateTime*    mimedir_datetime_new_now            (void);
MIMEDirDateTime*    mimedir_datetime_new_from_datetime  (GDateYear year,
                                                         GDateMonth month,
                                                         GDateDay day,
                                                         guint8 hour,
                                                         guint8 minute,
                                                         guint8 second);
MIMEDirDateTime*    mimedir_datetime_new_from_date      (GDateYear year,
                                                         GDateMonth month,
                                                         GDateDay day);
MIMEDirDateTime*    mimedir_datetime_new_from_time      (guint8 hour,
                                                         guint8 minute,
                                                         guint8 second);
MIMEDirDateTime*    mimedir_datetime_new_from_gdate     (const GDate *date);
MIMEDirDateTime*    mimedir_datetime_new_from_time_t    (time_t t);
MIMEDirDateTime*    mimedir_datetime_new_from_struct_tm (const struct tm *tm);
void                mimedir_datetime_set_datetime       (MIMEDirDateTime *dt,
                                                         GDateYear year,
                                                         GDateMonth month,
                                                         GDateDay day,
                                                         guint8 hour,
                                                         guint8 minute,
                                                         guint8 second);
void                mimedir_datetime_set_date           (MIMEDirDateTime *dt,
                                                         GDateYear year,
                                                         GDateMonth month,
                                                         GDateDay day);
void                mimedir_datetime_set_time           (MIMEDirDateTime *dt,
                                                         guint8 hour,
                                                         guint8 minute,
                                                         guint8 second);
void                mimedir_datetime_set_gdate          (MIMEDirDateTime *dt,
                                                         const GDate *date);
void                mimedir_datetime_set_time_t         (MIMEDirDateTime *dt,
                                                         time_t t);
void                mimedir_datetime_set_struct_tm      (MIMEDirDateTime *dt,
                                                         const struct tm *tm);
void                mimedir_datetime_get_datetime       (MIMEDirDateTime *dt,
                                                         GDateYear *year,
                                                         GDateMonth *month,
                                                         GDateDay *day,
                                                         guint8 *hour,
                                                         guint8 *minute,
                                                         guint8 *second);
void                mimedir_datetime_get_date           (MIMEDirDateTime *dt,
                                                         GDateYear *year,
                                                         GDateMonth *month,
                                                         GDateDay *day);
void                mimedir_datetime_get_time           (MIMEDirDateTime *dt,
                                                         guint8 *hour,
                                                         guint8 *minute,
                                                         guint8 *second);
void                mimedir_datetime_get_gdate          (MIMEDirDateTime *dt,
                                                         GDate *date);
time_t              mimedir_datetime_get_time_t         (MIMEDirDateTime *dt);
void                mimedir_datetime_get_struct_tm      (MIMEDirDateTime *dt,
                                                         struct tm *tm);
gboolean            mimedir_datetime_is_valid           (MIMEDirDateTime *dt);
gboolean            mimedir_datetime_is_valid_date      (GDateYear year,
                                                         GDateMonth month,
                                                         GDateDay day);
gboolean            mimedir_datetime_is_valid_time      (guint8 hour,
                                                         guint8 minute,
                                                         guint8 second);
void                mimedir_datetime_to_utc             (MIMEDirDateTime *dt);
gchar*              mimedir_datetime_to_string          (MIMEDirDateTime *dt);
gint                mimedir_datetime_compare            (MIMEDirDateTime *dt1,
                                                         MIMEDirDateTime *dt2);


Description

Details

MIMEDIR_DATETIME_NOTZ

#define MIMEDIR_DATETIME_NOTZ (30000)

This date time object does not specify the time zone.


MIMEDIR_DATETIME_UTC

#define MIMEDIR_DATETIME_UTC  (30001)

The time is given in Universal Standard Time (UTC).


MIMEDirDateTime

typedef struct {
	GObject parent;

	GDateYear  year;
	GDateMonth month;
	GDateDay   day;
	guint8     hour;
	guint8     minute;
	guint8     second;
	gint16     timezone;

	MIMEDirDateTimeFlags flags;

	MIMEDirDateTimePriv *priv;
} MIMEDirDateTime;


mimedir_datetime_new ()

MIMEDirDateTime*    mimedir_datetime_new                (void);

Creates a new MIME Directory Date/Time object.

Returns :

a new date/time object


mimedir_datetime_new_now ()

MIMEDirDateTime*    mimedir_datetime_new_now            (void);

Creates a new MIME Directory Date/Time object. The date and time will be set to the current date/time.

Returns :

a new date/time object


mimedir_datetime_new_from_datetime ()

MIMEDirDateTime*    mimedir_datetime_new_from_datetime  (GDateYear year,
                                                         GDateMonth month,
                                                         GDateDay day,
                                                         guint8 hour,
                                                         guint8 minute,
                                                         guint8 second);

Creates a new MIME Directory Date/Time object and fills it with the supplied date and time.

year :

month :

day :

hour :

minute :

second :

Returns :

a new date/time object


mimedir_datetime_new_from_date ()

MIMEDirDateTime*    mimedir_datetime_new_from_date      (GDateYear year,
                                                         GDateMonth month,
                                                         GDateDay day);

Creates a new MIME Directory Date/Time object and fills it with the supplied date.

year :

month :

day :

Returns :

a new date/time object


mimedir_datetime_new_from_time ()

MIMEDirDateTime*    mimedir_datetime_new_from_time      (guint8 hour,
                                                         guint8 minute,
                                                         guint8 second);

Creates a new MIME Directory Date/Time object and fills it with the supplied time.

hour :

minute :

second :

Returns :

a new date/time object


mimedir_datetime_new_from_gdate ()

MIMEDirDateTime*    mimedir_datetime_new_from_gdate     (const GDate *date);

Creates a new MIME Directory Date/Time object and fills it with the date from date.

date :

a GDate object

Returns :

a new date/time object


mimedir_datetime_new_from_time_t ()

MIMEDirDateTime*    mimedir_datetime_new_from_time_t    (time_t t);

Creates a new MIME Directory Date/Time object and fills it with the date from t.

t :

time

Returns :

a new date/time object


mimedir_datetime_new_from_struct_tm ()

MIMEDirDateTime*    mimedir_datetime_new_from_struct_tm (const struct tm *tm);

Creates a new MIME Directory Date/Time object and fills it with the date from date.

tm :

a struct tm pointer

Returns :

a new date/time object


mimedir_datetime_set_datetime ()

void                mimedir_datetime_set_datetime       (MIMEDirDateTime *dt,
                                                         GDateYear year,
                                                         GDateMonth month,
                                                         GDateDay day,
                                                         guint8 hour,
                                                         guint8 minute,
                                                         guint8 second);

Sets the date and time of dt.

dt :

a MIMEDirDateTime object

year :

month :

day :

hour :

minute :

second :


mimedir_datetime_set_date ()

void                mimedir_datetime_set_date           (MIMEDirDateTime *dt,
                                                         GDateYear year,
                                                         GDateMonth month,
                                                         GDateDay day);

Sets the date of dt.

dt :

a MIMEDirDateTime object

year :

month :

day :


mimedir_datetime_set_time ()

void                mimedir_datetime_set_time           (MIMEDirDateTime *dt,
                                                         guint8 hour,
                                                         guint8 minute,
                                                         guint8 second);

Sets the time of dt.

dt :

a MIMEDirDateTime object

hour :

minute :

second :


mimedir_datetime_set_gdate ()

void                mimedir_datetime_set_gdate          (MIMEDirDateTime *dt,
                                                         const GDate *date);

Sets dt to the date of date.

dt :

a MIMEDirDateTime object

date :

a GDate object


mimedir_datetime_set_time_t ()

void                mimedir_datetime_set_time_t         (MIMEDirDateTime *dt,
                                                         time_t t);

Sets dt to the date of t.

dt :

a MIMEDirDateTime object

t :

the time


mimedir_datetime_set_struct_tm ()

void                mimedir_datetime_set_struct_tm      (MIMEDirDateTime *dt,
                                                         const struct tm *tm);

Sets dt to the date of tm.

dt :

a MIMEDirDateTime object

tm :

a struct tm pointer


mimedir_datetime_get_datetime ()

void                mimedir_datetime_get_datetime       (MIMEDirDateTime *dt,
                                                         GDateYear *year,
                                                         GDateMonth *month,
                                                         GDateDay *day,
                                                         guint8 *hour,
                                                         guint8 *minute,
                                                         guint8 *second);

Gets the date and time of dt.

dt :

a MIMEDirDateTime object

year :

month :

day :

hour :

minute :

second :


mimedir_datetime_get_date ()

void                mimedir_datetime_get_date           (MIMEDirDateTime *dt,
                                                         GDateYear *year,
                                                         GDateMonth *month,
                                                         GDateDay *day);

Gets the date of dt.

dt :

a MIMEDirDateTime object

year :

month :

day :


mimedir_datetime_get_time ()

void                mimedir_datetime_get_time           (MIMEDirDateTime *dt,
                                                         guint8 *hour,
                                                         guint8 *minute,
                                                         guint8 *second);

Gets the time of dt.

dt :

a MIMEDirDateTime object

hour :

minute :

second :


mimedir_datetime_get_gdate ()

void                mimedir_datetime_get_gdate          (MIMEDirDateTime *dt,
                                                         GDate *date);

Gets the date as a GDate.

dt :

a MIMEDirDateTime object

date :

a GDate object


mimedir_datetime_get_time_t ()

time_t              mimedir_datetime_get_time_t         (MIMEDirDateTime *dt);

Gets the the date a time_t. If the date is not representable as time_t -1 is returned.

dt :

a MIMEDirDateTime object

Returns :

the time in seconds since the epoch or -1


mimedir_datetime_get_struct_tm ()

void                mimedir_datetime_get_struct_tm      (MIMEDirDateTime *dt,
                                                         struct tm *tm);

Gets the date as a struct tm.

dt :

a MIMEDirDateTime object

tm :

a struct tm pointer


mimedir_datetime_is_valid ()

gboolean            mimedir_datetime_is_valid           (MIMEDirDateTime *dt);

Checks whether dt is has a valid date and/or time.

dt :

a MIMEDirDateTime object

Returns :

validity indicator


mimedir_datetime_is_valid_date ()

gboolean            mimedir_datetime_is_valid_date      (GDateYear year,
                                                         GDateMonth month,
                                                         GDateDay day);

Check whether the given date is valid.

year :

month :

day :

Returns :

validity indicator


mimedir_datetime_is_valid_time ()

gboolean            mimedir_datetime_is_valid_time      (guint8 hour,
                                                         guint8 minute,
                                                         guint8 second);

Check whether the given time is valid.

hour :

minute :

second :

Returns :

validity indicator


mimedir_datetime_to_utc ()

void                mimedir_datetime_to_utc             (MIMEDirDateTime *dt);

Converts the date/time object to a UTC date/time.

dt :

a MIMEDirDateTime object


mimedir_datetime_to_string ()

gchar*              mimedir_datetime_to_string          (MIMEDirDateTime *dt);

Returns a human-readable, localized string that represents the date and/or the time this object represent. In case that neither date nor time is valid, NULL is returned. Otherwise the returned string must be freed with g_free().

dt :

a MIMEDirDateTime object

Returns :

human-readable string representing the date and/or time


mimedir_datetime_compare ()

gint                mimedir_datetime_compare            (MIMEDirDateTime *dt1,
                                                         MIMEDirDateTime *dt2);

Compares the dates of dt1 and dt2 and return -1 if dt1 is earlier than dt2, 0 if both dates are equal and 1 if dt1 is later than d2. Both dates must be valid.

dt1 :

a MIMEDirDateTime object

dt2 :

a second MIMEDirDateTime object

Returns :

-1, 0, or 1

libmimedir-0.4.2/docs/reference/mimedir/html/index.html0000644000175000017500000001041010654704040020024 00000000000000 MIME Directory Library Reference Manual
Table of Contents
Overview
Introduction
Class Hierarchy
Example
Encoding Issues
Core Reference
mimedir-init -- library initialization routines
MIMEDirAttribute -- MIME Directory Attribute object
MIMEDirProfile -- MIME Directory Profile object
vCard Object Reference
MIMEDirVCard -- vCard business card object
MIMEDirVCardAddress -- vCard address object
MIMEDirVCardEMail -- vCard e-mail address object
MIMEDirVCardPhone -- vCard phone object
iCal Object Reference
MIMEDirVCal -- main iCalendar object
MIMEDirVComponent -- iCalendar base object
MIMEDirVAlarm -- iCalendar alarm object
MIMEDirVEvent -- iCalendar event object
MIMEDirVFreeBusy -- iCalendar free/busy object
MIMEDirVJournal -- iCalendar journal object
MIMEDirVTimeZone -- iCalendar time zone object
MIMEDirVTodo -- iCalendar todo object
Utility Ojects
MIMEDirAttachment -- vCard/iCalendar attachment object
MIMEDirAttendee -- iCalendar attendee object
MIMEDirDateTime -- date time object
MIMEDirRecurrence -- iCalendar recurrence object
Bibliography
libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirvcardemail.html0000644000175000017500000003446110654704040024033 00000000000000 MIMEDirVCardEMail

MIMEDirVCardEMail

Name

MIMEDirVCardEMail -- vCard e-mail address object

Description

The MIMEDirVCardEMail object contains information about a particular e-mail address that can be found in vCards. It contains some special properties that relate to the type of e-mail address.

Details

enum MIMEDirVCardEMailType

typedef enum {
	MIMEDIR_VCARD_EMAIL_TYPE_UNKNOWN,
	MIMEDIR_VCARD_EMAIL_TYPE_INTERNET,
	MIMEDIR_VCARD_EMAIL_TYPE_X400
} MIMEDirVCardEMailType;

Type of e-mail address.

MIMEDIR_VCARD_EMAIL_TYPE_UNKNOWN

The e-mail address type is unknown or unsupported.

MIMEDIR_VCARD_EMAIL_TYPE_INTERNET

An Internet e-mail address.

MIMEDIR_VCARD_EMAIL_TYPE_X400

An X.400 address.


MIMEDirVCardEMail

typedef struct {
	GObject parent;

	MIMEDirVCardEMailPriv *priv;
} MIMEDirVCardEMail;

The MIMEDirVCardEMail struct contains private data only, and should be accessed using the functions below.


mimedir_vcard_email_new ()

MIMEDirVCardEMail*  mimedir_vcard_email_new             (void);

Create a new MIMEDirVCardEMail object.

Returns :

the MIMEDirVCardEMail object


mimedir_vcard_email_new_from_attribute ()

MIMEDirVCardEMail*  mimedir_vcard_email_new_from_attribute
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);

Creates a new MIMEDirVCardEMail object, initializing it with data taken from the attribute object.

attribute :

the object to take data from

error :

location to store the error occuring, or NULL to ignore

Returns :

the MIMEDirVCardEMail object


mimedir_vcard_email_set_from_attribute ()

gboolean            mimedir_vcard_email_set_from_attribute
                                                        (MIMEDirVCardEMail *email,
                                                         MIMEDirAttribute *attribute,
                                                         GError **error);

Initializes the email object to data taken from the attribute object. It is save to use this function, even if the object has been initialized before. All old data will be lost in this case.

email :

the object to manipulate

attribute :

the object to take data from

error :

location to store the error occuring, or NULL to ignore

Returns :

success indicator


mimedir_vcard_email_save_to_attribute ()

MIMEDirAttribute*   mimedir_vcard_email_save_to_attribute
                                                        (MIMEDirVCardEMail *email);

Returns a new attribute that describes the e-mail address.

email :

an e-mail object

Returns :

a new attribute


mimedir_vcard_email_get_as_string ()

gchar*              mimedir_vcard_email_get_as_string   (MIMEDirVCardEMail *email);

Returns the email address as a human-readable string. The returned string should be freed with g_free().

email :

the email object

Returns :

the email address as human-readable string


mimedir_vcard_email_get_type_string ()

gchar*              mimedir_vcard_email_get_type_string (MIMEDirVCardEMail *email);

Returns the type(s) of the email as a human-readable string. It should be freed with g_free().

email :

the email object

Returns :

the type as human-readable string

libmimedir-0.4.2/docs/reference/mimedir/html/overview-encoding.html0000644000175000017500000000660110654704040022356 00000000000000 Encoding Issues

Encoding Issues

The current vCard and iCalendar standards ([VCARD, ICAL]) suggest the use of UTF-8 ([UTF-8]) as default encoding for vCard and iCalendar files. Since UTF-8 is the only portable way to store internationalized files, it is used by default by Libmimedir when files are saved. On loading, an UTF-8 encoding is assumed, if the encoding is not settable in the loading function. (The various load_from_channel functions define the encoding implicitly through the channel's encoding.) If the input is not in UTF-8, a conversion error will be returned.

The two functions mimedir_vcard_read_list() and mimedir_vcal_read_list() are special cases; they open a file, first assuming it is in UTF-8 encoding. If the file contains invalid UTF-8 sequences, a second try is employed, using the current locale. If this fails, too, a third and final try is made, assuming the file is in ISO-8859-15 (aka ISO Latin 9) encoding.

libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirvcardphone.html0000644000175000017500000003133710654704040024054 00000000000000 MIMEDirVCardPhone

MIMEDirVCardPhone

Name

MIMEDirVCardPhone -- vCard phone object

Description

The MIMEDirVCardPhone object contains information about a particular telephone number that can be found in vCards. It contains some special propertiesthat relate to the type of telephone number.

Details

MIMEDirVCardPhone

typedef struct {
	GObject parent;

	MIMEDirVCardPhonePriv *priv;
} MIMEDirVCardPhone;

The MIMEDirVCardPhone struct contains private data only, and should be accessed using the functions below.


mimedir_vcard_phone_new ()

MIMEDirVCardPhone*  mimedir_vcard_phone_new             (void);

Create a new MIMEDirVCardPhone object.

Returns :

the MIMEDirVCardPhone object


mimedir_vcard_phone_new_from_attribute ()

MIMEDirVCardPhone*  mimedir_vcard_phone_new_from_attribute
                                                        (MIMEDirAttribute *attribute,
                                                         GError **error);

Creates a new MIMEDirVCardPhone object, initializing it with data taken from the attribute object.

attribute :

the object to take data from

error :

location to store the error occuring, or NULL to ignore

Returns :

the MIMEDirVCardPhone object


mimedir_vcard_phone_set_from_attribute ()

gboolean            mimedir_vcard_phone_set_from_attribute
                                                        (MIMEDirVCardPhone *phone,
                                                         MIMEDirAttribute *attribute,
                                                         GError **error);

Initializes the phone object to data taken from the attribute object. It is save to use this function, even if the object has been initialized before. All old data will be lost in this case.

phone :

the object to manipulate

attribute :

the object to take data from

error :

location to store the error occuring, or NULL to ignore

Returns :

success indicator


mimedir_vcard_phone_save_to_attribute ()

MIMEDirAttribute*   mimedir_vcard_phone_save_to_attribute
                                                        (MIMEDirVCardPhone *phone);

Returns a new attribute that describes the phone number.

phone :

a phone object

Returns :

a new attribute


mimedir_vcard_phone_get_as_string ()

gchar*              mimedir_vcard_phone_get_as_string   (MIMEDirVCardPhone *phone);

Returns the phone number as a human-readable string. The returned string should be freed with g_free().

phone :

the phone object

Returns :

the phone number as human-readable string


mimedir_vcard_phone_get_type_string ()

gchar*              mimedir_vcard_phone_get_type_string (MIMEDirVCardPhone *phone);

Returns the type(s) of the phone as a human-readable string. It should be freed with g_free().

phone :

the phone object

Returns :

the type as human-readable string

libmimedir-0.4.2/docs/reference/mimedir/html/style.css0000644000175000017500000000311610654704040017706 00000000000000.synopsis, .classsynopsis { background: #eeeeee; border: solid 1px #aaaaaa; padding: 0.5em; } .programlisting { background: #eeeeff; border: solid 1px #aaaaff; padding: 0.5em; } .variablelist { padding: 4px; margin-left: 3em; } .variablelist td:first-child { vertical-align: top; } /* this is needed so that the local anchors are displayed below the naviagtion */ div.refnamediv a[name], div.refsect1 a[name] { position: relative; top: -4.5em; } table.navigation#top { background: #ffeeee; border: solid 1px #ffaaaa; margin-top: 0; margin-bottom: 0; position: fixed; top: 0; left: 0; height: 2em; z-index: 1; } .navigation a { color: #770000; } .navigation a:visited { color: #550000; } .navigation .title { font-size: 200%; } td.shortcuts { color: #770000; font-size: 80%; } div.refentry, div.chapter, div.part, div.book, div.index, div.glossary, div.sect1, div.appendix, div.preface { position: relative; top: 3em; z-index: 0; } div.refnamediv { margin-top: 2em; } div.gallery-float { float: left; padding: 10px; } div.gallery-float img { border-style: none; } div.gallery-spacer { clear: both; } a { text-decoration: none; } a:hover { text-decoration: underline; color: #FF0000; } div.table table { border-collapse: collapse; border-spacing: 0px; border-style: solid; border-color: #777777; border-width: 1px; } div.table table td, div.table table th { border-style: solid; border-color: #777777; border-width: 1px; padding: 3px; vertical-align: top; } div.table table th { background-color: #eeeeee; } libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirvjournal.html0000644000175000017500000003275210654704040023565 00000000000000 MIMEDirVJournal

MIMEDirVJournal

Name

MIMEDirVJournal -- iCalendar journal object

Synopsis


#include <mimedir/mimedir-vjournal.h>



                    MIMEDirVJournal;

MIMEDirVJournal*    mimedir_vjournal_new                (void);
MIMEDirVJournal*    mimedir_vjournal_new_from_profile   (MIMEDirProfile *profile,
                                                         GError **error);
gboolean            mimedir_vjournal_read_from_profile  (MIMEDirVJournal *vjournal,
                                                         MIMEDirProfile *profile,
                                                         GError **error);
gboolean            mimedir_vjournal_write_to_channel   (MIMEDirVJournal *vjournal,
                                                         GIOChannel *channel,
                                                         GError **error);
MIMEDirProfile*     mimedir_vjournal_write_to_profile   (MIMEDirVJournal *vjournal);
gchar*              mimedir_vjournal_write_to_string    (MIMEDirVJournal *vjournal);


Description

Details

MIMEDirVJournal

typedef struct {
	MIMEDirVComponent parent;

	MIMEDirVJournalPriv *priv;
} MIMEDirVJournal;


mimedir_vjournal_new ()

MIMEDirVJournal*    mimedir_vjournal_new                (void);

Creates a new (empty) vJournal object.

Returns :

a new vJournal object


mimedir_vjournal_new_from_profile ()

MIMEDirVJournal*    mimedir_vjournal_new_from_profile   (MIMEDirProfile *profile,
                                                         GError **error);

Create a new vJournal object and fills it with data retrieved from the supplied profile object. If an error occurs during the read, error will be set and NULL will be returned.

profile :

a MIMEDirProfile object

error :

error storage location or NULL

Returns :

the new vJournal object or NULL


mimedir_vjournal_read_from_profile ()

gboolean            mimedir_vjournal_read_from_profile  (MIMEDirVJournal *vjournal,
                                                         MIMEDirProfile *profile,
                                                         GError **error);

Clears the supplied vJournal object and re-initializes it with data read from the supplied profile. If an error occurs during the read, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vjournal :

a vJournal object

profile :

a profile object

error :

error storage location or NULL

Returns :

success indicator


mimedir_vjournal_write_to_channel ()

gboolean            mimedir_vjournal_write_to_channel   (MIMEDirVJournal *vjournal,
                                                         GIOChannel *channel,
                                                         GError **error);

Saves the vjournal object to the supplied I/O channel. If an error occurs during the write, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vjournal :

a vjournal

channel :

I/O channel to save to

error :

error storage location or NULL

Returns :

success indicator


mimedir_vjournal_write_to_profile ()

MIMEDirProfile*     mimedir_vjournal_write_to_profile   (MIMEDirVJournal *vjournal);

Saves the vjournal object to a newly allocated profile object.

vjournal :

a vjournal

Returns :

a new profile


mimedir_vjournal_write_to_string ()

gchar*              mimedir_vjournal_write_to_string    (MIMEDirVJournal *vjournal);

Saves the vjournal object to a newly allocated memory buffer. You should free the returned buffer with g_free().

vjournal :

a vjournal

Returns :

a newly allocated memory buffer

libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirvtodo.html0000644000175000017500000003224210654704040023052 00000000000000 MIMEDirVTodo

MIMEDirVTodo

Name

MIMEDirVTodo -- iCalendar todo object

Synopsis


#include <mimedir/mimedir-vtodo.h>



                    MIMEDirVTodo;

MIMEDirVTodo*       mimedir_vtodo_new                   (void);
MIMEDirVTodo*       mimedir_vtodo_new_from_profile      (MIMEDirProfile *profile,
                                                         GError **error);
gboolean            mimedir_vtodo_read_from_profile     (MIMEDirVTodo *vtodo,
                                                         MIMEDirProfile *profile,
                                                         GError **error);
gboolean            mimedir_vtodo_write_to_channel      (MIMEDirVTodo *vtodo,
                                                         GIOChannel *channel,
                                                         GError **error);
MIMEDirProfile*     mimedir_vtodo_write_to_profile      (MIMEDirVTodo *vtodo);
gchar*              mimedir_vtodo_write_to_string       (MIMEDirVTodo *vtodo);


Description

Details

MIMEDirVTodo

typedef struct {
	MIMEDirVComponent parent;

	MIMEDirVTodoPriv *priv;
} MIMEDirVTodo;


mimedir_vtodo_new ()

MIMEDirVTodo*       mimedir_vtodo_new                   (void);

Creates a new (empty) vTodo object.

Returns :

a new vTodo object


mimedir_vtodo_new_from_profile ()

MIMEDirVTodo*       mimedir_vtodo_new_from_profile      (MIMEDirProfile *profile,
                                                         GError **error);

Create a new vTodo object and fills it with data retrieved from the supplied profile object. If an error occurs during the read, error will be set and NULL will be returned.

profile :

a MIMEDirProfile object

error :

error storage location or NULL

Returns :

the new vTodo object or NULL


mimedir_vtodo_read_from_profile ()

gboolean            mimedir_vtodo_read_from_profile     (MIMEDirVTodo *vtodo,
                                                         MIMEDirProfile *profile,
                                                         GError **error);

Clears the supplied vTodo object and re-initializes it with data read from the supplied profile. If an error occurs during the read, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vtodo :

a vTodo object

profile :

a profile object

error :

error storage location or NULL

Returns :

success indicator


mimedir_vtodo_write_to_channel ()

gboolean            mimedir_vtodo_write_to_channel      (MIMEDirVTodo *vtodo,
                                                         GIOChannel *channel,
                                                         GError **error);

Saves the vtodo object to the supplied I/O channel. If an error occurs during the write, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vtodo :

a vtodo

channel :

I/O channel to save to

error :

error storage location or NULL

Returns :

success indicator


mimedir_vtodo_write_to_profile ()

MIMEDirProfile*     mimedir_vtodo_write_to_profile      (MIMEDirVTodo *vtodo);

Saves the vtodo object to a newly allocated profile object.

vtodo :

a vtodo

Returns :

a new profile


mimedir_vtodo_write_to_string ()

gchar*              mimedir_vtodo_write_to_string       (MIMEDirVTodo *vtodo);

Saves the vtodo object to a newly allocated memory buffer. You should free the returned buffer with g_free().

vtodo :

a vtodo

Returns :

a newly allocated memory buffer

libmimedir-0.4.2/docs/reference/mimedir/html/bibliography.html0000644000175000017500000000676010654704040021405 00000000000000 Bibliography

Bibliography

Tim Berners-Lee, Larry Masinter, and Mark McCahill, December 1994, RFC 1738: Uniform Resource Locators (URL).

F. Yergeau, January 1998, RFC 2279: UTF8, a transformation format of ISO 10646.

Tim Howes, Mark Smith, and Frank Dawson, September 1998, RFC 2425: A MIME Content-Type for Directory Information.

Frank Dawson and Tim Howes, September 1998, RFC 2426: vCard MIME Directory Profile.

Frank Dawson and D. Stenerson, November 1998, RFC 2445: Internet Calendaring and Scheduling Core Object Specification (iCalendar) .

libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirvtimezone.html0000644000175000017500000003305710654704040023744 00000000000000 MIMEDirVTimeZone

MIMEDirVTimeZone

Name

MIMEDirVTimeZone -- iCalendar time zone object

Synopsis


#include <mimedir/mimedir-vtimezone.h>



                    MIMEDirVTimeZone;

MIMEDirVTimeZone*   mimedir_vtimezone_new               (void);
MIMEDirVTimeZone*   mimedir_vtimezone_new_from_profile  (MIMEDirProfile *profile,
                                                         GError **error);
gboolean            mimedir_vtimezone_read_from_profile (MIMEDirVTimeZone *vtimezone,
                                                         MIMEDirProfile *profile,
                                                         GError **error);
gboolean            mimedir_vtimezone_write_to_channel  (MIMEDirVTimeZone *vtimezone,
                                                         GIOChannel *channel,
                                                         GError **error);
MIMEDirProfile*     mimedir_vtimezone_write_to_profile  (MIMEDirVTimeZone *vtimezone);
gchar*              mimedir_vtimezone_write_to_string   (MIMEDirVTimeZone *vtimezone);


Description

Details

MIMEDirVTimeZone

typedef struct {
	MIMEDirVComponent parent;

	MIMEDirVTimeZonePriv *priv;
} MIMEDirVTimeZone;


mimedir_vtimezone_new ()

MIMEDirVTimeZone*   mimedir_vtimezone_new               (void);

Creates a new (empty) vTimeZone object.

Returns :

a new vTimeZone object


mimedir_vtimezone_new_from_profile ()

MIMEDirVTimeZone*   mimedir_vtimezone_new_from_profile  (MIMEDirProfile *profile,
                                                         GError **error);

Create a new vTimeZone object and fills it with data retrieved from the supplied profile object. If an error occurs during the read, error will be set and NULL will be returned.

profile :

a MIMEDirProfile object

error :

error storage location or NULL

Returns :

the new vTimeZone object or NULL


mimedir_vtimezone_read_from_profile ()

gboolean            mimedir_vtimezone_read_from_profile (MIMEDirVTimeZone *vtimezone,
                                                         MIMEDirProfile *profile,
                                                         GError **error);

Clears the supplied vTimeZone object and re-initializes it with data read from the supplied profile. If an error occurs during the read, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vtimezone :

a vTimeZone object

profile :

a profile object

error :

error storage location or NULL

Returns :

success indicator


mimedir_vtimezone_write_to_channel ()

gboolean            mimedir_vtimezone_write_to_channel  (MIMEDirVTimeZone *vtimezone,
                                                         GIOChannel *channel,
                                                         GError **error);

Saves the vtimezone object to the supplied I/O channel. If an error occurs during the write, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vtimezone :

a vtimezone

channel :

I/O channel to save to

error :

error storage location or NULL

Returns :

success indicator


mimedir_vtimezone_write_to_profile ()

MIMEDirProfile*     mimedir_vtimezone_write_to_profile  (MIMEDirVTimeZone *vtimezone);

Saves the vtimezone object to a newly allocated profile object.

vtimezone :

a vtimezone

Returns :

a new profile


mimedir_vtimezone_write_to_string ()

gchar*              mimedir_vtimezone_write_to_string   (MIMEDirVTimeZone *vtimezone);

Saves the vtimezone object to a newly allocated memory buffer. You should free the returned buffer with g_free().

vtimezone :

a vtimezone

Returns :

a newly allocated memory buffer

libmimedir-0.4.2/docs/reference/mimedir/html/mimedir-mimedirvfreebusy.html0000644000175000017500000003401410654704040023730 00000000000000 MIMEDirVFreeBusy

MIMEDirVFreeBusy

Name

MIMEDirVFreeBusy -- iCalendar free/busy object

Synopsis


#include <mimedir/mimedir-vfreebusy.h>



                    MIMEDirVFreeBusy;
enum                MIMEDirVFreeBusyType;

MIMEDirVFreeBusy*   mimedir_vfreebusy_new               (void);
MIMEDirVFreeBusy*   mimedir_vfreebusy_new_from_profile  (MIMEDirProfile *profile,
                                                         GError **error);
gboolean            mimedir_vfreebusy_read_from_profile (MIMEDirVFreeBusy *vfreebusy,
                                                         MIMEDirProfile *profile,
                                                         GError **error);
gboolean            mimedir_vfreebusy_write_to_channel  (MIMEDirVFreeBusy *vfreebusy,
                                                         GIOChannel *channel,
                                                         GError **error);
MIMEDirProfile*     mimedir_vfreebusy_write_to_profile  (MIMEDirVFreeBusy *vfreebusy);
gchar*              mimedir_vfreebusy_write_to_string   (MIMEDirVFreeBusy *vfreebusy);


Description

Details

MIMEDirVFreeBusy

typedef struct {
	MIMEDirVComponent parent;

	MIMEDirVFreeBusyPriv *priv;
} MIMEDirVFreeBusy;


enum MIMEDirVFreeBusyType

typedef enum {
        MIMEDIR_VFREEBUSY_FREE,
        MIMEDIR_VFREEBUSY_BUSY,
        MIMEDIR_VFREEBUSY_BUSY_UNAVAILABLE,
        MIMEDIR_VFREEBUSY_BUSY_TENTATIVE
} MIMEDirVFreeBusyType;


mimedir_vfreebusy_new ()

MIMEDirVFreeBusy*   mimedir_vfreebusy_new               (void);

Creates a new (empty) vFreeBusy object.

Returns :

a new vFreeBusy object


mimedir_vfreebusy_new_from_profile ()

MIMEDirVFreeBusy*   mimedir_vfreebusy_new_from_profile  (MIMEDirProfile *profile,
                                                         GError **error);

Create a new vFreeBusy object and fills it with data retrieved from the supplied profile object. If an error occurs during the read, error will be set and NULL will be returned.

profile :

a MIMEDirProfile object

error :

error storage location or NULL

Returns :

the new vFreeBusy object or NULL


mimedir_vfreebusy_read_from_profile ()

gboolean            mimedir_vfreebusy_read_from_profile (MIMEDirVFreeBusy *vfreebusy,
                                                         MIMEDirProfile *profile,
                                                         GError **error);

Clears the supplied vFreeBusy object and re-initializes it with data read from the supplied profile. If an error occurs during the read, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vfreebusy :

a vFreeBusy object

profile :

a profile object

error :

error storage location or NULL

Returns :

success indicator


mimedir_vfreebusy_write_to_channel ()

gboolean            mimedir_vfreebusy_write_to_channel  (MIMEDirVFreeBusy *vfreebusy,
                                                         GIOChannel *channel,
                                                         GError **error);

Saves the vfreebusy object to the supplied I/O channel. If an error occurs during the write, error will be set and FALSE will be returned. Otherwise, TRUE is returned.

vfreebusy :

a vfreebusy

channel :

I/O channel to save to

error :

error storage location or NULL

Returns :

success indicator


mimedir_vfreebusy_write_to_profile ()

MIMEDirProfile*     mimedir_vfreebusy_write_to_profile  (MIMEDirVFreeBusy *vfreebusy);

Saves the vfreebusy object to a newly allocated profile object.

vfreebusy :

a vfreebusy

Returns :

a new profile


mimedir_vfreebusy_write_to_string ()

gchar*              mimedir_vfreebusy_write_to_string   (MIMEDirVFreeBusy *vfreebusy);

Saves the vfreebusy object to a newly allocated memory buffer. You should free the returned buffer with g_free().

vfreebusy :

a vfreebusy

Returns :

a newly allocated memory buffer

libmimedir-0.4.2/docs/reference/mimedir/html/overview-example.html0000644000175000017500000000645610654704040022233 00000000000000 Example

Example

The following program will read a vCard file, iterate over all vCards and print the name of all cards:

#include <stdio.h>

#include <glib.h>

#include <mimedir/mimedir.h>

int main (int argc, char *argv[])
{
    GError *error = NULL;
    GList *list, *node;

    if (argc != 2) {
        fprintf (stderr, "Usage: %s FILENAME\n", argv[0]);
        return 1;
    }

    mimedir_init ();

    list = mimedir_vcard_read_list (argv[1], &error);
    if (error) {
        fprintf (stderr, "Error while reading %s: %s\n",
                 argv[1], error->message);
        return 1;
    }

    for (node = list; node != NULL; node = g_list_next (node)) {
        MIMEDirVCard *vcard;
        gchar *name;

        vcard = MIMEDIR_VCARD (node->data);

        g_object_get (G_OBJECT (vcard),
                      "name", &name,
                      NULL);

        printf ("%s\n", name);
    }

    mimedir_vcard_free_list (list);

    return 0;
}
libmimedir-0.4.2/docs/reference/mimedir/html/ical-util.html0000644000175000017500000000524010654704040020605 00000000000000 Utility Ojects

Utility Ojects

Table of Contents
MIMEDirAttachment -- vCard/iCalendar attachment object
MIMEDirAttendee -- iCalendar attendee object
MIMEDirDateTime -- date time object
MIMEDirRecurrence -- iCalendar recurrence object
libmimedir-0.4.2/docs/reference/mimedir/mimedir-intro.sgml0000644000175000017500000000773010603540662020543 00000000000000 Overview Introduction The MIME Directory Library (or libmimedir in short) is a versatile shared library for parsing and writing MIME Directory Information as described in [MIMEDIR]. Additionally, it contains classes for handling vCard (see [VCARD]) and iCalendar (see [ICAL]) files. Libmimedir is based on the GObject system and makes heavy use of its property system. Nearly all attributes of vCards or iCalendar components are accessible as properties, while some convenience access functions are provided. Please see the API description for more information. Class Hierarchy The core of libmimedir consists of two classes: MIMEDirAttribute and MIMEDirProfile. Each profile represents a collection of attributes that together form a directory entry. The classes MIMEDirVCard and MIMEDirVCal are built on top of MIMEDirProfile. These classes use MIMEDirProfile to parse an supplied file and interpret its contents as either a vCard or an iCalendar file. They can also write these file types. Example The following program will read a vCard file, iterate over all vCards and print the name of all cards: #include <stdio.h> #include <glib.h> #include <mimedir/mimedir.h> int main (int argc, char *argv[]) { GError *error = NULL; GList *list, *node; if (argc != 2) { fprintf (stderr, "Usage: %s FILENAME\n", argv[0]); return 1; } mimedir_init (); list = mimedir_vcard_read_list (argv[1], &error); if (error) { fprintf (stderr, "Error while reading %s: %s\n", argv[1], error->message); return 1; } for (node = list; node != NULL; node = g_list_next (node)) { MIMEDirVCard *vcard; gchar *name; vcard = MIMEDIR_VCARD (node->data); g_object_get (G_OBJECT (vcard), "name", &name, NULL); printf ("%s\n", name); } mimedir_vcard_free_list (list); return 0; } Encoding Issues The current vCard and iCalendar standards ([VCARD, ICAL]) suggest the use of UTF-8 ([UTF-8]) as default encoding for vCard and iCalendar files. Since UTF-8 is the only portable way to store internationalized files, it is used by default by Libmimedir when files are saved. On loading, an UTF-8 encoding is assumed, if the encoding is not settable in the loading function. (The various load_from_channel functions define the encoding implicitly through the channel's encoding.) If the input is not in UTF-8, a conversion error will be returned. The two functions mimedir_vcard_read_list() and mimedir_vcal_read_list() are special cases; they open a file, first assuming it is in UTF-8 encoding. If the file contains invalid UTF-8 sequences, a second try is employed, using the current locale. If this fails, too, a third and final try is made, assuming the file is in ISO-8859-15 (aka ISO Latin 9) encoding. libmimedir-0.4.2/docs/reference/mimedir/mimedir-sections.txt0000644000175000017500000004266710603540662021124 00000000000000
mimedir-init mimedir-init mimedir/mimedir-init.h mimedir_init
mimedir-attribute MIMEDirAttribute mimedir/mimedir-attribute.h MIMEDIR_ATTRIBUTE_ERROR MIMEDirAttributeError MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR_STR MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING_STR MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE_STR MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64_STR MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP_STR MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT_STR MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG_STR MIMEDirAttributeType MIMEDirAttributeEncoding MIMEDIR_ATTRIBUTE_ENCODING_NONE MIMEDirAttribute mimedir_attribute_new mimedir_attribute_new_from_channel mimedir_attribute_read_from_channel mimedir_attribute_write_to_channel mimedir_attribute_get_name mimedir_attribute_set_group mimedir_attribute_get_group mimedir_attribute_set_attribute_type mimedir_attribute_get_attribute_type mimedir_attribute_append_parameter mimedir_attribute_append_parameter_simple mimedir_attribute_has_parameter mimedir_attribute_get_parameter_values mimedir_attribute_get_parameter_value mimedir_attribute_free_parameter_values mimedir_attribute_set_value_raw mimedir_attribute_get_value_raw mimedir_attribute_set_value_decoded mimedir_attribute_get_value_decoded mimedir_attribute_set_value_uri mimedir_attribute_get_value_uri mimedir_attribute_set_value_text mimedir_attribute_get_value_text mimedir_attribute_set_value_text_list mimedir_attribute_get_value_text_list mimedir_attribute_free_text_list mimedir_attribute_set_value_datetime mimedir_attribute_get_value_datetime mimedir_attribute_set_value_datetime_list mimedir_attribute_get_value_datetime_list mimedir_attribute_free_datetime_list mimedir_attribute_set_value_bool mimedir_attribute_get_value_bool mimedir_attribute_set_value_int mimedir_attribute_get_value_int mimedir_attribute_set_value_int_list mimedir_attribute_get_value_int_list mimedir_attribute_free_int_list mimedir_attribute_set_value_float_list mimedir_attribute_get_value_float_list mimedir_attribute_free_float_list mimedir_attribute_set_value_structured_text mimedir_attribute_get_value_structured_text mimedir_attribute_free_structured_text_list MIMEDIR_ATTRIBUTE MIMEDIR_IS_ATTRIBUTE MIMEDIR_TYPE_ATTRIBUTE mimedir_attribute_get_type MIMEDIR_ATTRIBUTE_CLASS MIMEDIR_IS_ATTRIBUTE_CLASS MIMEDirAttributeClass MIMEDirAttributePriv mimedir_attribute_error_quark mimedir_attribute_free_list
mimedir-profile MIMEDirProfile mimedir/mimedir-profile.h MIMEDIR_PROFILE_ERROR MIMEDirProfileError MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR MIMEDIR_PROFILE_ERROR_UNEXPECTED_END_STR MIMEDIR_PROFILE_ERROR_UNMATCHED_END_STR MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING_STR MIMEDIR_PROFILE_ERROR_WRONG_PROFILE_STR MIMEDirProfile mimedir_profile_new mimedir_profile_new_from_channel mimedir_profile_new_from_string mimedir_profile_read_from_channel mimedir_profile_read_from_string mimedir_profile_write_to_channel mimedir_profile_write_to_string mimedir_profile_append_attribute mimedir_profile_get_attribute mimedir_profile_get_attribute_list mimedir_profile_append_subprofile mimedir_profile_get_subprofiles MIMEDirProfileClass MIMEDIR_PROFILE MIMEDIR_IS_PROFILE MIMEDIR_TYPE_PROFILE mimedir_profile_get_type MIMEDIR_PROFILE_CLASS MIMEDIR_IS_PROFILE_CLASS MIMEDirProfilePriv mimedir_profile_error_quark
mimedir-vcard MIMEDirVCard mimedir/mimedir-vcard.h MIMEDirVCardKeyType MIMEDIR_VCARD_TIMEZONE_MAX MIMEDIR_VCARD_TIMEZONE_MIN MIMEDIR_VCARD_LATITUDE_MAX MIMEDIR_VCARD_LATITUDE_MIN MIMEDIR_VCARD_LONGITUDE_MAX MIMEDIR_VCARD_LONGITUDE_MIN MIMEDirVCard mimedir_vcard_read_list mimedir_vcard_read_list_from_channel mimedir_vcard_free_list mimedir_vcard_write_list mimedir_vcard_write_list_to_channel mimedir_vcard_new mimedir_vcard_new_from_profile mimedir_vcard_new_from_channel mimedir_vcard_new_from_string mimedir_vcard_read_from_profile mimedir_vcard_read_from_channel mimedir_vcard_read_from_string mimedir_vcard_write_to_profile mimedir_vcard_write_to_channel mimedir_vcard_write_to_string mimedir_vcard_set_birthday mimedir_vcard_get_birthday mimedir_vcard_set_timezone mimedir_vcard_get_timezone mimedir_vcard_clear_timezone mimedir_vcard_set_geo_position mimedir_vcard_get_geo_position mimedir_vcard_clear_geo_position mimedir_vcard_append_address mimedir_vcard_remove_address mimedir_vcard_append_email mimedir_vcard_remove_email mimedir_vcard_append_phone mimedir_vcard_remove_phone mimedir_vcard_get_preferred_address mimedir_vcard_get_preferred_email mimedir_vcard_get_preferred_phone mimedir_vcard_get_as_string MIMEDIR_VCARD MIMEDIR_IS_VCARD MIMEDIR_TYPE_VCARD mimedir_vcard_get_type MIMEDIR_VCARD_CLASS MIMEDIR_IS_VCARD_CLASS MIMEDirVCardClass MIMEDirVCardPriv
mimedir-vcard-address MIMEDirVCardAddress mimedir/mimedir-vcard-address.h MIMEDirVCardAddress mimedir_vcard_address_new mimedir_vcard_address_new_from_attribute mimedir_vcard_address_set_from_attribute mimedir_vcard_address_save_to_attribute mimedir_vcard_address_get_as_string mimedir_vcard_address_get_type_string mimedir_vcard_address_get_title MIMEDIR_VCARD_ADDRESS MIMEDIR_IS_VCARD_ADDRESS MIMEDIR_TYPE_VCARD_ADDRESS mimedir_vcard_address_get_type MIMEDIR_VCARD_ADDRESS_CLASS MIMEDirVCardAddressClass MIMEDIR_IS_VCARD_ADDRESS_CLASS MIMEDirVCardAddressPriv
mimedir-vcard-email MIMEDirVCardEMail mimedir/mimedir-vcard-email.h MIMEDirVCardEMailType MIMEDirVCardEMail mimedir_vcard_email_new mimedir_vcard_email_new_from_attribute mimedir_vcard_email_set_from_attribute mimedir_vcard_email_save_to_attribute mimedir_vcard_email_get_as_string mimedir_vcard_email_get_type_string MIMEDirVCardEMailClass MIMEDIR_VCARD_EMAIL MIMEDIR_IS_VCARD_EMAIL MIMEDIR_TYPE_VCARD_EMAIL mimedir_vcard_email_get_type MIMEDIR_VCARD_EMAIL_CLASS MIMEDIR_IS_VCARD_EMAIL_CLASS MIMEDirVCardEMailPriv
mimedir-vcard-phone MIMEDirVCardPhone mimedir/mimedir-vcard-phone.h MIMEDirVCardPhone mimedir_vcard_phone_new mimedir_vcard_phone_new_from_attribute mimedir_vcard_phone_set_from_attribute mimedir_vcard_phone_save_to_attribute mimedir_vcard_phone_get_as_string mimedir_vcard_phone_get_type_string MIMEDirVCardPhoneClass MIMEDIR_VCARD_PHONE MIMEDIR_IS_VCARD_PHONE MIMEDIR_TYPE_VCARD_PHONE mimedir_vcard_phone_get_type MIMEDIR_VCARD_PHONE_CLASS MIMEDIR_IS_VCARD_PHONE_CLASS MIMEDirVCardPhonePriv
mimedir-vcal MIMEDirVCal mimedir/mimedir-vcal.h MIMEDIR_VCAL_ERROR MIMEDirVCalError MIMEDIR_VCAL_ERROR_NO_COMPONENTS_STR MIMEDIR_VCAL_ERROR_UNKNOWN_SCALE_STR MIMEDirVCal mimedir_vcal_read_list mimedir_vcal_read_list_from_channel mimedir_vcal_write_list mimedir_vcal_write_list_to_channel mimedir_vcal_free_list mimedir_vcal_new mimedir_vcal_new_from_channel mimedir_vcal_new_from_profile mimedir_vcal_new_from_string mimedir_vcal_read_from_channel mimedir_vcal_read_from_profile mimedir_vcal_read_from_string mimedir_vcal_write_to_channel mimedir_vcal_write_to_profile mimedir_vcal_write_to_string mimedir_vcal_get_component_list mimedir_vcal_get_event_list mimedir_vcal_get_todo_list mimedir_vcal_add_component mimedir_vcal_add_component_list mimedir_vcal_free_component_list mimedir_vcal_get_type MIMEDIR_TYPE_VCAL MIMEDIR_IS_VCAL MIMEDIR_IS_VCAL_CLASS MIMEDIR_VCAL MIMEDirVCalClass MIMEDIR_VCAL_CLASS mimedir_vcal_error_quark MIMEDirVCalPriv
mimedir-vcomponent MIMEDirVComponent mimedir/mimedir-vcomponent.h MIMEDirVComponent MIMEDirClassification MIMEDirStatus MIMEDIR_VCOMPONENT_PERCENT_NONE mimedir_vcomponent_read_from_profile mimedir_vcomponent_write_to_profile mimedir_vcomponent_get_categories_as_string mimedir_vcomponent_set_alarm_list mimedir_vcomponent_get_alarm_list mimedir_vcomponent_set_attendee_list mimedir_vcomponent_get_attendee_list mimedir_vcomponent_set_opaque mimedir_vcomponent_get_opaque mimedir_vcomponent_set_classification mimedir_vcomponent_get_classification mimedir_vcomponent_set_location mimedir_vcomponent_get_location mimedir_vcomponent_set_geopos mimedir_vcomponent_get_geopos mimedir_vcomponent_set_recurrence mimedir_vcomponent_get_recurrence mimedir_vcomponent_set_allday mimedir_vcomponent_get_allday mimedir_vcomponent_does_recur mimedir_vcomponent_get_next_occurence mimedir_vcomponent_get_occurences_between mimedir_vcomponent_free_occurences mimedir_vcomponent_set_attachment_list mimedir_vcomponent_get_attachment_list MIMEDIR_VCOMPONENT MIMEDIR_IS_VCOMPONENT MIMEDIR_TYPE_VCOMPONENT MIMEDirVComponentClass MIMEDIR_VCOMPONENT_CLASS MIMEDIR_IS_VCOMPONENT_CLASS mimedir_vcomponent_get_type MIMEDirVComponentPriv
mimedir-valarm MIMEDirVAlarm mimedir/mimedir-valarm.h MIMEDirVAlarmType MIMEDirVAlarm mimedir_valarm_new mimedir_valarm_new_from_profile mimedir_valarm_new_from_string mimedir_valarm_new_from_channel mimedir_valarm_read_from_profile mimedir_valarm_read_from_string mimedir_valarm_read_from_channel mimedir_valarm_write_to_profile mimedir_valarm_write_to_string mimedir_valarm_write_to_channel mimedir_valarm_set_alarm_type mimedir_valarm_get_alarm_type mimedir_valarm_get_next_occurence mimedir_valarm_get_trigger mimedir_valarm_get_trigger_from_vcomponent mimedir_valarm_get_reminder_string mimedir_valarm_get_type MIMEDIR_VALARM MIMEDIR_TYPE_VALARM MIMEDIR_IS_VALARM MIMEDIR_VALARM_CLASS MIMEDIR_IS_VALARM_CLASS MIMEDirVAlarmClass MIMEDirVAlarmPriv
mimedir-vevent MIMEDirVEvent mimedir/mimedir-vevent.h MIMEDirVEvent mimedir_vevent_new mimedir_vevent_new_from_channel mimedir_vevent_new_from_profile mimedir_vevent_new_from_string mimedir_vevent_read_from_channel mimedir_vevent_read_from_profile mimedir_vevent_read_from_string mimedir_vevent_write_to_channel mimedir_vevent_write_to_profile mimedir_vevent_write_to_string mimedir_vevent_get_type MIMEDIR_VEVENT MIMEDirVEventClass MIMEDIR_VEVENT_CLASS MIMEDIR_TYPE_VEVENT MIMEDIR_IS_VEVENT MIMEDIR_IS_VEVENT_CLASS MIMEDirVEventPriv
mimedir-vfreebusy MIMEDirVFreeBusy mimedir/mimedir-vfreebusy.h MIMEDirVFreeBusy MIMEDirVFreeBusyType mimedir_vfreebusy_new mimedir_vfreebusy_new_from_channel mimedir_vfreebusy_new_from_profile mimedir_vfreebusy_new_from_string mimedir_vfreebusy_read_from_channel mimedir_vfreebusy_read_from_profile mimedir_vfreebusy_read_from_string mimedir_vfreebusy_write_to_channel mimedir_vfreebusy_write_to_profile mimedir_vfreebusy_write_to_string MIMEDIR_TYPE_VFREEBUSY MIMEDIR_IS_VFREEBUSY MIMEDIR_IS_VFREEBUSY_CLASS MIMEDIR_VFREEBUSY MIMEDirVFreeBusyClass MIMEDIR_VFREEBUSY_CLASS mimedir_vfreebusy_get_type MIMEDirVFreeBusyPriv
mimedir-vjournal MIMEDirVJournal mimedir/mimedir-vjournal.h MIMEDirVJournal mimedir_vjournal_new mimedir_vjournal_new_from_channel mimedir_vjournal_new_from_profile mimedir_vjournal_new_from_string mimedir_vjournal_read_from_channel mimedir_vjournal_read_from_profile mimedir_vjournal_read_from_string mimedir_vjournal_write_to_channel mimedir_vjournal_write_to_profile mimedir_vjournal_write_to_string MIMEDIR_TYPE_VJOURNAL MIMEDIR_IS_VJOURNAL MIMEDIR_IS_VJOURNAL_CLASS MIMEDIR_VJOURNAL MIMEDirVJournalClass MIMEDIR_VJOURNAL_CLASS mimedir_vjournal_get_type MIMEDirVJournalPriv
mimedir-vtimezone MIMEDirVTimeZone mimedir/mimedir-vtimezone.h MIMEDirVTimeZone mimedir_vtimezone_new mimedir_vtimezone_new_from_channel mimedir_vtimezone_new_from_profile mimedir_vtimezone_new_from_string mimedir_vtimezone_read_from_channel mimedir_vtimezone_read_from_profile mimedir_vtimezone_read_from_string mimedir_vtimezone_write_to_channel mimedir_vtimezone_write_to_profile mimedir_vtimezone_write_to_string MIMEDIR_TYPE_VTIMEZONE MIMEDIR_IS_VTIMEZONE MIMEDIR_IS_VTIMEZONE_CLASS MIMEDIR_VTIMEZONE MIMEDirVTimeZoneClass MIMEDIR_VTIMEZONE_CLASS mimedir_vtimezone_get_type MIMEDirVTimeZonePriv
mimedir-vtodo MIMEDirVTodo mimedir/mimedir-vtodo.h MIMEDirVTodo mimedir_vtodo_new mimedir_vtodo_new_from_channel mimedir_vtodo_new_from_profile mimedir_vtodo_new_from_string mimedir_vtodo_read_from_channel mimedir_vtodo_read_from_profile mimedir_vtodo_read_from_string mimedir_vtodo_write_to_channel mimedir_vtodo_write_to_profile mimedir_vtodo_write_to_string MIMEDIR_TYPE_VTODO MIMEDIR_IS_VTODO MIMEDIR_IS_VTODO_CLASS MIMEDIR_VTODO MIMEDirVTodoClass MIMEDIR_VTODO_CLASS mimedir_vtodo_get_type MIMEDirVTodoPriv
mimedir-attachment MIMEDirAttachment mimedir/mimedir-attachment.h MIMEDirAttachment mimedir_attachment_new mimedir_attachment_new_from_attribute mimedir_attachment_read_from_attribute mimedir_attachment_write_to_attribute MIMEDIR_ATTACHMENT MIMEDIR_TYPE_ATTACHMENT MIMEDIR_IS_ATTACHMENT MIMEDIR_IS_ATTACHMENT_CLASS MIMEDirAttachmentClass MIMEDIR_ATTACHMENT_CLASS mimedir_attachment_get_type MIMEDirAttachmentPriv
mimedir-attendee MIMEDirAttendee mimedir/mimedir-attendee.h MIMEDirAttendee mimedir_attendee_new mimedir_attendee_new_from_attribute mimedir_attendee_read_from_attribute mimedir_attendee_write_to_attribute MIMEDirAttendeeClass MIMEDIR_ATTENDEE MIMEDIR_TYPE_ATTENDEE MIMEDIR_IS_ATTENDEE MIMEDIR_ATTENDEE_CLASS MIMEDIR_IS_ATTENDEE_CLASS mimedir_attendee_get_type MIMEDirAttendeePriv
mimedir-datetime MIMEDirDateTime mimedir/mimedir-datetime.h MIMEDIR_DATETIME_NOTZ MIMEDIR_DATETIME_UTC MIMEDirDateTime mimedir_datetime_new mimedir_datetime_new_now mimedir_datetime_new_from_datetime mimedir_datetime_new_from_date mimedir_datetime_new_from_time mimedir_datetime_new_from_gdate mimedir_datetime_new_from_time_t mimedir_datetime_new_from_struct_tm mimedir_datetime_set_datetime mimedir_datetime_set_date mimedir_datetime_set_time mimedir_datetime_set_gdate mimedir_datetime_set_time_t mimedir_datetime_set_struct_tm mimedir_datetime_get_datetime mimedir_datetime_get_date mimedir_datetime_get_time mimedir_datetime_get_gdate mimedir_datetime_get_time_t mimedir_datetime_get_struct_tm mimedir_datetime_is_valid mimedir_datetime_is_valid_date mimedir_datetime_is_valid_time mimedir_datetime_to_utc mimedir_datetime_to_string mimedir_datetime_compare MIMEDIR_TYPE_DATETIME MIMEDIR_IS_DATETIME MIMEDIR_DATETIME MIMEDirDateTimeClass MIMEDIR_DATETIME_CLASS MIMEDIR_IS_DATETIME_CLASS mimedir_datetime_get_type MIMEDirDateTimePriv
mimedir-period MIMEDirPeriod mimedir/mimedir-period.h MIMEDirPeriod mimedir_period_new mimedir_period_new_parse mimedir_period_get_as_mimedir MIMEDirPeriodClass MIMEDIR_TYPE_PERIOD MIMEDIR_PERIOD MIMEDIR_PERIOD_CLASS MIMEDIR_IS_PERIOD MIMEDIR_IS_PERIOD_CLASS mimedir_period_get_type MIMEDirPeriodPriv
mimedir-recurrence MIMEDirRecurrence mimedir/mimedir-recurrence.h MIMEDirRecurrence mimedir_recurrence_new MIMEDIR_RECURRENCE MIMEDIR_TYPE_RECURRENCE MIMEDIR_IS_RECURRENCE MIMEDirRecurrenceClass MIMEDIR_RECURRENCE_CLASS MIMEDIR_IS_RECURRENCE_CLASS mimedir_recurrence_get_type MIMEDirRecurrencePriv
mimedir-utils Utility Functions mimedir/mimedir-utils.h mimedir_utils_strcat_list mimedir_utils_is_safe mimedir_utils_is_qsafe mimedir_utils_is_token_char mimedir_utils_is_token mimedir_utils_compare_tokens mimedir_utils_copy_string_list mimedir_utils_free_string_list mimedir_utils_copy_string_slist mimedir_utils_free_string_slist mimedir_utils_copy_object_list mimedir_utils_free_object_list mimedir_utils_copy_object_slist mimedir_utils_free_object_slist mimedir_utils_set_property_string
libmimedir-0.4.2/docs/reference/mimedir/xml/0000777000175000017500000000000010654704037015761 500000000000000libmimedir-0.4.2/docs/reference/mimedir/Makefile.in0000644000175000017500000004235110654703052017143 00000000000000# 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@ # $Id: Makefile.am,v 1.6 2002/07/31 12:51:29 srittau Exp $ 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 = : build_triplet = @build@ host_triplet = @host@ subdir = docs/reference/mimedir DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTKDOC = @GTKDOC@ HTML_DIR = @HTML_DIR@ 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_ICONV = @INTLTOOL_ICONV@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_MSGFMT = @INTLTOOL_MSGFMT@ INTLTOOL_MSGMERGE = @INTLTOOL_MSGMERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ 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_XGETTEXT = @INTLTOOL_XGETTEXT@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MIMEDIR_MAJOR_VERSION = @MIMEDIR_MAJOR_VERSION@ MIMEDIR_MICRO_VERSION = @MIMEDIR_MICRO_VERSION@ MIMEDIR_MINOR_VERSION = @MIMEDIR_MINOR_VERSION@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ 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@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ # The name of the module, e.g. 'glib'. DOC_MODULE = mimedir # The top-level SGML file. Change it if you want. DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml # The directory containing the source code. Relative to $(srcdir). # gtk-doc will search all .c & .h files beneath here for inline comments # documenting functions and macros. DOC_SOURCE_DIR = ../../.. # Extra options to supply to gtkdoc-scan. SCAN_OPTIONS = # Extra options to supply to gtkdoc-mkdb. MKDB_OPTIONS = --output-format=SGML # Extra options to supply to gtkdoc-fixref. FIXXREF_OPTIONS = # Used for dependencies. HFILE_GLOB = CFILE_GLOB = # Header files to ignore when scanning. IGNORE_HFILES = \ config.h \ mimedir-marshal.h # Images to copy into HTML directory. HTML_IMAGES = # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE). content_files = \ mimedir-bib.sgml \ mimedir-intro.sgml # Other files to distribute. extra_files = # CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib # contains GtkObjects/GObjects and you want to document signals and properties. GTKDOC_CFLAGS = GTKDOC_LIBS = GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) # If you need to override some of the declarations, place them in this file # and uncomment this line. #DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt DOC_OVERRIDES = #################################### # Everything below here is generic # #################################### # We set GPATH here; this gives us semantics for GNU make # which are more like other make's VPATH, when it comes to # whether a source that is a target of one rule is then # searched for in VPATH/GPATH. # GPATH = $(srcdir) TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE) EXTRA_DIST = \ $(content_files) \ $(HTML_IMAGES) \ $(DOC_MAIN_SGML_FILE) \ $(DOC_MODULE)-sections.txt \ $(DOC_MODULE)-overrides.txt DOC_STAMPS = scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \ $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp SCANOBJ_FILES = \ $(DOC_MODULE).args \ $(DOC_MODULE).hierarchy \ $(DOC_MODULE).interfaces \ $(DOC_MODULE).prerequisites \ $(DOC_MODULE).signals CLEANFILES = $(SCANOBJ_FILES) $(DOC_MODULE)-unused.txt $(DOC_STAMPS) 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 docs/reference/mimedir/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu docs/reference/mimedir/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 mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: tags: TAGS TAGS: ctags: CTAGS CTAGS: distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$(top_distdir)" distdir="$(distdir)" \ dist-hook check-am: all-am check: check-am all-am: Makefile all-local installdirs: install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-generic clean-libtool clean-local mostlyclean-am distclean: distclean-am -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-data-local install-exec-am: install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic \ maintainer-clean-local mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-info-am uninstall-local .PHONY: all all-am all-local check check-am clean clean-generic \ clean-libtool clean-local dist-hook distclean \ distclean-generic distclean-libtool distdir dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-data-local install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic \ maintainer-clean-local mostlyclean mostlyclean-generic \ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ uninstall-info-am uninstall-local @ENABLE_GTK_DOC_TRUE@all-local: html-build.stamp #### scan #### @ENABLE_GTK_DOC_TRUE@scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Scanning header files' @ENABLE_GTK_DOC_TRUE@ @-chmod -R u+w $(srcdir) @ENABLE_GTK_DOC_TRUE@ if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \ @ENABLE_GTK_DOC_TRUE@ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \ @ENABLE_GTK_DOC_TRUE@ else \ @ENABLE_GTK_DOC_TRUE@ cd $(srcdir) ; \ @ENABLE_GTK_DOC_TRUE@ for i in $(SCANOBJ_FILES) ; do \ @ENABLE_GTK_DOC_TRUE@ test -f $$i || touch $$i ; \ @ENABLE_GTK_DOC_TRUE@ done \ @ENABLE_GTK_DOC_TRUE@ fi @ENABLE_GTK_DOC_TRUE@ cd $(srcdir) && \ @ENABLE_GTK_DOC_TRUE@ gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES) @ENABLE_GTK_DOC_TRUE@ touch scan-build.stamp @ENABLE_GTK_DOC_TRUE@$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES): scan-build.stamp @ENABLE_GTK_DOC_TRUE@ @true #### templates #### @ENABLE_GTK_DOC_TRUE@tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Rebuilding template files' @ENABLE_GTK_DOC_TRUE@ @-chmod -R u+w $(srcdir) @ENABLE_GTK_DOC_TRUE@ cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS) @ENABLE_GTK_DOC_TRUE@ touch tmpl-build.stamp @ENABLE_GTK_DOC_TRUE@tmpl.stamp: tmpl-build.stamp @ENABLE_GTK_DOC_TRUE@ @true #### xml #### @ENABLE_GTK_DOC_TRUE@sgml-build.stamp: tmpl.stamp $(CFILE_GLOB) $(srcdir)/tmpl/*.sgml $(expand_content_files) @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Building XML' @ENABLE_GTK_DOC_TRUE@ @-chmod -R u+w $(srcdir) @ENABLE_GTK_DOC_TRUE@ cd $(srcdir) && \ @ENABLE_GTK_DOC_TRUE@ gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS) @ENABLE_GTK_DOC_TRUE@ touch sgml-build.stamp @ENABLE_GTK_DOC_TRUE@sgml.stamp: sgml-build.stamp @ENABLE_GTK_DOC_TRUE@ @true #### html #### @ENABLE_GTK_DOC_TRUE@html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Building HTML' @ENABLE_GTK_DOC_TRUE@ @-chmod -R u+w $(srcdir) @ENABLE_GTK_DOC_TRUE@ rm -rf $(srcdir)/html @ENABLE_GTK_DOC_TRUE@ mkdir $(srcdir)/html @ENABLE_GTK_DOC_TRUE@ cd $(srcdir)/html && gtkdoc-mkhtml $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) @ENABLE_GTK_DOC_TRUE@ test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html ) @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Fixing cross-references' @ENABLE_GTK_DOC_TRUE@ cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) @ENABLE_GTK_DOC_TRUE@ touch html-build.stamp @ENABLE_GTK_DOC_FALSE@all-local: ############## clean-local: rm -f *~ *.bak rm -rf .libs maintainer-clean-local: clean cd $(srcdir) && rm -rf xml html $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt install-data-local: installfiles=`echo $(srcdir)/html/*`; \ if test "$$installfiles" = '$(srcdir)/html/*'; \ then echo '-- Nothing to install' ; \ else \ $(mkinstalldirs) $(DESTDIR)$(TARGET_DIR); \ for i in $$installfiles; do \ echo '-- Installing '$$i ; \ $(INSTALL_DATA) $$i $(DESTDIR)$(TARGET_DIR); \ done; \ echo '-- Installing $(srcdir)/html/index.sgml' ; \ $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \ fi uninstall-local: rm -f $(DESTDIR)$(TARGET_DIR)/* # # Require gtk-doc when making dist # @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc: @ENABLE_GTK_DOC_FALSE@dist-check-gtkdoc: @ENABLE_GTK_DOC_FALSE@ @echo "*** gtk-doc should be installed and enabled in order to make dist" dist-hook: dist-check-gtkdoc dist-hook-local mkdir $(distdir)/tmpl mkdir $(distdir)/xml mkdir $(distdir)/html -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl -cp $(srcdir)/xml/*.xml $(distdir)/xml -cp $(srcdir)/html/* $(distdir)/html if test -f $(srcdir)/$(DOC_MODULE).types; then \ cp $(srcdir)/$(DOC_MODULE).types $(distdir)/$(DOC_MODULE).types; \ fi .PHONY : dist-hook-local # 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: libmimedir-0.4.2/docs/reference/mimedir/tmpl/0000777000175000017500000000000010654704040016127 500000000000000libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-vjournal.sgml0000644000175000017500000000200510654704040022210 00000000000000 MIMEDirVJournal iCalendar journal object @parent: @priv: @Returns: @profile: @error: @Returns: @vjournal: @profile: @error: @Returns: @vjournal: @channel: @error: @Returns: @vjournal: @Returns: @vjournal: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-vtodo.sgml0000644000175000017500000000173610654704040021515 00000000000000 MIMEDirVTodo iCalendar todo object @parent: @priv: @Returns: @profile: @error: @Returns: @vtodo: @profile: @error: @Returns: @vtodo: @channel: @error: @Returns: @vtodo: @Returns: @vtodo: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-vcard-email.sgml0000644000175000017500000000312610654704040022541 00000000000000 MIMEDirVCardEMail vCard e-mail address object The #MIMEDirVCardEMail object contains information about a particular e-mail address that can be found in vCards. It contains some special properties that relate to the type of e-mail address. Type of e-mail address. @MIMEDIR_VCARD_EMAIL_TYPE_UNKNOWN: The e-mail address type is unknown or unsupported. @MIMEDIR_VCARD_EMAIL_TYPE_INTERNET: An Internet e-mail address. @MIMEDIR_VCARD_EMAIL_TYPE_X400: An X.400 address. The #MIMEDirVCardEMail-struct struct contains private data only, and should be accessed using the functions below. @parent: @priv: @Returns: @attribute: @error: @Returns: @email: @attribute: @error: @Returns: @email: @Returns: @email: @Returns: @email: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-profile.sgml0000644000175000017500000000604110654704040022014 00000000000000 MIMEDirProfile MIME Directory Profile object Error domain for #MIMEDirProfile operations. Errors in this domain will be from the #MIMEDirProfileError enumeration. See GError for information on error domains. Error codes returned by #MIMEDirProfile operations. @MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE: An unique attribute was specified twice. @MIMEDIR_PROFILE_ERROR_UNEXPECTED_END: The profile is missing a proper END attribute. @MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING: An attribute that is required for a specific profile type is missing from the profile. @MIMEDIR_PROFILE_ERROR_UNMATCHED_END: The profile has an END attribute, but no BEGIN attribute or the profile's END attribute doesn't match the BEGIN attribute. @MIMEDIR_PROFILE_ERROR_WRONG_PROFILE: The PROFILE attribute does not match the BEGIN attribute. Default string representation of the #MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE error code. Default string representation of the #MIMEDIR_PROFILE_ERROR_UNEXPECTED_END error code. Default string representation of the #MIMEDIR_PROFILE_ERROR_UNMATCHED_END error code. Default string representation of the #MIMEDIR_PROFILE_ERROR_MISSING_STR error code. Default string representation of the #MIMEDIR_PROFILE_ERROR_WRONG_PROFILE error code. The #MIMEDirProfile-struct struct contains private data only, and should be accessed using the functions below. @parent: @priv: @type: @Returns: @profile: @channel: @error: @Returns: @profile: @Returns: @profile: @attribute: @profile: @name: @Returns: @profile: @Returns: @profile: @sub_profile: @profile: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-utils.sgml0000644000175000017500000000324710654704040021521 00000000000000 mimedir-utils @list: @separator: @Returns: @string: @Returns: @string: @Returns: @c: @Returns: @string: @Returns: @token1: @token2: @Returns: @list: @Returns: @list: @list: @Returns: @list: @list: @Returns: @list: @list: @Returns: @list: @dest: @value: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-unused.sgml0000644000175000017500000002062710654704040021665 00000000000000 Signifies that the time is not associated with a specific time zone. Signifies the time zone UTC. Default string representation of the #MIMEDIR_VAL_ERROR_NO_COMPONENTS error code. Stores date/time information, including the timezone. @year: year @month: month (1-12) @day: day (1-31) @hour: hour (0-23) @minute: minute (0-59) @second: second (0-59) @timezone: time zone in minutes from median time @Returns: Frees a list of #MIMEDirAttributeDateTime pointers as returned by mimedir_attribute_get_value_date_list(). @list: @list: Frees a list of #MIMEDirAttributeDateTime pointers as returned by mimedir_attribute_get_value_time_list(). @list: @attribute: @error: @Returns: @attribute: @Returns: @channel: @error: @Returns: @attribute: @channel: @error: @Returns: @attribute: @value: @encoding: @attribute: @value: @Returns: @channel: @error: @Returns: @string: @error: @Returns: @profile: @channel: @error: @Returns: @profile: @string: @error: @Returns: @channel: @error: @Returns: @string: @error: @Returns: @valarm: @channel: @error: @Returns: @valarm: @string: @error: @Returns: @channel: @error: @Returns: @string: @error: @Returns: @vcal: @channel: @error: @Returns: @vcal: @string: @error: @Returns: Reads a list of iCalendars from the supplied file and returns it. @error will be set if an error occurs. You should free the returned list with mimedir_vcal_free_list(). The supplied file will first be treated as being in UTF-8 encoding. If there are conversion errors, the file will be treated as being in the encoding of the current locale. It there are also conversion errors, the file will finally be treated as being in ISO-8859-15 encoding. See the section called Encoding Issues for more information. @filename: file to read @error: error storage location or %NULL @Returns: list of iCalendar objects @channel: @error: @Returns: @filename: @list: @error: @Returns: @channel: @list: @error: @Returns: @channel: @error: @Returns: @string: @error: @Returns: @vcard: @channel: @error: @Returns: @vcard: @string: @error: @Returns: Reads a list of vCards from the supplied file and returns it. @error will be set if an error occurs. You should free the returned list with mimedir_vcard_free_list(). The supplied file will first be treated as being in UTF-8 encoding. If there are conversion errors, the file will be treated as being in the encoding of the current locale. It there are also conversion errors, the file will finally be treated as being in ISO-8859-15 encoding. See the section called Encoding Issues for more information. @filename: file to read @error: error storage location or %NULL @Returns: list of vCard objects @channel: @error: @Returns: @vcomponent: @Returns: @vevent: @Returns: @vevent: @Returns: @channel: @error: @Returns: @string: @error: @Returns: @vevent: @channel: @error: @Returns: @vevent: @string: @error: @Returns: @channel: @error: @Returns: @string: @error: @Returns: @vfreebusy: @channel: @error: @Returns: @vfreebusy: @string: @error: @Returns: @channel: @error: @Returns: @string: @error: @Returns: @vjournal: @channel: @error: @Returns: @vjournal: @string: @error: @Returns: @channel: @error: @Returns: @string: @error: @Returns: @vtimezone: @channel: @error: @Returns: @vtimezone: @string: @error: @Returns: @vtodo: @Returns: @channel: @error: @Returns: @string: @error: @Returns: @vtodo: @channel: @error: @Returns: @vtodo: @string: @error: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-datetime.sgml0000644000175000017500000000644610654704040022161 00000000000000 MIMEDirDateTime date time object This date time object does not specify the time zone. The time is given in Universal Standard Time (UTC). @parent: @year: @month: @day: @hour: @minute: @second: @timezone: @flags: @priv: @Returns: @Returns: @year: @month: @day: @hour: @minute: @second: @Returns: @year: @month: @day: @Returns: @hour: @minute: @second: @Returns: @date: @Returns: @t: @Returns: @tm: @Returns: @dt: @year: @month: @day: @hour: @minute: @second: @dt: @year: @month: @day: @dt: @hour: @minute: @second: @dt: @date: @dt: @t: @dt: @tm: @dt: @year: @month: @day: @hour: @minute: @second: @dt: @year: @month: @day: @dt: @hour: @minute: @second: @dt: @date: @dt: @Returns: @dt: @tm: @dt: @Returns: @year: @month: @day: @Returns: @hour: @minute: @second: @Returns: @dt: @dt: @Returns: @dt1: @dt2: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-vcal.sgml0000644000175000017500000000424110654704040021301 00000000000000 MIMEDirVCal main iCalendar object Error domain for #MIMEDirAttribute operations. Errors in this domain will be from the #MIMEDirAttributeError enumeration. See #GError for information on error domains. Error codes returned by MIMEDirVCal operations. @MIMEDIR_VCAL_ERROR_UNKNOWN_SCALE: The specified time scale is unknown. Default string representation of the #MIMEDIR_VAL_ERROR_UNKNOWN_SCALE error code. @parent: @priv: @list: @Returns: @profile: @error: @Returns: @vcal: @profile: @error: @Returns: @vcal: @channel: @error: @Returns: @vcal: @Returns: @vcal: @Returns: @vcal: @Returns: @vcal: @Returns: @vcal: @Returns: @vcal: @component: @vcal: @list: @list: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-vcard-phone.sgml0000644000175000017500000000245610654704040022570 00000000000000 MIMEDirVCardPhone vCard phone object The MIMEDirVCardPhone object contains information about a particular telephone number that can be found in vCards. It contains some special propertiesthat relate to the type of telephone number. The #MIMEDirVCardPhone-struct struct contains private data only, and should be accessed using the functions below. @parent: @priv: @Returns: @attribute: @error: @Returns: @phone: @attribute: @error: @Returns: @phone: @Returns: @phone: @Returns: @phone: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-attribute.sgml0000644000175000017500000002257110654704040022365 00000000000000 MIMEDirAttribute MIME Directory Attribute object Error domain for #MIMEDirAttribute operations. Errors in this domain will be from the #MIMEDirAttributeError enumeration. See #GError for information on error domains. Error codes returned by #MIMEDirAttribute operations. @MIMEDIR_ATTRIBUTE_ERROR_SYNTAX: There was a syntax error. @MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR: An illegal character was found in the input stream. @MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT: The format of an attribute value does not match the requested value type. @MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING: The attribute value can not be decoded, since its encoding is unknown. @MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE: The attribute value is out of range. @MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE: A parameter that is required to be unique is not. @MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64: Invalid Base64-encoded string. @MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP: Invalid quoted-printable-encoded string. @MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT: The parameter list is too short. @MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG: The parameter list is too long. Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_SYNTAX error code. Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR error code. Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT error code. Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING error code. Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE error code. Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE error code. Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64 error code. Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP error code. Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT error code. Default string representation of the #MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG error code. The attribute's type. @MIMEDIR_ATTRIBUTE_TYPE_UNKNOWN: Attribute type is unknown. @MIMEDIR_ATTRIBUTE_TYPE_URI: Attribute represents an URI as defined in [RFC 1738]. @MIMEDIR_ATTRIBUTE_TYPE_TEXT: Attribute consists of a list of text string. @MIMEDIR_ATTRIBUTE_TYPE_DATE: Attribute consists of a list of dates. @MIMEDIR_ATTRIBUTE_TYPE_TIME: Attribute consists of a list of times. @MIMEDIR_ATTRIBUTE_TYPE_DATETIME: Attribute consists of list of dates and times. @MIMEDIR_ATTRIBUTE_TYPE_INTEGER: Attribute consists of a list of integer values. @MIMEDIR_ATTRIBUTE_TYPE_FLOAT: Attribute consists of a list of floating point values. @MIMEDIR_ATTRIBUTE_TYPE_BOOLEAN: Attribute is a boolean value. @MIMEDIR_ATTRIBUTE_TYPE_STRUCTURED_TEXT: Attribute is a structured text value. @MIMEDIR_ATTRIBUTE_TYPE_PARAMETERS: The encoding of the attribute's value. @MIMEDIR_ATTRIBUTE_ENCODING_UNKNOWN: The encoding is unknown. @MIMEDIR_ATTRIBUTE_ENCODING_BASE64: The value is Base64-encoded. @MIMEDIR_ATTRIBUTE_ENCODING_QP: The value is encoded as a quoted-printable string. This encoding is read-only and must not be set. Alias for #MIMEDIR_ATTRIBUTE_ENCODING_UNKNOWN. The #MIMEDirAttribute-struct struct contains private data only, and should be accessed using the functions below. @parent: @priv: @Returns: @attribute: @channel: @error: @Returns: @attribute: @Returns: @attribute: @group: @attribute: @Returns: @attribute: @type: @attribute: @Returns: @attribute: @name: @values: @attribute: @name: @value: @attribute: @parameter: @Returns: @attribute: @parameter: @Returns: @attribute: @parameter: @Returns: @attribute: @list: Sets the attribute's value to the supplied URI argument. @uri must be a valid URI as described in [URI]. @attribute: a #MIMEDirAttribute @uri: the new URI Tries to parse the value of @attribute as an URI as described in [URI] and returns it. The returned string should be freed with g_free(). If the attribute value can't be interpreted as an URI, @error will be set and %NULL will be returned. @attribute: a #MIMEDirAttribute @error: error storage location or %NULL @Returns: the URI or %NULL @attribute: @text: @attribute: @error: @Returns: @attribute: @list: @attribute: @error: @Returns: Frees a list of string pointers as returned by mimedir_attribute_get_value_text_list(). @list: @attribute: @datetime: @attribute: @error: @Returns: @attribute: @list: @attribute: @error: @Returns: @list: @attribute: @b: @attribute: @error: @Returns: @attribute: @i: @attribute: @error: @Returns: @attribute: @list: @attribute: @error: @Returns: @list: @attribute: @list: @attribute: @error: @Returns: @list: @attribute: @list: @attribute: @error: @Returns: @list: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-recurrence.sgml0000644000175000017500000000071410654704040022512 00000000000000 MIMEDirRecurrence iCalendar recurrence object @parent: @priv: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-period.sgml0000644000175000017500000000115010654704040021632 00000000000000 MIMEDirPeriod @parent: @priv: @Returns: @string: @Returns: @period: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-vcard-address.sgml0000644000175000017500000000264310654704040023102 00000000000000 MIMEDirVCardAddress vCard address object The #MIMEDirVCardAddress object contains information about a particular address that can be found in vCards. It contains some special properties that relate to the type of address. The #MIMEDirVCardAddress-struct struct contains private data only, and should be accessed using the functions below. @parent: @priv: @Returns: @attribute: @error: @Returns: @address: @attribute: @error: @Returns: @address: @Returns: @address: @Returns: @address: @Returns: @address: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-attendee.sgml0000644000175000017500000000146010654704040022145 00000000000000 MIMEDirAttendee iCalendar attendee object @parent: @uri: @priv: @Returns: @attribute: @error: @Returns: @attendee: @attribute: @error: @Returns: @attendee: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-init.sgml0000644000175000017500000000054410654704040021321 00000000000000 mimedir-init library initialization routines libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-vcard.sgml0000644000175000017500000001014310654704040021451 00000000000000 MIMEDirVCard vCard business card object The type of a public key that is associated with the vCard. @MIMEDIR_VCARD_KEY_UNKNOWN: unknown/unsupported key type @MIMEDIR_VCARD_KEY_X509: X.509 key @MIMEDIR_VCARD_KEY_PGP: PGP/GnuPG key Maximum valid value for the timezone parameter. Minimum valid value for the timezone parameter. Maximum valid value for the latitude parameter. Minimum valid value for the latitude parameter. Maximum valid value for the longitude parameter. Minimum valid value for the longitude parameter. The #MIMEDirVCard-struct struct contains private data only, and should be accessed using the functions below. @parent: @priv: @list: @filename: @list: @error: @Returns: @channel: @list: @error: @Returns: @Returns: @profile: @error: @Returns: @vcard: @profile: @error: @Returns: @vcard: @Returns: @vcard: @channel: @error: @Returns: @vcard: @Returns: @vcard: @birthday: @vcard: @Returns: @vcard: @timezone: @vcard: @timezone: @Returns: @vcard: @vcard: @latitude: @longitude: @vcard: @latitude: @longitude: @Returns: @vcard: @vcard: @address: @vcard: @address: @vcard: @email: @vcard: @email: @vcard: @phone: @vcard: @phone: @vcard: @Returns: @vcard: @Returns: @vcard: @Returns: @vcard: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-vtimezone.sgml0000644000175000017500000000202310654704040022370 00000000000000 MIMEDirVTimeZone iCalendar time zone object @parent: @priv: @Returns: @profile: @error: @Returns: @vtimezone: @profile: @error: @Returns: @vtimezone: @channel: @error: @Returns: @vtimezone: @Returns: @vtimezone: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-vcomponent.sgml0000644000175000017500000001004410654704040022542 00000000000000 MIMEDirVComponent iCalendar base object @parent: @priv: Classification of an iCalendar component object, i.e. the "secrecy level". @MIMEDIR_CLASS_PUBLIC: Public classification @MIMEDIR_CLASS_PRIVATE: Private classification @MIMEDIR_CLASS_CONFIDENTIAL: Confidential classification @MIMEDIR_CLASS_CUSTOM: Custom classification (string attached) @MIMEDIR_STATUS_UNKNOWN: Unknown status @MIMEDIR_STATUS_CANCELLED: Cancelled appointment @MIMEDIR_STATUS_TENTATIVE: Tentative appointment @MIMEDIR_STATUS_CONFIRMED: Confirmed appointment @MIMEDIR_STATUS_NEEDS_ACTION: Needs action @MIMEDIR_STATUS_COMPLETED: Item completed @MIMEDIR_STATUS_IN_PROCESS: Item being worked on @MIMEDIR_STATUS_DRAFT: Preliminary item @MIMEDIR_STATUS_FINAL: Final item Used to signify that a percentage is unknown or unset. @vcomponent: @profile: @error: @Returns: @vcomponent: @profile_name: @Returns: @vcomponent: @Returns: @vcomponent: @list: @vcomponent: @Returns: @vcomponent: @list: @vcomponent: @Returns: @vcomponent: @opaque: @vcomponent: @Returns: @vcomponent: @classification: @klass: @vcomponent: @klass: @Returns: @vcomponent: @location: @uri: @vcomponent: @uri: @Returns: @vcomponent: @latitude: @longitude: @vcomponent: @latitude: @longitude: @vcomponent: @recurrence: @vcomponent: @Returns: @vcomponent: @allday: @vcomponent: @Returns: @vcomponent: @Returns: @vcomponent: @after: @Returns: @vcomponent: @start: @end: @Returns: @list: @vcomponent: @list: @vcomponent: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-vevent.sgml0000644000175000017500000000175310654704040021670 00000000000000 MIMEDirVEvent iCalendar event object @parent: @priv: @Returns: @profile: @error: @Returns: @vevent: @profile: @error: @Returns: @vevent: @channel: @error: @Returns: @vevent: @Returns: @vevent: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-vfreebusy.sgml0000644000175000017500000000232210654704040022364 00000000000000 MIMEDirVFreeBusy iCalendar free/busy object @parent: @priv: @MIMEDIR_VFREEBUSY_FREE: @MIMEDIR_VFREEBUSY_BUSY: @MIMEDIR_VFREEBUSY_BUSY_UNAVAILABLE: @MIMEDIR_VFREEBUSY_BUSY_TENTATIVE: @Returns: @profile: @error: @Returns: @vfreebusy: @profile: @error: @Returns: @vfreebusy: @channel: @error: @Returns: @vfreebusy: @Returns: @vfreebusy: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-valarm.sgml0000644000175000017500000000353410654704040021642 00000000000000 MIMEDirVAlarm iCalendar alarm object @MIMEDIR_VALARM_UNKNOWN: @MIMEDIR_VALARM_AUDIO: @MIMEDIR_VALARM_DISPLAY: @MIMEDIR_VALARM_EMAIL: @MIMEDIR_VALARM_PROCEDURE: @parent: @priv: @type: @Returns: @profile: @error: @Returns: @valarm: @profile: @error: @Returns: @valarm: @Returns: @valarm: @Returns: @valarm: @channel: @error: @Returns: @valarm: @type: @valarm: @Returns: @valarm: @vcomponent: @after: @Returns: @valarm: @start: @end: @Returns: @valarm: @vcomponent: @Returns: @valarm: @vcomponent: @Returns: libmimedir-0.4.2/docs/reference/mimedir/tmpl/mimedir-attachment.sgml0000644000175000017500000000150110654704040022500 00000000000000 MIMEDirAttachment vCard/iCalendar attachment object @parent: @priv: @Returns: @attribute: @error: @Returns: @attachment: @attribute: @error: @Returns: @attachment: @Returns: libmimedir-0.4.2/docs/reference/mimedir/mimedir-overrides.txt0000644000175000017500000000000010603540662021246 00000000000000libmimedir-0.4.2/docs/reference/mimedir/mimedir-bib.sgml0000644000175000017500000000657110603540662020146 00000000000000 Tim Berners-Lee CERN World-Wide Web project Larry Masinter Xerox PARC Mark McCahill University of Minnesota Computer and Information Services December 1994 RFC 1738 Uniform Resource Locators (URL) F. Yergeau Alis Technologies January 1998 RFC 2279 UTF8, a transformation format of ISO 10646 Tim Howes Netscape Communications Corp. Mark Smith Netscape Communications Corp. Frank Dawson Lotus Development Corporation September 1998 RFC 2425 A MIME Content-Type for Directory Information Frank Dawson Lotus Development Corporation Tim Howes Netscape Communications Corp. September 1998 RFC 2426 vCard MIME Directory Profile Frank Dawson Lotus Development Corporation D. Stenerson Microsoft Corporation November 1998 RFC 2445 Internet Calendaring and Scheduling Core Object Specification (iCalendar) libmimedir-0.4.2/docs/reference/mimedir/mimedir.types0000644000175000017500000000000010654704040017571 00000000000000libmimedir-0.4.2/docs/reference/mimedir/mimedir-docs.sgml0000644000175000017500000000471410603540662020337 00000000000000 ]> MIME Directory Library Reference Manual &mimedir-intro; Core Reference &mimedir-init; &mimedir-MIMEDirAttribute; &mimedir-MIMEDirProfile; vCard Object Reference &mimedir-MIMEDirVCard; &mimedir-MIMEDirVCardAddress; &mimedir-MIMEDirVCardEMail; &mimedir-MIMEDirVCardPhone; iCal Object Reference &mimedir-MIMEDirVCal; &mimedir-MIMEDirVComponent; &mimedir-MIMEDirVAlarm; &mimedir-MIMEDirVEvent; &mimedir-MIMEDirVFreeBusy; &mimedir-MIMEDirVJournal; &mimedir-MIMEDirVTimeZone; &mimedir-MIMEDirVTodo; Utility Ojects &mimedir-MIMEDirAttachment; &mimedir-MIMEDirAttendee; &mimedir-MIMEDirDateTime; &mimedir-MIMEDirRecurrence; &mimedir-bib; libmimedir-0.4.2/docs/Makefile.in0000644000175000017500000003750210654703051013560 00000000000000# 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@ # $Id: Makefile.am,v 1.2 2002/07/22 17:51:12 srittau Exp $ 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 = : build_triplet = @build@ host_triplet = @host@ subdir = docs DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = SOURCES = DIST_SOURCES = RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ html-recursive info-recursive install-data-recursive \ install-exec-recursive install-info-recursive \ install-recursive installcheck-recursive installdirs-recursive \ pdf-recursive ps-recursive uninstall-info-recursive \ uninstall-recursive ETAGS = etags CTAGS = ctags DIST_SUBDIRS = $(SUBDIRS) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTKDOC = @GTKDOC@ HTML_DIR = @HTML_DIR@ 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_ICONV = @INTLTOOL_ICONV@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_MSGFMT = @INTLTOOL_MSGFMT@ INTLTOOL_MSGMERGE = @INTLTOOL_MSGMERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ 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_XGETTEXT = @INTLTOOL_XGETTEXT@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MIMEDIR_MAJOR_VERSION = @MIMEDIR_MAJOR_VERSION@ MIMEDIR_MICRO_VERSION = @MIMEDIR_MICRO_VERSION@ MIMEDIR_MINOR_VERSION = @MIMEDIR_MINOR_VERSION@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ 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@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = reference EXTRA_DIST = class-overview.dia all: all-recursive .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 docs/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu docs/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 mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: # This directory's subdirectories are mostly independent; you can cd # into them and run `make' without going through this Makefile. # To change the values of `make' variables: instead of editing Makefiles, # (1) if the variable is set in `config.status', edit `config.status' # (which will cause the Makefiles to be regenerated when you run `make'); # (2) otherwise, pass the desired values on the `make' command line. $(RECURSIVE_TARGETS): @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo $@ | sed s/-recursive//`; \ list='$(SUBDIRS)'; for subdir in $$list; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ dot_seen=yes; \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done; \ if test "$$dot_seen" = "no"; then \ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ fi; test -z "$$fail" mostlyclean-recursive clean-recursive distclean-recursive \ maintainer-clean-recursive: @failcom='exit 1'; \ for f in x $$MAKEFLAGS; do \ case $$f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ case "$@" in \ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ *) list='$(SUBDIRS)' ;; \ esac; \ rev=''; for subdir in $$list; do \ if test "$$subdir" = "."; then :; else \ rev="$$subdir $$rev"; \ fi; \ done; \ rev="$$rev ."; \ target=`echo $@ | sed s/-recursive//`; \ for subdir in $$rev; do \ echo "Making $$target in $$subdir"; \ if test "$$subdir" = "."; then \ local_target="$$target-am"; \ else \ local_target="$$target"; \ fi; \ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ || eval $$failcom; \ done && test -z "$$fail" tags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ done ctags-recursive: list='$(SUBDIRS)'; for subdir in $$list; do \ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ done ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test -d "$(distdir)/$$subdir" \ || $(mkdir_p) "$(distdir)/$$subdir" \ || exit 1; \ distdir=`$(am__cd) $(distdir) && pwd`; \ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ (cd $$subdir && \ $(MAKE) $(AM_MAKEFLAGS) \ top_distdir="$$top_distdir" \ distdir="$$distdir/$$subdir" \ distdir) \ || exit 1; \ fi; \ done check-am: all-am check: check-recursive all-am: Makefile installdirs: installdirs-recursive installdirs-am: install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f Makefile distclean-am: clean-am distclean-generic distclean-libtool \ distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am \ clean clean-generic clean-libtool clean-recursive ctags \ ctags-recursive distclean distclean-generic distclean-libtool \ distclean-recursive distclean-tags 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-strip installcheck \ installcheck-am installdirs installdirs-am maintainer-clean \ maintainer-clean-generic maintainer-clean-recursive \ mostlyclean mostlyclean-generic mostlyclean-libtool \ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \ uninstall uninstall-am uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: libmimedir-0.4.2/docs/class-overview.dia0000644000175000017500000007014710603540662015146 00000000000000 #A4# #MIMEDirVCard# #MIMEDirVCardAddress# #MIMEDirAttribute# #MIMEDirProfile# #contains# #*# #1# #uses# #1# #uses# #*# #MIMEDirVCardPhone# #MIMEDirVCardEmail# #has# #*# #1# #has# #*# #1# #has# #*# #1# libmimedir-0.4.2/ChangeLog0000644000175000017500000017673710654700051012350 000000000000002007-08-03 Florian Boor * Relase 0.4.2 2007-08-01 Florian Boor * docs/reference/mimedir/Makefile.am: Fix errors with up to date gtk-doc. * Makefile.am: Remove some more files with distclean target. 2007-07-26 Florian Boor * docs/reference/mimedir/Makefile.am: Update with more recent gtk-doc bits. 2007-07-18 Graham Cobb * Preparation for release 0.4.2... * Add gpe-dist.am for GPE release process 2007-04-07 Graham Cobb * Undo broken change in revision 9093 which references mimedir-recurrence-rule.c but does not provide the file 2007-03-29 Graham Cobb * mimedir/mimedir-attribute.c (escape): escape semi-colons This fixes GPE bug 36. 2007-03-29 Graham Cobb * mimedir/mimedir-vcomponent.c (mimedir_vcomponent_read_from_profile): add support for VALARM component. This fixes GPE bug 10. * mimedir/mimedir-vcal.c (mimedir_vcal_read_from_profile): remove support for standalone VALARM element (VALARM within a VEVENT/VTODO is handled in mimedir-vcomponent.c) 2007-03-28 Graham Cobb * mimedir-vcomponent.c (mimedir_vcomponent_class_init): make Trigger property read/write This fixes GPE bug 9 (mimedir_vcomponent_parse_attribute): fix crash parsing TRIGGER attribute 2007-03-28 Graham Cobb * mimedir-vcal.c (mimedir_vcal_get_event_list): add reference for returned objects * mimedir-vcal.c (mimedir_vcal_get_todo_list): add reference for returned objects Fixes GPE bug 8 2007-03-21 Graham Cobb * mimedir/mimedir-profile.c: close file descriptors and unlink temporary files 2007-03-20 Graham Cobb * mimedir-write-sequence.patch (from OE): make sequence attribute read-write 2007-03-20 Graham Cobb * README.gpe: Create README.gpe to describe this component * libmimedir-0.4.0-duration-wkst.patch (from OE but rewritten): add WKST and fix DURATION parsing This fixes GPE bug 7 2006-12-19 Pema Geyleg * configure.in: Added 'dz' to ALL_LINGUAS 2006-08-15 Sebastian Rittau * mimedir/mimedir-attribute.c (mimedir_attribute_get_value_text_list): CATEGORY_LIST only returned one element. Patch by Martin Felis. 2006-02-09 Clytie Siddall * configure.in Added vi in ALL_LINGUAS line. 2006-01-01 Sebastian Rittau * configure.in: Also bump MIMEDIR_*_VERSION. (Thanks, Florian Boor) Based on a patch by Olivier Berger: * mimedir/mimedir-attribute (char_to_int): Handle '0' to '9'. Renamed to base64_char_to_int. Removed the error parameter. (int_to_char): Renamed to base64_int_to_char. Removed the error parameter. (base64_check): New function. (base64_decode): Cleaned up. (mimedir_attribute_internal_append_parameter): Recognize "base64" as alternative Base64 identifier. (get_attribute_string): Handle Base64. 2005-11-26 Sebastian Rittau * configure.in: Bumped version number to 0.4.0. * mimedir/mimedir-vcomponent.c (mimedir_vcomponent_parse_attribute): Parse LAST-MODIFIED field with non-UTC time value. (Martin Felis) 2005-11-03 Sebastian Rittau * bin/vcard-dump.c (print_vcard): Split function out of main(). * mimedir/mimedir-vcomponent.c: Added support for LAST-MODIFIED. (Martin Felis); plugged some memory leaks. 2005-10-08 Ilkka Tuohela * For translators: fixed invalid original string in mimedir/mimedir-recurrance.c (numer -> number) 2005-09-11 Sebastian Rittau * mimedir/mimedir-vcard-address.c (mimedir_vcard_address_set_from_attribute): * mimedir/mimedir-vcard-email.c (mimedir_vcard_email_set_from_attribute): * mimedir/mimedir-vcard-phone.c (mimedir_vcard_phone_set_from_attribute): String fix (missing newline). * mimedir/mimedir-attribute.c (parse_parameter_list): Parsing fix. * mimedir/mimedir-vcard-email.c (mimedir_vcard_email_class_init): (mimedir_vcard_email_set_property): (mimedir_vcard_email_get_property): (mimedir_vcard_email_set_from_attribute): (mimedir_vcard_email_save_to_attribute): (mimedir_vcard_email_get_type_string): New properties: home and work. 2005-09-08 Sebastian Rittau Fix crasher bugs with obsolete value-only attribute parameters (i.e. parameters of the form "N;QUOTED-PRINTABLE:FooBar". * mimedir/mimedir-attribute.c (split_quoted_string): Supplied string is const. (parse_parameter_list): Initialize parameter name with NULL (instead of junk) if the name is missing. Plugged memory leaks in case of parse errors. New boolean parameter: no_name_allowed. (parse_attribute_parameters): Properly handle parameters without name. (mimedir_attribute_get_value_parameters): Changed parse_parameter_list() API. 2005-09-01 Sebastian Rittau * bin/ical-dump.c (print_recurrence): New function. (print_component): Print recurrence information. New API for recurrence frequency: The parameter was renamed from "freq" to "frequency" and now takes an enumeration value instead of a string. * bin/ical-dump.c (frequency_to_string): New function. (print_recurrence): New API, uses frequency_to_string(). * mimedir/mimedir-recurrence.[ch] (MIMEDirRecurrenceFrequency): Frequency enumeration. (freq_to_string): (string_to_freq): New utility functions. (mimedir_recurrence_class_init): Change param spec. (mimedir_recurrence_dispose): Don't free priv->freq. (mimedir_recurrence_set_property): (mimedir_recurrence_get_property): Changed API. (mimedir_recurrence_set_frequency_string): New method. (mimedir_recurrence_write_to_string): Use freq_to_string(). * mimedir/mimedir-vcomponent.c (parse_rrule): New internal method. Uses code formerly from mimedir_vcomponent_parse_attribute(), but use new frequency API. (mimedir_vcomponent_parse_attribute): Moved RRULE parsing code to parse_rrule(). Check RRULE for duplicity. Moved recurrence parsing code into mimedir-recurrence.c. * mimedir/mimedir-recurrence.[ch] (mimedir_recurrence_init): Initialize frequency. (mimedir_recurrence_new_parse): (mimedir_recurrence_parse): New methods. The latter was moved here from mimedir/mimedir-vcomponent.c:parse_rrule(). (mimedir_recurrence_set_frequency_string): Removed. * mimedir/mimedir-vcomponent (parse_rrule): Moved main body to mimedir/mimedir-recurrence.c. API change for units: use another enum. * bin/dump-ical.c (unit_to_string): New method. (print_recurrence): Use new API and unit_to_string(). * mimedir/mimedir-recurrence.h (MIMEDirRecurrenceUnit): New enumeration. * mimedir/mimedir-recurrence.c (unit_to_string): (string_to_unit): New methods. (mimedir_recurrence_class_init): Change "byunit" property to "unit". (mimedir_recurrence_init): Initialize unit. (mimedir_recurrence_dispose): Don't free unit. (mimedir_recurrence_set_property): (mimedir_recurrence_get_property): byunit -> unit (mimedir_recurrence_parse): Parse BYXXX using string_to_unit(). (mimedir_recurrence_write_to_string): Use unit_to_string(). Moved datetime parsing into mimedir/mimedir-datetime.c. * mimedir/mimedir-attribute.c (mimedir_attribute_get_value_datetime_list): Use mimedir_datetime_new_parse(). Parse only list stuff here. * mimedir/mimedir-datetime.[ch] (mimedir_datetime_new_parse): (mimedir_datetime_parse): New methods. The latter uses code from the former version of mimedir_attribute_get_value_datetime_list(). * mimedir/mimedir-recurrence.c (mimedir_recurrence_parse): Use mimedir_datetime_new_parse(). 2005-08-31 Sebastian Rittau * mimedir/mimedir-attribute.c (parse_parameter_list): Assert that the list has an even length before returning. Implemented the recurrence object. Patch by Martin Felis, thanks Martin! * mimedir/mimedir-attribute.[ch] (mimedir_attribute_set_value_text_unescaped): New method. (mimedir_attribute_set_value_text): Use above method. * mimedir/mimedir-recurrence.[ch]: (mimedir_recurrence_set_property): (mimedir_recurrence_get_property): New methods. (mimedir_recurrence_class_init): Set set_property and get_property and initialize properties. (mimedir_recurrence_dispose): Free private structure. (mimedir_recurrence_write_to_string): New public method. * mimedir/mimedir-vcard.c (mimedir_vcard_write_to_profile): Use uppercase "VCARD" identifier for new profiles. * mimedir/mimedir-vcomponent.c (mimedir_vcomponent_class_init): (mimedir_vcomponent_set_property): (mimedir_vcomponent_get_property): New property "recurrence". (mimedir_vcomponent_parse_attribute): Parse RRULE property. 2005-08-26 Sebastian Rittau Changes for easier parsing of RRULE. RRULE values use a key=value syntax that closely resembles that of ordinary attribute parameters. Therefore the new method parse_parameter_list() was introduced that shares parsing code. * mimedir/mimedir-attribute.[ch] (split_quoted_string): new helper method (parse_parameter_list): new internal method to parse parameter list, uses code from parse_attribute() (parse_attribute_parameters): new internal method for parsing parameters, uses parse_parameter_list() (parse_attribute): use new method parse_attribute_parameters() (mimedir_attribute_append_value_text): renamed to append_value_text() (mimedir_attribute_set_value_parameters): (mimedir_attribute_get_value_parameters): new methods to set/retrieve attribute values in parameter style (e.g. RRULE) (mimedir_attribute_param_list_free): replaced by ... (mimedir_attribute_free_string_list): new method * mimedir/mimedir-vcomponent.c (mimedir_vcomponent_parse_attribute): RRULE stub parsing code 2005-08-15 Ilkka Tuohela * configure.in: Added fi to ALL_LINGUAS 2005-08-07 Maxim Dziumanenko * configure.in: Added uk in ALL_LINGUAS 2005-07-19 Pawan Chitrakar * configure.in: Added ne in ALL_LINGUAS 2005-04-14 Sebastian Rittau * mimedir/mimedir-attribute.c (parse_attribute): * mimedir/mimedir-vcomponent.c (mimedir_vcomponent_parse_attribute): (mimedir_vcomponent_parse_number): Warning fixes. 2005-04-01 Steve Murphy * configure.in: Added "rw" to ALL_LINGUAS. 2005-03-10 Sebastian Rittau * mimedir/mimedir-attribute.c (parse_attribute): Plug a memory leak. * mimedir/mimedir-vcomponent.c (mimedir_vcomponent_set_property): Ref'ed the wrong object. (mimedir_vcomponent_get_occurences_between): Started to implement. Can't handle recurrence yet. 2005-03-04 Sebastian Rittau * mimedir/mimedir-attribute.c: (mimedir_attribute_get_value_data): Dupe the return value and document that it should be freed by the caller. Also, allow a NULL len parameter. (mimedir_attribute_get_value_text): (mimedir_attribute_get_value_text_list): Fix. * mimedir/mimedir-attribute.h: (mimedir_attribute_parse): Fix parameter names and constness. * mimedir/mimedir-vcomponent.c: (mimedir_vcomponent_parse_number): Fix parameter constness. 2005-03-01 Sebastian Rittau * mimedir/mimedir-vcal.[ch] (mimedir_vcal_write_list): (mimedir_vcal_write_list_to_channel): Removed. (mimedir_vcal_write_to_file): New. (mimedir_vcal_add_component): Ref supplied object. (mimedir_vcal_add_component_list): Use mimedir_vcal_add_component(). * mimedir/mimedir-datetime.c (mimedir_datetime_new_from_gdate): (mimedir_datetime_set_gdate): Allow invalid GDates. * mimedir/mimedir-vcomponent.c (mimedir_vcomponent_set_property): Fixed setting the "description" property. 2005-02-28 Sebastian Rittau * mimedir/mimedir-vcard.c (mimedir_vcard_read_file): Fixed error output string. * mimedir/mimedir-vcal.[ch]: Removed the MIMEDIR_VCAL_ERROR_NO_COMPONENTS error. * mimedir/mimedir-vcal.c: (mimedir_vcal_read_channel): Incorrect variable type did truncate signess. * bin/ical-dump.c (main): Removed extraneous error output. * mimedir/mimedir-attribute.c (get_line): Ignore empty lines. (mimedir_attribute_get_value_datetime_list): Skip leading and trailing white space. * mimedir/mimedir-vcard.c (mimedir_vcard_read_channel): * mimedir/mimedir-vcal.c (mimedir_vcal_read_channel): Skip extraneous white space and set attribute encoding. 2005-02-27 Sebastian Rittau * mimedir/mimedir-datetime.[ch]: (mimedir_datetime_new_from_gdate): const argument 2005-02-26 Sebastian Rittau * mimedir/*.[ch]: * bin/*.c: Major restructuring of file/channel reading. API changes. 2004-05-01 Adam Weinberger * configure.in: Added en_CA to ALL_LINGUAS. 2004-04-12 Gareth Owen * configure.in: Added en_GB to ALL_LINGUAS 2004-02-07 Robert Sedak * configure.in: Added "hr" (Croatian) to ALL_LINGUAS. 2004-02-02 Alastair McKinstry * configure.in: Added Irish ("ga") to ALL_LINGUAS. 2003-09-01 Metin Amiroff configure.in: Added "az" in ALL_LINGUAS. 2003-07-25 Artur Flinta * configure.in: Added "pl" to ALL_LINGUAS. 2003-07-08 Sebastian Rittau * mimedir/mimedir-period.[ch]: * mimedir/mimedir-vcomponent.[ch]: * mimedir/mimedir-vfreebusy.h: * mimedir/mimedir-vcard.h: Moved MIMEDirFreeBusyType from mimedir-period.h to mimedir-vfreebusy.h and renamed to MIMEDirVFreeBusyType. Docstring fixes. * docs/reference/mimedir/mimedir-docs.sgml: * docs/reference/mimedir/mimedir-sections.txt: * docs/reference/mimedir/tmpl/mimedir-attachment.sgml: * docs/reference/mimedir/tmpl/mimedir-datetime.sgml: * docs/reference/mimedir/tmpl/mimedir-period.sgml: * docs/reference/mimedir/tmpl/mimedir-unused.sgml * docs/reference/mimedir/tmpl/mimedir-vcard.sgml: * docs/reference/mimedir/tmpl/mimedir-vcomponent.sgml: * docs/reference/mimedir/tmpl/mimedir-vfreebusy.sgml: * docs/reference/mimedir/tmpl/mimedir-vjournal.sgml: * docs/reference/mimedir/tmpl/mimedir-vtimezone.sgml: Documentation updates. 2003-06-23 Danilo Šegan * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS. 2003-05-01 Evandro Fernandes Giovanini * configure.in(ALL_LINGUAS): Added "pt_BR" (Brazilian Portuguese). 2003-04-16 Duarte Loreto * configure.in: Added "pt" (Portuguese) to ALL_LINGUAS. 2003-02-27 Pablo Gonzalo del Campo * configure.in: Added Spanish (es) to ALL_LINGUAS 2003-02-21 Pablo Saratxaga * configure.in: Added Catalan (ca) to ALL_LINGUAS 2003-02-02 Sebastian Rittau * mimedir/mimedir-vcard.[ch] (mimedir_vcard_class_init): Correct blurb of "key-list" property. (mimedir_vcard_set_timezone): (mimedir_vcard_clear_timezone): (mimedir_vcard_get_timezone): (mimedir_vcard_set_geo_position): (mimedir_vcard_clear_geo_position): (mimedir_vcard_get_geo_position): New methods. (mimedir_vcard_get_as_string): Show time zone only if it in a valid range. 2003-01-20 Sebastian Rittau * mimedir/mimedir-attribute.c (mimedir_attribute_class_init): Attribute name: defaults to NULL and remove CONSTRUCT flag. * mimedir/mimedir-datetime.c (mimedir_datetime_new_from_gdate): Check whether supplied GDate is valid. * mimedir/mimedir-vcard.[ch] (mimedir_vcard_[sg]et_birthday): New methods. * mimedir/mimedir-vcard-email.c (mimedir_vcard_email_set_from_attribute): * mimedir/mimedir-vcard-phone.c (mimedir_vcard_phone_set_from_attribute): Parse attribute as text value. 2003-01-17 Sebastian Rittau * mimedir/mimedir-attribute.c (mimedir_attribute_class_init): * mimedir/mimedir-datetime.c (mimedir_datetime_class_init): * mimedir/mimedir-period.c (mimedir_period_class_init): * mimedir/mimedir-profile.c (mimedir_profile_class_init): * mimedir/mimedir-vcal.c (mimedir_vcal_class_init): * mimedir/mimedir-vcard-address.c (mimedir_vcard_address_class_init): * mimedir/mimedir-vcard.c (mimedir_vcard_class_init): * mimedir/mimedir-vcard-email.c (mimedir_vcard_email_class_init): * mimedir/mimedir-vcard-phone.c (mimedir_vcard_phone_class_init): * mimedir/mimedir-vcomponent.c (mimedir_vcomponent_class_init): Added "nicks" and "blurbs" to all property definitions. * mimedir/mimedir-vcard-address.c (mimedir_vcard_address_get_title): Improved doc string. 2003-01-13 Sebastian Rittau * mimedir/mimedir-vcard.c (mimedir_vcard_get_as_string): "Geo. position" -> "Location". 2003-01-08 Sebastian Rittau * mimedir/mimedir-vcomponent.c: Implemented a few more attributes. 2002-12-19 Sebastian Rittau * TODO: Updates. * mimedir/mimedir-vfreebusy.[ch]: * mimedir/mimedir-vjournal.[ch]: * mimedir/mimedir-vtimezone.[ch]: New files. * mimedir/Makefile.am: Compile them. * mimedir/mimedir-vcal.c: Use new classes. * mimedir/mimedir-attribute.c: (mimedir_attribute_set_value_float_list): Float value will have a precision of 6. * mimedir/mimedir-datetime.c: (mimedir_datetime_set_struct_tm): Set timezone to UTC. (mimedir_datetime_set_time_t): Use gmtime_r() instead of localtime_r(). * mimedir/mimedir-vcard.c: Parse NAME and SOURCE attributes. Attribute BDAY is now a MIMEDirDateTime object. Multiple public keys are now possible. Check whether PROFILE is correct (if present). While writing files: Force the type attribute to be set for some attributes with non-standard types. * mimedir/mimedir-vcomponent.c: Support for attributes TZNAME and TZURL. s/_/-/g in property names. 2002-12-17 Sebastian Rittau * mimedir/mimedir-valarm.c: (mimedir_valarm_get_trigger): (mimedir_valarm_get_trigger_from_vcomponent): Objects returned by g_object_get() can be NULL now. 2002-12-14 Sebastian Rittau * mimedir/mimedir-datetime.[ch]: Added a property: tzid (time zone id) (mimedir_datetime_to_utc): New method. * mimedir/mimedir-period.[ch]: New files. * mimedir/Makefile.am: Compile them. * mimedit/mimedir-vcomponent.[ch]: Implemented more attributes. mimedir_vcomponent_is_allday() renamed to _get_allday(). Remove ugly hacks to cope with the inability of g_value_set_object() to set NULL pointers. Just not calling g_value_set_object() (and thereby not modifying the value) does the trick. * mimedir/mimedir-attribute.c: (mimedir_attribute_get_value_datetime_list): Fix timezone parsing. (Did I mention that not only the method name but also the method implementation is much too long? I should. They are.) * mimedir/mimedir-vevent.c (mimedir_vevent_read_from_profile): * mimedir/mimedir-vtodo.c (mimedir_vtodo_read_from_profile): Removed validity checks, since they break on old GNOME-PIM created files (and probably others). * bin/ical-dump.c: (print_component): mimedir_vcomponent_is_allday() -> _get_allday() Objects dtstart, dtend, and due may be NULL now. Cope with this. 2002-12-11 Sebastian Rittau * mimedir/mimedir-attachment.[ch]: New files. * mimedir/Makefile.am: Compile them. * mimedir/mimedir-vcomponent.c: (mimedir_vcomponent_parse_attribute): (mimedir_vcomponent_write_to_profile): Parse ATTACH attribute. 2002-12-09 Christophe Merlet * configure.in: Added "fr" to ALL_LINGUAS. 2002-12-05 Sebastian Rittau * mimedir/mimedir-valarm.h: Typedef MIMEDirVAlarmType directly. Take no retour though _MIMEDirVAlarmType. * mimedir/mimedir/attendee.c: * mimedir/mimedir/attendee.h: * mimedir/mimedir-attribute.h: * mimedir/mimedir-datetime.h: * mimedir/mimedir-vcomponent.c: Fixed doc-strings. * docs/reference/mimedir/mimedir-bib.sgml: Added bibliographic entry for RFCs 2279 and 2445. * docs/reference/mimedir/mimedir-intro.sgml: Wrote some text to replace bothersome FIXMEs. * docs/reference/mimedir/tmpl/*: Updated. * docs/reference/mimedir/tmpl/mimedir-vcal.sgml: * docs/reference/mimedir/tmpl/mimedir-vevent.sgml: * docs/reference/mimedir/tmpl/mimedir-vtodo.sgml: iCal -> iCalendar * docs/reference/mimedir/tmpl/mimedir-vcard-address.sgml: * docs/reference/mimedir/tmpl/mimedir-vcard-email.sgml: * docs/reference/mimedir/tmpl/mimedir-vcard-phone.sgml: Added introductory sections. * docs/reference/mimedir/mimedir-sections.txt: Added new sections and entries. * docs/reference/mimedir/mimedir-docs.sgml: Added new sections. * mimedir/mimedir-vcard.c (mimedir_vcard_read_list): * mimedir/mimedir-vcal.c (mimedir_vcard_read_list): Explain the triple try on conversion error in the doc-string. Try to open the file as ISO-8859-15 if conversion from the current locale fails, too. 2002-11-26 Sebastian Rittau * HACKING: * MAINTAINERS: New files. 2002-11-15 Sebastian Rittau * bin/ical-dump.c: (print_component): Only print dates that are valid. * mimedir/mimedir-profile.c: (mimedir_profile_internal_append_attribute): Strip trailing white space from the profile name. 2002-11-03 Sebastian Rittau * TODO: Check for RFC compliance. * mimedir/mimedir-attendee.c: Actually implemented this. (MIMEDirAttendeePriv): Filled struct. (mimedir_attendee_dispose): Free strings. (mimedir_attendee_read_from_attribute): Read parameters. (mimedir_attendee_write_to_attribute): Write parameters. * mimedir/mimedir-profile.c: (mimedir_profile_read_from_string): (mimedir_profile_write_to_string): Implemented. * mimedir/mimedir-valarm.c: (mimedir_valarm_read_from_profile): Implemented validity checks. (mimedir_valarm_get_trigger): Fixed a mem leak. Don't return junk if trigger_dt is not set. * mimedir/mimedir-vcomponent.h: * mimedir/mimedir-vcomponent.c: (MIMEDirVComponentPriv): New fields: recurrence, duration, repeat, created, and dtstamp. (mimedir_vcomponent_class_init): (mimedir_vcomponent_get_property): (mimedir_vcomponent_set_property): New properties: duration, repeat, created, and dtstamp. (mimedir_vcomponent_clear): Unref recurrence object. (mimedir_vcomponent_parse_attribute): Parse attributes DURATION, REPEAT, CREATED, DCREATED, and DTSTAMP. (mimedir_vcomponent_write_to_profile): Write attributes DURATION, REPEAT, CREATED, and DTSTAMP. (mimedir_vcomponent_does_recur): (mimedir_vcomponent_set_recurrence): (mimedir_vcomponent_get_recurrence): (mimedir_vcomponent_get_next_occurence): (mimedir_vcomponent_get_occurences_between): (mimedir_vcomponent_free_occurences): New public methods. * mimedir/mimedir-vevent.c: (mimedir_vevent_new): Set dtstamp to "now". (mimedir_vevent_read_from_profile): Validity checks. * mimedir/mimedir-vtodo.c: (mimedir_vtodo_new): Set dtstamp to "now". (mimedir_vtodo_read_from_profile): Validity checks. 2002-11-03 Christian Rose * configure.in: Added "sv" to ALL_LINGUAS. 2002-09-17 Sebastian Rittau * mimedir/mimedir-attendee.h: * mimedir/mimedir-attendee.c: New files. * mimedir/Makefile.am: Added. * mimedir/mimedir-valarm.h: * mimedir/mimedir-valarm.c: (mimedir_valarm_new): Does now take the type as argument. (mimedir_valarm_get_trigger_from_vcomponent): (mimedir_valarm_get_next_occurence): component -> vcomponent (mimedir_valarm_get_reminder_string): New method. * mimedir/mimedir-vcomponent.h: * mimedir/mimedir-vcomponent.c: (MIMEDirVComponentPriv): New field: attendees. (mimedir_vcomponent_clear): Free attendees. (mimedir_vcomponent_parse_attribute): Handle ATTENDEE attribute. Started to parse [ADMP]ALARM attributes. (mimedir_vcomponent_write_to_profile): Handle ATTENDEE attribute. (mimedir_vcomponent_set_alarm_list): Document missing attribute. (mimedir_vcomponent_set_attendee_list): (mimedir_vcomponent_get_attendee_list): New methods. 2002-09-13 Sebastian Rittau Handling for vAlarms added. * mimedir/mimedir-valarm.c: * mimedir/mimedir-valarm.h: New files. * mimedir/Makefile.am: Added. * mimedir/mimedir-datetime.h: * mimedir/mimedir-datetime.c: (mimedir_datetime_new_now): New constructor. (mimedir_datetime_compare): New method. * mimedir/mimedir-utils.h: * mimedir/mimedir-utils.c: (mimedir_utils_copy_object_list): (mimedir_utils_free_object_list): New functions. (mimedir_utils_copy_string_list): (mimedir_utils_copy_object_slist): (mimedir_utils_free_object_slist): GList * argument -> const GList * (mimedir_utils_free_string_list): Minor doc string change. * mimedir/mimedir-vcal.c: Include mimedir-valarm.h. (mimedir_vcal_read_from_profile): Handle vAlarms. * mimedir/mimedir-vcomponent.h: * mimedir/mimedir-vcomponent.c: Trigger handling. New properties: action, trigger, trigger_dt, and trigger_end. New signal: alarms-changed. (MIMEDirVComponentPriv): New fields: alarms, action, trigger, trigger_dt, and trigger_end. (mimedir_vcomponent_class_init): Initialize new properties and signal. (mimedir_vcomponent_init): Initialize new fields. (mimedir_vcomponent_[sg]et_property): Handle new properties. (mimedir_vcomponent_set_value_duration): (mimedir_vcomponent_parse_number): (mimedir_vcomponent_get_value_duration): New internal methods. (mimedir_vcomponent_clear): Free new fields. (mimedir_vcomponent_parse_attribute): Parse ACTION and TRIGGER attributes. (mimedir_vcomponent_read_from_profile): Emit alarms-changed signal. (mimedir_vcomponent_write_to_profile): Write ACTION and TRIGGER attributes. Write vAlarms. (mimedir_vcomponent_set_allday): (mimedir_vcomponent_is_allday): Fixed doc-strings. (mimedir_vcomponent_set_alarm_list): (mimedir_vcomponent_get_alarm_list): New methods. * mimedir/mimedir-vevent.c: * mimedir/mimedir-vtodo.c: (mimedir_vevent_read_from_profile): FIXME: validity checks. 2002-09-07 Sebastian Rittau * mimedir/mimedir-vcomponent.c: (mimedir_vcomponent_parse_attribute): Ignore (for now) custom GNOME-PIM attributes AALARM, EALARM, DALARM, and PALARM. * mimedir/mimedir-attribute.c: (mimedir_attribute_set_value_datetime_list): Fixed two assertion strings. * mimedir/mimedir-datetime.h: * mimedir/mimedir-datetime.c: (mimedir_datetime_is_valid): New function. (mimedir_datetime_set_gdate): (mimedir_datetime_set_struct_tm): (mimedir_datetime_set_datetime): (mimedir_datetime_set_date): (mimedir_datetime_set_time): Or the flags to the date so that a previously set date/time that isn't overwritten is still valid. E.g. if you call set_time() a previously set date is still set. * mimedir/mimedir-profile.c: (mimedir_profile_write_to_channel): Save sub-profiles. * mimedir/mimedir-vcal.c: Define macros MIMEDIR_IS_V{JOURNAL,FREEBUSY,TIMEZONE,ALARM} (just to FALSE for now). (mimedir_vcal_write_to_profile): Profile name is "VCALENDAR", not "VCAL". Uncomment writing of the above component types, since we did define the needed macros locally. * mimedir/mimedir-vcomponent.c: (mimedir_vcomponent_read_from_profile): Added dummies for not yet implemented attributes. (mimedir_vcomponent_write_to_profile): Actually implemented (not complete). * TODO: FIXMEs must be fixed before the public releases. 2002-08-28 Sebastian Rittau * TODO: Updated and structured in form of a roadmap. * mimedir/mimedir-datetime.h: * mimedir/mimedir-datetime.c: * mimedir/mimedir-recurrence.h: * mimedir/mimedir-recurrence.c: New files. * mimedir/Makefile.am: Compile/distribute these files. * mimedir/mimedir-attribute.h: Removed struct MIMEDirAttributeDateTime in favor of the new stand-alone class MIMEDirDateTime. Method changes (s.b.) * mimedir/mimedir-attribute.c: MIMEDirAttributeDateTime -> MIMEDirDateTime (mimedir_attribute_set_value_datetime): (mimedir_attribute_get_value_datetime): (mimedir_attribute_free_datetime_list): New methods. (mimedir_attribute_set_value_datetime_list): (mimedir_attribute_get_value_datetime_list): Reimplemented. (mimedir_attribute_set_value_date): (mimedir_attribute_get_value_date): (mimedir_attribute_set_value_date_list): (mimedir_attribute_get_value_date_list): (mimedir_attribute_set_value_time_list): (mimedir_attribute_get_value_time_list): Removed methods in favor of the unified mimedir_attribute_[sg]et_datetime{,_list}(). (mimedir_attribute_read_number): (mimedir_attribute_read_date): (mimedir_attribute_read_time): Removed obsolete internal methods. * mimedir/mimedir-vcard.c: * mimedir/mimedir-vcomponent.c: * bin/ical-dump.c: MIMEDirAttributeDateTime -> MIMEDirDateTime 2002-08-25 Sebastian Rittau * mimedir/mimedir-vcomponent.h: * mimedir/mimedir-vcomponent.c: New base class for iCal components. * mimedir/Makefile.am: Added new files. * mimedir/mimedir-attribute.c: (mimedir_attribute_qp_check): Method to peek into the first line of a attribute to determine if the attribute is QP encoded. (mimedir_attribute_get_value_decoded): Assert that error argument is ok. Return NULL if mimedir_attribute_qp_decode() returned NULL. (mimedir_attribute_set_value_date): Implemented. (mimedir_attribute_read_from_channel): Handle QP encoded attributes correctly. As opposed to other attributes, line folding is indicated by a trailing equal sign. Needs some hackery. Recognize parameters of the form QUOTED-PRINTABLE as meaning ENDODING=QUOTED-PRINTABLE, not TYPE=QUOTED-PRINTABLE. * mimedir/mimedir-utils.h: Include . * mimedir/mimedir-vcal.h: Some new methods (s.b.) * mimedir/mimedir-vcal.c: (mimedir_vcal_parse_attribute): Don't handle generic attributes NAME, PROFILE, and SOURCE. They are not allowed. (mimedir_vcal_write_list): (mimedir_vcal_write_list_to_channel): (mimedir_vcal_write_to_profile): (mimedir_vcal_write_to_channel): (mimedir_vcal_get_event_list): (mimedir_vcal_add_component): (mimedir_vcal_add_component_list): New methods. (mimedir_vcal_read_from_profile): Handle VEVENT components. * mimedir/mimedir-vevent.h: * mimedir/mimedir-vevent.c: * mimedir/mimedir-vtodo.h: * mimedir/mimedir-vtodo.c: Derive from MIMEDirComponent and remove most of the functionality, since it's now in mimedir-vcomponent.c. * bin/ical-dump.c: (print_todo): Folded into print_component. (print_component): New. (main): Use print_component(). * docs/reference/mimedir/tmpl/mimedir-vcal.sgml: * docs/reference/mimedir/tmpl/mimedir-vevent.sgml: * docs/reference/mimedir/tmpl/mimedir-vtodo.sgml: New files. * docs/reference/mimedir/tmpl/*: Updates. * docs/reference/mimedir/mimedir-docs.sgml: New chapters for iCal. * docs/reference/mimedir/mimedir-sections.txt: Updated. 2002-08-24 Sebastian Rittau * mimedir/mimedir-vcard.c: (mimedir_vcard_read_from_profile): Slightly improved UID reading code. * mimedir/mimedir-utils.h: * mimedir/mimedir-utils.c: (mimedir_utils_copy_string_list): (mimedir_utils_free_string_list): New functions. * mimedir/mimedir-attribute.h: * mimedir/mimedir-attribute.c: (mimedir_attribute_set_value_date): (mimedir_attribute_get_value_date): (mimedir_attribute_set_value_int): (mimedir_attribute_get_value_int): New methods. * mimedir/mimedir-vcal.c: * mimedir/mimedir-vcal.h: * mimedir/mimedir-vevent.c: * mimedir/mimedir-vevent.h: * mimedir/mimedir-vtodo.c: * mimedir/mimedir-vtodo.h: New files, containing a very rudamentary iCal implementation. * mimedir/Makefile.am: Added these files. * bin/ical-dump.c: New program to test the iCal component. * bin/Makefile.am: Compile ical-dump.c. 2002-08-18 Sebastian Rittau * mimedir/mimedir-profile.c: New property: name: (mimedir_profile_class_init): Property handling. (mimedir_profile_set_property): (mimedir_profile_get_property): New methods. (mimedir_profile_new): name argument may now be NULL. Support for sub-profiles: (MIMEDirProfilePriv): New field: sub_profiles. (mimedir_profile_dispose): Unref sub profiles. (mimedir_profile_read_from_channel): Implemented support for sub-profiles; cleaned up. (mimedir_profile_append_subprofile): (mimedir_profile_get_subprofiles): New methods. * mimedir/mimedir-profile.h: (MIMEDIR_PROFILE_ERROR_WRONG_PROFILE{,_STR}): New error. (mimedir_profile_append_subprofile): (mimedir_profile_get_subprofiles): New methods. * mimedir/mimedir-vcard.c: (mimedir_vcard_read_from_profile): Check whether the profile name is actually "VCARD". BEGIN and END attributes are now just ignored. 2002-08-15 Sebastian Rittau * Makefile.am: Don't distribute config.rpath. 2002-08-05 Sebastian Rittau * docs/reference/mimedir/mimedir-docs.sgml: MIME Directory Library Reference (libmimedir) -> Core Reference New chapter: vCard Object Reference * docs/reference/mimedir/mimedir-intro.sgml: Classes -> Class Hierarchy, added one paragraph * docs/reference/mimedir/tmpl/*.sgml: Added short descriptions. 2002-08-01 Sebastian Rittau * mimedir/mimedir-vcard-address.c: Removed (wrong) forward declaration for mimedir_vcard_address_get_title(). * mimedir/mimedir-profile.h: (mimedir_profile_new_from_string): (mimedir_profile_read_from_string): (mimedir_profile_write_to_string): New methods. * mimedir/mimedir-profile.c: (mimedir_profile_new_from_string): (mimedir_profile_read_from_string): (mimedir_profile_write_to_string): New methods. * mimedir/mimedir-vcard.h: (mimedir_vcard_new_from_profile): (mimedir_vcard_new_from_string): (mimedir_vcard_read_from_profile): (mimedir_vcard_read_from_string): (mimedir_vcard_write_to_profile): New methods. (mimedir_vcard_write_to_buffer): Renamed to _to_string(). * mimedir/mimedir-vcard.c: (mimedir_vcard_class_init): (mimedir_vcard_set_property): (mimedir_vcard_get_property): New property: "timezone_string". (mimedir_vcard_read_from_channel): Use mimedir_attribute_get_value_text() instead of mimedir_vcard_get_value_escaped_text(). Read TIMEZONE attribute, even if it is an overloaded text type. (mimedir_vcard_new_from_profile): (mimedir_vcard_new_from_string): (mimedir_vcard_read_from_profile): (mimedir_vcard_read_from_string): (mimedir_vcard_write_to_profile): New methods. (mimedir_vcard_write_to_buffer): Renamed to _to_string(). (mimedir_vcard_get_value_escaped_text): Removed. * docs/reference/mimedir/mimedir-sections.txt: Added new/renamed methods. * docs/reference/mimedir/tmpl/mimedir-vcard.sgml: Updated. 2002-07-31 Sebastian Rittau * TODO: PROP_TITLE does now work with LABEL addresses. * mimedir/Makefile.am: Added -DLOCALEDIR to INCLUDES. Compile mimedir-init.[ch]. Don't distribute mimedir-utils.h. * mimedir/mimedir-init.[ch]: New files. * mimedir/mimedir-attribute.c: "config.h" -> Fixed a comment typo. * mimedir/mimedir-profile.c: "config.h" -> * mimedir/mimedir-vcard.c: "config.h" -> (MIMEDirVCardPriv): Added address_signals, phone_signals, and email_signals. (mimedir_vcard_internal_append_address): (mimedir_vcard_internal_append_phone): (mimedir_vcard_internal_append_email): Save signal connection id. (mimedir_vcard_internal_remove_address): (mimedir_vcard_internal_remove_phone): (mimedir_vcard_internal_remove_email): Unconnect from changed signal. * mimedir/mimedir-vcard-address.c: (mimedir_vcard_address_get_title): Is now a public method, added docstring, moved, and handles LABEL addresses. * mimedir/mimedir-vcard-address.h: Added _get_title(). * bin/vcard-dump.c (main): * bin/vcard-normalize.c (main): Use mimedir_init() instead of g_type_init(). * docs/reference/mimedir/tmpl/mimedir-init.sgml: New file. * docs/reference/mimedir/tmpl/mimedir-profile.sgml: Describe MIMEDIR_PROFILE_ERROR_UNMATCHED_END{,_STR}. * docs/reference/mimedir/tmpl/mimedir-utils.sgml: Reordered. * docs/reference/mimedir/tmpl/mimedir-vcard-address.sgml: Added mimedir_vcard_address_get_title. * docs/reference/mimedir/mimedir-intro.sgml: New file (mostly empty for now). * docs/reference/mimedir/Makefile.am: Added mimedir-intro.sgml * docs/reference/mimedir/mimedir-bib.sgml: Added an id to the bibliography section. * docs/reference/mimedir/mimedir-docs.sgml: Added intro and mimedir-init sections, removed mimedir-utils. * docs/reference/mimedir/mimedir-sections.sgml: Added mimedir-init, MIMEDIR_PROFILE_ERROR_UNMATCHED_END_STR, and mimedir_vcard_address_get_title and reordered (now unused) mimedir-utils section. 2002-07-30 Sebastian Rittau * TODO: Lots of new items, just to make life more interesting. * mimedir/mimedir-attribute.c: (mimedir_attribute_qp_decode): Just assume that the QP encoded string is in fact a human readable string and strip out carriage returns and convert string from local encoding to UTF-8. Yes, it's ugly, but what the heck, QP is not in the standard, anyways... (mimedir_attribute_escape): (mimedir_attribute_unescape): (mimedir_attribute_get_value_text_list):Ignore carriage returns and handle newlines. (mimedir_attribute_internal_append_parameter): Recognize QP encoding. (mimedir_attribute_get_value_decoded): Ditto. (mimedir_attribute_get_value_text): (mimedir_attribute_get_value_text_list): Decode string instead of just unescaping it. * mimedir/mimedir-attribute.h: * mimedir/mimedir-attribute.c: (mimedir_attribute_escape): (mimedir_attribute_unescape): (mimedir_attribute_get_value_text_list): MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR_STR does now take two arguments. * mimedir/mimedir-utils.h: * mimedir/mimedir-utils.c (mimedir_utils_set_property_string): New function. * mimedir/mimedir-vcard-address.c: Handle address labels (LABEL) and add new property "full". (MIMEDirVCardAddressPriv): New field: full. (mimedir_vcard_address_clear): Free field full. (mimedir_vcard_address_class_init): Install new property. (mimedir_vcard_address_set_property): (mimedir_vcard_address_get_property): Handle new property and use mimedir_utils_set_property_string(). (mimedir_vcard_address_set_property_string): Obsolete and replaced by mimedir_utils_set_property_string(). (mimedir_vcard_address_set_adr_from_attribute): New private method, basically the old set_from_attribute(). (mimedir_vcard_address_set_label_from_attribute): (mimedir_vcard_address_save_adr_to_attribute): (mimedir_vcard_address_save_label_to_attribute): New methods. (mimedir_vcard_address_set_from_attribute): (mimedir_vcard_address_save_to_attribute): Use new internal methods. (mimedir_vcard_address_get_as_string): Handle address labels. * mimedir/mimedir-vcard.c: New properties: "agent", "agent_uri", "agent_string", "revision", "sort-string", and "class". (MIMEDirVCardPriv): New fields: agent, agent_string, agent_uri, sort_string, and klass. (mimedir_vcard_clear): Free new fields. (mimedir_vcard_class_init): Install new properties. (mimedir_vcard_set_property): (mimedir_vcard_get_property): Handle new properties and use mimedir_utils_set_property_string(). (mimedir_vcard_set_property_string): Obsolete and replaced by mimedir_utils_set_property_string(). (mimedir_vcard_read_from_channel): (mimedir_vcard_write_to_channel): Handle LABEL, AGENT, SORT-STRING, and CLASS. 2002-07-29 Sebastian Rittau * configure.in: Because of introducing a fourth argument to AC_INIT, we now require autoconf 2.53. I *love* it when the introduction of new features is not versioned in the documentation. * mimedir/mimedir-utils.h (mimedir_utils_is_token_char): (mimedir_utils_compare_tokens): * mimedir/mimedir-utils.c (mimedir_utils_is_token_char): (mimedir_utils_compare_tokens): New functions. (mimedir_utils_is_token): Use mimedir_utils_is_token_char(). * mimedir/mimedir-profile.h: New error: UNMATCHED_END. * mimedir/mimedir-profile.c (mimedir_profile_read_from_channel): Reimplemented. (Still incomplete: Nested profiles don't work, yet.) Valgrinded (great tool, really): * mimedir/mimedir-attribute.c: (mimedir_attribute_free_parameter): New utility function. (mimedir_attribute_dispose): Use it. (Fixes a memory leak.) * mimedir/mimedir-attribute.c (mimedir_attribute_retrieve_line): (mimedir_attribute_read_from_channel): * mimedir/mimedir-vcard.c (mimedir_vcard_get_as_string): Fixed memory leaks. * mimedir/mimedir-vcard.c (mimedir_vcard_read_from_channel): * mimedir/mimedir-vcard-address (mimedir_vcard_address_read_from_channel): * mimedir/mimedir_vcard_email.c (mimedir_vcard_email_read_from_channel): * mimedir/mimedir_vcard_phone.c (mimedir_vcard_phone_read_from_channel): Fix wrong memory accesses. (Ouch, I wonder why it did work, before.) * mimedir/mimedir_vcard_email.c (mimedir_vcard_email_init): * mimedir/mimedir_vcard_phone.c (mimedir_vcard_phone_init): Don't initialize string variables with empty strings. Plugs memory leaks. 2002-07-26 Sebastian Rittau * TODO: Revision updates? Doc needs. * configure.in: Added Id tag. Define version number as variables and substitute them. (AC_INIT): Changed package name, added tar name. * mimedir/Makefile.am: Use new variables. -release is now only MAJOR.MINOR. Changed include dir to ${prefix}/include/mimedir-1.0. * mimedir-1.0.pc.in: Change include dir. * docs/class-overview.dia: Changed an arrow, layout changes. * docs/reference/mimedir/tmpl/mimedir-attribute.sgml: Changed [RFC 1738] to [URI]. * mimedir/mimedir-attribute.c (mimedir_attribute_get_value_decoded): Improved doc string. * mimedir/mimedir-vcard.c: Added properties photo, photo_uri, logo, logo_uri, prodid, sound, and sound_uri. (MIMEDirVCardPriv): photo, logo, and sound are now of type GString *. New fields: photo_uri, logo_uri, and sound_uri. (mimedir_vcard_class_init): New properties. (mimedir_vcard_[sg]et_property): Dito. (mimedir_vcard_clear): Clear new/changed fields properly. (mimedir_vcard_read_from_channel): Read PHOTO, LOGO, and SOUND. (mimedir_vcard_write_to_channel): Write PHOTO, LOGO, and SOUND. Also update the revision if the revision year is 0. (I.e. the read that has been read didn't have a revision.) (mimedir_vcard_write_list): Fixed an error string. 2002-07-23 Sebastian Rittau * configure.in: Version 0.2.1. * docs/reference/mimedir/tmpl/mimedir-attribute.sgml: File has changed automatically. * docs/reference/mimedir/mimedir.types: Added empty (but required) file. * configure.in: Added LT_* version variables. Thanks to Frédéric Crozat for pointing this out. * mimedir/Makefile.am: Use -version-info in addition to -revision. 2002-07-23 Sebastian Rittau * NEWS: API is now documented. * mimedir/*.c: Added, changed, and improved many doc-strings. * mimedir/mimedir-attribute.c (mimedir_attribute_set_value_decoded): Slightly improved the assertion handling. * mimedir/mimedir-attribute.h: Slight improvements for better documentation support. 2002-07-22 Sebastian Rittau * docs/reference/mimedir/*: Still preparing. (gtk-doc is such a crappy, unusable mess... It's terrible.) 2002-07-22 Sebastian Rittau * TODO: Updated. * bin/Makefile.am: GLIB_LDFLAGS -> GLIB_LIBS * mimedir/mimedir-attribute.c (mimedir_attribute_retrieve_line): Ignore empty lines. (mimedir_attribute_append_parameter): Fix docstring. (mimedir_attribute_append_parameter_simple): Ditto. (mimedir_attribute_get_value_raw): Ditto. * mimedir/mimedir-vcard-email.c (mimedir_vcard_email_save_to_attribute): Ditto. * mimedir/mimedir-vcard-phone.c: (mimedir_vcard_phone_save_to_attribute): Ditto. * mimedir/mimedir-vcard.c (mimedir_vcard_get_as_string): Free memory returned by g_object_get(). * configure.in: Added docs/reference/Makefile and docs/reference/mimedir/Makefile to generated files. Check for gtk-doc. * docs/Makefile.am: Added subdir reference. Add Id tag. * docs/reference/Makefile.am: New file. * docs/reference/mimedir/*: New files for doc generation. 2002-07-20 Sebastian Rittau * configure.in: Version 0.2.0. * TODO: Non-UTF-8 files are handled. * bin/vcard-dump.c: Improved an assertion. * bin/vcard-normalize.c: New program. * bin/Makefile.am: Ditto. * mimedir/Makefile.am: Use -release instead of -version-info for now. * mimedir/mimedir-attribute.h: (mimedir_attribute_append_parameter_simple): New method. (mimedir_attribute_append_parameter): Uses g_critical for error output, removed the error argument, returns void. (mimedir_attribute_set_value_decoded): Ditto. (mimedir_attribute_set_value_uri): Ditto. (mimedir_attribute_set_value_text): Ditto. (mimedir_attribute_set_value_text_list): Ditto. (mimedir_attribute_set_value_date_list): Ditto. (mimedir_attribute_set_value_time_list): Ditto. (mimedir_attribute_set_value_datetime_list): Ditto. (mimedir_attribute_set_value_bool): Ditto. (mimedir_attribute_set_value_int_list): Ditto. (mimedir_attribute_set_value_float_list): Ditto. (mimedir_attribute_set_value_structured_text): Ditto. (mimedir_attribute_write_to_channel): New method. * mimedir/mimedir-utils.[ch]: (mimedir_utils_is_token): New function. (mimedir_utils_is_safe): Ditto. (mimedir_utils_is_qsafe): Ditto. * mimedir/mimedir-attribute.c: Start property count at 1. (mimedir_attribute_set_property): Check name and group for validity before setting. (mimedir_attribute_escape): Allow characters > 0x7f. (mimedir_attribute_unescape): Ditto. (mimedir_attribute_get_value_text_list): Ditto. (mimedir_attribute_append_value_text): Removed error argument. It's enough to know that it failed. Allow characters > 0x7f. (mimedir_attribute_internal_append_paramter): New internal function. (Mainly a renamed mimedir_attribute_append_parameter().) (mimedir_attribute_append_parameter): Add docstring. Use mimedir_attribute_internal_parameter(). Uses g_critical for error output, removed the error argument, returns void. (mimedir_attribute_append_parameter_simple): New function. (mimedir_attribute_set_value_decoded): Use g_critical for error output, removed the error argument, returns void. (mimedir_attribute_set_value_uri): Ditto. (mimedir_attribute_set_value_bool): Ditto. (mimedir_attribute_set_value_int_list): Ditto. (mimedir_attribute_set_value_float_list): Ditto. (mimedir_attribute_set_value_structured_text): Ditto. (mimedir_attribute_set_value_text): Ditto. Added docstring. (mimedir_attribute_set_value_text_list): Ditto. Added docstring. (mimedir_attribute_set_value_date_list): Ditto. Added docstring. Added an assertion. Setting multiple values was broken. (mimedir_attribute_set_value_time_list): Ditto. Added docstring. Added an assertion. Setting multiple values was broken. (mimedir_attribute_set_value_datetime_list): Ditto. Added docstring. Added an assertion. Setting multiple values was broken. (mimedir_attribute_read_date): Made some operator preferences explicit. Fixes parser bugs. (mimedir_attribute_read_time): Ditto. (mimedir_attribute_read_from_channel): Use mimedir_attribute_internal_append_parameter(). (mimedir_attribute_write_to_channel): New method. * mimedir/mimedir-profile.h: (mimedir_profile_new): Does now take profile name as argument. (mimedir_profile_append_attribute): Simplified. Added docstring. Removed success indicator and error argument. (mimedir_profile_write_to_channel): New method. * mimedir/mimedir-profile.c: (mimedir_profile_new): Added docstring. Does now take profile name as argument. (mimedir_profile_internal_append_attribute): New private method. (Mainly a renamed mimedir_profile_append_attribute().) (mimedir_profile_append_attribute): Simplified. Added docstring. Removed success indicator and error argument. (mimedir_profile_read_from_channel): Use mimedir_profile_internal_append_attribute(). (mimedir_profile_write_to_channel): New method. * mimedir/mimedir-vcard-address.[ch]: (mimedir_vcard_address_save_to_attribute): New method. (mimedir_vcard_address_get_as_string): Ditto. * mimedir/mimedir-vcard-email.[ch]: (mimedir_vcard_email_save_to_attribute): New method. (mimedir_vcard_email_get_as_string): Ditto. * mimedir/mimedir-vcard-phone.[ch]: (mimedir_vcard_phone_save_to_attribute): New method. (mimedir_vcard_phone_get_as_string): Ditto. * mimedir/mimedir-vcard.h: Don't include mimedir-profile.h (_MIMEDirVCard): Don't subclass MIMEDirProfile. (_MIMEDirVCardClass): Ditto. (mimedir_vcard_write_list): New method. (mimedir_vcard_write_list_to_channel): Ditto. * mimedir/mimedir-vcard.c: Prepared the properties prodid and revision. (_MIMEDirVCardPriv): New field prodid. Field revision is now of type MIMEDirAttributeDateTime. (mimedir_vcard_clear): Free prodid. (mimedir_vcard_get_type): Sub-class G_OBJECT directly, instead of MIMEDIR_PROFILE. (mimedir_vcard_get_property): Properties address, email, and phone are of type string, not pointer! (mimedir_vcard_internal_append_{address,email,phone}): Ref object. (mimedir_vcard_append_{address,email,phone}_list): Improved assertion. (mimedir_vcard_free_{address,email,phone}_list): Fixed. (mimedir_vcard_update_revision): revision field is now of type MIMEDirAttributeDateTime. (mimedir_vcard_free_list): Added docstring. (mimedir_vcard_write_list): New method. (mimedir_vcard_write_list_to_channel): Ditto. (mimedir_vcard_read_from_channel): Create new profile object, since the vCard class isn't a subclass of the profile class any longer. Preparations for handling attributes NAME, PROFILE, and SOURCE. revision field is now of type MIMEDirAttributeDateTime; no need to convert it. Don't call mimedir_vcard_changed, but emit the changed signal directly; we don't want the changed flag to be set. (mimedir_vcard_write_to_channel): Implement. (mimedir_vcard_get_preferred_{address,email,phone}): Fixed. 2002-07-20 Sebastian Rittau * Makefile.am: Distribute intltool. * mimedir/Makefile.am: Compile mimedir-marshal.[ch] first to force these files to be generated first. Distribute mimedir-marshal.list. * mimedir/mimedir-attribute.h: MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR_STR has now only one argument. (mimedir_attribute_set_value_decoded): Return success indicator. (mimedir_attribute_set_value_uri): Ditto. (mimedir_attribute_set_value_date_list): Ditto. (mimedir_attribute_set_value_time_list): Ditto. (mimedir_attribute_set_value_datetime_list): Ditto. (mimedir_attribute_set_value_bool): Ditto. (mimedir_attribute_set_value_int_list): Ditto. (mimedir_attribute_set_value_float_list): Ditto. (mimedir_attribute_[sg]et_value_text): New methods. * mimedir/mimedir-attribute.c: Added properties name and group. (mimedir_attribute_[sg]et_property): New methods. (mimedir_attribute_set_property_string): New helper function. (mimedir_attribute_class_init): Overload [sg]er_property with custom functions. Added properties name and group. (mimedir_attribute_{un,}escape): New utility functions. (mimedir_attribute_set_value_decoded): Return success indicator. (mimedir_attribute_set_value_uri): Ditto. (mimedir_attribute_set_value_date_list): Ditto. (mimedir_attribute_set_value_time_list): Ditto. (mimedir_attribute_set_value_datetime_list): Ditto. (mimedir_attribute_set_value_bool): Ditto. (mimedir_attribute_set_value_int_list): Ditto. (mimedir_attribute_set_value_float_list): Ditto. (mimedir_attribute_[sg]et_value_text): New methods. (mimedir_attribute_append_value_text): MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR_STR has now only one argument. (mimedir_attribute_get_value_date_list): Added docstring. (mimedir_attribute_get_value_time_list): Ditto. (mimedir_attribute_get_value_datetime_list): Ditto. * mimedir/mimedir-vcard.h: (MIMEDirVCardKeyType): New enum. (mimedir_vcard_get_preferred_address): New method. (mimedir_vcard_get_preferred_email): Ditto. (mimedir_vcard_get_preferred_phone): Ditto. * mimedir/mimedir-vcard.c: New properties role, pubkey, and keytype. Prepared properties photo, logo, sound, and uid. Revision handling. (_MIMEDirVCardPriv): New fields: changed, photo, jobrole, logo, revision, sound, uid, pubkey, and keytype. (mimedir_vcard_clear): Free photo, jobrole, logo, sound, uid, and pubkey. (mimedir_vcard_changed): New internal method. (mimedir_vcard_update_revision): Ditto. (mimedir_vcard_class_init): Install new properties. (mimedir_vcard_set_property): Handle new properties. Fixed an infinite loop caused by setting the organization property. Fixed setting of the categories property. Use mimedir_vcard_changed(). (mimedir_vcard_get_property): Handle new properties. Handle properties address, phone, and email. (mimedir_vcard_strsplit): Strip leading and trailing white space. (mimedir_vcard_internal_append_address): Preparations for storing the connection id. Connect to mimedir_vcard_changed() instead of mimedir_vcard_emit_changed(). (mimedir_vcard_internal_append_phone): Ditto. (mimedir_vcard_internal_append_email): Ditto. (mimedir_vcard_internal_remove_address): Remove object from list as well. (mimedir_vcard_internal_remove_phone): Ditto. (mimedir_vcard_internal_remove_email): Ditto. (mimedir_vcard_emit_changed): Removed. (mimedir_vcard_read_from_channel): Parse attributes ROLE, REV, UID, and KEY. Use mimedir_vcard_changed(). (mimedir_vcard_write_to_channel): Update revision if card has changed and reset changed flag. (mimedir_vcard_append_address): Call mimedir_vcard_changed(). (mimedir_vcard_append_email): Ditto. (mimedir_vcard_append_phone): Ditto. (mimedir_vcard_remove_address): Don't remove object manually. Call mimedir_vcard_changed(). (mimedir_vcard_remove_email): Ditto. (mimedir_vcard_remove_phone): Ditto. (mimedir_vcard_get_preferred_address): New method. (mimedir_vcard_get_preferred_email): Ditto. (mimedir_vcard_get_preferred_phone): Ditto. (mimedir_vcard_get_as_string): Added docstring. Fix time zone display, show geographical information, organization, job title, job role, categories, comment, uid, and public key. Cleanup. 2002-07-19 Sebastian Rittau * mimedir/mimedir-vcard-phone.[ch]: New files. * mimedir/Makefile.am: Compile/distribute them. * mimedir/mimedir-vcard.h: (mimedir_vcard_{append,remove}_{email,phone}): New methods. (_MIMEDirVCardEMail): Removed in favor of a new external class. * mimedir/mimedir-vcard.c: New properties: address, phone_list, phone. E-mail is now handled through MIMEDirVCardEMail. (_MIMEDirVCardPriv): New field: phone (3.3.1: TEL). (mimedir_vcard_class_init): Added new properties. (mimedir_vcard_[sg]et_property): Handler properties. (Partly still FIXMEs.) (mimedir_vcard_{internal_,}{append,remove}_{email,phone}): New methods. (mimedir_vcard_{append,free}_{phone,email}_list): Ditto. (mimedir_vcard_set_from_attribute): Parse TEL attribute. Parse EMAIL attribute using mimedir_vcard_email_new_from_attribute(). (mimedir_vcard_get_as_string): Print out telephone information, use methods from MIMEDirVCardEMail for e-mail, print out URL, cleaned up a bit. (mimedir_vcard_copy_mem_list): Removed. * mimedir/mimedir-vcard-address.c: (mimedir_vcard_address_new): Added docstring. (mimedir_vcard_address_new_from_attribute): Ditto. (mimedir_vcard_address_set_from_attribute): Don't set default type if a type was supplied in the attribute; if no type is supplied, there is no need to set the defaults explicitly, _reset() takes care of that. * mimedir/mimedir-vcard-email.h: New enum: MIMEDirVCardEMailType. * mimedir/mimedir-vcard-email.c: New property: type. (_MIMEDirVCardEMailPriv): New field: type. (mimedir_vcard_email_class_init): Install property. (mimedir_vcard_email_init): Initialize address and type fields. (mimedir_vcard_email_[sg]et_property): Handle new property. (mimedir_vcard_email_set_from_attribute): Parse type. (mimedir_vcard_email_get_type_string): Add type to string. (mimedir_vcard_email_new): Added docstring. (mimedir_vcard_email_new_from_attribute): Ditto. 2002-07-18 Sebastian Rittau * Makefile.am: Removed directory m4. * configure.in: dito * mimedir/mimedir-vcard-email.[ch]: New files. * mimedir/Makefile.am: Added. * mimedir/mimedir-attribute.h: (MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR): Removed the type argument from MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR. (MIMEDIR_ATTRIBUTE_TYPE_PTEXT): Renamed to MIMEDIR_ATTRIBUTE_TYPE_STRUCTURED_TEXT. (mimedir_attribute_set_value_ptext): Renamed to mimedir_attribute_set_value_structured_text. (mimedir_attribute_get_value_ptext): Renamed to mimedir_attribute_get_value_structured_text. (mimedir_attribute_free_ptext_list): Renamed to mimedir_attribute_free_structured_text_list. * mimedir/mimedir-attribute.c: Removed the type argument from MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR. (mimedir_attribute_get_value_float_list): Added docstring. (mimedir_attribute_free_float_list): Ditto. (mimedir_attribute_set_value_ptext): Renamed. (mimedir_attribute_get_value_ptext): Renamed. Enhanced docstring. (mimedir_attribute_free_ptext_list): Renamed. * mimedir/mimedir-vcard-address.c: (mimedir_vcard_address_reset): Use mimedir_vcard_init(). (mimedir_vcard_address_set_from_attribute): mimedir_attribute_get_value_ptext() -> _structured_text() * mimedir/mimedir-vcard.h: New defines: MIMEDIR_VCARD_{LONG,LAT}ITUDE_{MAX,MIN}. * mimedir/mimedir-vcard.c: New properties: longitude, latitude, category list. (_MIMEDirVCardPriv): Added property names in comments. Added longitude and latitude. (mimedir_vcard_strsplit): New function. (mimedir_vcard_strjoin): Ditto. (mimedir_vcard_list_to_string): Obsolete. (mimedir_vcard_string_to_list): Ditto. (mimedir_vcard_class_init): New properties. (mimedir_vcard_get_property): Ditto. (mimedir_vcard_set_property): Ditto. "organization" property now settable. (mimedir_vcard_read_from_channel): mimedir_attribute_get_value_ptext() -> _structured_text. Use mimedir_vcard_strjoin(). Added longitude/latitude handling. 2002-07-14 Sebastian Rittau * mimedir/mimedir-attribute.h: Added default error strings as #defines. New method declaration: mimedir_attribute_get_parameter_value(). * mimedit/mimedir-profile.h: Added default error strings as #defines. * mimedir/mimedir-profile.c: Use them. * mimedir/mimedir-attribute.c: Dito. (mimedir_attribute_get_parameter_value): New method. * mimedir/mimedir_vcard.h): New defines: MIMEDIR_VCARD_TIMEZONE_{MAX,MIN}. New methods: mimedir_vcard_{append,remove}_address(). * mimedir/mimedir-vcard.c: Use default error strings. (_MIMEDirVCardPriv): New fields: mailer, timezone, timezone_string. (mimedir_vcard_class_init): New properties: mailer, timezone. (mimedir_vcard_set_property): Handle them. (mimedir_vcard_get_property): Dito. (mimedir_vcard_init): Initialize timezone to G_MAXINT. (mimedir_vcard_clear): Free mailer. (mimedir_vcard_reset): Call mimedir_vcard_init() instead of allocating priv ourselves. (mimedir_vcard_internal_remove_address): New internal method. (mimedir_vcard_free_address_list): Use it. (mimedir_vcard_get_email_type_string): Implement. (mimedir_vcard_parse_utc_offset): Dito. (mimedir_vcard_read_from_channel): Added yet unimplemented dummies for the BEGIN, END, and X-* attributes (suppresses warnings). Parse TZ and MAILER attributes. (mimedir_vcard_append_address): New method. (mimedir_vcard_remove_address): Dito. (mimedir_vcard_get_as_string): Add mailer and timezone. 2002-07-07 Sebastian Rittau * mimedir/mimedir-attribute.c: (mimedir_attribute_get_parameter): New internal method. (mimedir_attribute_append_parameter): Fold parameters. (mimedir_attribute_has_parameter): Added doc string, added debug macros, use mimedir_attribute_get_parameter(). (mimedir_attribute_get_parameter_values): ditto (mimedir_attribute_free_parameter_values): New method (for consistency). (mimedir_attribute_set_value_raw): Added doc string, takes now a gchar * instead of a GString *. (mimedir_attribute_get_value_raw): ditto * mimedir/mimedir-attribute.h: (mimedir_attribute_set_value_raw): Takes now a gchar * instead of a GString *. (mimedir_attribute_get_value_raw): ditto * mimedir/mimedir-utils.c: (mimedir_utils_copy_string_slist): New function. (mimedir_utils_copy_object_slist): ditto (mimedir_utils_free_string_list): Renamed to mimedir_utils_free_string_slist(). (mimedir_utils_free_object_list): Renamed to mimedir_utils_free_object_slist(). Corrected doc string. * mimedir/mimedir-utils.h: Incorporated these changes here, too. * mimedir/mimedir-vcard-address.c: New properties: domestic, international, postal, parcel, home, work, preferred. (MIMEDirVCardAddressPriv): Added boolean fields for the properties. (mimedir_vcard_address_class_init): Install properties. (mimedir_vcard_address_init): Defaults for these properties. (mimedir_vcard_address_reset): ditto (mimedir_vcard_address_get_property): Handle properties. (mimedir_vcard_address_set_property): ditto (mimedir_vcard_address_set_from_attribute): Added doc string, read properties from vCard parameters. (mimedir_vcard_address_get_type_string): New function. * mimedir/mimedir-vcard-address.h: (mimedir_vcard_address_get_type_string): New function. * mimedir/mimedir-vcard.c: (mimedir_vcard_set_property): mimedir_utils_free_string_list() -> _slist(), handle PROP_ADDRESS_LIST. (mimedir_vcard_emit_changed): New callback to forward changed signals. (mimedir_vcard_dispose): mimedir_utils_free_string_list() -> slist(). (mimedir_vcard_append_address_list): New internal method. (mimedir_vcard_free_address_list): ditto (mimedir_vcard_internal_append_address): ditto (mimedir_vcard_read_from_channel): Use it, also use mimedir_vcard_address_get_type_string(). 2002-07-07 Sebastian Rittau * TODO: String review, g_object_get() check. * mimedir/mimedir-vcarc.c: LAST_SIGNAL -> SIGNAL_LAST * mimedir/mimedir-vcard-address.c (mimedir_vcard_address_get_title): New function that build a summary string. (mimedir_vcard_address_class_init): New read-only property "title". (mimedir_vcard_address_get_property): Handle it. 2002-07-06 Sebastian Rittau * mimedir-1.0.pc.in: Added missing $ sign. 2002-07-05 Sebastian Rittau * docs: New directory. * docs/Makefile.am: Makefile for this directory. * configure.in: Parse Makefile * Makefile.am: Handle directory. * docs/class-overview.dia: New diagram, describing the class relationships. * mimedir/mimedir-vcard.c (mimedir_vcard_read_from_channel): Warn if an unknown attribute is encountered. The PHONE attribute is actually called TEL. * mimedir/mimedir-vcard-address.c: gettext -> dgettext (mimedir_vcard_address_set_from_attribute): Warn if the ADR attribute contains too many elements. * mimedir/mimedir-file.[ch]: Removed obsolete files. * mimedir/Makefila.am: Removed them from the lib. * po/POTFILES.in: Update. * mimedir/mimedir-attribute.c (mimedir_attribute_retrieve_line): New internal method that reads a line from the supplied channel, possibly converting it to UTF-8. (mimedir_attribute_read_from_channel): Use it. * mimedir/mimedir-vcard.c (mimedir_vcard_read_list): Retry reading a file with NULL encoding if reading it as UTF-8 failed with a conversion error. * bin/vcard-dump.c (main): Call setlocale(). 2002-07-05 Sebastian Rittau * TODO: New file. * mimedir/mimedir-vcard.c (mimedir_vcard_get_as_string): Handle birthdays and addresses. * bin/vcard-dump.c (main): Convert output to locale encoding. Free strings. * mimedir/Makefile.am: Install header files in $(prefix)/include/mimedir. * mimedir-1.0.pc.in: New file. * configure.in: Handle pkgconfig installation. * Makefile.am: ditto * .cvsignore: Ignore generated mimedir-1.0.pc. 2002-07-05 Sebastian Rittau * .cvsignore: * bin/.cvsignore: * mimedir/.cvsignore: * po/.cvsignore: Ignore generated files. 2002-07-05 Sebastian Rittau * */*: Initial version. libmimedir-0.4.2/Makefile.in0000644000175000017500000005560310654703052012633 00000000000000# 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 = : build_triplet = @build@ host_triplet = @host@ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(srcdir)/gpe-dist.am $(srcdir)/mimedir-1.0.pc.in \ $(top_srcdir)/configure AUTHORS COPYING.LIB ChangeLog INSTALL \ NEWS TODO config.guess config.sub depcomp install-sh ltmain.sh \ missing mkinstalldirs subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno configure.status.lineno mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = config.h CONFIG_CLEAN_FILES = mimedir-1.0.pc 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|^.*/||'`; am__installdirs = "$(DESTDIR)$(pkgconfigdir)" pkgconfigDATA_INSTALL = $(INSTALL_DATA) DATA = $(pkgconfig_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@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTKDOC = @GTKDOC@ HTML_DIR = @HTML_DIR@ 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_ICONV = @INTLTOOL_ICONV@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_MSGFMT = @INTLTOOL_MSGFMT@ INTLTOOL_MSGMERGE = @INTLTOOL_MSGMERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ 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_XGETTEXT = @INTLTOOL_XGETTEXT@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MIMEDIR_MAJOR_VERSION = @MIMEDIR_MAJOR_VERSION@ MIMEDIR_MICRO_VERSION = @MIMEDIR_MICRO_VERSION@ MIMEDIR_MINOR_VERSION = @MIMEDIR_MINOR_VERSION@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ 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@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ SUBDIRS = mimedir bin po docs EXTRA_DIST = \ COPYING.LIB \ mimedir-1.0.pc.in \ intltool-extract.in \ intltool-merge.in \ intltool-update.in pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = mimedir-1.0.pc CVSTAG := $(shell echo $(PACKAGE)-$(VERSION) | tr [a-z.] [A-Z_]) all: config.h $(MAKE) $(AM_MAKEFLAGS) all-recursive .SUFFIXES: am--refresh: @: $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/gpe-dist.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \ cd $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ echo ' $(SHELL) ./config.status'; \ $(SHELL) ./config.status;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) $(SHELL) ./config.status --recheck $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(srcdir) && $(AUTOCONF) $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) config.h: stamp-h1 @if test ! -f $@; then \ rm -f stamp-h1; \ $(MAKE) stamp-h1; \ else :; fi stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status @rm -f stamp-h1 cd $(top_builddir) && $(SHELL) ./config.status config.h $(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_srcdir) && $(AUTOHEADER) rm -f stamp-h1 touch $@ distclean-hdr: -rm -f config.h stamp-h1 mimedir-1.0.pc: $(top_builddir)/config.status $(srcdir)/mimedir-1.0.pc.in cd $(top_builddir) && $(SHELL) ./config.status $@ mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)" @list='$(pkgconfig_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \ done uninstall-pkgconfigDATA: @$(NORMAL_UNINSTALL) @list='$(pkgconfig_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \ rm -f "$(DESTDIR)$(pkgconfigdir)/$$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) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ include_option=--etags-include; \ empty_fix=.; \ else \ include_option=--include; \ empty_fix=; \ fi; \ list='$(SUBDIRS)'; for subdir in $$list; do \ if test "$$subdir" = .; then :; else \ test ! -f $$subdir/TAGS || \ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ fi; \ done; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) $(am__remove_distdir) mkdir $(distdir) $(mkdir_p) $(distdir)/. $(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 -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 $(DATA) config.h installdirs: installdirs-recursive installdirs-am: for dir in "$(DESTDIR)$(pkgconfigdir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-recursive install-exec: install-exec-recursive install-data: install-data-recursive uninstall: uninstall-recursive install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-recursive install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-recursive clean-am: clean-generic clean-libtool mostlyclean-am distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -f Makefile distclean-am: clean-am distclean-generic distclean-hdr \ distclean-libtool distclean-local distclean-tags dvi: dvi-recursive dvi-am: html: html-recursive info: info-recursive info-am: install-data-am: install-pkgconfigDATA install-exec-am: install-info: install-info-recursive install-man: installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-recursive mostlyclean-am: mostlyclean-generic mostlyclean-libtool pdf: pdf-recursive pdf-am: ps: ps-recursive ps-am: uninstall-am: uninstall-info-am uninstall-pkgconfigDATA uninstall-info: uninstall-info-recursive .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \ check-am clean clean-generic clean-libtool clean-recursive \ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \ dist-shar dist-tarZ dist-zip distcheck distclean \ distclean-generic distclean-hdr distclean-libtool \ distclean-local distclean-recursive distclean-tags \ distcleancheck distdir distuninstallcheck dvi dvi-am html \ html-am info info-am install install-am install-data \ install-data-am install-exec install-exec-am install-info \ install-info-am install-man install-pkgconfigDATA \ install-strip installcheck installcheck-am installdirs \ installdirs-am maintainer-clean maintainer-clean-generic \ maintainer-clean-recursive mostlyclean mostlyclean-generic \ mostlyclean-libtool mostlyclean-recursive pdf pdf-am ps ps-am \ tags tags-recursive uninstall uninstall-am uninstall-info-am \ uninstall-pkgconfigDATA distclean-local: $(RM) -f intltool-extract intltool-merge intltool-update dist-upload: distcheck scp $(PACKAGE)-$(VERSION).tar.gz $(USER)@linuxtogo.org:/media/data/projects/gpe/source/ tag: @cd $(srcdir) && if cvs update -p -r$(CVSTAG) >/dev/null 2>&1; then echo "** Tag $(CVSTAG) already exists."; echo "** Use \"make retag\" if you really want to move this tag."; exit 1; fi cd $(srcdir) && cvs tag $(CVSTAG) retag: cd $(srcdir) && cvs tag -F $(CVSTAG) source: tag dist-upload # 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: libmimedir-0.4.2/README0000644000175000017500000000067110603540671011441 00000000000000 libmimedir ========== libmimedir is a gobject-based implementation of RFC 2425 (MIME Directory Profile) and related RFCs like RFC 2426 (vCard MIME Directory Profile). Please see the file INSTALL for generic installing instructions. This project contains two major source directories: mimedir contains the library code, while bin contains some test and utility programs. libmimedir-0.4.2/mimedir/0000777000175000017500000000000010654704037012273 500000000000000libmimedir-0.4.2/mimedir/mimedir-vfreebusy.h0000644000175000017500000000553710603540660016022 00000000000000/* RFC 2445 vFreeBusy MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vfreebusy.h 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_VFREEBUSY_H__ #define __MIMEDIR_VFREEBUSY_H__ #include #include #include "mimedir-profile.h" #include "mimedir-vcomponent.h" typedef enum { MIMEDIR_VFREEBUSY_FREE, MIMEDIR_VFREEBUSY_BUSY, MIMEDIR_VFREEBUSY_BUSY_UNAVAILABLE, MIMEDIR_VFREEBUSY_BUSY_TENTATIVE } MIMEDirVFreeBusyType; #define MIMEDIR_TYPE_VFREEBUSY (mimedir_vfreebusy_get_type()) #define MIMEDIR_VFREEBUSY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_VFREEBUSY, MIMEDirVFreeBusy)) #define MIMEDIR_VFREEBUSY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_VFREEBUSY, MIMEDirVFreeBusyClass)) #define MIMEDIR_IS_VFREEBUSY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_VFREEBUSY)) #define MIMEDIR_IS_VFREEBUSY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_VFREEBUSY)) typedef struct _MIMEDirVFreeBusy MIMEDirVFreeBusy; typedef struct _MIMEDirVFreeBusyClass MIMEDirVFreeBusyClass; typedef struct _MIMEDirVFreeBusyPriv MIMEDirVFreeBusyPriv; struct _MIMEDirVFreeBusy { MIMEDirVComponent parent; MIMEDirVFreeBusyPriv *priv; }; struct _MIMEDirVFreeBusyClass { MIMEDirVComponentClass parent_class; }; GType mimedir_vfreebusy_get_type (void); MIMEDirVFreeBusy *mimedir_vfreebusy_new (void); MIMEDirVFreeBusy *mimedir_vfreebusy_new_from_profile (MIMEDirProfile *profile, GError **error); gboolean mimedir_vfreebusy_read_from_profile (MIMEDirVFreeBusy *vfreebusy, MIMEDirProfile *profile, GError **error); MIMEDirProfile *mimedir_vfreebusy_write_to_profile (MIMEDirVFreeBusy *vfreebusy); gboolean mimedir_vfreebusy_write_to_channel (MIMEDirVFreeBusy *vfreebusy, GIOChannel *channel, GError **error); gchar *mimedir_vfreebusy_write_to_string (MIMEDirVFreeBusy *vfreebusy); #endif /* __MIMEDIR_VFREEBUSY_H__ */ libmimedir-0.4.2/mimedir/Makefile.am0000644000175000017500000000372510622713621014244 00000000000000# $Id: Makefile.am,v 1.19 2002/12/19 15:21:27 srittau Exp $ # # The Library # lib_LTLIBRARIES = libmimedir.la INCLUDES = \ -I$(top_srcdir) -DG_DISABLE_DEPRECATED $(GLIB_CFLAGS) \ -DLOCALEDIR=\""$(datadir)/locale"\" libmimedir_la_LIBADD = $(GLIB_LIBS) libmimedir_la_LDFLAGS = -release $(MIMEDIR_MAJOR_VERSION).$(MIMEDIR_MINOR_VERSION) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) libmimedir_la_SOURCES = \ mimedir-marshal.c \ mimedir-marshal.h \ mimedir-attachment.c \ mimedir-attendee.c \ mimedir-attribute.c \ mimedir-datetime.c \ mimedir-init.c \ mimedir-period.c \ mimedir-profile.c \ mimedir-recurrence.c \ mimedir-utils.c \ mimedir-utils.h \ mimedir-valarm.c \ mimedir-vcal.c \ mimedir-vcard.c \ mimedir-vcard-address.c \ mimedir-vcard-email.c \ mimedir-vcard-phone.c \ mimedir-vcomponent.c \ mimedir-vevent.c \ mimedir-vfreebusy.c \ mimedir-vjournal.c \ mimedir-vtimezone.c \ mimedir-vtodo.c includedir = $(prefix)/include/mimedir-1.0/mimedir include_HEADERS = \ mimedir.h \ mimedir-attachment.h \ mimedir-attendee.h \ mimedir-attribute.h \ mimedir-datetime.h \ mimedir-init.h \ mimedir-period.h \ mimedir-profile.h \ mimedir-recurrence.h \ mimedir-valarm.h \ mimedir-vcal.h \ mimedir-vcard.h \ mimedir-vcard-address.h \ mimedir-vcard-email.h \ mimedir-vcard-phone.h \ mimedir-vcomponent.h \ mimedir-vevent.h \ mimedir-vfreebusy.h \ mimedir-vjournal.h \ mimedir-vtimezone.h \ mimedir-vtodo.h EXTRA_DIST = \ mimedir-marshal.list # # Signal Marshallers # mimedir-marshal.h: mimedir-marshal.list ( @GLIB_GENMARSHAL@ --prefix=mimedir_marshal $< --header > mimedir-marshal.tmp \ && mv mimedir-marshal.tmp $@ ) \ || ( rm -f mimedir-marshal.tmp && exit 1 ) mimedir-marshal.c: mimedir-marshal.list mimedir-marshal.h ( @GLIB_GENMARSHAL@ --prefix=mimedir_marshal $< --body > mimedir-marshal.tmp \ && mv mimedir-marshal.tmp $@ ) \ || ( rm -f mimedir-marshal.tmp && exit 1 ) libmimedir-0.4.2/mimedir/mimedir-vcomponent.c0000644000175000017500000026467210605221623016177 00000000000000/* RFC 2445 iCal Component Object * Copyright (C) 2002-2005 Sebastian Rittau * Copyright (C) 2007 Graham Cobb * * $Id: mimedir-vcomponent.c 247 2005-11-26 15:40:20Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "mimedir-attachment.h" #include "mimedir-attendee.h" #include "mimedir-attribute.h" #include "mimedir-datetime.h" #include "mimedir-marshal.h" #include "mimedir-period.h" #include "mimedir-recurrence.h" #include "mimedir-utils.h" #include "mimedir-valarm.h" #include "mimedir-vcomponent.h" #include "mimedir-vfreebusy.h" #include "mimedir-vtimezone.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_vcomponent_class_init (MIMEDirVComponentClass *klass); static void mimedir_vcomponent_init (MIMEDirVComponent *vcomponent); static void mimedir_vcomponent_dispose (GObject *object); static void mimedir_vcomponent_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); static void mimedir_vcomponent_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); static void mimedir_vcomponent_clear (MIMEDirVComponent *vcomponent); static void mimedir_vcomponent_changed (MIMEDirVComponent *vcomponent); static void mimedir_vcomponent_set_value_duration (MIMEDirAttribute *attr, gint duration); static gint mimedir_vcomponent_get_value_duration (MIMEDirAttribute *attr, GError **error); static void mimedir_vcomponent_set_value_utcoffset (MIMEDirAttribute *attr, gint offset); static gint mimedir_vcomponent_get_value_utcoffset (MIMEDirAttribute *attr, GError **error); enum { PROP_CATEGORY_LIST = 1, PROP_COMMENT_LIST, PROP_DESCRIPTION, PROP_PERCENT_COMPLETE, PROP_PRIORITY, PROP_RESOURCE_LIST, PROP_STATUS, PROP_SUMMARY, PROP_DTCOMPLETED, PROP_DTEND, PROP_DUE, PROP_DTSTART, PROP_DURATION, PROP_FREEBUSY, PROP_TZID, PROP_TZNAME_LIST, PROP_TZOFFFROM, PROP_TZOFFTO, PROP_TZURL, PROP_CONTACT, PROP_UID, PROP_RECURRENCE, PROP_ACTION, PROP_REPEAT, PROP_TRIGGER, PROP_TRIGGER_DT, PROP_TRIGGER_END, PROP_CREATED, PROP_DTSTAMP, PROP_LAST_MODIFIED, PROP_SEQ }; enum { SIGNAL_CHANGED, SIGNAL_ALARMS_CHANGED, SIGNAL_LAST }; struct _MIMEDirVComponentPriv { gboolean changed; GList *alarms; /* Descriptive Properties (RFC 2445, Section 4.8.1) */ GList *attachments; /* Attach (4.8.1.1) */ GList *categories; /* Categories (4.8.1.2) */ MIMEDirClassification md_class; /* Class (4.8.1.3) */ gchar *md_class_str; GList *comment; /* Comment (4.8.1.4) */ gchar *description; /* Description (4.8.1.5) */ gdouble latitude, longitude; /* Geographic Position (4.8.1.6) */ gchar *location; /* Location (4.8.1.7) */ gchar *location_alt; gint percent; /* Percent Complete (4.8.1.8) */ guint priority; /* Priority (4.8.1.9) */ GList *resources; /* Resources (4.8.1.10) */ MIMEDirStatus status; /* Status (4.8.1.11) */ gchar *summary; /* Summary (4.8.1.12) */ /* Date and Time Properties (RFC 2445, Section 4.8.2) */ MIMEDirDateTime *dtcompleted; /* Date/Time Completed (4.8.2.1) */ MIMEDirDateTime *dtend; /* Date/Time End (4.8.2.2) */ MIMEDirDateTime *due; /* Date/Time Due (4.8.2.3) */ MIMEDirDateTime *dtstart; /* Date/Time Start (4.8.2.4) */ gint duration; /* Duration (4.8.2.5) */ GList *freebusy; /* Free/Busy Time (4.8.2.6) */ gboolean opaque; /* Time Transparency (4.8.2.7) */ /* Time Zone Properties (RFC 2445, Section 4.8.3) */ gchar *tzid; /* Time Zone Identifier (4.8.3.1) */ GList *tznames; /* Time Zone Name (4.8.3.2) */ gint tzofffrom; /* Time Zone Offset From (4.8.3.3) */ gint tzoffto; /* Time Zone Offset To (4.8.3.4) */ gchar *tzurl; /* Time Zone URL (4.8.3.5) */ /* Relationship Properties (RFC 2445, Section 4.8.4) */ GList *attendees; /* Attendee (4.8.4.1) */ gchar *contact; /* Contact (4.8.4.2) */ gchar *uid; /* Unique Identifier (4.8.4.7) */ /* Recurrence Properties (RFC 2445, Section 4.8.5) */ MIMEDirRecurrence *recurrence; /* Recurrence Rule (4.8.5.4) */ /* Alarm Properties (RFC 2445, Section 4.8.6) */ gchar *action; /* Action (4.8.6.1) */ guint repeat; /* Repeat Count (4.8.6.2) */ gint trigger; /* Trigger (4.8.6.3) */ MIMEDirDateTime *trigger_dt; gboolean trigger_end; /* Change Management Properties (RFC 2445, Section 4.8.7) */ MIMEDirDateTime *created; /* Date/Time Created (4.8.7.1) */ MIMEDirDateTime *dtstamp; /* Date/Time Stamp (4.8.7.2) */ MIMEDirDateTime *last_modified; /* Date/Time Last-modified (4.8.7.3) */ gint sequence; /* Sequence Number (4.8.7.4) */ /* Custom Properties */ gboolean allday; }; static GObjectClass *parent_class = NULL; static gint mimedir_vcomponent_signals[SIGNAL_LAST] = { 0, 0 }; /* * Class and Object Management */ GType mimedir_vcomponent_get_type (void) { static GType mimedir_vcomponent_type = 0; if (!mimedir_vcomponent_type) { static const GTypeInfo mimedir_vcomponent_info = { sizeof (MIMEDirVComponentClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_vcomponent_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirVComponent), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_vcomponent_init, }; mimedir_vcomponent_type = g_type_register_static (G_TYPE_OBJECT, "MIMEDirVComponent", &mimedir_vcomponent_info, 0); } return mimedir_vcomponent_type; } static void mimedir_vcomponent_class_init (MIMEDirVComponentClass *klass) { GObjectClass *gobject_class; GParamSpec *pspec; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_vcomponent_dispose; gobject_class->set_property = mimedir_vcomponent_set_property; gobject_class->get_property = mimedir_vcomponent_get_property; parent_class = g_type_class_peek_parent (klass); /* Signals */ mimedir_vcomponent_signals[SIGNAL_CHANGED] = g_signal_new ("changed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (MIMEDirVComponentClass, changed), NULL, NULL, mimedir_marshal_VOID__VOID, G_TYPE_NONE, 0); mimedir_vcomponent_signals[SIGNAL_ALARMS_CHANGED] = g_signal_new ("alarms-changed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (MIMEDirVComponentClass, alarms_changed), NULL, NULL, mimedir_marshal_VOID__VOID, G_TYPE_NONE, 0); /* Properties */ pspec = g_param_spec_pointer ("category-list", _("Category list"), _("List of all categories of this component. This is a GList *, where the elements are gchar *'s"), G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_CATEGORY_LIST, pspec); pspec = g_param_spec_pointer ("comment-list", _("Comment list"), _("List of all additional comments for this component. This is a GList *, where the elements are gchar *'s"), G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_COMMENT_LIST, pspec); pspec = g_param_spec_string ("description", _("Description"), _("Full description of this component"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_DESCRIPTION, pspec); pspec = g_param_spec_uint ("percent-complete", _("Percent complete"), _("Percentage of this task's completion"), 0, MIMEDIR_VCOMPONENT_PERCENT_NONE, MIMEDIR_VCOMPONENT_PERCENT_NONE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_PERCENT_COMPLETE, pspec); pspec = g_param_spec_uint ("priority", _("Priority"), _("This task's priority"), 0, 9, 0, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_PRIORITY, pspec); pspec = g_param_spec_pointer ("resource-list", /* FIXME: whoops, this isn't handled */ _("Resource list"), _("List of the resources assigned to this component"), /* FIXME: describe type */ G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_RESOURCE_LIST, pspec); pspec = g_param_spec_uint ("status", _("Status"), _("This task's completion status"), MIMEDIR_STATUS_UNKNOWN, MIMEDIR_STATUS_FINAL, MIMEDIR_STATUS_UNKNOWN, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_STATUS, pspec); pspec = g_param_spec_string ("summary", _("Summary"), _("Component's short description"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_SUMMARY, pspec); pspec = g_param_spec_object ("dtcompleted", _("Date/time completed"), _("Date/time that this task was completed"), MIMEDIR_TYPE_DATETIME, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_DTCOMPLETED, pspec); pspec = g_param_spec_object ("dtend", _("Date/time end"), _("End date/time of this component"), MIMEDIR_TYPE_DATETIME, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_DTEND, pspec); pspec = g_param_spec_object ("due", _("Due"), _("This task's due date"), MIMEDIR_TYPE_DATETIME, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_DUE, pspec); pspec = g_param_spec_object ("dtstart", _("Date/time start"), _("Start date/time of this component"), MIMEDIR_TYPE_DATETIME, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_DTSTART, pspec); pspec = g_param_spec_uint ("duration", _("Duration"), _("This date's duration"), 0, G_MAXINT, 0, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_DURATION, pspec); pspec = g_param_spec_pointer ("freebusy", _("Free/busy"), _("GList of free/busy objects"), G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_FREEBUSY, pspec); pspec = g_param_spec_string ("tzid", _("Time zone identifier"), _("This component's time zone identifier"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_TZID, pspec); pspec = g_param_spec_pointer ("tzname-list", _("Time zone name list"), _("GList of time zone names"), G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_TZNAME_LIST, pspec); pspec = g_param_spec_int ("tzoffsetfrom", _("Time zone offset from"), _("Time zone offset from"), -24 * 60, 24 * 60, 0, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_TZOFFFROM, pspec); pspec = g_param_spec_int ("tzoffsetto", _("Time zone offset to"), _("Time zone offset to"), -24 * 60, 24 * 60, 0, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_TZOFFTO, pspec); pspec = g_param_spec_string ("tzurl", _("Time zone URL"), _("URL to a time zone description"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_TZURL, pspec); pspec = g_param_spec_string ("contact", _("Contact"), _("Contact information"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_CONTACT, pspec); pspec = g_param_spec_string ("uid", _("Unique identifier"), _("A unique identifier for this component"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_UID, pspec); pspec = g_param_spec_object ("recurrence", _("Recurrence object"), _("An object representing the RRULE tag"), MIMEDIR_TYPE_RECURRENCE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_RECURRENCE, pspec); pspec = g_param_spec_string ("action", _("Action"), _("Action"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_ACTION, pspec); pspec = g_param_spec_uint ("repeat", _("Repeat"), _("Repeat"), 0, G_MAXINT, 0, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_REPEAT, pspec); pspec = g_param_spec_int ("trigger", _("Trigger"), _("Trigger"), G_MININT, G_MAXINT, 0, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_TRIGGER, pspec); pspec = g_param_spec_object ("trigger-datetime", _("Trigger date/time"), _("Date/time of the trigger"), MIMEDIR_TYPE_DATETIME, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_TRIGGER_DT, pspec); pspec = g_param_spec_boolean ("trigger-end", _("Trigger end"), _("Whether the trigger is set at the end of the time interval"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_TRIGGER_END, pspec); pspec = g_param_spec_object ("created", _("Created"), _("Date/time of the creation"), MIMEDIR_TYPE_DATETIME, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_CREATED, pspec); pspec = g_param_spec_object ("dtstamp", _("Date/time stamp"), _("Date/time of the creation of the iCalendar object"), MIMEDIR_TYPE_DATETIME, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_DTSTAMP, pspec); pspec = g_param_spec_object ("last_modified", _("Last modified"), _("Date/time of the last modification"), MIMEDIR_TYPE_DATETIME, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_LAST_MODIFIED, pspec); pspec = g_param_spec_uint ("sequence", _("Sequence"), _("Sequence number"), 0, G_MAXINT, 0, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_SEQ, pspec); } static void mimedir_vcomponent_init (MIMEDirVComponent *vcomponent) { MIMEDirVComponentPriv *priv; g_return_if_fail (vcomponent != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent)); priv = g_new0 (MIMEDirVComponentPriv, 1); vcomponent->priv = priv; priv->changed = FALSE; priv->md_class = MIMEDIR_CLASS_PUBLIC; priv->latitude = 0.0; priv->longitude = 0.0; priv->percent = -1; priv->priority = 0; priv->status = MIMEDIR_STATUS_UNKNOWN; priv->sequence = -1; priv->opaque = TRUE; priv->trigger = 0; priv->trigger_end = FALSE; } static void mimedir_vcomponent_dispose (GObject *object) { MIMEDirVComponent *vcomponent; MIMEDirVComponentPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (object)); vcomponent = MIMEDIR_VCOMPONENT (object); priv = vcomponent->priv; if (priv) mimedir_vcomponent_clear (vcomponent); G_OBJECT_CLASS (parent_class)->dispose (object); } static void mimedir_vcomponent_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec) { MIMEDirVComponent *vcomponent; MIMEDirVComponentPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (object)); vcomponent = MIMEDIR_VCOMPONENT (object); priv = vcomponent->priv; switch (property_id) { case PROP_CATEGORY_LIST: mimedir_utils_free_string_list (priv->categories); priv->categories = mimedir_utils_copy_string_list ((GList *) g_value_get_pointer (value)); break; case PROP_COMMENT_LIST: mimedir_utils_free_string_list (priv->comment); priv->comment = mimedir_utils_copy_string_list ((GList *) g_value_get_pointer (value)); break; case PROP_DESCRIPTION: mimedir_utils_free_string_list (priv->comment); priv->description = g_strdup (g_value_get_string (value)); break; case PROP_PERCENT_COMPLETE: { guint percent; percent = g_value_get_uint (value); if (percent > 100) priv->percent = (gint) percent; else priv->percent = -1; } case PROP_PRIORITY: priv->priority = g_value_get_uint (value); break; case PROP_STATUS: priv->status = g_value_get_uint (value); break; case PROP_SUMMARY: mimedir_utils_set_property_string (&priv->summary, value); break; case PROP_DTCOMPLETED: if (priv->dtcompleted) g_object_unref (G_OBJECT (priv->dtcompleted)); priv->dtcompleted = g_value_get_object (value); g_object_ref (G_OBJECT (priv->dtcompleted)); break; case PROP_DTEND: if (priv->dtend) g_object_unref (G_OBJECT (priv->dtend)); priv->dtend = g_value_get_object (value); g_object_ref (G_OBJECT (priv->dtend)); break; case PROP_DUE: if (priv->due) g_object_unref (G_OBJECT (priv->due)); priv->due = g_value_get_object (value); g_object_ref (G_OBJECT (priv->due)); break; case PROP_DTSTART: if (priv->dtstart) g_object_unref (G_OBJECT (priv->dtstart)); priv->dtstart = g_value_get_object (value); g_object_ref (G_OBJECT (priv->dtstart)); break; case PROP_DURATION: priv->duration = g_value_get_uint (value); break; case PROP_FREEBUSY: mimedir_utils_free_object_list (priv->freebusy); priv->freebusy = mimedir_utils_copy_object_list ((GList *) g_value_get_pointer (value)); break; case PROP_TZID: mimedir_utils_set_property_string (&priv->tzid, value); break; case PROP_TZNAME_LIST: mimedir_utils_free_string_list (priv->tznames); priv->tznames = mimedir_utils_copy_string_list ((GList *) g_value_get_pointer (value)); break; case PROP_TZOFFFROM: priv->tzofffrom = g_value_get_int (value); break; case PROP_TZOFFTO: priv->tzoffto = g_value_get_int (value); break; case PROP_TZURL: mimedir_utils_set_property_string (&priv->tzurl, value); break; case PROP_CONTACT: mimedir_utils_set_property_string (&priv->contact, value); break; case PROP_UID: mimedir_utils_set_property_string (&priv->uid, value); break; case PROP_RECURRENCE: if (priv->recurrence) g_object_unref (G_OBJECT (priv->recurrence)); priv->recurrence = g_value_get_object (value); g_object_ref (G_OBJECT (priv->recurrence)); break; case PROP_ACTION: mimedir_utils_set_property_string (&priv->action, value); break; case PROP_REPEAT: priv->repeat = g_value_get_uint (value); break; case PROP_TRIGGER: priv->trigger = g_value_get_int (value); break; case PROP_TRIGGER_DT: if (priv->trigger_dt) g_object_unref (G_OBJECT (priv->trigger_dt)); priv->trigger_dt = g_value_get_object (value); g_object_ref (G_OBJECT (priv->trigger_dt)); break; case PROP_TRIGGER_END: priv->trigger_end = g_value_get_boolean (value); break; case PROP_CREATED: { MIMEDirDateTime *dt; dt = MIMEDIR_DATETIME (g_value_get_object (value)); g_return_if_fail ((dt->flags & MIMEDIR_DATETIME_DATE) && (dt->flags & MIMEDIR_DATETIME_TIME)); g_return_if_fail (dt->timezone == MIMEDIR_DATETIME_UTC); if (priv->created) g_object_unref (G_OBJECT (priv->created)); priv->created = dt; g_object_ref (G_OBJECT (priv->created)); break; } case PROP_DTSTAMP: { MIMEDirDateTime *dt; dt = MIMEDIR_DATETIME (g_value_get_object (value)); g_return_if_fail ((dt->flags & MIMEDIR_DATETIME_DATE) && (dt->flags & MIMEDIR_DATETIME_TIME)); g_return_if_fail (dt->timezone == MIMEDIR_DATETIME_UTC); if (priv->dtstamp) g_object_unref (G_OBJECT (priv->dtstamp)); priv->dtstamp = dt; g_object_ref (G_OBJECT (priv->dtstamp)); break; } case PROP_LAST_MODIFIED: { MIMEDirDateTime *dt; dt = MIMEDIR_DATETIME (g_value_get_object (value)); g_return_if_fail ((dt->flags & MIMEDIR_DATETIME_DATE) && (dt->flags & MIMEDIR_DATETIME_TIME)); g_return_if_fail (dt->timezone == MIMEDIR_DATETIME_UTC); if (priv->last_modified) g_object_unref (G_OBJECT (priv->last_modified)); priv->last_modified = dt; g_object_ref (G_OBJECT (priv->last_modified)); break; } case PROP_SEQ: priv->sequence = g_value_get_uint (value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } mimedir_vcomponent_changed (vcomponent); } static void mimedir_vcomponent_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec) { MIMEDirVComponent *vcomponent; MIMEDirVComponentPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (object)); vcomponent = MIMEDIR_VCOMPONENT (object); priv = vcomponent->priv; switch (property_id) { case PROP_CATEGORY_LIST: g_value_set_pointer (value, priv->categories); break; case PROP_COMMENT_LIST: g_value_set_pointer (value, priv->comment); break; case PROP_DESCRIPTION: g_value_set_string (value, priv->description); break; case PROP_PERCENT_COMPLETE: if (priv->percent == -1) g_value_set_uint (value, MIMEDIR_VCOMPONENT_PERCENT_NONE); else g_value_set_uint (value, (guint) priv->percent); break; case PROP_PRIORITY: g_value_set_uint (value, priv->priority); break; case PROP_STATUS: g_value_set_uint (value, priv->status); break; case PROP_SUMMARY: g_value_set_string (value, priv->summary ? priv->summary : ""); break; case PROP_DTCOMPLETED: if (priv->dtcompleted) g_value_set_object (value, G_OBJECT (priv->dtcompleted)); break; case PROP_DTEND: if (priv->dtend) g_value_set_object (value, G_OBJECT (priv->dtend)); break; case PROP_DUE: if (priv->due) g_value_set_object (value, G_OBJECT (priv->due)); break; case PROP_DTSTART: if (priv->dtstart) g_value_set_object (value, G_OBJECT (priv->dtstart)); break; case PROP_DURATION: g_value_set_uint (value, priv->duration); break; case PROP_FREEBUSY: g_value_set_pointer (value, priv->freebusy); break; case PROP_TZID: g_value_set_string (value, priv->tzid); break; case PROP_TZNAME_LIST: g_value_set_pointer (value, priv->tznames); break; case PROP_TZOFFFROM: g_value_set_int (value, priv->tzofffrom); break; case PROP_TZOFFTO: g_value_set_int (value, priv->tzoffto); break; case PROP_TZURL: g_value_set_string (value, priv->tzurl); break; case PROP_CONTACT: g_value_set_string (value, priv->contact); break; case PROP_UID: g_value_set_string (value, priv->uid); break; case PROP_RECURRENCE: if (priv->recurrence) g_value_set_object (value, G_OBJECT (priv->recurrence)); break; case PROP_ACTION: g_value_set_string (value, priv->action); break; case PROP_REPEAT: g_value_set_uint (value, priv->repeat); break; case PROP_TRIGGER: g_value_set_int (value, priv->trigger); break; case PROP_TRIGGER_DT: if (priv->trigger_dt) g_value_set_object (value, priv->trigger_dt); break; case PROP_TRIGGER_END: g_value_set_boolean (value, priv->trigger_end); break; case PROP_SEQ: g_value_set_uint (value, (guint) MAX (priv->sequence, 0)); break; case PROP_CREATED: if (priv->created) g_value_set_object (value, priv->created); break; case PROP_DTSTAMP: if (priv->dtstamp) g_value_set_object (value, priv->dtstamp); break; case PROP_LAST_MODIFIED: if (priv->last_modified) g_value_set_object (value, priv->last_modified); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } } /* * Utilities */ #define SECS_PER_MINUTE (60) #define SECS_PER_HOUR (SECS_PER_MINUTE * 60) #define SECS_PER_DAY (SECS_PER_HOUR * 24) #define SECS_PER_WEEK (SECS_PER_DAY * 7) static void mimedir_vcomponent_set_value_duration (MIMEDirAttribute *attr, gint duration) { GString *s; s = g_string_new (""); if (duration < 0) { g_string_append (s, "-"); duration = -duration; } g_string_append (s, "P"); if (duration == 0) g_string_append (s, "0D"); else if (duration % SECS_PER_WEEK == 0) g_string_append_printf (s, "%dW", duration / SECS_PER_WEEK); else { if (duration >= SECS_PER_DAY) { g_string_append_printf (s, "%dD", duration / SECS_PER_DAY); duration %= SECS_PER_DAY; } if (duration > 0) { g_string_append_printf (s, "T%dH", duration / SECS_PER_HOUR); duration %= SECS_PER_HOUR; } if (duration > 0) { g_string_append_printf (s, "%dM", duration / SECS_PER_MINUTE); duration %= SECS_PER_MINUTE; } if (duration > 0) g_string_append_printf (s, "%dS", duration); } mimedir_attribute_set_value (attr, s->str); g_string_free (s, TRUE); } static guint mimedir_vcomponent_parse_number (const gchar *name, const gchar *type, const gchar **s, GError **error) { guint num = 0; g_return_val_if_fail (error == NULL || *error == NULL, 0); if (**s < '0' || **s > '9') { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, type, name); return 0; } while (**s >= '0' && **s <= '9') { num *= 10; num += **s - '0'; (*s)++; } return num; } static gint mimedir_vcomponent_get_value_duration (MIMEDirAttribute *attr, GError **error) { const gchar *name; const gchar *s; gint duration = 0; gboolean neg = FALSE; gboolean dur_week = FALSE; g_return_val_if_fail (error == NULL || *error == NULL, 0); name = mimedir_attribute_get_name (attr); s = mimedir_attribute_get_value (attr); if (s[0] == '-') { neg = TRUE; s++; } else if (s[0] == '+') s++; if (s[0] != 'P' && s[0] != 'p') { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "DURATION", name); return 0; } s++; if (s[0] != 'T' && s[0] != 't') { GError *err = NULL; guint num; num = mimedir_vcomponent_parse_number (name, "DURATION", &s, &err); if (err) { g_propagate_error (error, err); return 0; } if (s[0] == 'D' || s[0] == 'd') duration = num * SECS_PER_DAY; else if (s[0] == 'W' || s[0] == 'w') { duration = num * SECS_PER_WEEK; dur_week = TRUE; } else { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "DURATION", name); return 0; } s++; } if ((s[0] == 'T' || s[0] == 't') && !dur_week) { /* Parse a dur-time */ GError *err = NULL; guint num; s++; /* Must begin with a number */ num = mimedir_vcomponent_parse_number (name, "DURATION", &s, &err); if (err) { g_propagate_error (error, err); return 0; } /* Is it dur-hour? */ if (s[0] == 'H') { s++; duration += num * SECS_PER_HOUR; /* Got dur-hour, any more? */ if (s[0]) { num = mimedir_vcomponent_parse_number (name, "DURATION", &s, &err); if (err) { g_propagate_error (error, err); return 0; } } } /* Is it dur-minute? */ if (s[0] == 'M') { s++; duration += num * SECS_PER_MINUTE; /* Got dur-minute, any more? */ if (s[0]) { num = mimedir_vcomponent_parse_number (name, "DURATION", &s, &err); if (err) { g_propagate_error (error, err); return 0; } } } /* Is it dur-second? */ if (s[0] == 'S') { s++; duration += num; } } if (s[0] != '\0') { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "DURATION", name); return 0; } return neg ? -duration : duration; } static void mimedir_vcomponent_set_value_utcoffset (MIMEDirAttribute *attr, gint offset) { gchar *s; gchar sign; guint hour, minute; sign = offset < 0 ? '-' : '+'; if (offset < 0) offset = -offset; hour = (guint) offset / 100; minute = (guint) offset % 100; g_return_if_fail (hour < 24); g_return_if_fail (minute < 60); s = g_strdup_printf ("%c%02d%02d", sign, hour, minute); mimedir_attribute_set_value (attr, s); g_free (s); } static gint mimedir_vcomponent_get_value_utcoffset (MIMEDirAttribute *attr, GError **error) { const gchar *name, *s; gsize len; gboolean negative; guint hour, minute, result; gint i; g_return_val_if_fail (error == NULL || *error == NULL, 0); name = mimedir_attribute_get_name (attr); s = mimedir_attribute_get_value (attr); len = strlen (s); if (len != 5 && len != 7) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "UTC-OFFSET", name); return 0; } switch (s[0]) { case '+': negative = FALSE; break; case '-': negative = TRUE; break; default: g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "UTC-OFFSET", name); return 0; } for (i = 1; i < len; i++) { if (s[i] < '0' || s[i] > '9') { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "UTC-OFFSET", name); return 0; } } hour = (s[1] - '0') * 10 + s[2] - '0'; minute = (s[3] - '0') * 10 + s[4] - '0'; /* Ignore seconds */ if (hour > 23 || minute > 59) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, name); return 0; } result = hour * 100 + minute; return negative ? -result : result; } /* * Private Methods */ /* Free VComponent's allocated memory */ static void mimedir_vcomponent_clear (MIMEDirVComponent *vcomponent) { MIMEDirVComponentPriv *priv; priv = vcomponent->priv; if (!priv) return; mimedir_utils_free_object_list (priv->alarms); if (priv->recurrence) g_object_unref (G_OBJECT (priv->recurrence)); mimedir_utils_free_object_list (priv->attachments); mimedir_utils_free_string_list (priv->categories); g_free (priv->md_class_str); mimedir_utils_free_string_list (priv->comment); g_free (priv->description); g_free (priv->location); g_free (priv->location_alt); mimedir_utils_free_string_list (priv->resources); g_free (priv->summary); g_free (priv->uid); if (priv->dtcompleted) g_object_unref (G_OBJECT (priv->dtcompleted)); if (priv->dtstart) g_object_unref (G_OBJECT (priv->dtstart)); if (priv->dtend) g_object_unref (G_OBJECT (priv->dtend)); if (priv->due) g_object_unref (G_OBJECT (priv->due)); mimedir_utils_free_object_list (priv->freebusy); g_free (priv->tzid); mimedir_utils_free_string_list (priv->tznames); g_free (priv->tzurl); mimedir_utils_free_object_list (priv->attendees); if (priv->trigger_dt) g_object_unref (G_OBJECT (priv->trigger_dt)); if (priv->created) g_object_unref (G_OBJECT (priv->created)); if (priv->dtstamp) g_object_unref (G_OBJECT (priv->dtstamp)); if (priv->last_modified) g_object_unref (G_OBJECT (priv->last_modified)); g_free (priv); vcomponent->priv = NULL; } /* Reallocate memory for the VComponent */ static void mimedir_vcomponent_reset (MIMEDirVComponent *vcomponent) { mimedir_vcomponent_clear (vcomponent); mimedir_vcomponent_init (vcomponent); } /* Emit the changed signal */ static void mimedir_vcomponent_changed (MIMEDirVComponent *vcomponent) { vcomponent->priv->changed = TRUE; g_signal_emit (G_OBJECT (vcomponent), mimedir_vcomponent_signals[SIGNAL_CHANGED], 0); } static gboolean parse_rrule (MIMEDirVComponent *vcomponent, MIMEDirAttribute *attr, GError **error) { MIMEDirVComponentPriv *priv = vcomponent->priv; priv->recurrence = mimedir_recurrence_new_parse (attr, error); return priv->recurrence != NULL; } static gboolean mimedir_vcomponent_parse_attribute (MIMEDirVComponent *vcomponent, MIMEDirAttribute *attr, GError **error) { GError *err = NULL; MIMEDirVComponentPriv *priv; const gchar *name; g_return_val_if_fail (error == NULL || *error == NULL, FALSE); priv = vcomponent->priv; name = mimedir_attribute_get_name (attr); /* * Generic Types (RFC 2425, Section 6) */ /* Profile Begin (6.4) */ if (!g_ascii_strcasecmp (name, "BEGIN")) { /* ignore */ } /* Profile End (6.5) */ else if (!g_ascii_strcasecmp (name, "END")) { /* ignore */ } /* * Descriptive Properties (RFC 2445, Section 4.8.1) */ /* Attachment (4.8.1.1) */ else if (!g_ascii_strcasecmp (name, "ATTACH")) { MIMEDirAttachment *attachment; attachment = mimedir_attachment_new_from_attribute (attr, error); if (!attachment) return FALSE; priv->attachments = g_list_append (priv->attachments, attachment); } /* Categories (4.8.1.2) */ else if (!g_ascii_strcasecmp (name, "CATEGORIES")) { GSList *l, *i; l = mimedir_attribute_get_value_text_list (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } for (i = l; i != NULL; i = g_slist_next (i)) priv->categories = g_list_append (priv->categories, g_strdup (i->data)); mimedir_attribute_free_text_list (l); } /* Classification (4.8.1.3) */ else if (!g_ascii_strcasecmp (name, "CLASS")) { const gchar *v; if (priv->md_class != MIMEDIR_CLASS_PUBLIC) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } v = mimedir_attribute_get_value (attr); if (!g_ascii_strcasecmp (v, "PUBLIC")) priv->md_class = MIMEDIR_CLASS_PUBLIC; else if (!g_ascii_strcasecmp (v, "PRIVATE")) priv->md_class = MIMEDIR_CLASS_PRIVATE; else if (!g_ascii_strcasecmp (v, "CONFIDENTIAL")) priv->md_class = MIMEDIR_CLASS_CONFIDENTIAL; else { priv->md_class = MIMEDIR_CLASS_CUSTOM; priv->md_class_str = g_strdup (v); } } /* Comment (4.8.1.4) */ else if (!g_ascii_strcasecmp (name, "COMMENT")) { gchar *text; text = mimedir_attribute_get_value_text (attr, error); if (!text) return FALSE; priv->comment = g_list_append (priv->comment, text); } /* Description (4.8.1.5) */ else if (!g_ascii_strcasecmp (name, "DESCRIPTION")) { if (priv->description) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->description = mimedir_attribute_get_value_text (attr, error); if (!priv->description) return FALSE; } /* Geographic Position (4.8.1.6) */ else if (!g_ascii_strcasecmp (name, "GEO")) { GSList *list; if (priv->latitude != 0.0 || priv->longitude != 0.0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } list = mimedir_attribute_get_value_float_list (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } if (g_slist_length (list) != 2) { mimedir_attribute_free_float_list (list); if (g_slist_length (list) < 2) g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT, MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT_STR, name); else g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG, MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG_STR, name); return FALSE; } priv->latitude = *(gdouble *)list->data; priv->longitude = *(gdouble *)list->next->data; mimedir_attribute_free_float_list (list); } /* Location (4.8.1.7) */ else if (!g_ascii_strcasecmp (name, "LOCATION")) { const gchar *altrep; if (priv->location || priv->location_alt) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->location = mimedir_attribute_get_value_text (attr, error); if (!priv->location) return FALSE; altrep = mimedir_attribute_get_parameter_value (attr, "altrep"); if (altrep) priv->location_alt = g_strdup (altrep); } /* Percent Complete (4.8.1.8) */ else if (!g_ascii_strcasecmp (name, "PERCENT-COMPLETE")) { gint percent; if (priv->percent >= 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } percent = mimedir_attribute_get_value_int (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } if (percent < 0 || percent > 100) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, name); return FALSE; } priv->percent = percent; } /* Priority (4.8.1.9) */ else if (!g_ascii_strcasecmp (name, "PRIORITY")) { gint i; i = mimedir_attribute_get_value_int (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } if (i < 0 || i > 9) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, name); return FALSE; } priv->priority = i; } /* Resources (4.8.1.10) */ else if (!g_ascii_strcasecmp (name, "RESOURCES")) { GSList *slist, *node; GList *list = NULL; slist = mimedir_attribute_get_value_text_list (attr, error); for (node = slist; node != NULL; node = g_slist_next (node)) { g_assert (node->data != NULL); list = g_list_prepend (list, g_strdup (node->data)); } list = g_list_reverse (list); list = g_list_concat (priv->resources, list); priv->resources = list; mimedir_attribute_free_text_list (slist); } /* Status (4.8.1.11) */ else if (!g_ascii_strcasecmp (name, "STATUS")) { gchar *status; if (priv->status != MIMEDIR_STATUS_UNKNOWN) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } status = mimedir_attribute_get_value_text (attr, error); if (!status) return FALSE; if (!g_ascii_strcasecmp (status, "CANCELLED")) priv->status = MIMEDIR_STATUS_CANCELLED; else if (!g_ascii_strcasecmp (status, "TENTATIVE")) priv->status = MIMEDIR_STATUS_TENTATIVE; else if (!g_ascii_strcasecmp (status, "CONFIRMED")) priv->status = MIMEDIR_STATUS_CONFIRMED; else if (!g_ascii_strcasecmp (status, "NEEDS-ACTION") || !g_ascii_strcasecmp (status, "NEEDS ACTION")) priv->status = MIMEDIR_STATUS_NEEDS_ACTION; else if (!g_ascii_strcasecmp (status, "COMPLETED")) priv->status = MIMEDIR_STATUS_COMPLETED; else if (!g_ascii_strcasecmp (status, "IN-PROCESS") || !g_ascii_strcasecmp (status, "IN PROCESS")) priv->status = MIMEDIR_STATUS_IN_PROCESS; else if (!g_ascii_strcasecmp (status, "DRAFT")) priv->status = MIMEDIR_STATUS_DRAFT; else if (!g_ascii_strcasecmp (status, "FINAL")) priv->status = MIMEDIR_STATUS_FINAL; else { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, name); return FALSE; } } /* Summary (4.8.1.12) */ else if (!g_ascii_strcasecmp (name, "SUMMARY")) { if (priv->summary) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->summary = mimedir_attribute_get_value_text (attr, error); if (!priv->summary) return FALSE; } /* * Date and Time Properties (RFC 2445, Section 4.8.2) */ /* Date/Time Completed (4.8.2.1) */ else if (!g_ascii_strcasecmp (name, "COMPLETED")) { if (priv->dtcompleted) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->dtcompleted = mimedir_attribute_get_value_datetime (attr, error); if (!priv->dtcompleted) return FALSE; if (!(priv->dtcompleted->flags & MIMEDIR_DATETIME_DATE)) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "date-time", name); return FALSE; } } /* Date/Time End (4.8.2.2) */ else if (!g_ascii_strcasecmp (name, "DTEND")) { if (priv->dtend) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->dtend = mimedir_attribute_get_value_datetime (attr, error); if (!priv->dtend) return FALSE; if (!(priv->dtend->flags & MIMEDIR_DATETIME_DATE)) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "date-time", name); return FALSE; } if (mimedir_attribute_has_parameter (attr, "TZID")) { const gchar *tzid; tzid = mimedir_attribute_get_parameter_value (attr, "TZID"); g_object_set (G_OBJECT (priv->dtend), "tzid", tzid, NULL); } } /* Date/Time Due (4.8.2.3) */ else if (!g_ascii_strcasecmp (name, "DUE")) { if (priv->due) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->due = mimedir_attribute_get_value_datetime (attr, error); if (!priv->due) return FALSE; if (!(priv->due->flags & MIMEDIR_DATETIME_DATE)) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "date-time", name); return FALSE; } if (mimedir_attribute_has_parameter (attr, "TZID")) { const gchar *tzid; tzid = mimedir_attribute_get_parameter_value (attr, "TZID"); g_object_set (G_OBJECT (priv->due), "tzid", tzid, NULL); } } /* Date/Time Start (4.8.2.4) */ else if (!g_ascii_strcasecmp (name, "DTSTART")) { if (priv->dtstart) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->dtstart = mimedir_attribute_get_value_datetime (attr, error); if (!priv->dtstart) return FALSE; if (!(priv->dtstart->flags & MIMEDIR_DATETIME_DATE)) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "date-time", name); return FALSE; } if (mimedir_attribute_has_parameter (attr, "TZID")) { const gchar *tzid; tzid = mimedir_attribute_get_parameter_value (attr, "TZID"); g_object_set (G_OBJECT (priv->dtstart), "tzid", tzid, NULL); } } /* Duration (4.8.2.5) */ else if (!g_ascii_strcasecmp (name, "DURATION")) { gint i; if (priv->duration != 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } i = mimedir_vcomponent_get_value_duration (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } if (i < 0) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, name); return FALSE; } priv->duration = i; } /* Free/Busy Time (4.8.2.6) */ else if (!g_ascii_strcasecmp (name, "FREEBUSY")) { GList *list = NULL; GSList *slist, *node; MIMEDirVFreeBusyType fb = MIMEDIR_VFREEBUSY_BUSY; if (mimedir_attribute_has_parameter (attr, "FBTYPE")) { const gchar *s; s = mimedir_attribute_get_parameter_value (attr, "FBTYPE"); if (!g_ascii_strcasecmp (s, "FREE")) fb = MIMEDIR_VFREEBUSY_FREE; else if (!g_ascii_strcasecmp (s, "BUSY")) fb = MIMEDIR_VFREEBUSY_BUSY; else if (!g_ascii_strcasecmp (s, "BUSY-UNAVAILABLE") || !g_ascii_strcasecmp (s, "BUSY UNAVAILABLE")) fb = MIMEDIR_VFREEBUSY_BUSY_UNAVAILABLE; else if (!g_ascii_strcasecmp (s, "BUSY-TENTATIVE") || !g_ascii_strcasecmp (s, "BUSY TENTATIVE")) fb = MIMEDIR_VFREEBUSY_BUSY_TENTATIVE; } slist = mimedir_attribute_get_value_text_list (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } for (node = slist; node != NULL; node = g_slist_next (node)) { MIMEDirPeriod *period; g_assert (node->data != NULL); period = mimedir_period_new_parse ((const gchar *) node->data); g_object_set (G_OBJECT (period), "fbtype", fb, NULL); list = g_list_prepend (list, period); } list = g_list_reverse (list); priv->freebusy = g_list_concat (priv->freebusy, list); mimedir_attribute_free_text_list (slist); } /* Time Transparency (4.8.2.7) */ else if (!g_ascii_strcasecmp (name, "TRANSP")) { const gchar *s; s = mimedir_attribute_get_value (attr); if (!g_ascii_strcasecmp (s, "OPAQUE") || !g_ascii_strcasecmp (s, "0")) priv->opaque = TRUE; else if (!g_ascii_strcasecmp (s, "TRANSPARENT") || !g_ascii_strcasecmp (s, "1")) priv->opaque = FALSE; else { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, name); return FALSE; } } /* * Time Zone Properties (RFC 2445, Section 4.8.3) */ /* Time Zone Identifier (4.8.3.1) */ else if (!g_ascii_strcasecmp (name, "TZID")) { const gchar *s; if (priv->tzid) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } s = mimedir_attribute_get_value (attr); priv->tzid = g_strdup (s); } /* Time Zone Name (4.8.3.2) */ else if (!g_ascii_strcasecmp (name, "TZNAME")) { gchar *s; s = mimedir_attribute_get_value_text (attr, error); if (!s) return FALSE; priv->tznames = g_list_append (priv->tznames, s); } /* Time Zone Offset From (4.8.3.3) */ else if (!g_ascii_strcasecmp (name, "TZOFFSETFROM")) { if (priv->tzofffrom != 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->tzofffrom = mimedir_vcomponent_get_value_utcoffset (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } } /* Time Zone Offset To (4.8.3.4) */ else if (!g_ascii_strcasecmp (name, "TZOFFSETTO")) { if (priv->tzoffto != 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->tzoffto = mimedir_vcomponent_get_value_utcoffset (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } } /* Time Zone URL (4.8.3.5) */ else if (!g_ascii_strcasecmp (name, "TZURL")) { if (priv->tzurl) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->tzurl = mimedir_attribute_get_value_uri (attr, error); if (!priv->tzurl) return FALSE; } /* * Relationship Properties (RFC 2445, Section 4.8.4) */ /* Attendee (4.8.4.1) */ else if (!g_ascii_strcasecmp (name, "ATTENDEE")) { MIMEDirAttendee *att; att = mimedir_attendee_new_from_attribute (attr, error); if (!att) return FALSE; priv->attendees = g_list_prepend (priv->attendees, att); } /* Contact (4.8.4.2) */ else if (!g_ascii_strcasecmp (name, "CONTACT")) { if (!priv->contact) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->contact = mimedir_attribute_get_value_text (attr, error); } /* Organizer (4.8.4.3) */ else if (!g_ascii_strcasecmp (name, "ORGANIZER")) { /* FIXME: ensure uniqueness */ /* FIXME */ } /* Recurrence ID (4.8.4.4) */ else if (!g_ascii_strcasecmp (name, "RECURRENCE-ID")) { /* FIXME: ensure uniqueness */ /* FIXME */ } /* Related To (4.8.4.5) */ else if (!g_ascii_strcasecmp (name, "RELATED-TO")) { /* FIXME: ensure uniqueness */ /* FIXME */ } /* Uniform Resource Locator (4.8.4.6) */ else if (!g_ascii_strcasecmp (name, "URL")) { /* FIXME: ensure uniqueness */ /* FIXME */ } /* Unique Identifier (4.8.4.7) */ else if (!g_ascii_strcasecmp (name, "UID")) { if (priv->uid) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "UID"); return FALSE; } priv->uid = mimedir_attribute_get_value_text (attr, error); if (!priv->uid) return FALSE; } /* * Recurrence Properties (RFC 2445, Section 4.8.5) */ /* Exception Date/Times (4.8.5.1) */ else if (!g_ascii_strcasecmp (name, "EXDATE")) { /* FIXME: ensure uniqueness */ /* FIXME */ } /* Exception Rule (4.8.5.2) */ else if (!g_ascii_strcasecmp (name, "EXRULE")) { /* FIXME: ensure uniqueness */ /* FIXME */ } /* Recurrence Date/Times (4.8.5.3) */ else if (!g_ascii_strcasecmp (name, "RDATE")) { /* FIXME: ensure uniqueness */ /* FIXME */ } /* Recurrence Rule (4.8.5.4) */ else if (!g_ascii_strcasecmp (name, "RRULE")) { if (priv->recurrence) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } if (!parse_rrule (vcomponent, attr, error)) return FALSE; } /* * Alarm Properties (RFC 2445, Section 4.8.6) */ /* Action (4.8.6.1) */ else if (!g_ascii_strcasecmp (name, "ACTION")) { if (priv->action) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->action = mimedir_attribute_get_value_text (attr, error); if (!priv->action) return FALSE; } /* Repeat Count (4.8.6.2) */ else if (!g_ascii_strcasecmp (name, "REPEAT")) { gint i; if (priv->repeat > 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } i = mimedir_attribute_get_value_int (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } if (i < 0) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, name); return FALSE; } priv->repeat = (guint) i; } /* Trigger (4.8.6.3) */ else if (!g_ascii_strcasecmp (name, "TRIGGER")) { const gchar *par; if (priv->trigger != 0 || priv->trigger_dt || priv->trigger_end) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->trigger_end = FALSE; par = mimedir_attribute_get_parameter_value (attr, "VALUE"); if (par && !g_ascii_strcasecmp (par, "DATE-TIME")) { /* Note: RFC says that is DATE-TIME is specified, value must be in UTC */ priv->trigger_dt = mimedir_attribute_get_value_datetime (attr, error); if (!priv->trigger_dt) return FALSE; } else { priv->trigger = mimedir_vcomponent_get_value_duration (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } par = mimedir_attribute_get_parameter_value (attr, "RELATED"); if (par && !g_ascii_strcasecmp (par, "END")) priv->trigger_end = TRUE; } } /* * Change Management Properties (RFC 2445, Section 4.8.7) */ /* Date/Time Created (4.8.7.1) */ else if (!g_ascii_strcasecmp (name, "CREATED") || !g_ascii_strcasecmp (name, "DCREATED")) { /* compat */ if (priv->created) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->created = mimedir_attribute_get_value_datetime (attr, error); if (!priv->created) return FALSE; if (!(priv->created->flags & MIMEDIR_DATETIME_DATE) || !(priv->created->flags & MIMEDIR_DATETIME_TIME)) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, name); return FALSE; } if (priv->created->timezone != MIMEDIR_DATETIME_UTC) mimedir_datetime_to_utc (priv->created); } /* Date/Time Stamp (4.8.7.2) */ else if (!g_ascii_strcasecmp (name, "DTSTAMP")) { if (priv->dtstamp) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->dtstamp = mimedir_attribute_get_value_datetime (attr, error); if (!priv->dtstamp) return FALSE; if (!(priv->dtstamp->flags & MIMEDIR_DATETIME_DATE) || !(priv->dtstamp->flags & MIMEDIR_DATETIME_TIME)) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, name); return FALSE; } if (priv->dtstamp->timezone != MIMEDIR_DATETIME_UTC) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, name); return FALSE; } } /* Last Modified (4.8.7.3) */ else if (!g_ascii_strcasecmp (name, "LAST-MODIFIED")) { if (priv->last_modified) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->last_modified = mimedir_attribute_get_value_datetime (attr, error); if (!priv->last_modified) return FALSE; if (!(priv->last_modified->flags & MIMEDIR_DATETIME_DATE) || !(priv->last_modified->flags & MIMEDIR_DATETIME_TIME)) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, name); return FALSE; } /* RFC 2445 requires the LAST-MODIFIED field to be in UTC * time format (section 4.8.7.3). Unfortunately some software * does not conform to this requirement. */ if (priv->last_modified->timezone != MIMEDIR_DATETIME_UTC) mimedir_datetime_to_utc (priv->last_modified); } /* Sequence Number (4.8.7.4) */ else if (!g_ascii_strcasecmp (name, "SEQUENCE")) { if (priv->sequence >= 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "SEQUENCE"); return FALSE; } priv->sequence = mimedir_attribute_get_value_int (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } } /* * Miscellaneous Properties (RFC 2445, Section 4.8.8) */ /* Non-Standard Properties (4.8.8.1) handled below */ /* Request Status (4.8.8.2) */ else if (!g_ascii_strcasecmp (name, "REQUEST-STATUS")) { /* FIXME: ensure uniqueness */ /* FIXME */ } /* * Custom Properties */ /* Organization Name (GNOME-PIM 1) */ else if (!g_ascii_strcasecmp (name, "ORGNAME")) { /* FIXME */ } /* Display Alarm (GNOME-PIM 1) */ else if (!g_ascii_strcasecmp (name, "DALARM")) { MIMEDirVAlarm *alarm; GSList *list; list = mimedir_attribute_get_value_structured_text (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } alarm = mimedir_valarm_new (MIMEDIR_VALARM_DISPLAY); /* FIXME: anchor */ priv->alarms = g_list_prepend (priv->alarms, alarm); mimedir_attribute_free_structured_text_list (list); } /* Audio Alarm (GNOME-PIM 1) */ else if (!g_ascii_strcasecmp (name, "AALARM")) { MIMEDirVAlarm *alarm; GSList *list; list = mimedir_attribute_get_value_structured_text (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } alarm = mimedir_valarm_new (MIMEDIR_VALARM_AUDIO); /* FIXME: anchor */ priv->alarms = g_list_prepend (priv->alarms, alarm); mimedir_attribute_free_structured_text_list (list); } /* Program Alarm (GNOME-PIM 1) */ else if (!g_ascii_strcasecmp (name, "PALARM")) { MIMEDirVAlarm *alarm; GSList *list; list = mimedir_attribute_get_value_structured_text (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } alarm = mimedir_valarm_new (MIMEDIR_VALARM_PROCEDURE); /* FIXME: anchor */ priv->alarms = g_list_prepend (priv->alarms, alarm); mimedir_attribute_free_structured_text_list (list); } /* Mail Alarm (GNOME-PIM 1) */ else if (!g_ascii_strcasecmp (name, "MALARM")) { MIMEDirVAlarm *alarm; GSList *list; list = mimedir_attribute_get_value_structured_text (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } alarm = mimedir_valarm_new (MIMEDIR_VALARM_EMAIL); /* FIXME: anchor */ priv->alarms = g_list_prepend (priv->alarms, alarm); mimedir_attribute_free_structured_text_list (list); } /* (GNOME-PIM 1) */ else if (!g_ascii_strcasecmp (name, "X-PILOTID")) { /* FIXME */ } /* (GNOME-PIM 1) */ else if (!g_ascii_strcasecmp (name, "X-PILOTSTAT")) { /* FIXME */ } /* (GNOME-PIM 1) */ else if (!g_ascii_strcasecmp (name, "X-PILOT-NOTIME")) { gint i; i = mimedir_attribute_get_value_int (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } priv->allday = i == 0 ? FALSE : TRUE; } /* Custom Attributes */ else if (!g_ascii_strncasecmp (name, "X-", 2)) g_printerr (_("The profile contains the unsupported custom attribute %s.\n"), name); else g_printerr (_("The profile contains the unknown attribute %s.\n"), name); return TRUE; } /* Create a new FREEBUSY attribute */ static MIMEDirAttribute * mimedir_vcomponent_new_freebusy_attribute (MIMEDirVFreeBusyType fbtype, GSList *slist) { MIMEDirAttribute *attr; attr = mimedir_attribute_new_with_name ("FREEBUSY"); mimedir_attribute_set_value_text_list (attr, slist); if (fbtype != MIMEDIR_VFREEBUSY_BUSY) { const gchar *s; switch (fbtype) { case MIMEDIR_VFREEBUSY_FREE: s = "FREE"; break; case MIMEDIR_VFREEBUSY_BUSY: /* dummy */ break; case MIMEDIR_VFREEBUSY_BUSY_UNAVAILABLE: s = "BUSY-UNAVAILABLE"; break; case MIMEDIR_VFREEBUSY_BUSY_TENTATIVE: s = "BUSY-TENTATIVE"; break; default: g_return_val_if_reached (NULL); } mimedir_attribute_append_parameter_simple (attr, "FBTYPE", s); } return attr; } /* Write FREEBUSY information to the supplied profile */ static void mimedir_vcomponent_write_freebusy (MIMEDirVComponent *vcomponent, MIMEDirProfile *profile) { MIMEDirVComponentPriv *priv; GList *node; GSList *slist = NULL; MIMEDirVFreeBusyType oldfbtype = -1; priv = vcomponent->priv; for (node = priv->freebusy; node != NULL; node = g_list_next (node)) { MIMEDirPeriod *period; MIMEDirVFreeBusyType fbtype; gchar *p; g_assert (MIMEDIR_IS_PERIOD (node->data)); period = MIMEDIR_PERIOD (node->data); g_object_get (G_OBJECT (period), "fbtype", &fbtype, NULL); if (fbtype != oldfbtype) { if (slist) { MIMEDirAttribute *attr; slist = g_slist_reverse (slist); attr = mimedir_vcomponent_new_freebusy_attribute (oldfbtype, slist); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); mimedir_utils_free_string_slist (slist); slist = NULL; } oldfbtype = fbtype; } p = mimedir_period_get_as_mimedir (period); slist = g_slist_prepend (slist, p); } if (slist) { MIMEDirAttribute *attr; slist = g_slist_reverse (slist); attr = mimedir_vcomponent_new_freebusy_attribute (oldfbtype, slist); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); mimedir_utils_free_string_slist (slist); slist = NULL; } } /* * Public Methods */ /** * mimedir_vcomponent_read_from_profile: * @vcomponent: a vComponent object * @profile: a profile object * @error: error storage location or %NULL * * Clears the supplied vComponent object and re-initializes it with data read * from the supplied profile. If an error occurs during the read, @error * will be set and %FALSE will be returned. Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vcomponent_read_from_profile (MIMEDirVComponent *vcomponent, MIMEDirProfile *profile, GError **error) { MIMEDirVComponentPriv *priv; GSList *attrs, *components; g_return_val_if_fail (vcomponent != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), FALSE); g_return_val_if_fail (profile != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); mimedir_vcomponent_reset (vcomponent); priv = vcomponent->priv; attrs = mimedir_profile_get_attribute_list (profile); for (; attrs != NULL; attrs = g_slist_next (attrs)) { MIMEDirAttribute *attr; attr = MIMEDIR_ATTRIBUTE (attrs->data); if (!mimedir_vcomponent_parse_attribute (vcomponent, attr, error)) return FALSE; } /* Read sub-profiles (vAlarms) */ components = mimedir_profile_get_subprofiles (profile); for (; components != NULL; components = g_slist_next (components)) { MIMEDirProfile *profile; gchar *name; profile = MIMEDIR_PROFILE (components->data); g_object_get (G_OBJECT (profile), "name", &name, NULL); if (!g_ascii_strcasecmp (name, "VALARM")) { MIMEDirVAlarm *alarm; alarm = mimedir_valarm_new_from_profile (profile, error); if (!alarm) { g_free (name); return FALSE; } priv->alarms = g_list_prepend(priv->alarms, alarm); } g_free (name); } /* Validity checks */ /* FIXME: dtend must be >= dtstart */ g_signal_emit (G_OBJECT (vcomponent), mimedir_vcomponent_signals[SIGNAL_CHANGED], 0); g_signal_emit (G_OBJECT (vcomponent), mimedir_vcomponent_signals[SIGNAL_ALARMS_CHANGED], 0); return TRUE; } /** * mimedir_vcomponent_write_to_profile: * @vcomponent: a vcomponent * @profile_name: the new profile type * * Saves the vcomponent object to a newly allocated profile object. * * Return value: a new profile **/ MIMEDirProfile * mimedir_vcomponent_write_to_profile (MIMEDirVComponent *vcomponent, const gchar *profile_name) { MIMEDirVComponentPriv *priv; MIMEDirProfile *profile; MIMEDirAttribute *attr; GList *l; g_return_val_if_fail (vcomponent != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), NULL); priv = vcomponent->priv; #if 0 /* FIXME */ if (priv->changed || priv->revision.year == 0) mimedir_vcomponent_update_revision (vcomponent); #endif profile = mimedir_profile_new (profile_name); /* FIXME: required: uid */ /* FIXME: sequence */ /* * Descriptive Properties (RFC 2445, Section 4.8.1) */ /* Attachment (4.8.1.1) */ for (l = priv->attachments; l != NULL; l = g_list_next (l)) { MIMEDirAttachment *attachment; g_assert (l->data != NULL && MIMEDIR_IS_ATTACHMENT (l->data)); attachment = MIMEDIR_ATTACHMENT (l->data); attr = mimedir_attachment_write_to_attribute (attachment); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Categories (4.8.1.2) */ if (priv->categories) { GSList *gsl = NULL; GList *gl; for (gl = priv->categories; gl != NULL; gl = g_list_next (gl)) gsl = g_slist_prepend (gsl, gl->data); gsl = g_slist_reverse (gsl); attr = mimedir_attribute_new_with_name ("CATEGORIES"); mimedir_attribute_set_value_text_list (attr, gsl); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); g_slist_free (gsl); } /* Classification (4.8.1.3) */ attr = NULL; switch (priv->md_class) { case MIMEDIR_CLASS_PUBLIC: break; /* dummy */ case MIMEDIR_CLASS_PRIVATE: attr = mimedir_attribute_new_with_name ("CLASS"); mimedir_attribute_set_value (attr, "PRIVATE"); break; case MIMEDIR_CLASS_CONFIDENTIAL: attr = mimedir_attribute_new_with_name ("CLASS"); mimedir_attribute_set_value (attr, "CONFIDENTIAL"); break; case MIMEDIR_CLASS_CUSTOM: g_assert (priv->md_class_str != NULL); attr = mimedir_attribute_new_with_name ("CLASS"); mimedir_attribute_set_value (attr, priv->md_class_str); break; default: g_assert ("wrong classification"); } if (attr) { mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Comment (4.8.1.4) */ for (l = priv->comment; l != NULL; l = g_list_next (l)) { gchar *comment; g_assert (l->data); comment = (gchar *) l->data; attr = mimedir_attribute_new_with_name ("COMMENT"); mimedir_attribute_set_value_text (attr, comment); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Description (4.8.1.5) */ if (priv->description) { attr = mimedir_attribute_new_with_name ("DESCRIPTION"); mimedir_attribute_set_value_text (attr, priv->description); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Geographic Position (4.8.1.6) */ if (priv->latitude != 0.0 || priv->longitude != 0.0) { GSList *list = NULL; gdouble lat, lon; lat = priv->latitude; lon = priv->longitude; list = g_slist_append (list, &lat); list = g_slist_append (list, &lon); attr = mimedir_attribute_new_with_name ("GEO"); mimedir_attribute_set_value_float_list (attr, list); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); g_slist_free (list); } /* Location (4.8.1.7) */ if (priv->location) { attr = mimedir_attribute_new_with_name ("LOCATION"); mimedir_attribute_set_value_text (attr, priv->location); if (priv->location_alt) mimedir_attribute_append_parameter_simple (attr, "altrep", priv->location_alt); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Percent Complete (4.8.1.8) */ if (priv->percent != -1) { attr = mimedir_attribute_new_with_name ("PERCENT-COMPLETE"); mimedir_attribute_set_value_int (attr, priv->percent); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Priority (4.8.1.9) */ if (priv->priority > 0) { attr = mimedir_attribute_new_with_name ("PRIORITY"); mimedir_attribute_set_value_int (attr, priv->priority); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Resources (4.8.1.10) */ if (priv->resources) { GSList *list = NULL; GList *node; for (node = priv->resources; node != NULL; node = g_list_next (node)) list = g_slist_prepend (list, node->data); list = g_slist_reverse (list); attr = mimedir_attribute_new_with_name ("RESOURCES"); mimedir_attribute_set_value_text_list (attr, list); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Status (4.8.1.11) */ if (priv->status != MIMEDIR_STATUS_UNKNOWN) { const gchar *s; switch (priv->status) { case MIMEDIR_STATUS_CANCELLED: s = "CANCELLED"; break; case MIMEDIR_STATUS_TENTATIVE: s = "TENTATIVE"; break; case MIMEDIR_STATUS_CONFIRMED: s = "CONFIRMED"; break; case MIMEDIR_STATUS_NEEDS_ACTION: s = "NEEDS-ACTION"; break; case MIMEDIR_STATUS_COMPLETED: s = "COMPLETED"; break; case MIMEDIR_STATUS_IN_PROCESS: s = "IN-PROCESS"; break; case MIMEDIR_STATUS_DRAFT: s = "DRAFT"; break; case MIMEDIR_STATUS_FINAL: s = "FINAL"; break; default: g_return_val_if_reached (NULL); } attr = mimedir_attribute_new_with_name ("STATUS"); mimedir_attribute_set_value (attr, s); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Summary (4.8.1.12) */ if (priv->summary) { attr = mimedir_attribute_new_with_name ("SUMMARY"); mimedir_attribute_set_value_text (attr, priv->summary); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* * Date and Time Properties (RFC 2445, Section 4.8.2) */ /* Date/Time Completed (4.8.2.1) */ if (priv->dtcompleted && mimedir_datetime_is_valid (priv->dtcompleted)) { attr = mimedir_attribute_new_with_name ("COMPLETED"); mimedir_attribute_set_value_datetime (attr, priv->dtcompleted); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Date/Time End (4.8.2.2) */ if (priv->dtend && mimedir_datetime_is_valid (priv->dtend)) { attr = mimedir_attribute_new_with_name ("DTEND"); mimedir_attribute_set_value_datetime (attr, priv->dtend); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Date/Time Due (4.8.2.3) */ if (priv->due && mimedir_datetime_is_valid (priv->due)) { attr = mimedir_attribute_new_with_name ("DUE"); mimedir_attribute_set_value_datetime (attr, priv->due); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Date/Time Start (4.8.2.4) */ if (priv->dtstart && mimedir_datetime_is_valid (priv->dtstart)) { attr = mimedir_attribute_new_with_name ("DTSTART"); mimedir_attribute_set_value_datetime (attr, priv->dtstart); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Duration (4.8.2.5) */ if (priv->duration > 0) { attr = mimedir_attribute_new_with_name ("DURATION"); mimedir_vcomponent_set_value_duration (attr, priv->duration); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Free/Busy Time (4.8.2.6) */ if (priv->freebusy) mimedir_vcomponent_write_freebusy (vcomponent, profile); /* Time Transparency (4.8.2.7) */ if (!priv->opaque) { attr = mimedir_attribute_new_with_name ("TRANSP"); mimedir_attribute_set_value (attr, "TRANSPARENT"); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* * Time Zone Properties (RFC 2445, Section 4.8.3) */ /* Time Zone Identifier (4.8.3.1) */ if (priv->tzid) { attr = mimedir_attribute_new_with_name ("TZID"); mimedir_attribute_set_value (attr, priv->tzid); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Time Zone Name (4.8.3.2) */ for (l = priv->tznames; l != NULL; l = g_list_next (l)) { attr = mimedir_attribute_new_with_name ("TZNAME"); mimedir_attribute_set_value_text (attr, (gchar *) l->data); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Time Zone Offset From (4.8.3.3) */ if (MIMEDIR_IS_VTIMEZONE (vcomponent)) { attr = mimedir_attribute_new_with_name ("TZOFFSETFROM"); mimedir_vcomponent_set_value_utcoffset (attr, priv->tzofffrom); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Time Zone Offset To (4.8.3.4) */ if (MIMEDIR_IS_VTIMEZONE (vcomponent)) { attr = mimedir_attribute_new_with_name ("TZOFFSETTO"); mimedir_vcomponent_set_value_utcoffset (attr, priv->tzoffto); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Time Zone URL (4.8.3.5) */ if (priv->tzurl) { attr = mimedir_attribute_new_with_name ("TZURL"); mimedir_attribute_set_value_uri (attr, priv->tzurl); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* * Relationship Properties (RFC 2445, Section 4.8.4) */ /* Attendee (4.8.4.1) */ for (l = priv->attendees; l != NULL; l = g_list_next (l)) { MIMEDirAttendee *att; att = l->data; g_assert (att != NULL && MIMEDIR_IS_ATTENDEE (att)); attr = mimedir_attendee_write_to_attribute (att); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Contact (4.8.4.2) */ if (priv->contact) { attr = mimedir_attribute_new_with_name ("CONTACT"); mimedir_attribute_set_value_text (attr, priv->contact); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Organizer (4.8.4.3) */ /* FIXME */ /* Recurrence ID (4.8.4.4) */ /* FIXME */ /* Related To (4.8.4.5) */ /* FIXME */ /* Uniform Resource Locator (4.8.4.6) */ /* FIXME */ /* Unique Identifier (4.8.4.7) */ if (priv->uid) { attr = mimedir_attribute_new_with_name ("UID"); mimedir_attribute_set_value_text (attr, priv->uid); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* * Recurrence Properties (RFC 2445, Section 4.8.5) */ /* Exception Date/Times (4.8.5.1) */ /* FIXME */ /* Exception Rule (4.8.5.2) */ /* FIXME */ /* Recurrence Date/Times (4.8.5.3) */ /* FIXME */ /* Recurrence Rule (4.8.5.4) */ if (priv->recurrence) { gchar *rrule_s; attr = mimedir_attribute_new_with_name ("RRULE"); rrule_s = mimedir_recurrence_write_to_string (priv->recurrence); mimedir_attribute_set_value_text_unescaped (attr, rrule_s); g_free (rrule_s); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* * Alarm Properties (RFC 2445, Section 4.8.6) */ /* Action (4.8.6.1) */ if (priv->action) { attr = mimedir_attribute_new_with_name ("ACTION"); mimedir_attribute_set_value_text (attr, priv->action); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Repeat Count (4.8.6.2) */ if (priv->repeat > 0) { attr = mimedir_attribute_new_with_name ("REPEAT"); mimedir_attribute_set_value_int (attr, (gint) priv->repeat); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Trigger (4.8.6.3) */ if (!g_ascii_strcasecmp (profile_name, "VALARM")) { attr = mimedir_attribute_new_with_name ("TRIGGER"); if (priv->trigger_dt) { mimedir_attribute_append_parameter_simple (attr, "VALUE", "DATE-TIME"); mimedir_attribute_set_value_datetime (attr, priv->trigger_dt); } else { mimedir_vcomponent_set_value_duration (attr, priv->trigger); if (priv->trigger_end) mimedir_attribute_append_parameter_simple (attr, "RELATED", "END"); } mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* * Change Management Properties (RFC 2445, Section 4.8.7) */ /* Date/Time Created (4.8.7.1) */ if (priv->created) { attr = mimedir_attribute_new_with_name ("CREATED"); mimedir_attribute_set_value_datetime (attr, priv->created); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Date/Time Stamp (4.8.7.2) */ if (priv->dtstamp) { attr = mimedir_attribute_new_with_name ("DTSTAMP"); mimedir_attribute_set_value_datetime (attr, priv->dtstamp); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Last Modified (4.8.7.3) */ if (priv->last_modified) { attr = mimedir_attribute_new_with_name ("LAST-MODIFIED"); mimedir_attribute_set_value_datetime (attr, priv->last_modified); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Sequence Number (4.8.7.4) */ if (priv->sequence >= 0) { attr = mimedir_attribute_new_with_name ("SEQUENCE"); mimedir_attribute_set_value_int (attr, priv->sequence); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* * Miscellaneous Properties (RFC 2445, Section 4.8.8) */ /* Non-Standard Properties (4.8.8.1) handled below */ /* Request Status (4.8.8.2) */ /* FIXME */ /* * Alarms */ for (l = priv->alarms; l != NULL; l = g_list_next (l)) { MIMEDirVAlarm *alarm; MIMEDirProfile *prof; g_assert (l->data != NULL && MIMEDIR_IS_VALARM (l->data)); alarm = MIMEDIR_VALARM (l->data); prof = mimedir_vcomponent_write_to_profile (MIMEDIR_VCOMPONENT (alarm), "VALARM"); mimedir_profile_append_subprofile (profile, prof); g_object_unref (G_OBJECT (prof)); } /* * Finish */ priv->changed = FALSE; return profile; } static void mimedir_vcomponent_add_category_to_string (gpointer data, gpointer user_data) { GString *string; const gchar *text; g_return_if_fail (data != NULL); g_return_if_fail (user_data != NULL); text = (const gchar *) data; string = (GString *) user_data; if (string->str[0] != '\0') g_string_append (string, ", "); g_string_append (string, text); } /** * mimedir_vcomponent_set_attachment_list: * @vcomponent: a #MIMEDirVComponent object * @list: #GList of #MIMEDirAttachment objects * * Sets the list of attachments of @vcomponent to @list, freeing the old list. **/ void mimedir_vcomponent_set_attachment_list (MIMEDirVComponent *vcomponent, GList *list) { g_return_if_fail (vcomponent != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent)); mimedir_utils_free_object_list (vcomponent->priv->attachments); vcomponent->priv->attachments = mimedir_utils_copy_object_list (list); } /** * mimedir_vcomponent_get_attachment_list: * @vcomponent: a #MIMEDirVComponent object * * Returns the list of attachments of @vcomponent. This list is to be * considered read-only and must not be altered in any way. * * Return value: read-only #GList of #MIMEDirAttachment objects **/ GList * mimedir_vcomponent_get_attachment_list (MIMEDirVComponent *vcomponent) { g_return_val_if_fail (vcomponent != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), NULL); return vcomponent->priv->attachments; } /** * mimedir_vcomponent_get_categories_as_string: * @vcomponent: a #MIMEDirVComponent object * * Returns the categories of this object as a human-readable, * comma-separated string. The returned string should be freed * with g_free(). * * Return value: a human-readable string **/ gchar * mimedir_vcomponent_get_categories_as_string (MIMEDirVComponent *vcomponent) { GString *string; g_return_val_if_fail (vcomponent != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), NULL); string = g_string_new (""); g_list_foreach (vcomponent->priv->categories, mimedir_vcomponent_add_category_to_string, string); return g_string_free (string, FALSE); } /** * mimedir_vcomponent_set_classification: * @vcomponent: a #MIMEDirVComponent object * @classification: the new security classification * @klass: textual security classficiation * * Sets the new security classification to @classification. If and only if * the classification is %MIMEDIR_CLASS_CUSTOM @klass must be pointing to * a string to use as security classification. Be sure you know what you're * doing when using %MIMEDIR_CLASS_CUSTOM! **/ void mimedir_vcomponent_set_classification (MIMEDirVComponent *vcomponent, MIMEDirClassification classification, const gchar *klass) { g_return_if_fail (vcomponent != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent)); g_return_if_fail (classification >= MIMEDIR_CLASS_PUBLIC && classification <= MIMEDIR_CLASS_CUSTOM); g_return_if_fail (classification == MIMEDIR_CLASS_CUSTOM || klass == NULL); g_return_if_fail (classification != MIMEDIR_CLASS_CUSTOM || klass != NULL); vcomponent->priv->md_class = classification; g_free (vcomponent->priv->md_class_str); vcomponent->priv->md_class_str = g_strdup (klass); } /** * mimedir_vcomponent_get_classification: * @vcomponent: a #MIMEDirVComponent object * @klass: pointer to a string storage location or %NULL * * Returns the component's security classification. If the class ist * %MIMEDIR_CLASS_CUSTOM and @klass is not %NULL, @klass will be filled * to point to a string that signifies the security classification. * * Return value: the security classification **/ MIMEDirClassification mimedir_vcomponent_get_classification (MIMEDirVComponent *vcomponent, const gchar **klass) { g_return_val_if_fail (vcomponent != NULL, MIMEDIR_CLASS_PUBLIC); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), MIMEDIR_CLASS_PUBLIC); if (vcomponent->priv->md_class == MIMEDIR_CLASS_CUSTOM) { g_assert (vcomponent->priv->md_class_str != NULL); if (klass) *klass = g_strdup (vcomponent->priv->md_class_str); } return vcomponent->priv->md_class; } /** * mimedir_vcomponent_set_geopos: * @vcomponent: a #MIMEDirVComponent object * @latitude: latitude from -90 to +90 degrees * @longitude: longitude from -180 to + 180 degrees * * Sets this component's geographic position to @latitude/@longitude. **/ void mimedir_vcomponent_set_geopos (MIMEDirVComponent *vcomponent, gdouble latitude, gdouble longitude) { g_return_if_fail (vcomponent != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent)); g_return_if_fail (latitude >= -90.0 && latitude <= 90.0); g_return_if_fail (longitude >= -180.0 && longitude <= 180.0); vcomponent->priv->latitude = latitude; vcomponent->priv->longitude = longitude; } /** * mimedir_vcomponent_get_geopos: * @vcomponent: a #MIMEDirVComponent object * @latitude: pointer to a #gdouble value or %NULL * @longitude: pointer to a #gdouble value or %NULL * * Sets @latitude and @longitude to the component's geographical position. **/ void mimedir_vcomponent_get_geopos (MIMEDirVComponent *vcomponent, gdouble *latitude, gdouble *longitude) { g_return_if_fail (vcomponent != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent)); if (latitude) *latitude = vcomponent->priv->latitude; if (longitude) *longitude = vcomponent->priv->longitude; } /** * mimedir_vcomponent_set_location: * @vcomponent: a #MIMEDirVComponent object * @location: location specification or %NULL * @uri: optional alternate URI or %NULL * * Sets the venue, such as a conference or meeting room. @uri, if not %NULL, * points to an alternate representation such as an web site or an LDAP * entry. * * If @location is %NULL the property will be unset. In this case, @uri * must be %NULL as well. **/ void mimedir_vcomponent_set_location (MIMEDirVComponent *vcomponent, const gchar *location, const gchar *uri) { MIMEDirVComponentPriv *priv; g_return_if_fail (vcomponent != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent)); g_return_if_fail (location != NULL || uri == NULL); priv = vcomponent->priv; g_free (priv->location); g_free (priv->location_alt); priv->location = g_strdup (location); priv->location_alt = uri ? g_strdup (uri) : NULL; } /** * mimedir_vcomponent_get_location: * @vcomponent: a #MIMEDirVComponent object * @uri: uri storage pointer or %NULL * * Retrieves the venue, such as a conference or meeting room. If this property * is not set, %NULL will be returned. * * If @uri is not %NULL, it will be set to an URI to an alternate * representation (if one was set). If no alternate representation URI * was given, @uri will be set to %NULL. * * Return value: location string or %NULL **/ const gchar * mimedir_vcomponent_get_location (MIMEDirVComponent *vcomponent, const gchar **uri) { MIMEDirVComponentPriv *priv; g_return_val_if_fail (vcomponent != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), NULL); priv = vcomponent->priv; if (uri) *uri = priv->location_alt; return priv->location; } /** * mimedir_vcomponent_set_opaque: * @vcomponent: a #MIMEDirVComponent object * @opaque: %TRUE or %FALSE * * Sets whether an event is to be considered opaque or transparent. A * transparent event does not consume time on the calendar. **/ void mimedir_vcomponent_set_opaque (MIMEDirVComponent *vcomponent, gboolean opaque) { g_return_if_fail (vcomponent != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent)); vcomponent->priv->opaque = opaque ? TRUE : FALSE; } /** * mimedir_vcomponent_get_opaque: * @vcomponent: a #MIMEDirVComponent object * * Returns whether an event is opaque or transparent. Transparent events * do not consume time on the calendar. * * Return value: a boolean value **/ gboolean mimedir_vcomponent_get_opaque (MIMEDirVComponent *vcomponent) { g_return_val_if_fail (vcomponent != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), FALSE); return vcomponent->priv->opaque; } /** * mimedir_vcomponent_set_allday: * @vcomponent: a #MIMEDirVComponent object * @allday: %TRUE or %FALSE * * Set the allday flag to @allday. **/ void mimedir_vcomponent_set_allday (MIMEDirVComponent *vcomponent, gboolean allday) { g_return_if_fail (vcomponent != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent)); vcomponent->priv->allday = allday; } /** * mimedir_vcomponent_get_allday: * @vcomponent: a #MIMEDirVComponent object * * Return %TRUE if the event lasts a whole day, %FALSE otherwise. * * Return value: %TRUE or %FALSE **/ gboolean mimedir_vcomponent_get_allday (MIMEDirVComponent *vcomponent) { g_return_val_if_fail (vcomponent != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), FALSE); if (vcomponent->priv->allday) return TRUE; return FALSE; /* FIXME: check date/time boundaries */ } /** * mimedir_vcomponent_set_alarm_list: * @vcomponent: a #MIMEDirVComponent object * @list: a #GList pointer * * Sets the list of alarms of this component. **/ void mimedir_vcomponent_set_alarm_list (MIMEDirVComponent *vcomponent, const GList *list) { g_return_if_fail (vcomponent != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent)); mimedir_utils_free_object_list (vcomponent->priv->alarms); vcomponent->priv->alarms = mimedir_utils_copy_object_list (list); g_signal_emit (G_OBJECT (vcomponent), mimedir_vcomponent_signals[SIGNAL_ALARMS_CHANGED], 0); } /** * mimedir_vcomponent_get_alarm_list: * @vcomponent: a #MIMEDirVComponent object * * Returns all alarms of this component. The list must not be modified * by the caller. The #MIMEDirVAlarm objects in this list must be * g_object_ref()'ed when they are to be used by the caller. * * Return value: a #GList containing #MIMEDirVAlarm objects **/ const GList * mimedir_vcomponent_get_alarm_list (MIMEDirVComponent *vcomponent) { g_return_val_if_fail (vcomponent != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), NULL); return vcomponent->priv->alarms; } /** * mimedir_vcomponent_set_attendee_list: * @vcomponent: a #MIMEDirVComponent object * @list: a #GList pointer * * Sets the list of attendees for this component. **/ void mimedir_vcomponent_set_attendee_list (MIMEDirVComponent *vcomponent, const GList *list) { g_return_if_fail (vcomponent != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent)); mimedir_utils_free_object_list (vcomponent->priv->attendees); vcomponent->priv->attendees = mimedir_utils_copy_object_list (list); g_signal_emit (G_OBJECT (vcomponent), mimedir_vcomponent_signals[SIGNAL_CHANGED], 0); } /** * mimedir_vcomponent_get_attendee_list: * @vcomponent: a #MIMEDirVComponent object * * Returns the list of attendees to this particular component. * * Return value: a #GList containing #MIMEDirAttendee objects **/ const GList * mimedir_vcomponent_get_attendee_list (MIMEDirVComponent *vcomponent) { g_return_val_if_fail (vcomponent != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), NULL); return vcomponent->priv->attendees; } /** * mimedir_vcomponent_does_recur: * @vcomponent: a #MIMEDirVComponent object * * Return %TRUE if the component has an associated recurrence object. * * Return value: %TRUE or %FALSE **/ gboolean mimedir_vcomponent_does_recur (MIMEDirVComponent *vcomponent) { g_return_val_if_fail (vcomponent != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), FALSE); return vcomponent->priv->recurrence != NULL; } /** * mimedir_vcomponent_set_recurrence: * @vcomponent: a #MIMEDirVComponent object * @recurrence: a #MIMEDirRecurrence object or %NULL * * Sets the recurrence information for @vcomponent. If @recurrence is * %NULL, this component does not recur. **/ void mimedir_vcomponent_set_recurrence (MIMEDirVComponent *vcomponent, MIMEDirRecurrence *recurrence) { g_return_if_fail (vcomponent != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent)); g_return_if_fail (recurrence == NULL || MIMEDIR_IS_RECURRENCE (recurrence)); if (vcomponent->priv->recurrence) { g_object_unref (G_OBJECT (vcomponent->priv->recurrence)); vcomponent->priv->recurrence = NULL; } if (recurrence) { g_object_ref (G_OBJECT (recurrence)); vcomponent->priv->recurrence = recurrence; } } /** * mimedir_vcomponent_get_recurrence: * @vcomponent: a #MIMEDirVComponent object * * Returns the recurrence object associated with this component or %NULL * if there is no recurrence object. * * Return value: a #MIMEDirRecurrence object or %NULL **/ MIMEDirRecurrence * mimedir_vcomponent_get_recurrence (MIMEDirVComponent *vcomponent) { g_return_val_if_fail (vcomponent != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), NULL); return vcomponent->priv->recurrence; } /** * mimedir_vcomponent_get_next_occurence: * @vcomponent: a #MIMEDirVComponent object * @after: a #MIMEDirDateTime object * * Returns the first occurence of this component after or at the date * specified by the @after argument. If @after is %NULL, the very first * occurence is returned. If there is no occurence after the specified date, * %NULL is returned. * * Return value: a #MIMEDirDateTime object or %NULL **/ MIMEDirDateTime * mimedir_vcomponent_get_next_occurence (MIMEDirVComponent *vcomponent, MIMEDirDateTime *after) { g_return_val_if_fail (vcomponent != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), NULL); g_return_val_if_fail (after != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_DATETIME (after), NULL); /* FIXME */ return NULL; } /** * mimedir_vcomponent_get_occurences_between: * @vcomponent: a #MIMEDirVComponent object * @start: start time * @end: end time, may be %NULL * * Return a list of #MIMEDirDateTime objects that specify the start and * end dates of all occurences of @vcomponent that overlap with the time * interval between @start and @end. If @end is %NULL, all occurences that * intersect with @start are returned. * * Every second element in the list may be %NULL in which case there is * no end time for the occurence. * * The returned list should be freed with mimedir_vcomponent_free_occurences(). * * Return value: a #GList containing #MIMEDirDateTime objects **/ GList * mimedir_vcomponent_get_occurences_between (MIMEDirVComponent *vcomponent, MIMEDirDateTime *start, MIMEDirDateTime *end) { MIMEDirDateTime *dtstart, *dtend; GDate start_gd, end_gd, dtstart_gd, dtend_gd; GList *list = NULL; g_return_val_if_fail (vcomponent != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), NULL); g_return_val_if_fail (start != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_DATETIME (start), NULL); g_return_val_if_fail (end == NULL || MIMEDIR_IS_DATETIME (end), NULL); g_object_get (G_OBJECT (vcomponent), "dtstart", &dtstart, "dtend", &dtend, NULL); mimedir_datetime_get_gdate (dtstart, &dtstart_gd); mimedir_datetime_get_gdate (dtend, &dtend_gd); mimedir_datetime_get_gdate (start, &start_gd); mimedir_datetime_get_gdate (end, &end_gd); if (g_date_compare (&dtstart_gd, &dtend_gd) > 0) return NULL; /* FIXME: handle recurrence */ if (g_date_compare (&dtstart_gd, &end_gd) > 0 || g_date_compare (&dtend_gd, &start_gd) < 0) return NULL; g_object_ref (G_OBJECT (dtstart)); g_object_ref (G_OBJECT (dtend)); list = g_list_prepend (list, dtstart); list = g_list_prepend (list, dtend); list = g_list_reverse (list); return list; } /** * mimedir_vcomponent_free_occurences: * @list: a #GList as returned by mimedir_vcomponent_get_occurences_between() * * Frees a #GList as returned by mimedir_vcomponent_get_occurences_between(). **/ void mimedir_vcomponent_free_occurences (GList *list) { GList *l; if (!list) return; for (l = list; l != NULL; l = g_list_next (l)) { if (l->data) { g_assert (MIMEDIR_IS_DATETIME (l->data)); g_object_unref (G_OBJECT (l->data)); } } g_list_free (list); } libmimedir-0.4.2/mimedir/mimedir-vjournal.h0000644000175000017500000000472210603540660015643 00000000000000/* RFC 2445 vJournal MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vjournal.h 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_VJOURNAL_H__ #define __MIMEDIR_VJOURNAL_H__ #include #include #include "mimedir-profile.h" #include "mimedir-vcomponent.h" #define MIMEDIR_TYPE_VJOURNAL (mimedir_vjournal_get_type()) #define MIMEDIR_VJOURNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_VJOURNAL, MIMEDirVJournal)) #define MIMEDIR_VJOURNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_VJOURNAL, MIMEDirVJournalClass)) #define MIMEDIR_IS_VJOURNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_VJOURNAL)) #define MIMEDIR_IS_VJOURNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_VJOURNAL)) typedef struct _MIMEDirVJournal MIMEDirVJournal; typedef struct _MIMEDirVJournalClass MIMEDirVJournalClass; typedef struct _MIMEDirVJournalPriv MIMEDirVJournalPriv; struct _MIMEDirVJournal { MIMEDirVComponent parent; MIMEDirVJournalPriv *priv; }; struct _MIMEDirVJournalClass { MIMEDirVComponentClass parent_class; }; GType mimedir_vjournal_get_type (void); MIMEDirVJournal *mimedir_vjournal_new (void); MIMEDirVJournal *mimedir_vjournal_new_from_profile (MIMEDirProfile *profile, GError **error); gboolean mimedir_vjournal_read_from_profile (MIMEDirVJournal *vjournal, MIMEDirProfile *profile, GError **error); MIMEDirProfile *mimedir_vjournal_write_to_profile (MIMEDirVJournal *vjournal); gboolean mimedir_vjournal_write_to_channel (MIMEDirVJournal *vjournal, GIOChannel *channel, GError **error); gchar *mimedir_vjournal_write_to_string (MIMEDirVJournal *vjournal); #endif /* __MIMEDIR_VJOURNAL_H__ */ libmimedir-0.4.2/mimedir/mimedir-vcal.h0000644000175000017500000000635210603540660014731 00000000000000/* RFC 2445 iCalendar MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vcal.h 185 2005-03-01 03:01:49Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_VCAL_H__ #define __MIMEDIR_VCAL_H__ #include #include #include "mimedir-profile.h" #include "mimedir-vcomponent.h" #define MIMEDIR_VCAL_ERROR mimedir_vcal_error_quark () typedef enum { MIMEDIR_VCAL_ERROR_UNKNOWN_SCALE } MIMEDirVCalError; #define MIMEDIR_VCAL_ERROR_UNKNOWN_SCALE_STR _("unknown calendar scale %s") #define MIMEDIR_TYPE_VCAL (mimedir_vcal_get_type()) #define MIMEDIR_VCAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_VCAL, MIMEDirVCal)) #define MIMEDIR_VCAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_VCAL, MIMEDirVCalClass)) #define MIMEDIR_IS_VCAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_VCAL)) #define MIMEDIR_IS_VCAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_VCAL)) typedef struct _MIMEDirVCal MIMEDirVCal; typedef struct _MIMEDirVCalClass MIMEDirVCalClass; typedef struct _MIMEDirVCalPriv MIMEDirVCalPriv; struct _MIMEDirVCal { GObject parent; MIMEDirVCalPriv *priv; }; struct _MIMEDirVCalClass { GObjectClass parent_class; void (* changed) (MIMEDirVCal *cal); }; GQuark mimedir_vcal_error_quark (void); GList *mimedir_vcal_read_file (const gchar *filename, GError **error); GList *mimedir_vcal_read_channel (GIOChannel *channel, GError **error); void mimedir_vcal_free_list (GList *list); GType mimedir_vcal_get_type (void); MIMEDirVCal *mimedir_vcal_new (void); MIMEDirVCal *mimedir_vcal_new_from_profile (MIMEDirProfile *profile, GError **error); gboolean mimedir_vcal_read_from_profile (MIMEDirVCal *vcal, MIMEDirProfile *profile, GError **error); MIMEDirProfile *mimedir_vcal_write_to_profile (MIMEDirVCal *vcal); gboolean mimedir_vcal_write_to_file (MIMEDirVCal *vcal, const gchar *filename, GError **error); gboolean mimedir_vcal_write_to_channel (MIMEDirVCal *vcal, GIOChannel *channel, GError **error); gchar *mimedir_vcal_write_to_string (MIMEDirVCal *vcal); GSList *mimedir_vcal_get_component_list (MIMEDirVCal *vcal); GSList *mimedir_vcal_get_event_list (MIMEDirVCal *vcal); GSList *mimedir_vcal_get_todo_list (MIMEDirVCal *vcal); void mimedir_vcal_free_component_list (GSList *list); void mimedir_vcal_add_component (MIMEDirVCal *vcal, MIMEDirVComponent *component); void mimedir_vcal_add_component_list (MIMEDirVCal *vcal, GList *list); #endif /* __MIMEDIR_VCAL_H__ */ libmimedir-0.4.2/mimedir/mimedir-attribute.c0000644000175000017500000021767310605221623016011 00000000000000/* RFC 2425 MIME Directory Attribute Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-attribute.c 257 2006-08-15 21:16:18Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include "mimedir-attribute.h" #include "mimedir-utils.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif enum { PROP_NAME = 1, PROP_GROUP }; typedef struct _MIMEDirParameter { gchar *name; GSList *values; } MIMEDirParameter; static void mimedir_attribute_class_init (MIMEDirAttributeClass *klass); static void mimedir_attribute_init (MIMEDirAttribute *attribute); static void mimedir_attribute_dispose (GObject *object); static void mimedir_attribute_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); static void mimedir_attribute_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); static void mimedir_attribute_free_parameter (MIMEDirParameter *parameter); struct _MIMEDirAttributePriv { MIMEDirAttributeType type; MIMEDirAttributeEncoding encoding; gchar *charset; gchar *name; gchar *group; GString *value; GSList *parameters; }; static GObjectClass *parent_class = NULL; /* * Class and Object Management */ GType mimedir_attribute_get_type (void) { static GType mimedir_attribute_type = 0; if (!mimedir_attribute_type) { static const GTypeInfo mimedir_attribute_info = { sizeof (MIMEDirAttributeClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_attribute_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirAttribute), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_attribute_init, }; mimedir_attribute_type = g_type_register_static (G_TYPE_OBJECT, "MIMEDirAttribute", &mimedir_attribute_info, 0); } return mimedir_attribute_type; } static void mimedir_attribute_class_init (MIMEDirAttributeClass *klass) { GObjectClass *gobject_class; GParamSpec *pspec; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_attribute_dispose; gobject_class->set_property = mimedir_attribute_set_property; gobject_class->get_property = mimedir_attribute_get_property; parent_class = g_type_class_peek_parent (klass); /* Properties */ pspec = g_param_spec_string ("name", _("Name"), _("The attribute's name"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_NAME, pspec); pspec = g_param_spec_string ("group", _("Group"), _("The attribute's group"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_GROUP, pspec); } static void mimedir_attribute_init (MIMEDirAttribute *attribute) { g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); attribute->priv = g_new0 (MIMEDirAttributePriv, 1); attribute->priv->charset = g_strdup ("utf-8"); attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_UNKNOWN; attribute->priv->value = g_string_new (NULL); } static void mimedir_attribute_dispose (GObject *object) { MIMEDirAttribute *attribute; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (object)); attribute = MIMEDIR_ATTRIBUTE (object); if (attribute->priv) { GSList *list; g_free (attribute->priv->charset); g_free (attribute->priv->group); g_free (attribute->priv->name); g_string_free (attribute->priv->value, TRUE); for (list = attribute->priv->parameters; list != NULL; list = g_slist_next (list)) mimedir_attribute_free_parameter ((MIMEDirParameter *) list->data); g_slist_free (attribute->priv->parameters); g_free (attribute->priv); } G_OBJECT_CLASS (parent_class)->dispose (object); } static void mimedir_attribute_set_property_string (gchar **dest, const GValue *value) { const gchar *string; string = g_value_get_string (value); g_free (*dest); *dest = g_strdup (string); } static void mimedir_attribute_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec) { MIMEDirAttributePriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (object)); priv = MIMEDIR_ATTRIBUTE (object)->priv; switch (property_id) { case PROP_NAME: { const gchar *s; s = g_value_get_string (value); if (!mimedir_utils_is_token (s)) { g_critical ("invalid name"); return; } mimedir_attribute_set_property_string (&priv->name, value); break; } case PROP_GROUP: { const gchar *s; s = g_value_get_string (value); if (!mimedir_utils_is_token (s)) { g_critical ("invalid group name"); return; } mimedir_attribute_set_property_string (&priv->group, value); break; } default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } } static void mimedir_attribute_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec) { MIMEDirAttributePriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (object)); priv = MIMEDIR_ATTRIBUTE (object)->priv; switch (property_id) { case PROP_NAME: g_value_set_string (value, priv->name); break; case PROP_GROUP: g_value_set_string (value, priv->group); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } } /* * Coding Functions */ #if 0 /* Convert an integer value in the range 0 <= i <= 63 to the appropriate * Base64 character. */ static gchar base64_int_to_char (guint i) { g_assert (i <= 63); if (i <= 25) return i + 'A'; else if (i <= 51) return i + 'a' - 26; else if (i <= 61) return i + '0' - 52; else if (i == 62) return '+'; else /* i == 63 */ return '/'; } #endif /* Convert a Base64 character to the appropriate int value 0 <= i <= 63. If * the supplied character is the Base64 fill character '=', return 64. If * the supplied character is not a valid Base64 character, return 65. */ static guint base64_char_to_int (gchar c) { if (c >= 'A' && c <= 'Z') return c - 'A'; else if (c >= 'a' && c <= 'z') return c - 'a' + 26; else if (c >= '0' && c <= '9') return c - '0' + 52; else if (c == '+') return 62; else if (c == '/') return 63; else if (c == '=') return 64; return 65; } /* This is an ad-hoc check for Base64 encoding. It takes a * string as input, which is supposed to be the first line of an * attribute. If this line contains either the property ENCODING=b * or the property ENCODING=BASE64, this function returns TRUE, * otherwise it returns FALSE. * * This hack is needed, because Base64 encoded attributes break the normal * line folding mechanism. */ static gboolean base64_check (const gchar *line) { GString *token; guint mode; gboolean res; token = g_string_new (""); mode = 0; /* 0: parsing attribute name; 1: parsing property */ for (; *line != '\0'; line++) { if (*line == ':') break; else if (*line == ';') { if (mode == 1) { if (!g_ascii_strcasecmp (token->str, "ENCODING=b") || !g_ascii_strcasecmp (token->str, "ENCODING=BASE64")) { g_string_free (token, TRUE); return TRUE; } g_string_free (token, TRUE); token = g_string_new (""); } else mode = 1; } else if (mode == 1) g_string_append_c (token, *line); } res = g_ascii_strcasecmp (token->str, "ENCODING=b") == 0 || g_ascii_strcasecmp (token->str, "ENCODING=BASE64") == 0; g_string_free (token, TRUE); return res; } #if 0 static gchar * base64_encode (const gchar *string, GError **error) { GString *encoded; const gchar *buffer = string; gsize size = strlen (string); encoded = g_string_sized_new (size * 4 / 3 + 4); for (; size > 0; size -= size > 3 ? 3 : size, buffer += 3) { guint8 s1, s2, s3; guint c1, c2, c3, c4; s1 = (guint8) buffer[0]; s2 = (guint8) size >= 2 ? buffer[1] : 0; s3 = (guint8) size >= 3 ? buffer[2] : 0; c1 = s1 >> 2; c2 = ((s1 % 0x04) << 4) + (s2 >> 4); c3 = ((s2 % 0x10) << 2) + (s3 >> 6); c4 = s3 % 0x40; g_string_append_c (encoded, base64_int_to_char (c1)); g_string_append_c (encoded, base64_int_to_char (c2)); g_string_append_c (encoded, size >= 2 ? base64_int_to_char (c3) : '='); g_string_append_c (encoded, size >= 3 ? base64_int_to_char (c4) : '='); } return g_string_free (encoded, FALSE); } #endif /* Decode the supplied Base64 string. Return a newly allocated buffer that * must be freed by the called using g_free(). If there are errors while * decoding the string, return NULL and set error accordingly. */ static gchar * base64_decode (const gchar *string, GError **error) { GString *decoded; const gchar *buffer = string; gsize size = strlen (string); decoded = g_string_sized_new (size * 3 / 4 + 3); for (; size >= 4; size -= 4, buffer += 4) { int i; guint is[4]; /* decoded characters */ guint8 c1, c2, c3; for (i = 0; i < 4; i++) is[i] = base64_char_to_int (buffer[i]); /* The first two characters of each four character block * must not be '='. */ if (is[0] > 63 || is[1] > 63 || is[2] > 64 || is[3] > 64) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64, MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64_STR); g_string_free (decoded, TRUE); return NULL; } c1 = (is[0] << 2) + (is[1] >> 4); c2 = ((is[1] % 0x10) << 4) + (is[2] == 0x40 ? 0 : (is[2] >> 2)); c3 = (is[2] == 0x40 ? 0 : ((is[2] % 4) << 6)) + (is[3] == 0x40 ? 0 : is[3]); g_string_append_c (decoded, c1); if (is[2] != 64) g_string_append_c (decoded, c2); if (is[2] != 64 && is[3] != 64) g_string_append_c (decoded, c3); } return g_string_free (decoded, FALSE); } /* This is an ad-hoc check for quoted-printable encoding. It takes a * string as input, which is supposed to be the first line of an * attribute. If this line contains either the property QUOTED-PRINTABLE * or the property ENCODING=QUOTED-PRINTABLE, this function returns TRUE, * otherwise it returns FALSE. * * This hack is needed, because QP encoded attributes break the normal * line folding mechanism. */ static gboolean qp_check (const gchar *line) { GString *token; guint mode; gboolean res; token = g_string_new (""); mode = 0; for (; *line != '\0'; line++) { if (*line == ':') break; else if (*line == ';') { if (mode == 1) { if (!g_ascii_strcasecmp (token->str, "QUOTED-PRINTABLE") || !g_ascii_strcasecmp (token->str, "ENCODING=QUOTED-PRINTABLE")) { g_string_free (token, TRUE); return TRUE; } g_string_free (token, TRUE); token = g_string_new (""); } else mode = 1; } else if (mode == 1) g_string_append_c (token, *line); } res = g_ascii_strcasecmp (token->str, "QUOTED-PRINTABLE") == 0 || g_ascii_strcasecmp (token->str, "ENCODING=QUOTED-PRINTABLE") == 0; g_string_free (token, TRUE); return res; } /* This function is a hack. It assumes that the QP-coded string is in the * current locale and converts it to UTF-8. Also it strips all carriage * returns from the string to streamline it. This means that it is not * possible to use QP to encode binary data. (It's not thought for that, * so I hope nobody had that idea.) */ static gchar * qp_decode (const gchar *string, GError **error) { GString *s; const gchar *text; text = string; s = g_string_new (NULL); while (text[0] != '\0') { gchar c; if (text[0] == '=') { text++; if (text[0] >= 'A' && text[0] <= 'F') c = (text[0] - 'A' + 10) << 4; else if (text[0] >= 'a' && text[0] <= 'f') c = (text[0] - 'a' + 10) << 4; else if (text[0] >= '0' && text[0] <= '9') c = (text[0] - '0') << 4; else { g_string_free (s, TRUE); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP, MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP_STR); return NULL; } text++; if (text[0] >= 'A' && text[0] <= 'F') c |= text[0] - 'A' + 10; else if (text[0] >= 'a' && text[0] <= 'f') c |= text[0] - 'a' + 10; else if (text[0] >= '0' && text[0] <= '9') c |= text[0] - '0'; else { g_string_free (s, TRUE); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP, MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP_STR); return NULL; } text++; } else { c = text[0]; text++; } if (c != '\r') g_string_append_c (s, c); } return g_string_free (s, FALSE); } /* * Utility Functions */ static void mimedir_attribute_free_parameter (MIMEDirParameter *parameter) { g_free (parameter->name); g_free (parameter); } static gchar * escape (const gchar *text, GError **error) { GString *string; g_return_val_if_fail (error == NULL || *error == NULL, NULL); string = g_string_new (""); for (; text[0] != '\0'; text++) { switch (text[0]) { case ';': g_string_append (string, "\\;"); break; case ',': g_string_append (string, "\\,"); break; case '\\': g_string_append (string, "\\\\"); break; case '\r': /* ignore */ break; case '\n': g_string_append (string, "\\n"); break; default: if ((text[0] > 0x00 && text[0] < '\t') || (text[0] > '\t' && text[0] < ' ') || (text[0] == 0x7f)) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR, MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR_STR, text[0], "text"); return FALSE; } g_string_append_c (string, text[0]); break; } } return g_string_free (string, FALSE); } static gchar * unescape (const gchar *text, GError **error) { GString *string; g_return_val_if_fail (error == NULL || *error == NULL, NULL); string = g_string_new (""); for (; text[0] != '\0'; text++) { switch (text[0]) { case '\\': text++; switch (text[0]) { case 'n': case 'N': g_string_append_c (string, '\n'); break; default: if ((text[0] > 0x00 && text[0] < '\t') || (text[0] > '\t' && text[0] < ' ') || (text[0] == 0x7f)) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR, MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR_STR, text[0], "text"); return NULL; } g_string_append_c (string, text[0]); break; } break; case '\r': /* ignore */ break; case '\n': g_string_append_c (string, text[0]); break; default: if ((text[0] > 0x00 && text[0] < '\t') || (text[0] > '\t' && text[0] < ' ') || (text[0] == 0x7f)) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR, MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR_STR, text[0], "text"); return NULL; } g_string_append_c (string, text[0]); break; } } return g_string_free (string, FALSE); } static GSList * split_quoted_string (const gchar *s, gchar c) { GSList *list = NULL; GString *str = g_string_new (""); while (*s != '\0') { if (*s == c) { list = g_slist_prepend (list, g_string_free (str, FALSE)); str = g_string_new (""); } else { g_string_append_c (str, *s); } s++; } list = g_slist_prepend (list, g_string_free (str, FALSE)); list = g_slist_reverse (list); return list; } /* * Private Methods */ static MIMEDirParameter * mimedir_attribute_get_parameter (MIMEDirAttribute *attribute, const gchar *name) { GSList *list; for (list = attribute->priv->parameters; list != NULL; list = g_slist_next (list)) { MIMEDirParameter *parameter; parameter = (MIMEDirParameter *) list->data; if (g_ascii_strcasecmp (parameter->name, name) == 0) return parameter; } return NULL; } static gboolean mimedir_attribute_internal_append_parameter (MIMEDirAttribute *attribute, const gchar *name, GSList *values, GError **error) { MIMEDirParameter *parameter; GSList *l; g_return_val_if_fail (error == NULL || *error == NULL, FALSE); if (!g_ascii_strcasecmp (name, "encoding")) { if (g_slist_length (values) != 1) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE, MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE_STR, name, attribute->priv->name); return FALSE; } if (!g_ascii_strcasecmp ((const gchar *) values->data, "b") || !g_ascii_strcasecmp ((const gchar *) values->data, "base64")) attribute->priv->encoding = MIMEDIR_ATTRIBUTE_ENCODING_BASE64; else if (!g_ascii_strcasecmp ((const gchar *) values->data, "quoted-printable")) attribute->priv->encoding = MIMEDIR_ATTRIBUTE_ENCODING_QP; } else if (!g_ascii_strcasecmp (name, "value")) { if (g_slist_length (values) != 1) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE, MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE_STR, name, attribute->priv->name); return FALSE; } if (!g_ascii_strcasecmp ((const gchar *) values->data, "uri")) attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_URI; else if (!g_ascii_strcasecmp ((const gchar *) values->data, "text")) attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_TEXT; else if (!g_ascii_strcasecmp ((const gchar *) values->data, "date")) attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_DATE; else if (!g_ascii_strcasecmp ((const gchar *) values->data, "time")) attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_TIME; else if (!g_ascii_strcasecmp ((const gchar *) values->data, "date-time")) attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_DATETIME; else if (!g_ascii_strcasecmp ((const gchar *) values->data, "integer")) attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_INTEGER; else if (!g_ascii_strcasecmp ((const gchar *) values->data, "boolean")) attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_BOOLEAN; else if (!g_ascii_strcasecmp ((const gchar *) values->data, "float")) attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_FLOAT; } parameter = mimedir_attribute_get_parameter (attribute, name); if (!parameter) { parameter = g_new0 (MIMEDirParameter, 1); parameter->name = g_strdup (name); attribute->priv->parameters = g_slist_append (attribute->priv->parameters, parameter); } for (l = values; l != NULL; l = g_slist_next (l)) { const gchar *s = (const gchar *) l->data; if (!mimedir_utils_is_qsafe (s)) { g_critical ("invalid character in parameter value"); return FALSE; } parameter->values = g_slist_append (parameter->values, g_strdup (s)); } return TRUE; } /* * Parsing */ static gchar * get_next_token (const gchar *line, gsize *len) { GString *string; if (len) *len = 0; string = g_string_new (NULL); while ((line[0] >= 'A' && line[0] <= 'Z') || (line[0] >= 'a' && line[0] <= 'z') || (line[0] >= '0' && line[0] <= '9') || line[0] == '-') { g_string_append_c (string, line[0]); if (len) *len += 1; line++; } if (!string->str || string->str[0] == '\0') { g_string_free (string, TRUE); return NULL; } return g_string_free (string, FALSE); } static gchar * decode_attribute_value (MIMEDirAttribute *attribute, const gchar *string, GError **error) { gchar *s, *str; switch (attribute->priv->encoding) { case MIMEDIR_ATTRIBUTE_ENCODING_NONE: s = g_strdup (string); break; case MIMEDIR_ATTRIBUTE_ENCODING_BASE64: s = base64_decode (string, error); if (!s) return NULL; break; case MIMEDIR_ATTRIBUTE_ENCODING_QP: s = qp_decode (string, error); if (!s) return NULL; break; default: g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING, MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING_STR, attribute->priv->name); return NULL; } g_assert (s != NULL); str = g_convert (s, strlen (s), "utf-8", attribute->priv->charset, NULL, NULL, error); g_free (s); return str; } static ssize_t get_line (const gchar *string, GString *dst) { const gchar *end; gboolean empty; ssize_t pos = 0; do { const gchar *end_n, *end_r; end_n = strchr (string + pos, '\n'); end_r = strchr (string + pos, '\r'); if (end_r != NULL && end_r < end_n) end = end_r; else end = end_n; if (end) { ssize_t len; len = (ssize_t) (end - string - pos); if (len == 0) { empty = TRUE; } else { g_string_append_len (dst, string + pos, len); pos += len; empty = FALSE; } if (string[pos] == '\r' && string[pos + 1] == '\n') pos++; pos++; } else { g_string_append (dst, string + pos); pos = strlen (string); empty = FALSE; } } while (empty); return pos; } static ssize_t get_attribute_string (const gchar *string, GString *gstring) { ssize_t pos; gboolean qp; gboolean basesixfour; g_string_truncate (gstring, 0); /* Retrieve initial line */ pos = get_line (string, gstring); qp = qp_check (gstring->str); basesixfour = base64_check (gstring->str); /* Retrieve folded lines */ for (;;) { if (qp) { g_assert (gstring->len >= 1); if (gstring->str[gstring->len - 1] != '=') break; gstring->str[gstring->len - 1] = '\0'; gstring->len--; if (string[pos] == ' ' || string[pos] == '\t') pos++; } else if (basesixfour) { if (string[pos] == ' ' || string[pos] == '\t') pos++; else if (string[pos] == '\r' || string[pos] == '\n') break; else if (string[pos] == '\0') break; } else { /* If next byte is not a white space, we're done */ if (string[pos] != ' ' && string[pos] != '\t') break; pos++; } pos += get_line (string + pos, gstring); } return pos; } static GSList * parse_parameter_list (const gchar *string, gsize *_pos, gchar terminator, gboolean no_name_allowed, GError **error) { GSList *list = NULL; gsize pos = *_pos; gchar c; if (string[pos] == terminator) return NULL; do { gchar *param_name, *param_value = NULL; gsize len; /* Read parameter name */ param_name = get_next_token (string + pos, &len); pos += len; if (len == 0) { g_free (param_name); mimedir_attribute_free_string_list (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR, _("missing parameter name")); return NULL; } /* Read parameter value list */ if (string[pos] == '=') { GString *s = g_string_new (NULL); pos++; if (string[pos] == '"') { pos++; while (string[pos] == ' ' || string[pos] == '\t' || string[pos] == '!' || (string[pos] >= '#' && string[pos] <= '~') || string[pos] < 0) { g_string_append_c (s, string[pos]); pos++; } if (string[pos] != '"') { g_string_free (s, TRUE); g_free (param_name); mimedir_attribute_free_string_list (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR, _("missing closing quotation mark")); return NULL; } pos++; } else { while (string[pos] == ' ' || string[pos] == '\t' || string[pos] == '!' || (string[pos] >= '#' && string[pos] <= ':') || (string[pos] >= '<' && string[pos] <= '~') || string[pos] < 0) { if (string[pos] == terminator) break; g_string_append_c (s, string[pos]); pos++; } } param_value = g_string_free (s, FALSE); } c = string[pos++]; if (c != terminator && c != ';') { g_free (param_name); mimedir_attribute_free_string_list (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR, _("wrong parameter syntax")); return NULL; } /* Append parameter to list */ if (param_value == NULL) { if (!no_name_allowed) { g_free (param_name); mimedir_attribute_free_string_list (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR, _("no parameter value")); return NULL; } param_value = param_name; param_name = NULL; } list = g_slist_prepend (list, param_name); list = g_slist_prepend (list, param_value); } while (c != terminator); pos--; list = g_slist_reverse (list); *_pos = pos; g_assert (g_slist_length (list) % 2 == 0); return list; } static gboolean parse_attribute_parameters (MIMEDirAttribute *attr, const gchar *string, gsize *_pos, GError **error) { GSList *list, *current; GError *err = NULL; gsize pos = *_pos; if (string[pos] != ';') return TRUE; pos++; list = parse_parameter_list (string, &pos, ':', TRUE, &err); if (err) { g_propagate_error (error, err); return FALSE; } for (current = list; current != NULL; current = g_slist_next (current)) { const gchar *param_name, *param_value; GSList *param_list = NULL; param_name = (const gchar *) current->data; current = g_slist_next (current); g_assert (current != NULL); param_value = (const gchar *) current->data; if (param_value[0] != '\0') param_list = split_quoted_string (param_value, ','); /* Backwards compatibility: Handle parameters without name. */ if (param_name == NULL) { param_list = g_slist_append (param_list, g_strdup (param_value)); /* If the parameter name is QUOTED-PRINTABLE, * the real parameter name is ENCODING. */ if (!g_ascii_strcasecmp (param_value, "QUOTED-PRINTABLE")) param_name = g_strdup ("ENCODING"); /* Otherwise we assume that the name is TYPE. */ else param_name = g_strdup ("TYPE"); } mimedir_attribute_internal_append_parameter (attr, param_name, param_list, &err); } mimedir_attribute_free_string_list (list); *_pos = pos; return TRUE; } static gboolean parse_attribute (MIMEDirAttribute *attr, const gchar *string, GError **error) { MIMEDirAttributePriv *priv = attr->priv; gchar *token; gsize pos = 0, len; /* Read group/name */ token = get_next_token (string + pos, &len); pos += len; if (len == 0) { g_free (token); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR, _("missing attribute name/group")); return FALSE; } g_free (priv->group); priv->group = NULL; if (string[pos] == '.') { priv->group = token; pos++; token = get_next_token (string + pos, &len); pos += len; if (len == 0) { g_free (token); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR, _("no attribute name after group")); return FALSE; } } g_free (priv->name); priv->name = token; /* Read parameters */ if (!parse_attribute_parameters (attr, string, &pos, error)) return FALSE; /* Read value */ if (string[pos] != ':') { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR, _("missing value delimiter")); return FALSE; } pos++; { GString *s; gchar *str; s = g_string_new (NULL); while (string[pos] != '\0') { if ((string[pos] >= 0 && string[pos] < '\t') || (string[pos] > '\t' && string[pos] < ' ') || string[pos] == 127) { g_string_free (s, TRUE); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR, _("invalid character")); return FALSE; } g_string_append_c (s, string[pos]); pos++; } /* Decode value */ str = decode_attribute_value (attr, s->str, error); if (!str) { g_string_free (s, TRUE); return FALSE; } g_string_free (priv->value, TRUE); g_string_assign (s, str); priv->value = s; g_free (str); } return TRUE; } /* * Public Methods */ GQuark mimedir_attribute_error_quark (void) { static gchar qs[] = "mimedir-attribute-error-quark"; return g_quark_from_static_string (qs); } /** * mimedir_attribute_new: * * Create a new #MIMEDirAttribute object. * * Return value: the new #MIMEDirAttribute object **/ MIMEDirAttribute * mimedir_attribute_new (void) { return g_object_new (MIMEDIR_TYPE_ATTRIBUTE, NULL); } /** * mimedir_attribute_new_with_name: * @name: attribute name * * Create a new #MIMEDirAttribute object with the supplied attribute name. * * Return value: the new #MIMEDirAttribute object **/ MIMEDirAttribute * mimedir_attribute_new_with_name (const gchar *name) { MIMEDirAttribute *attribute; g_return_val_if_fail (name != NULL && mimedir_utils_is_token (name), NULL); attribute = g_object_new (MIMEDIR_TYPE_ATTRIBUTE, NULL); g_free (attribute->priv->name); attribute->priv->name = g_strdup (name); return attribute; } /** * mimedir_attribute_get_name: * @attribute: a #MIMEDirAttribute * * Returns the name of the attribute. * * Return value: the attribute name **/ const gchar * mimedir_attribute_get_name (MIMEDirAttribute *attribute) { g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); return attribute->priv->name; } /** * mimedir_attribute_set_group: * @attribute: a #MIMEDirAttribute * @group: new group name or %NULL * * Sets the name of the attribute to @group. If @group is %NULL the * attribute will not belong to any group. **/ void mimedir_attribute_set_group (MIMEDirAttribute *attribute, const gchar *group) { g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); g_return_if_fail (group == NULL || mimedir_utils_is_token (group)); g_free (attribute->priv->group); if (group) attribute->priv->group = g_strdup (group); else attribute->priv->group = NULL; } /** * mimedir_attribute_get_group: * @attribute: a #MIMEDirAttribute * * Returns the group of the attribute. A %NULL value means that the attribute * does not belong to a group. * * Return value: the attribute group or %NULL **/ const gchar * mimedir_attribute_get_group (MIMEDirAttribute *attribute) { g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); return attribute->priv->group; } /** * mimedir_attribute_set_charset: * @attribute: a #MIMEDirAttribute * @charset: character set for encoding/decoding this attribute * * Sets the character set that should be used to encode or decode this * attribute. Defaults to "utf-8". */ void mimedir_attribute_set_charset (MIMEDirAttribute *attribute, const gchar *charset) { g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); g_return_if_fail (charset != NULL); g_free (attribute->priv->charset); attribute->priv->charset = g_strdup (charset); } /** * mimedir_attribute_get_charset: * @attribute: a #MIMEDirAttribute * * Returns the character set that is used to encode or decode this attribute. * * Return value: the character set for encoding/decoding this attribute */ const gchar * mimedir_attribute_get_charset (MIMEDirAttribute *attribute) { g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); return attribute->priv->charset; } /** * mimedir_attribute_append_parameter: * @attribute: a #MIMEDirAttribute * @name: parameter name * @values: list of parameter values * * Appends a parameter to an attribute. If a parameter with the same * name does already exist, the values are appended to it. **/ void mimedir_attribute_append_parameter (MIMEDirAttribute *attribute, const gchar *name, GSList *values) { GError *error = NULL; g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); g_return_if_fail (name != NULL && mimedir_utils_is_token (name)); g_return_if_fail (values != NULL); /* there must be at least one value */ mimedir_attribute_internal_append_parameter (attribute, name, values, &error); g_assert (error == NULL); } /** * mimedir_attribute_append_parameter_simple: * @attribute: a #MIMEDirAttribute * @name: parameter name * @value: parameter value * * Appends a parameter to an attribute. If a parameter with the same * name does already exist, the value is appended to it. **/ void mimedir_attribute_append_parameter_simple (MIMEDirAttribute *attribute, const gchar *name, const gchar *value) { GError *error = NULL; GSList *list = NULL; g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); g_return_if_fail (name != NULL && mimedir_utils_is_token (name)); g_return_if_fail (value != NULL && mimedir_utils_is_qsafe (value)); list = g_slist_append (list, (gchar *) value); mimedir_attribute_internal_append_parameter (attribute, name, list, &error); if (error) g_critical ("error while appending parameter: %s", error->message); g_slist_free (list); } /** * mimedir_attribute_has_parameter: * @attribute: a #MIMEDirAttribute * @parameter: parameter name * * Returns %TRUE if the attribute possesses the given parameter. Otherwise * %FALSE is returned. * * Return value: possession indicator **/ gboolean mimedir_attribute_has_parameter (MIMEDirAttribute *attribute, const gchar *parameter) { g_return_val_if_fail (attribute != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), FALSE); g_return_val_if_fail (parameter != NULL, FALSE); return mimedir_attribute_get_parameter (attribute, parameter) != NULL; } /** * mimedir_attribute_get_parameter_values: * @attribute: a #MIMEDirAttribute * @parameter: parameter name * * Returns the list of string values for the given parameter. If the * attribute does not possess the parameter, %NULL is returned. Otherwise * the list has at least one element. This list must be freed with * mimedir_attribute_free_parameter_values(). * * Return value: the value list or %NULL **/ GSList * mimedir_attribute_get_parameter_values (MIMEDirAttribute *attribute, const gchar *parameter) { MIMEDirParameter *p; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (parameter != NULL, FALSE); p = mimedir_attribute_get_parameter (attribute, parameter); if (p) return p->values; else return NULL; } /** * mimedir_attribute_get_parameter_value: * @attribute: a #MIMEDirAttribute * @parameter: parameter name * * Returns the value for the given parameter. If the attribute does not * possess the parameter, %NULL is returned. * * Return value: the value or %NULL **/ const gchar * mimedir_attribute_get_parameter_value (MIMEDirAttribute *attribute, const gchar *parameter) { MIMEDirParameter *p; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (parameter != NULL, FALSE); p = mimedir_attribute_get_parameter (attribute, parameter); if (p && p->values) return (gchar *) p->values->data; else return NULL; } /** * mimedir_attribute_free_parameter_values: * @attribute: a #MIMEDirAttribute * @list: the value list * * Frees an parameter list as obtained through * mimedir_attribute_get_parameter_values(). **/ void mimedir_attribute_free_parameter_values (MIMEDirAttribute *attribute, GSList *list) { g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); /* no op */ } /** * mimedir_attribute_set_value: * @attribute: a #MIMEDirAttribute * @value: the value to set * * Sets the attribute value literally to the given value; no interpretation * or manipulation of the value is done. **/ void mimedir_attribute_set_value (MIMEDirAttribute *attribute, const gchar *value) { g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); g_return_if_fail (value != NULL); g_string_free (attribute->priv->value, TRUE); attribute->priv->value = g_string_new (value); // FIXME: encode } /** * mimedir_attribute_get_value: * @attribute: a #MIMEDirAttribute * * Retrieves the attribute value literally from the attribute object. * This is guaranteed to be an UTF-8 string. * * Return value: the attribute value **/ const gchar * mimedir_attribute_get_value (MIMEDirAttribute *attribute) { g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_assert (attribute->priv->value != NULL); return attribute->priv->value->str; } /** * mimedir_attribute_set_value_data: * @attribute: a #MIMEDirAttribute * @value: the value to set * @len: length of data * * Sets the attribute value to the given value. **/ void mimedir_attribute_set_value_data (MIMEDirAttribute *attribute, const gchar *value, gssize len) { g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); g_return_if_fail (value != NULL); g_string_free (attribute->priv->value, TRUE); attribute->priv->value = g_string_new_len (value, len); // FIXME: encode with base64 } /** * mimedir_attribute_get_value_data: * @attribute: a #MIMEDirAttribute * @len: pointer to a storage for the data length or %NULL * * Retrieves the attribute value literally from the attribute object as raw * data. Free the returned value with g_free(). * * Return value: the attribute value **/ gchar * mimedir_attribute_get_value_data (MIMEDirAttribute *attribute, gssize *len) { g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_assert (attribute->priv->value != NULL); if (len) *len = attribute->priv->value->len; return g_memdup (attribute->priv->value->str, attribute->priv->value->len); } void mimedir_attribute_set_value_uri (MIMEDirAttribute *attribute, const gchar *uri) { g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); g_return_if_fail (uri != NULL); g_string_free (attribute->priv->value, TRUE); attribute->priv->value = g_string_new (uri); attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_URI; } gchar * mimedir_attribute_get_value_uri (MIMEDirAttribute *attribute, GError **error) { g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_assert (attribute->priv->value != NULL); return g_strdup (attribute->priv->value->str); } /** * mimedir_attribute_set_value_text: * @attribute: a #MIMEDirAttribute * @text: the text to set * * Sets the value of the attribute to a single text value. **/ void mimedir_attribute_set_value_text (MIMEDirAttribute *attribute, const gchar *text) { GError *err = NULL; gchar *value = NULL; g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); g_return_if_fail (text != NULL); value = escape (text, &err); if (err) { g_critical ("value contains invalid characters"); return; } mimedir_attribute_set_value_text_unescaped (attribute, value); g_free (value); } /** * mimedir_attribute_set_value_text_unescaped: * @attribute: a #MIMEDirAttribute * @text: the text to set * * Sets the value of the attribute to a single text value without escaping * characters like ",",".", etc. **/ void mimedir_attribute_set_value_text_unescaped (MIMEDirAttribute *attribute, const gchar *text) { GError *err = NULL; g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); g_return_if_fail (text != NULL); g_string_free (attribute->priv->value, TRUE); attribute->priv->value = g_string_new (text); attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_TEXT; } /** * mimedir_attribute_get_value_text: * @attribute: a #MIMEDirAttribute * @error: error storage location or %NULL * * Tries to parse the value of an attribute as a single text value * and returns it. The returned string should be freed with g_free(). * If the attribute value can't be interpreted as text, @error will be * set and %NULL will be returned. * * Return value: the text value or %NULL **/ gchar * mimedir_attribute_get_value_text (MIMEDirAttribute *attribute, GError **error) { const gchar *data; gchar *s; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_assert (attribute->priv->value != NULL); data = mimedir_attribute_get_value (attribute); if (!data) return NULL; s = unescape (data, error); return s; } static gboolean append_value_text (MIMEDirAttribute *attribute, GString *string, const gchar *text, gboolean escape_semicolon) { if (!text) return TRUE; for (; text[0] != '\0'; text++) { switch (text[0]) { case ',': g_string_append (string, "\\,"); break; case ';': if (escape_semicolon) g_string_append (string, "\\;"); else g_string_append (string, ";"); break; case '\\': g_string_append (string, "\\\\"); break; case '\n': g_string_append (string, "\\n"); break; default: if ((text[0] > 0x00 && text[0] < '\t') || (text[0] > '\t' && text[0] < ' ') || (text[0] == 0x7f)) return FALSE; g_string_append_c (string, text[0]); break; } } return TRUE; } /** * mimedir_attribute_set_value_text_list: * @attribute: a #MIMEDirAttribute * @list: list of string pointers * * Sets the attribute to a list of comma-separated text values. **/ void mimedir_attribute_set_value_text_list (MIMEDirAttribute *attribute, GSList *list) { GString *string; g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); string = g_string_new (""); for (; list != NULL; list = g_slist_next (list)) { if (!append_value_text (attribute, string, (const gchar *) list->data, FALSE)) { g_critical ("text value contains invalid characters"); return; } if (list->next) g_string_append_c (string, ','); } g_string_free (attribute->priv->value, TRUE); attribute->priv->value = string; attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_TEXT; } /** * mimedir_attribute_get_value_text_list: * @attribute: a #MIMEDirAttribute * @error: error storage location or %NULL * * Tries to parse the value of an attribute as a comma-separated list of * text values and returns the list. The returned list should be freed * with mimedir_attribute_free_text_list(). If the attribute value can't * be interpreted as text list, @error will be set and %NULL will be * returned. * * Return value: the text list or %NULL **/ GSList * mimedir_attribute_get_value_text_list (MIMEDirAttribute *attribute, GError **error) { GSList *list = NULL; GString *string; const gchar *data, *text; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_assert (attribute->priv->value != NULL); data = mimedir_attribute_get_value (attribute); if (!data) return NULL; text = data; string = g_string_new (""); for (; text[0] != '\0'; text++) { switch (text[0]) { case '\\': text++; switch (text[0]) { case '\\': g_string_append_c (string, '\\'); break; case ',': g_string_append_c (string, ','); break; case 'n': case 'N': g_string_append_c (string, '\n'); break; default: if ((text[0] > 0x00 && text[0] < '\t') || (text[0] > '\t' && text[0] < ' ') || (text[0] == 0x7f)) { g_string_free (string, TRUE); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR, MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR_STR, text[0], "text"); return NULL; } g_string_append_c (string, text[0]); break; } break; case ',': list = g_slist_append (list, g_string_free (string, FALSE)); string = g_string_new (""); break; case '\r': /* ignore */ break; case '\n': g_string_append_c (string, text[0]); break; default: if ((text[0] > 0x00 && text[0] < '\t') || (text[0] > '\t' && text[0] < ' ') || (text[0] == 0x7f)) { g_string_free (string, TRUE); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR, MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR_STR, text[0], "text"); return NULL; } g_string_append_c (string, text[0]); break; } } list = g_slist_append (list, g_string_free (string, FALSE)); return list; } static void mimedir_attribute_append_tz_to_string (GString *string, gint16 timezone) { switch (timezone) { case MIMEDIR_DATETIME_NOTZ: /* do nothing */ break; case MIMEDIR_DATETIME_UTC: g_string_append_c (string, 'Z'); break; default: if (timezone < -1500 || timezone > 1500) g_critical ("Invalid time zone specification"); g_string_append_c (string, timezone >= 0 ? '+' : '-'); g_string_append_printf (string, "%04d", timezone); break; } } /** * mimedir_attribute_set_value_datetime: * @attribute: a #MIMEDirAttribute * @datetime: a #MIMEDirDateTime * * Sets the attribute's value to the supplied date and time. **/ void mimedir_attribute_set_value_datetime (MIMEDirAttribute *attribute, MIMEDirDateTime *datetime) { GSList *l = NULL; g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); g_return_if_fail (datetime != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (datetime)); l = g_slist_append (l, datetime); mimedir_attribute_set_value_datetime_list (attribute, l); g_slist_free (l); } /** * mimedir_attribute_get_value_datetime: * @attribute: a #MIMEDirAttribute * @error: error storage location or %NULL * * Tries to interpret the attribute's value as a single date/time value. * It honors the VALUE parameter if it is set. A newly allocated * #MIMEDirDateTime object will be returned. It is set to the date * and time read. If an error occurs, @error will be set and %NULL * will be returned. Otherwise the returned object must be freed with * g_object_unref(). * * Return value: a newly allocated #MIMEDirDateTime object **/ MIMEDirDateTime * mimedir_attribute_get_value_datetime (MIMEDirAttribute *attribute, GError **error) { GError *err = NULL; MIMEDirDateTime *dt; GSList *list; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); list = mimedir_attribute_get_value_datetime_list (attribute, &err); if (err) { g_propagate_error (error, err); return NULL; } if (g_slist_length (list) != 1) { mimedir_attribute_free_datetime_list (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, mimedir_attribute_get_name (attribute)); return NULL; } g_assert (MIMEDIR_IS_DATETIME (list->data)); dt = MIMEDIR_DATETIME (list->data); g_object_ref (G_OBJECT (dt)); mimedir_attribute_free_datetime_list (list); return dt; } /** * mimedir_attribute_set_value_datetime_list: * @attribute: an #MIMEDirAttribute * @list: a list of #MIMEDirDateTime pointers * * Sets the attribute's value to a comma-separated list of times and dates. **/ void mimedir_attribute_set_value_datetime_list (MIMEDirAttribute *attribute, GSList *list) { GString *string; MIMEDirDateTime *dt; MIMEDirDateTimeFlags flags; g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); if (!list->data) { g_critical ("MIMEDirDateTime list must contain at least one element.\n"); return; } g_return_if_fail (list->data != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (list->data)); dt = MIMEDIR_DATETIME (list->data); flags = dt->flags; if ((dt->flags & (MIMEDIR_DATETIME_DATE | MIMEDIR_DATETIME_TIME)) == 0) { g_critical ("MIMEDirDateTime object %p has neither date nor time.\n", dt); return; } string = g_string_new (""); for (; list != NULL; list = g_slist_next (list)) { g_return_if_fail (list->data != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (list->data)); dt = MIMEDIR_DATETIME (list->data); if (dt->flags != flags) { g_critical ("All MIMEDirDateTime object must have the same date/time configuration.\n"); return; } if (string->str[0] != '\0') g_string_append_c (string, ','); if ((flags & (MIMEDIR_DATETIME_DATE | MIMEDIR_DATETIME_TIME)) == (MIMEDIR_DATETIME_DATE | MIMEDIR_DATETIME_TIME)) { g_string_append_printf (string, "%04d%02d%02dT%02d%02d%02d", dt->year, dt->month, dt->day, dt->hour, dt->minute, dt->second); mimedir_attribute_append_tz_to_string (string, dt->timezone); } else if (flags & MIMEDIR_DATETIME_DATE) { g_string_append_printf (string, "%02d%02d%02d", dt->year, dt->month, dt->day); } else { g_string_append_printf (string, "%02d%02d%02d", dt->hour, dt->minute, dt->second); mimedir_attribute_append_tz_to_string (string, dt->timezone); } } g_string_free (attribute->priv->value, TRUE); attribute->priv->value = string; attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_DATETIME; } /** * mimedir_attribute_get_value_datetime_list: * @attribute: a #MIMEDirAttribute * @error: error storage location or %NULL * * Tries to parse the value of an attribute as a comma-separated list of * date and time values and returns the list. The returned list should be * freed with mimedir_attribute_free_datetime_list(). If the attribute * value can't be interpreted as date/time list, @error will be set and * %NULL will be returned. * * Return value: a list of #MIMEDirDateTime pointers **/ GSList * mimedir_attribute_get_value_datetime_list (MIMEDirAttribute *attribute, GError **error) { GSList *list = NULL; const gchar *text; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_assert (attribute->priv->value != NULL); text = attribute->priv->value->str; for (;;) { MIMEDirDateTime *dt; gsize pos; gchar *s; /* Skip leading white space */ for (; g_ascii_isspace (text[0]); text++) ; /* Find date end */ for (pos = 0; !g_ascii_isspace (text[pos]) && text[pos] != ',' && text[pos] != '\0'; pos++) ; s = g_strndup (text, pos); text += pos; /* Parse date */ dt = mimedir_datetime_new_parse (s); g_free (s); if (!dt) { mimedir_utils_free_object_slist (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "date/time", attribute->priv->name); return NULL; } list = g_slist_append (list, dt); /* Skip trailing white space */ for (; g_ascii_isspace (text[0]); text++) ; if (text[0] == '\0') break; else if (text[0] != ',') { mimedir_utils_free_object_slist (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, attribute->priv->name); return NULL; } } return list; } /** * mimedir_attribute_free_datetime_list: * @list: a #GSList * * Frees a list of #MIMEDirAttributeDateTime pointers as returned by * mimedir_attribute_get_value_datetime_list(). **/ void mimedir_attribute_free_datetime_list (GSList *list) { GSList *item; for (item = list; item != NULL; item = g_slist_next (item)) { g_return_if_fail (MIMEDIR_IS_DATETIME (list->data)); g_object_unref (G_OBJECT (list->data)); } g_slist_free (list); } /** * mimedir_attribute_set_value_bool: * @attribute: a #MIMEDirAttribute * @b: boolean value * * Sets the attribute's value to a boolean value. **/ void mimedir_attribute_set_value_bool (MIMEDirAttribute *attribute, gboolean b) { g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); g_string_free (attribute->priv->value, TRUE); attribute->priv->value = g_string_new (b ? "TRUE" : "FALSE"); attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_BOOLEAN; } /** * mimedir_attribute_get_value_bool: * @attribute: a #MIMEDirAttribute * @error: error storage location or %NULL * * Tries to parse the value of an attribute as a boolean value and returns. * it. If the attribute value can't be interpreted as boolean value, @error * will be set and %NULL will be returned. * * Return value: a boolean value **/ gboolean mimedir_attribute_get_value_bool (MIMEDirAttribute *attribute, GError **error) { g_return_val_if_fail (attribute != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); g_assert (attribute->priv->value != NULL); if (!g_ascii_strcasecmp (attribute->priv->value->str, "TRUE")) return TRUE; else if (!g_ascii_strcasecmp (attribute->priv->value->str, "FALSE")) return FALSE; g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "boolean", attribute->priv->name); return FALSE; } /** * mimedir_attribute_set_value_int: * @attribute: an #MIMEDirAttribute * @i: a #gint value * * Sets the attribute's value to this integer value. **/ void mimedir_attribute_set_value_int (MIMEDirAttribute *attribute, gint i) { GString *string; g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); string = g_string_new (""); g_string_append_printf (string, "%d", i); g_string_free (attribute->priv->value, TRUE); attribute->priv->value = string; attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_INTEGER; } /** * mimedir_attribute_get_value_int: * @attribute: a #MIMEDirAttribute * @error: error storage location or %NULL * * Tries to parse the value of an attribute as a single integer value * and returns it. If the attribute value can't be interpreted as an * integer value, @error will be set. * * Return value: a #gint value **/ gint mimedir_attribute_get_value_int (MIMEDirAttribute *attribute, GError **error) { GError *err = NULL; GSList *list = NULL; gint i; g_return_val_if_fail (attribute != NULL, 0); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), 0); g_return_val_if_fail (error == NULL || *error == NULL, 0); g_assert (attribute->priv->value != NULL); list = mimedir_attribute_get_value_int_list (attribute, &err); if (err) { g_propagate_error (error, err); return 0; } if (g_slist_length (list) != 1) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "int", attribute->priv->name); return 0; } i = GPOINTER_TO_INT (list->data); mimedir_attribute_free_int_list (list); return i; } /** * mimedir_attribute_set_value_int_list: * @attribute: an #MIMEDirAttribute * @list: a list of #gint values * * Sets the attribute's value to a comma-separated list of integer values. **/ void mimedir_attribute_set_value_int_list (MIMEDirAttribute *attribute, GSList *list) { GString *string; g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); g_return_if_fail (list != NULL); string = g_string_new (""); for (; list != NULL; list = g_slist_next (list)) { gint i = GPOINTER_TO_INT (list->data); if (string->str[0] != '\0') g_string_append_c (string, ','); g_string_append_printf (string, "%d", i); } g_string_free (attribute->priv->value, TRUE); attribute->priv->value = string; attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_INTEGER; } /** * mimedir_attribute_get_value_int_list: * @attribute: a #MIMEDirAttribute * @error: error storage location or %NULL * * Tries to parse the value of an attribute as a comma-separated list of * integer values and returns the list. The returned list should be * freed with mimedir_attribute_free_int_list(). If the attribute value * can't be interpreted as int list, @error will be set and %NULL will be * returned. * * Return value: a list of #gint values **/ GSList * mimedir_attribute_get_value_int_list (MIMEDirAttribute *attribute, GError **error) { GSList *list = NULL; const gchar *text; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_assert (attribute->priv->value != NULL); text = attribute->priv->value->str; for (;;) { gboolean positive = TRUE; gint number = 0; /* Sign */ switch (text[0]) { case '-': positive = FALSE; /* fall through */ case '+': text++; break; } /* Read Number */ if (text[0] < '0' || text[0] > '9') { mimedir_attribute_free_int_list (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "int", attribute->priv->name); return NULL; } for (; text[0] >= '0' && text[0] <= '9'; text++) { number *= 10; number += text[0] - '0'; } if (!positive) number = -number; /* Next Item */ list = g_slist_append (list, GINT_TO_POINTER (number)); if (text[0] == '\0') break; else if (text[0] != ',') { mimedir_attribute_free_int_list (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "int", attribute->priv->name); return NULL; } text++; } return list; } /** * mimedir_attribute_set_value_float_list: * @attribute: an #MIMEDirAttribute * @list: a list of #gdouble pointers * * Sets the attribute's value to a comma-separated list of floating point * values. **/ void mimedir_attribute_set_value_float_list (MIMEDirAttribute *attribute, GSList *list) { GString *string; g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); g_return_if_fail (list != NULL); string = g_string_new (""); for (; list != NULL; list = g_slist_next (list)) { gdouble d = *((gdouble *) list->data); if (string->str[0] != '\0') g_string_append_c (string, ','); g_string_append_printf (string, "%.6f", d); } g_string_free (string, TRUE); attribute->priv->value = string; attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_FLOAT; } /** * mimedir_attribute_get_value_float_list: * @attribute: a #MIMEDirAttribute * @error: error storage location or %NULL * * Tries to parse the value of an attribute as a comma-separated list of * floating point values and returns the list. The returned list should be * freed with mimedir_attribute_free_float_list(). If the attribute value * can't be interpreted as a list of floating point values, @error will be * set and %NULL will be returned. * * Return value: a list of #gdouble pointers **/ GSList * mimedir_attribute_get_value_float_list (MIMEDirAttribute *attribute, GError **error) { GSList *list = NULL; const gchar *text; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); g_assert (attribute->priv->value != NULL); text = attribute->priv->value->str; for (;;) { gboolean positive = TRUE; gdouble number = 0.0; gdouble *mem; /* Sign */ switch (text[0]) { case '-': positive = FALSE; /* fall through */ case '+': text++; break; } /* Read Number */ if (text[0] < '0' || text[0] > '9') { mimedir_attribute_free_int_list (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "int", attribute->priv->name); return NULL; } for (; text[0] >= '0' && text[0] <= '9'; text++) { number *= 10; number += text[0] - '0'; } if (text[0] == '.') { gdouble frac = 0.0; text++; if (text[0] < '0' || text[0] > '9') { mimedir_attribute_free_int_list (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "int", attribute->priv->name); return NULL; } for (; text[0] >= '0' && text[0] <= '9'; text++) { frac /= 10.0; frac += text[0] - '0' / 10.0; } number += frac; } /* Next Item */ mem = g_memdup (&number, sizeof (gdouble)); list = g_slist_append (list, mem); if (text[0] == '\0') break; else if (text[0] != ',') { mimedir_attribute_free_int_list (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "float", attribute->priv->name); return NULL; } text++; } return list; } /** * mimedir_attribute_set_value_structured_text: * @attribute: an #MIMEDirAttribute * @list: a list of #GSLists, containing string pointers * * Sets the attribute's value to a structured text list, i.e. a * semicolon-separated list of comma-separated text strings. **/ void mimedir_attribute_set_value_structured_text (MIMEDirAttribute *attribute, GSList *list) { GString *string; g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); string = g_string_new (""); for (; list != NULL; list = g_slist_next (list)) { GSList *list2; for (list2 = (GSList *) list->data; list2 != NULL; list2 = g_slist_next (list2)) { if (!append_value_text (attribute, string, (const gchar *) list2->data, TRUE)) { g_critical ("text value contains invalid characters"); return; } if (list2->next) g_string_append_c (string, ','); } if (list->next) g_string_append_c (string, ';'); } g_string_free (attribute->priv->value, TRUE); attribute->priv->value = string; attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_STRUCTURED_TEXT; } /** * mimedir_attribute_get_value_structured_text: * @attribute: a #MIMEDirAttribute * @error: error storage location or %NULL * * Tries to parse the value of an attribute as a structured text type, * i.e. where a comma-separated list of strings is in turn separated by * semi-colons. The returned list should be freed with * mimedir_attribute_free_structured_text_list(). If the attribute value * can't be interpreted as a structured text type, @error will be set and * %NULL will be returned. * * Return value: a list of #GSLists, containing string pointers **/ GSList * mimedir_attribute_get_value_structured_text (MIMEDirAttribute *attribute, GError **error) { GSList *list = NULL, *list2 = NULL; GString *string; const gchar *text; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); text = attribute->priv->value->str; string = g_string_new (""); for (;;) { switch (text[0]) { case '\0': list2 = g_slist_append (list2, g_string_free (string, FALSE)); list = g_slist_append (list, list2); return list; case ';': list2 = g_slist_append (list2, g_string_free (string, FALSE)); string = g_string_new (""); list = g_slist_append (list, list2); list2 = NULL; break; case ',': list2 = g_slist_append (list2, g_string_free (string, FALSE)); string = g_string_new (""); break; case '\\': text++; switch (text[0]) { case '\\': g_string_append_c (string, '\\'); break; case 'n': case 'N': g_string_append_c (string, '\n'); break; case ';': case ',': g_string_append_c (string, text[0]); break; default: g_string_free (string, TRUE); list = g_slist_append (list, list2); mimedir_attribute_free_structured_text_list (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR, _("illegal character")); return NULL; } break; default: if (text[0] >= '\0' && text[0] < ' ') { g_string_free (string, TRUE); list = g_slist_append (list, list2); mimedir_attribute_free_structured_text_list (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX, MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR, _("illegal character")); return NULL; } g_string_append_c (string, text[0]); break; } text++; } } /** * mimedir_attribute_set_value_parameters: * @attribute: an #MIMEDirAttribute * @list: a list of null-terminated strings * * Sets the attribute's value to a list of key/value pairs. @list * must contain an even number of strings, where the first string * of each string pair is the key, while each other string is the * corresponding value. **/ void mimedir_attribute_set_value_parameters (MIMEDirAttribute *attribute, GSList *list) { GString *string; g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); string = g_string_new (""); for (; list != NULL; list = g_slist_next (list)) { if (!append_value_text (attribute, string, (const gchar *) list->data, TRUE)) { g_critical ("text value contains invalid characters"); return; } list = g_slist_next (list); if (!list) { g_critical ("list parameter contains an odd number of elements"); return; } g_string_append_c (string, '='); if (!append_value_text (attribute, string, (const gchar *) list->data, TRUE)) { g_critical ("text value contains invalid characters"); return; } if (list->next) g_string_append_c (string, ';'); } g_string_free (attribute->priv->value, TRUE); attribute->priv->value = string; attribute->priv->type = MIMEDIR_ATTRIBUTE_TYPE_PARAMETERS; } /** * mimedir_attribute_get_value_parameters: * @attribute: a #MIMEDirAttribute * @error: error storage location or %NULL * * Tries to parse the value of an attribute as a list of parameters. * Such a list is a semicolon-separated list of key/value pairs, where * key and value are separated by an equality sign (=). The returned list * is guaranteed to contain an even number of string pointers, where each pair * of strings is a key/value pair. The list should be freed with * mimedir_attribute_free_string_list(). If the attribute value can't be * interpreted as a parameter type, @error will be set and %NULL will be * returned. * * Return value: a list of string pointers **/ GSList * mimedir_attribute_get_value_parameters (MIMEDirAttribute *attribute, GError **error) { const gchar *text; gsize pos = 0; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); text = attribute->priv->value->str; return parse_parameter_list(text, &pos, '\0', FALSE, error); } /** * mimedir_attribute_set_attribute_type: * @attribute: a #MIMEDirAttribute * @type: the new type * * Sets the attribute's type. */ void mimedir_attribute_set_attribute_type (MIMEDirAttribute *attribute, MIMEDirAttributeType type) { g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); attribute->priv->type = type; } /** * mimedir_attribute_get_attribute_type: * @attribute: a #MIMEDirAttribute * * Gets the attribute's type. * * Return value: the attribute type */ MIMEDirAttributeType mimedir_attribute_get_attribute_type (MIMEDirAttribute *attribute) { g_return_val_if_fail (attribute != NULL, MIMEDIR_ATTRIBUTE_TYPE_UNKNOWN); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), MIMEDIR_ATTRIBUTE_TYPE_UNKNOWN); return attribute->priv->type; } void mimedir_attribute_free_list (GSList *list) { GSList *item; for (item = list; item != NULL; item = g_slist_next (item)) g_free (item->data); g_slist_free (list); } /** * mimedir_attribute_free_int_list: * @list: a #GSList * * Frees a list of integer values as returned by * mimedir_attribute_get_value_int_list(). **/ void mimedir_attribute_free_int_list (GSList *list) { g_slist_free (list); } /** * mimedir_attribute_free_float_list: * @list: a #GSList * * Frees a list of #gdouble pointers as returned by * mimedir_attribute_get_value_float_list(). **/ void mimedir_attribute_free_float_list (GSList *list) { GSList *item; for (item = list; item != NULL; item = g_slist_next (item)) g_free (item->data); g_slist_free (list); } /** * mimedir_attribute_free_string_list: * @list: a #GSList * * Frees a list of strings. **/ void mimedir_attribute_free_string_list (GSList *list) { GSList *current; for (current = list; current != NULL; current = g_slist_next (current)) g_free (current->data); g_slist_free (list); } /** * mimedir_attribute_free_structured_text_list: * @list: a #GSList * * Frees a list as returned by mimedir_attribute_get_value_structured_text(). **/ void mimedir_attribute_free_structured_text_list (GSList *list) { GSList *current; for (current = list; current != NULL; current = g_slist_next (current)) { GSList *current2; for (current2 = (GSList *) current->data; current2 != NULL; current2 = g_slist_next (current2)) g_free (current2->data); g_slist_free ((GSList *) current->data); } g_slist_free (list); } /** * mimedir_attribute_parse: * @attribute: a #MIMEDirAttribute * @string: string to parse * @error: error storage location or %NULL * * Clears the attribute object and re-initializes it with data read from the * string. If an error occurs during the read, @error will be set and * -1 will be returned. Otherwise the number of consumed characters is * returned. * * Return value: number of consumed characters or -1 **/ ssize_t mimedir_attribute_parse (MIMEDirAttribute *attribute, const gchar *string, GError **error) { ssize_t len; gboolean success; GString *gstring; g_return_val_if_fail (attribute != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), FALSE); g_return_val_if_fail (string != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); gstring = g_string_new (NULL); len = get_attribute_string (string, gstring); success = parse_attribute (attribute, gstring->str, error); g_string_free (gstring, TRUE); return success ? len : -1; } /** * mimedir_attribute_write_to_channel: * @attribute: a #MIMEDirAttribute * @channel: an I/O channel * @error: error storage location or %NULL * * Writes the attribute to the supplied channel. If an error occurs during * the write, @error will be set and %FALSE will be returned. Otherwise * %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_attribute_write_to_channel (MIMEDirAttribute *attribute, GIOChannel *channel, GError **error) { MIMEDirAttributePriv *priv; GSList *l; g_return_val_if_fail (attribute != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), FALSE); g_return_val_if_fail (channel != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); priv = attribute->priv; /* Group/name */ if (priv->group) { if (g_io_channel_write_chars (channel, priv->group, -1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; if (g_io_channel_write_chars (channel, ".", 1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; } if (g_io_channel_write_chars (channel, priv->name, -1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; /* Parameters */ for (l = priv->parameters; l != NULL; l = g_slist_next (l)) { MIMEDirParameter *para; GSList *l2; if (g_io_channel_write_chars (channel, ";", 1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; para = (MIMEDirParameter *) l->data; if (g_io_channel_write_chars (channel, para->name, -1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; if (g_io_channel_write_chars (channel, "=", 1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; for (l2 = para->values; l2 != NULL; l2 = g_slist_next (l2)) { const gchar *v = (const gchar *) l2->data; if (mimedir_utils_is_safe (v)) { if (g_io_channel_write_chars (channel, v, -1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; } else { if (g_io_channel_write_chars (channel, "\"", 1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; if (g_io_channel_write_chars (channel, v, -1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; if (g_io_channel_write_chars (channel, "\"", 1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; } if (l2->next) { if (g_io_channel_write_chars (channel, ",", 1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; } } } /* Content */ if (g_io_channel_write_chars (channel, ":", 1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; if (g_io_channel_write_chars (channel, priv->value->str, priv->value->len, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; if (g_io_channel_write_chars (channel, "\n", 1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; return TRUE; } libmimedir-0.4.2/mimedir/mimedir-vevent.h0000644000175000017500000000457210603540660015315 00000000000000/* RFC 2445 vEvent MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vevent.h 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_VEVENT_H__ #define __MIMEDIR_VEVENT_H__ #include #include #include "mimedir-profile.h" #include "mimedir-vcomponent.h" #define MIMEDIR_TYPE_VEVENT (mimedir_vevent_get_type()) #define MIMEDIR_VEVENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_VEVENT, MIMEDirVEvent)) #define MIMEDIR_VEVENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_VEVENT, MIMEDirVEventClass)) #define MIMEDIR_IS_VEVENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_VEVENT)) #define MIMEDIR_IS_VEVENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_VEVENT)) typedef struct _MIMEDirVEvent MIMEDirVEvent; typedef struct _MIMEDirVEventClass MIMEDirVEventClass; typedef struct _MIMEDirVEventPriv MIMEDirVEventPriv; struct _MIMEDirVEvent { MIMEDirVComponent parent; MIMEDirVEventPriv *priv; }; struct _MIMEDirVEventClass { MIMEDirVComponentClass parent_class; }; GType mimedir_vevent_get_type (void); MIMEDirVEvent *mimedir_vevent_new (void); MIMEDirVEvent *mimedir_vevent_new_from_profile (MIMEDirProfile *profile, GError **error); gboolean mimedir_vevent_read_from_profile (MIMEDirVEvent *vevent, MIMEDirProfile *profile, GError **error); MIMEDirProfile *mimedir_vevent_write_to_profile (MIMEDirVEvent *vevent); gboolean mimedir_vevent_write_to_channel (MIMEDirVEvent *vevent, GIOChannel *channel, GError **error); gchar *mimedir_vevent_write_to_string (MIMEDirVEvent *vevent); #endif /* __MIMEDIR_VEVENT_H__ */ libmimedir-0.4.2/mimedir/mimedir.h0000644000175000017500000000261710603540660014006 00000000000000/* MIME Directory Library Headers * Copyright (C) 2002 Sebastian Rittau * * $Id: mimedir.h 105 2002-12-06 12:23:10Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_H__ #define __MIMEDIR_H__ #include "mimedir-attendee.h" #include "mimedir-attribute.h" #include "mimedir-datetime.h" #include "mimedir-init.h" #include "mimedir-profile.h" #include "mimedir-recurrence.h" #include "mimedir-valarm.h" #include "mimedir-vcal.h" #include "mimedir-vcard.h" #include "mimedir-vcard-address.h" #include "mimedir-vcard-email.h" #include "mimedir-vcard-phone.h" #include "mimedir-vcomponent.h" #include "mimedir-vevent.h" #include "mimedir-vtodo.h" #endif /* __MIMEDIR_H__ */ libmimedir-0.4.2/mimedir/mimedir-attendee.c0000644000175000017500000002063110603540660015564 00000000000000/* RFC 2445 Attendee Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-attendee.c 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include "mimedir-attendee.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_attendee_class_init (MIMEDirAttendeeClass *klass); static void mimedir_attendee_init (MIMEDirAttendee *attendee); static void mimedir_attendee_dispose (GObject *object); struct _MIMEDirAttendeePriv { gchar *cn; /* Common Name */ gchar *role; /* Role */ gchar *partstat; /* Participation Status */ gchar *rsvp; /* Reply Requested */ gchar *cutype; /* Calendar User Type */ gchar *member; /* Groups the Attendee Belongs to */ gchar *delegated_to; /* Delegated To */ gchar *delegated_from; /* Delegated From */ gchar *sent_by; /* Sent By */ gchar *dir; /* Directory URI */ }; static GObjectClass *parent_class = NULL; /* * Class and Object Management */ GType mimedir_attendee_get_type (void) { static GType mimedir_attendee_type = 0; if (!mimedir_attendee_type) { static const GTypeInfo mimedir_attendee_info = { sizeof (MIMEDirAttendeeClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_attendee_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirAttendee), 4, /* n_preallocs */ (GInstanceInitFunc) mimedir_attendee_init, }; mimedir_attendee_type = g_type_register_static (G_TYPE_OBJECT, "MIMEDirAttendee", &mimedir_attendee_info, 0); } return mimedir_attendee_type; } static void mimedir_attendee_class_init (MIMEDirAttendeeClass *klass) { GObjectClass *gobject_class; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_ATTENDEE_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_attendee_dispose; parent_class = g_type_class_peek_parent (klass); } static void mimedir_attendee_init (MIMEDirAttendee *attendee) { MIMEDirAttendeePriv *priv; g_return_if_fail (attendee != NULL); g_return_if_fail (MIMEDIR_IS_ATTENDEE (attendee)); priv = g_new0 (MIMEDirAttendeePriv, 1); attendee->priv = priv; } static void mimedir_attendee_dispose (GObject *object) { MIMEDirAttendee *attendee; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_ATTENDEE (object)); attendee = MIMEDIR_ATTENDEE (object); if (attendee->priv) { g_free (attendee->priv->cn); g_free (attendee->priv->role); g_free (attendee->priv->partstat); g_free (attendee->priv->rsvp); g_free (attendee->priv->cutype); g_free (attendee->priv->member); g_free (attendee->priv->delegated_to); g_free (attendee->priv->delegated_from); g_free (attendee->priv->sent_by); g_free (attendee->priv->dir); g_free (attendee->priv); attendee->priv = NULL; } g_free (attendee->uri); attendee->uri = NULL; G_OBJECT_CLASS (parent_class)->dispose (object); } /* * Public Methods */ /** * mimedir_attendee_new: * * Creates a new attendee object. * * Return value: a new attendee object **/ MIMEDirAttendee * mimedir_attendee_new (void) { MIMEDirAttendee *att; att = g_object_new (MIMEDIR_TYPE_ATTENDEE, NULL); return att; } /** * mimedir_attendee_new_from_attribute: * @attribute: a #MIMEDirAttribute object * @error: error storage location or %NULL * * Creates a new attendee object and initializes it with values read * from the supplied attribute object. * * Return value: a new #MIMEDirAttendee object or %NULL on error **/ MIMEDirAttendee * mimedir_attendee_new_from_attribute (MIMEDirAttribute *attribute, GError **error) { MIMEDirAttendee *att; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); att = g_object_new (MIMEDIR_TYPE_ATTENDEE, NULL); if (!mimedir_attendee_read_from_attribute (att, attribute, error)) { g_object_unref (G_OBJECT (att)); return NULL; } return att; } /** * mimedir_attendee_read_from_attribute: * @attendee: a #MIMEDirAttendee object * @attribute: a #MIMEDirAttribute object * @error: error storage location or %NULL * * Initializes @attendee with data read from @attribute. * * Return value: success indicator **/ gboolean mimedir_attendee_read_from_attribute (MIMEDirAttendee *attendee, MIMEDirAttribute *attribute, GError **error) { const gchar *attribute_name; g_return_val_if_fail (attendee != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_ATTENDEE (attendee), FALSE); g_return_val_if_fail (attribute != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); attribute_name = mimedir_attribute_get_name (attribute); g_return_val_if_fail (!g_ascii_strcasecmp (attribute_name, "ATTENDEE"), FALSE); g_free (attendee->uri); attendee->uri = g_strdup (mimedir_attribute_get_value (attribute)); attendee->priv->cn = g_strdup (mimedir_attribute_get_parameter_value (attribute, "CN")); attendee->priv->role = g_strdup (mimedir_attribute_get_parameter_value (attribute, "ROLE")); attendee->priv->partstat = g_strdup (mimedir_attribute_get_parameter_value (attribute, "PARTSTAT")); attendee->priv->rsvp = g_strdup (mimedir_attribute_get_parameter_value (attribute, "RSVP")); attendee->priv->cutype = g_strdup (mimedir_attribute_get_parameter_value (attribute, "CUTYPE")); attendee->priv->member = g_strdup (mimedir_attribute_get_parameter_value (attribute, "MEMBER")); attendee->priv->delegated_to = g_strdup (mimedir_attribute_get_parameter_value (attribute, "DELEGATED-TO")); attendee->priv->delegated_from = g_strdup (mimedir_attribute_get_parameter_value (attribute, "DELEGATED-FROM")); attendee->priv->sent_by = g_strdup (mimedir_attribute_get_parameter_value (attribute, "SENT-BY")); attendee->priv->dir = g_strdup (mimedir_attribute_get_parameter_value (attribute, "DIR")); return TRUE; } /** * mimedir_attendee_write_to_attribute: * @attendee: a #MIMEDirAttendee object * * Write @attendee to a newly allocated #MIMEDirAttribute object. The * returned object should be freed with g_object_unref(). * * Return value: A newly allocated #MIMEDirAttribute object **/ MIMEDirAttribute * mimedir_attendee_write_to_attribute (MIMEDirAttendee *attendee) { MIMEDirAttribute *attr; MIMEDirAttendeePriv *priv; g_return_val_if_fail (attendee != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTENDEE (attendee), NULL); priv = attendee->priv; attr = mimedir_attribute_new_with_name ("ATTENDEE"); mimedir_attribute_set_value (attr, attendee->uri); if (priv->cn) mimedir_attribute_append_parameter_simple (attr, "CN", priv->cn); if (priv->role) mimedir_attribute_append_parameter_simple (attr, "ROLE", priv->role); if (priv->partstat) mimedir_attribute_append_parameter_simple (attr, "PARTSTAT", priv->partstat); if (priv->rsvp) mimedir_attribute_append_parameter_simple (attr, "RSVP", priv->rsvp); if (priv->cutype) mimedir_attribute_append_parameter_simple (attr, "CUTYPE", priv->cutype); if (priv->member) mimedir_attribute_append_parameter_simple (attr, "MEMBER", priv->member); if (priv->delegated_to) mimedir_attribute_append_parameter_simple (attr, "DELEGATED-TO", priv->delegated_to); if (priv->delegated_from) mimedir_attribute_append_parameter_simple (attr, "DELEGATED-FROM", priv->delegated_from); if (priv->sent_by) mimedir_attribute_append_parameter_simple (attr, "SENT-BY", priv->sent_by); if (priv->dir) mimedir_attribute_append_parameter_simple (attr, "DIR", priv->dir); return attr; } libmimedir-0.4.2/mimedir/mimedir-init.c0000644000175000017500000000247610603540660014745 00000000000000/* RFC 2425 MIME Directory Initialization * Copyright (C) 2002 Sebastian Rittau * * $Id: mimedir-init.c 72 2002-07-31 12:51:31Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include /** * mimedir_init: * * This function must be called prior to calling any other function of * libmimedir. It properly initializes any data structures needed by * it. **/ void mimedir_init (void) { g_type_init (); bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); } libmimedir-0.4.2/mimedir/mimedir-vcomponent.h0000644000175000017500000001170610603540660016173 00000000000000/* RFC 2445 iCal Component Object * Copyright (C) 2002 Sebastian Rittau * * $Id: mimedir-vcomponent.h 147 2003-07-08 14:49:37Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_VCOMPONENT_H__ #define __MIMEDIR_VCOMPONENT_H__ #include #include #include "mimedir-profile.h" #include "mimedir-recurrence.h" typedef enum { MIMEDIR_CLASS_PUBLIC, MIMEDIR_CLASS_PRIVATE, MIMEDIR_CLASS_CONFIDENTIAL, MIMEDIR_CLASS_CUSTOM } MIMEDirClassification; typedef enum { MIMEDIR_STATUS_UNKNOWN, MIMEDIR_STATUS_CANCELLED, MIMEDIR_STATUS_TENTATIVE, /* VEvent */ MIMEDIR_STATUS_CONFIRMED, MIMEDIR_STATUS_NEEDS_ACTION, /* VTodo */ MIMEDIR_STATUS_COMPLETED, MIMEDIR_STATUS_IN_PROCESS, MIMEDIR_STATUS_DRAFT, /* VJournal */ MIMEDIR_STATUS_FINAL } MIMEDirStatus; #define MIMEDIR_VCOMPONENT_PERCENT_NONE (101) #define MIMEDIR_TYPE_VCOMPONENT (mimedir_vcomponent_get_type()) #define MIMEDIR_VCOMPONENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_VCOMPONENT, MIMEDirVComponent)) #define MIMEDIR_VCOMPONENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_VCOMPONENT, MIMEDirVComponentClass)) #define MIMEDIR_IS_VCOMPONENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_VCOMPONENT)) #define MIMEDIR_IS_VCOMPONENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_VCOMPONENT)) typedef struct _MIMEDirVComponent MIMEDirVComponent; typedef struct _MIMEDirVComponentClass MIMEDirVComponentClass; typedef struct _MIMEDirVComponentPriv MIMEDirVComponentPriv; struct _MIMEDirVComponent { GObject parent; MIMEDirVComponentPriv *priv; }; struct _MIMEDirVComponentClass { GObjectClass parent_class; void (* changed) (MIMEDirVComponent *component); void (* alarms_changed) (MIMEDirVComponent *component); }; GType mimedir_vcomponent_get_type (void); gboolean mimedir_vcomponent_read_from_profile (MIMEDirVComponent *vcomponent, MIMEDirProfile *profile, GError **error); MIMEDirProfile *mimedir_vcomponent_write_to_profile (MIMEDirVComponent *vcomponent, const gchar *profile_name); void mimedir_vcomponent_set_attachment_list (MIMEDirVComponent *vcomponent, GList *list); GList *mimedir_vcomponent_get_attachment_list (MIMEDirVComponent *vcomponent); gchar *mimedir_vcomponent_get_categories_as_string (MIMEDirVComponent *vcomponent); void mimedir_vcomponent_set_classification (MIMEDirVComponent *vcomponent, MIMEDirClassification classification, const gchar *klass); MIMEDirClassification mimedir_vcomponent_get_classification (MIMEDirVComponent *vcomponent, const gchar **klass); void mimedir_vcomponent_set_geopos (MIMEDirVComponent *vcomponent, gdouble latitude, gdouble longitude); void mimedir_vcomponent_get_geopos (MIMEDirVComponent *vcomponent, gdouble *latitude, gdouble *longitude); void mimedir_vcomponent_set_location (MIMEDirVComponent *vcomponent, const gchar *location, const gchar *uri); const gchar *mimedir_vcomponent_get_location (MIMEDirVComponent *vcomponent, const gchar **uri); void mimedir_vcomponent_set_opaque (MIMEDirVComponent *vcomponent, gboolean opaque); gboolean mimedir_vcomponent_get_opaque (MIMEDirVComponent *vcomponent); void mimedir_vcomponent_set_allday (MIMEDirVComponent *vcomponent, gboolean allday); gboolean mimedir_vcomponent_get_allday (MIMEDirVComponent *vcomponent); void mimedir_vcomponent_set_alarm_list (MIMEDirVComponent *vcomponent, const GList *list); const GList *mimedir_vcomponent_get_alarm_list (MIMEDirVComponent *vcomponent); void mimedir_vcomponent_set_attendee_list (MIMEDirVComponent *vcomponent, const GList *list); const GList *mimedir_vcomponent_get_attendee_list (MIMEDirVComponent *vcomponent); gboolean mimedir_vcomponent_does_recur (MIMEDirVComponent *vcomponent); void mimedir_vcomponent_set_recurrence (MIMEDirVComponent *vcomponent, MIMEDirRecurrence *recurrence); MIMEDirRecurrence * mimedir_vcomponent_get_recurrence (MIMEDirVComponent *vcomponent); MIMEDirDateTime *mimedir_vcomponent_get_next_occurence (MIMEDirVComponent *vcomponent, MIMEDirDateTime *after); GList *mimedir_vcomponent_get_occurences_between (MIMEDirVComponent *vcomponent, MIMEDirDateTime *start, MIMEDirDateTime *end); void mimedir_vcomponent_free_occurences (GList *list); #endif /* __MIMEDIR_VCOMPONENT_H__ */ libmimedir-0.4.2/mimedir/mimedir-vevent.c0000644000175000017500000001675010603540660015311 00000000000000/* RFC 2445 vEvent MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vevent.c 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "mimedir-utils.h" #include "mimedir-vcomponent.h" #include "mimedir-vevent.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_vevent_class_init (MIMEDirVEventClass *klass); static void mimedir_vevent_init (MIMEDirVEvent *vevent); static void mimedir_vevent_dispose (GObject *object); struct _MIMEDirVEventPriv { }; static MIMEDirVComponentClass *parent_class = NULL; /* * Class and Object Management */ GType mimedir_vevent_get_type (void) { static GType mimedir_vevent_type = 0; if (!mimedir_vevent_type) { static const GTypeInfo mimedir_vevent_info = { sizeof (MIMEDirVEventClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_vevent_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirVEvent), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_vevent_init, }; mimedir_vevent_type = g_type_register_static (MIMEDIR_TYPE_VCOMPONENT, "MIMEDirVEvent", &mimedir_vevent_info, 0); } return mimedir_vevent_type; } static void mimedir_vevent_class_init (MIMEDirVEventClass *klass) { GObjectClass *gobject_class; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_VEVENT_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_vevent_dispose; parent_class = g_type_class_peek_parent (klass); } static void mimedir_vevent_init (MIMEDirVEvent *vevent) { MIMEDirVEventPriv *priv; g_return_if_fail (vevent != NULL); g_return_if_fail (MIMEDIR_IS_VEVENT (vevent)); priv = g_new0 (MIMEDirVEventPriv, 1); vevent->priv = priv; } static void mimedir_vevent_dispose (GObject *object) { MIMEDirVEvent *vevent; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VEVENT (object)); vevent = MIMEDIR_VEVENT (object); g_free (vevent->priv); vevent->priv = NULL; G_OBJECT_CLASS (parent_class)->dispose (object); } /* * Public Methods */ /** * mimedir_vevent_new: * * Creates a new (empty) vevent object. * * Return value: a new vevent object **/ MIMEDirVEvent * mimedir_vevent_new (void) { MIMEDirVEvent *vevent; MIMEDirDateTime *now; vevent = g_object_new (MIMEDIR_TYPE_VEVENT, NULL); now = mimedir_datetime_new_now (); g_object_set (G_OBJECT (vevent), "dtstamp", now, NULL); g_object_unref (G_OBJECT (now)); return vevent; } /** * mimedir_vevent_new_from_profile: * @profile: a #MIMEDirProfile object * @error: error storage location or %NULL * * Create a new vEvent object and fills it with data retrieved from the * supplied profile object. If an error occurs during the read, @error * will be set and %NULL will be returned. * * Return value: the new vEvent object or %NULL **/ MIMEDirVEvent * mimedir_vevent_new_from_profile (MIMEDirProfile *profile, GError **error) { MIMEDirVEvent *vevent; g_return_val_if_fail (profile != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); vevent = g_object_new (MIMEDIR_TYPE_VEVENT, NULL); if (!mimedir_vevent_read_from_profile (vevent, profile, error)) { g_object_unref (G_OBJECT (vevent)); vevent = NULL; } return vevent; } /** * mimedir_vevent_read_from_profile: * @vevent: a vEvent object * @profile: a profile object * @error: error storage location or %NULL * * Clears the supplied vEvent object and re-initializes it with data read * from the supplied profile. If an error occurs during the read, @error * will be set and %FALSE will be returned. Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vevent_read_from_profile (MIMEDirVEvent *vevent, MIMEDirProfile *profile, GError **error) { gchar *name; g_return_val_if_fail (vevent != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VEVENT (vevent), FALSE); g_return_val_if_fail (profile != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); g_object_get (G_OBJECT (profile), "name", &name, NULL); if (name && g_ascii_strcasecmp (name, "VEVENT") != 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE_STR, name, "VCALENDAR"); g_free (name); return FALSE; } g_free (name); if (!mimedir_vcomponent_read_from_profile (MIMEDIR_VCOMPONENT (vevent), profile, error)) return FALSE; /* Validity Checks */ /* Normally, a DTSTAMP property is required, but for compatibility * reasons we ignore its lack. (Bah...) */ return TRUE; } /** * mimedir_vevent_write_to_profile: * @vevent: a #MIMEDirVEvent object * * Saves the vEvent object to a newly allocated profile object. * * Return value: a new profile **/ MIMEDirProfile * mimedir_vevent_write_to_profile (MIMEDirVEvent *vevent) { g_return_val_if_fail (vevent != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VEVENT (vevent), NULL); return mimedir_vcomponent_write_to_profile (MIMEDIR_VCOMPONENT (vevent), "vEvent"); } /** * mimedir_vevent_write_to_channel: * @vevent: a #MIMEDirVEvent object * @channel: I/O channel to save to * @error: error storage location or %NULL * * Saves the vEvent object to the supplied I/O channel. If an error occurs * during the write, @error will be set and %FALSE will be returned. * Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vevent_write_to_channel (MIMEDirVEvent *vevent, GIOChannel *channel, GError **error) { MIMEDirProfile *profile; g_return_val_if_fail (vevent != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VEVENT (vevent), FALSE); g_return_val_if_fail (channel != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); profile = mimedir_vevent_write_to_profile (vevent); if (!mimedir_profile_write_to_channel (profile, channel, error)) return FALSE; g_object_unref (G_OBJECT (profile)); return TRUE; } /** * mimedir_vevent_write_to_string: * @vevent: a #MIMEDirVEvent object * * Saves the vevent object to a newly allocated memory buffer. You should * free the returned buffer with g_free(). * * Return value: a newly allocated memory buffer **/ gchar * mimedir_vevent_write_to_string (MIMEDirVEvent *vevent) { MIMEDirProfile *profile; gchar *s; g_return_val_if_fail (vevent != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VEVENT (vevent), FALSE); profile = mimedir_vevent_write_to_profile (vevent); s = mimedir_profile_write_to_string (profile); g_object_unref (G_OBJECT (profile)); return s; } libmimedir-0.4.2/mimedir/mimedir-vtimezone.h0000644000175000017500000000500110603540660016012 00000000000000/* RFC 2445 vTimeZone MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vtimezone.h 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_VTIMEZONE_H__ #define __MIMEDIR_VTIMEZONE_H__ #include #include #include "mimedir-profile.h" #include "mimedir-vcomponent.h" #define MIMEDIR_TYPE_VTIMEZONE (mimedir_vtimezone_get_type()) #define MIMEDIR_VTIMEZONE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_VTIMEZONE, MIMEDirVTimeZone)) #define MIMEDIR_VTIMEZONE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_VTIMEZONE, MIMEDirVTimeZoneClass)) #define MIMEDIR_IS_VTIMEZONE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_VTIMEZONE)) #define MIMEDIR_IS_VTIMEZONE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_VTIMEZONE)) typedef struct _MIMEDirVTimeZone MIMEDirVTimeZone; typedef struct _MIMEDirVTimeZoneClass MIMEDirVTimeZoneClass; typedef struct _MIMEDirVTimeZonePriv MIMEDirVTimeZonePriv; struct _MIMEDirVTimeZone { MIMEDirVComponent parent; MIMEDirVTimeZonePriv *priv; }; struct _MIMEDirVTimeZoneClass { MIMEDirVComponentClass parent_class; }; GType mimedir_vtimezone_get_type (void); MIMEDirVTimeZone *mimedir_vtimezone_new (void); MIMEDirVTimeZone *mimedir_vtimezone_new_from_profile (MIMEDirProfile *profile, GError **error); gboolean mimedir_vtimezone_read_from_profile (MIMEDirVTimeZone *vtimezone, MIMEDirProfile *profile, GError **error); MIMEDirProfile *mimedir_vtimezone_write_to_profile (MIMEDirVTimeZone *vtimezone); gboolean mimedir_vtimezone_write_to_channel (MIMEDirVTimeZone *vtimezone, GIOChannel *channel, GError **error); gchar *mimedir_vtimezone_write_to_string (MIMEDirVTimeZone *vtimezone); #endif /* __MIMEDIR_VTIMEZONE_H__ */ libmimedir-0.4.2/mimedir/mimedir-vcard-email.c0000644000175000017500000003341110603540660016157 00000000000000/* RFC 2426 vCard MIME Directory Profile -- EMail Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vcard-email.c 227 2005-09-11 16:09:51Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include "mimedir-marshal.h" #include "mimedir-utils.h" #include "mimedir-vcard-email.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_vcard_email_class_init (MIMEDirVCardEMailClass *klass); static void mimedir_vcard_email_init (MIMEDirVCardEMail *email); static void mimedir_vcard_email_dispose (GObject *object); static void mimedir_vcard_email_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); static void mimedir_vcard_email_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); static void mimedir_vcard_email_clear (MIMEDirVCardEMail *email); enum { PROP_ADDRESS = 1, PROP_TYPE, PROP_PREFERRED, PROP_HOME, PROP_WORK, }; enum { SIGNAL_CHANGED, LAST_SIGNAL }; struct _MIMEDirVCardEMailPriv { gchar *address; MIMEDirVCardEMailType type; gboolean preferred; gboolean home; gboolean work; }; static GObjectClass *parent_class = NULL; static int mimedir_vcard_email_signals[LAST_SIGNAL] = { 0 }; /* * Class and Object Management */ GType mimedir_vcard_email_get_type (void) { static GType mimedir_vcard_email_type = 0; if (!mimedir_vcard_email_type) { static const GTypeInfo mimedir_vcard_email_info = { sizeof (MIMEDirVCardEMailClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_vcard_email_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirVCardEMail), 5, /* n_preallocs */ (GInstanceInitFunc) mimedir_vcard_email_init, }; mimedir_vcard_email_type = g_type_register_static (G_TYPE_OBJECT, "MIMEDirVCardEMail", &mimedir_vcard_email_info, 0); } return mimedir_vcard_email_type; } static void mimedir_vcard_email_class_init (MIMEDirVCardEMailClass *klass) { GObjectClass *gobject_class; GParamSpec *pspec; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_EMAIL_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_vcard_email_dispose; gobject_class->set_property = mimedir_vcard_email_set_property; gobject_class->get_property = mimedir_vcard_email_get_property; parent_class = g_type_class_peek_parent (klass); /* Signals */ mimedir_vcard_email_signals[SIGNAL_CHANGED] = g_signal_new ("changed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (MIMEDirVCardEMailClass, changed), NULL, NULL, mimedir_marshal_VOID__VOID, G_TYPE_NONE, 0); /* Properties */ pspec = g_param_spec_string ("address", _("Address"), _("The e-mail address"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_ADDRESS, pspec); pspec = g_param_spec_int ("type", _("Type"), _("Type of this e-mail address"), MIMEDIR_VCARD_EMAIL_TYPE_UNKNOWN, MIMEDIR_VCARD_EMAIL_TYPE_X400, MIMEDIR_VCARD_EMAIL_TYPE_INTERNET, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_TYPE, pspec); pspec = g_param_spec_boolean ("preferred", _("Preferred"), _("Whether this is the preferred e-mail address"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_PREFERRED, pspec); pspec = g_param_spec_boolean ("home", _("Home"), _("Whether is a home e-mail address"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_HOME, pspec); pspec = g_param_spec_boolean ("work", _("Work"), _("Whether this is an e-mail address at work"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_WORK, pspec); } static void mimedir_vcard_email_init (MIMEDirVCardEMail *email) { g_return_if_fail (email != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_EMAIL (email)); email->priv = g_new0 (MIMEDirVCardEMailPriv, 1); email->priv->type = MIMEDIR_VCARD_EMAIL_TYPE_INTERNET; } static void mimedir_vcard_email_dispose (GObject *object) { MIMEDirVCardEMail *email; MIMEDirVCardEMailPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_EMAIL (object)); email = MIMEDIR_VCARD_EMAIL (object); priv = email->priv; if (priv) mimedir_vcard_email_clear (email); G_OBJECT_CLASS (parent_class)->dispose (object); } static void mimedir_vcard_email_set_property_string (gchar **dest, const GValue *value) { const gchar *string; string = g_value_get_string (value); g_free (*dest); *dest = g_strdup (string); } static void mimedir_vcard_email_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec) { MIMEDirVCardEMailPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_EMAIL (object)); priv = MIMEDIR_VCARD_EMAIL (object)->priv; switch (property_id) { case PROP_ADDRESS: mimedir_vcard_email_set_property_string (&priv->address, value); break; case PROP_TYPE: { MIMEDirVCardEMailType type; type = g_value_get_int (value); g_return_if_fail (type >= MIMEDIR_VCARD_EMAIL_TYPE_INTERNET && type <= MIMEDIR_VCARD_EMAIL_TYPE_X400); priv->type = type; break; } case PROP_PREFERRED: priv->preferred = g_value_get_boolean (value); break; case PROP_HOME: priv->home = g_value_get_boolean (value); break; case PROP_WORK: priv->work = g_value_get_boolean (value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } g_signal_emit (object, mimedir_vcard_email_signals[SIGNAL_CHANGED], 0); } static void mimedir_vcard_email_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec) { MIMEDirVCardEMailPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_EMAIL (object)); priv = MIMEDIR_VCARD_EMAIL (object)->priv; switch (property_id) { case PROP_ADDRESS: g_value_set_string (value, priv->address); break; case PROP_TYPE: g_value_set_int (value, priv->type); break; case PROP_PREFERRED: g_value_set_boolean (value, priv->preferred); break; case PROP_HOME: g_value_set_boolean (value, priv->home); case PROP_WORK: g_value_set_boolean (value, priv->work); default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } } /* * Private Methods */ static void mimedir_vcard_email_clear (MIMEDirVCardEMail *email) { MIMEDirVCardEMailPriv *priv; priv = email->priv; if (!priv) return; g_free (priv->address); g_free (priv); email->priv = NULL; } static void mimedir_vcard_email_reset (MIMEDirVCardEMail *email) { mimedir_vcard_email_clear (email); mimedir_vcard_email_init (email); } /* * Public Methods */ /** * mimedir_vcard_email_new: * * Create a new MIMEDirVCardEMail object. * * Return value: the MIMEDirVCardEMail object **/ MIMEDirVCardEMail * mimedir_vcard_email_new (void) { MIMEDirVCardEMail *email; email = g_object_new (MIMEDIR_TYPE_VCARD_EMAIL, NULL); return email; } /** * mimedir_vcard_email_new_from_attribute: * @attribute: the object to take data from * @error: location to store the error occuring, or %NULL to ignore * * Creates a new MIMEDirVCardEMail object, initializing it with data taken * from the attribute object. * * Return value: the MIMEDirVCardEMail object **/ MIMEDirVCardEMail * mimedir_vcard_email_new_from_attribute (MIMEDirAttribute *attribute, GError **error) { MIMEDirVCardEMail *email; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); email = g_object_new (MIMEDIR_TYPE_VCARD_EMAIL, NULL); if (!mimedir_vcard_email_set_from_attribute (email, attribute, error)) { g_object_unref (G_OBJECT (email)); email = NULL; } return email; } /** * mimedir_vcard_email_set_from_attribute: * @email: the object to manipulate * @attribute: the object to take data from * @error: location to store the error occuring, or %NULL to ignore * * Initializes the email object to data taken from the attribute object. * It is save to use this function, even if the object has been initialized * before. All old data will be lost in this case. * * Return value: success indicator **/ gboolean mimedir_vcard_email_set_from_attribute (MIMEDirVCardEMail *email, MIMEDirAttribute *attribute, GError **error) { GError *err = NULL; MIMEDirVCardEMailPriv *priv; GSList *list, *l; const gchar *name; g_return_val_if_fail (email != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCARD_EMAIL (email), FALSE); g_return_val_if_fail (attribute != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); name = mimedir_attribute_get_name (attribute); g_return_val_if_fail (g_ascii_strcasecmp (name, "EMAIL") == 0, FALSE); mimedir_vcard_email_reset (email); priv = email->priv; /* * Parse content */ priv->address = mimedir_attribute_get_value_text (attribute, &err); if (!priv->address) { g_propagate_error (error, err); return FALSE; } /* * Parse type attribute */ list = mimedir_attribute_get_parameter_values (attribute, "type"); if (list) { for (l = list; l != NULL; l = g_slist_next (l)) { const gchar *type = (const gchar *) l->data; if (!g_ascii_strcasecmp (type, "internet")) priv->type = MIMEDIR_VCARD_EMAIL_TYPE_INTERNET; else if (!g_ascii_strcasecmp (type, "x400")) priv->type = MIMEDIR_VCARD_EMAIL_TYPE_X400; else if (!g_ascii_strcasecmp (type, "pref")) priv->preferred = TRUE; else if (!g_ascii_strcasecmp (type, "home")) // custom priv->home = TRUE; else if (!g_ascii_strcasecmp (type, "work")) // custom priv->work = TRUE; else g_printerr (_("The email field is of unknown type %s.\n"), type); } } mimedir_attribute_free_parameter_values (attribute, list); return TRUE; } /** * mimedir_vcard_email_save_to_attribute: * @email: an e-mail object * * Returns a new attribute that describes the e-mail address. * * Return value: a new attribute **/ MIMEDirAttribute * mimedir_vcard_email_save_to_attribute (MIMEDirVCardEMail *email) { MIMEDirVCardEMailPriv *priv; MIMEDirAttribute *attr; g_return_val_if_fail (email != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD_EMAIL (email), NULL); priv = email->priv; attr = mimedir_attribute_new_with_name ("EMAIL"); mimedir_attribute_set_value_text (attr, priv->address); if (priv->preferred) mimedir_attribute_append_parameter_simple (attr, "TYPE", "pref"); if (priv->home) mimedir_attribute_append_parameter_simple (attr, "TYPE", "home"); if (priv->work) mimedir_attribute_append_parameter_simple (attr, "TYPE", "work"); switch (priv->type) { case MIMEDIR_VCARD_EMAIL_TYPE_INTERNET: mimedir_attribute_append_parameter_simple (attr, "TYPE", "internet"); break; case MIMEDIR_VCARD_EMAIL_TYPE_X400: mimedir_attribute_append_parameter_simple (attr, "TYPE", "x400"); break; default: break; /* dummy */ } return attr; } /** * mimedir_vcard_email_get_as_string: * @email: the email object * * Returns the email address as a human-readable string. The returned string * should be freed with g_free(). * * Return value: the email address as human-readable string **/ gchar * mimedir_vcard_email_get_as_string (MIMEDirVCardEMail *email) { g_return_val_if_fail (email != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD_EMAIL (email), NULL); return g_strdup (email->priv->address); } /** * mimedir_vcard_email_get_type_string: * @email: the email object * * Returns the type(s) of the email as a human-readable string. It * should be freed with g_free(). * * Return value: the type as human-readable string **/ gchar * mimedir_vcard_email_get_type_string (MIMEDirVCardEMail *email) { MIMEDirVCardEMailPriv *priv; GString *s; g_return_val_if_fail (email != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD_EMAIL (email), NULL); priv = email->priv; s = g_string_new (""); if (priv->preferred) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("preferred")); } switch (priv->type) { case MIMEDIR_VCARD_EMAIL_TYPE_UNKNOWN: /* dummy */ break; case MIMEDIR_VCARD_EMAIL_TYPE_INTERNET: if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("Internet")); break; case MIMEDIR_VCARD_EMAIL_TYPE_X400: if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("X.400")); break; } if (priv->home) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("home")); } if (priv->work) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("work")); } return g_string_free (s, FALSE); } libmimedir-0.4.2/mimedir/mimedir-vcard-phone.h0000644000175000017500000000501110603540660016201 00000000000000/* RFC 2426 vCard MIME Directory Profile -- Phone Object * Copyright (C) 2002 Sebastian Rittau * * $Id: mimedir-vcard-phone.h 32 2002-07-21 13:36:40Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_VCARD_PHONE_H__ #define __MIMEDIR_VCARD_PHONE_H__ #include #include #include "mimedir-attribute.h" #define MIMEDIR_TYPE_VCARD_PHONE (mimedir_vcard_phone_get_type()) #define MIMEDIR_VCARD_PHONE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_VCARD_PHONE, MIMEDirVCardPhone)) #define MIMEDIR_VCARD_PHONE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_VCARD_PHONE, MIMEDirVCardClassPhone)) #define MIMEDIR_IS_VCARD_PHONE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_VCARD_PHONE)) #define MIMEDIR_IS_VCARD_PHONE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_VCARD_PHONE)) typedef struct _MIMEDirVCardPhone MIMEDirVCardPhone; typedef struct _MIMEDirVCardPhoneClass MIMEDirVCardPhoneClass; typedef struct _MIMEDirVCardPhonePriv MIMEDirVCardPhonePriv; struct _MIMEDirVCardPhone { GObject parent; MIMEDirVCardPhonePriv *priv; }; struct _MIMEDirVCardPhoneClass { GObjectClass parent_class; void (* changed) (MIMEDirVCardPhone *phone); }; GType mimedir_vcard_phone_get_type (void); MIMEDirVCardPhone *mimedir_vcard_phone_new (void); MIMEDirVCardPhone *mimedir_vcard_phone_new_from_attribute (MIMEDirAttribute *attribute, GError **error); gboolean mimedir_vcard_phone_set_from_attribute (MIMEDirVCardPhone *phone, MIMEDirAttribute *attribute, GError **error); MIMEDirAttribute *mimedir_vcard_phone_save_to_attribute (MIMEDirVCardPhone *phone); gchar *mimedir_vcard_phone_get_as_string (MIMEDirVCardPhone *phone); gchar *mimedir_vcard_phone_get_type_string (MIMEDirVCardPhone *phone); #endif /* __MIMEDIR_VCARD_PHONE_H__ */ libmimedir-0.4.2/mimedir/mimedir-marshal.h0000644000175000017500000000043310654700146015430 00000000000000 #ifndef __mimedir_marshal_MARSHAL_H__ #define __mimedir_marshal_MARSHAL_H__ #include G_BEGIN_DECLS /* VOID:VOID (mimedir-marshal.list:1) */ #define mimedir_marshal_VOID__VOID g_cclosure_marshal_VOID__VOID G_END_DECLS #endif /* __mimedir_marshal_MARSHAL_H__ */ libmimedir-0.4.2/mimedir/mimedir-valarm.c0000644000175000017500000003466410603540660015270 00000000000000/* RFC 2445 vAlarm MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-valarm.c 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "mimedir-utils.h" #include "mimedir-valarm.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_valarm_class_init (MIMEDirVAlarmClass *klass); static void mimedir_valarm_init (MIMEDirVAlarm *valarm); static void mimedir_valarm_dispose (GObject *object); struct _MIMEDirVAlarmPriv { MIMEDirVAlarmType type; }; static MIMEDirVComponentClass *parent_class = NULL; /* * Class and Object Management */ GType mimedir_valarm_get_type (void) { static GType mimedir_valarm_type = 0; if (!mimedir_valarm_type) { static const GTypeInfo mimedir_valarm_info = { sizeof (MIMEDirVAlarmClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_valarm_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirVAlarm), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_valarm_init, }; mimedir_valarm_type = g_type_register_static (MIMEDIR_TYPE_VCOMPONENT, "MIMEDirVAlarm", &mimedir_valarm_info, 0); } return mimedir_valarm_type; } static void mimedir_valarm_class_init (MIMEDirVAlarmClass *klass) { GObjectClass *gobject_class; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_VALARM_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_valarm_dispose; parent_class = g_type_class_peek_parent (klass); } static void mimedir_valarm_init (MIMEDirVAlarm *valarm) { MIMEDirVAlarmPriv *priv; g_return_if_fail (valarm != NULL); g_return_if_fail (MIMEDIR_IS_VALARM (valarm)); priv = g_new0 (MIMEDirVAlarmPriv, 1); valarm->priv = priv; } static void mimedir_valarm_dispose (GObject *object) { MIMEDirVAlarm *valarm; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VALARM (object)); valarm = MIMEDIR_VALARM (object); g_free (valarm->priv); valarm->priv = NULL; G_OBJECT_CLASS (parent_class)->dispose (object); } /* * Public Methods */ /** * mimedir_valarm_new: * @type: the alarm type * * Creates a new (empty) vAlarm object. * * Return value: a new vAlarm object **/ MIMEDirVAlarm * mimedir_valarm_new (MIMEDirVAlarmType type) { MIMEDirVAlarm *valarm; valarm = g_object_new (MIMEDIR_TYPE_VALARM, NULL); valarm->priv->type = type; return valarm; } /** * mimedir_valarm_new_from_profile: * @profile: a #MIMEDirProfile object * @error: error storage location or %NULL * * Create a new vAlarm object and fills it with data retrieved from the * supplied profile object. If an error occurs during the read, @error * will be set and %NULL will be returned. * * Return value: the new vAlarm object or %NULL **/ MIMEDirVAlarm * mimedir_valarm_new_from_profile (MIMEDirProfile *profile, GError **error) { MIMEDirVAlarm *valarm; g_return_val_if_fail (profile != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); valarm = g_object_new (MIMEDIR_TYPE_VALARM, NULL); if (!mimedir_valarm_read_from_profile (valarm, profile, error)) { g_object_unref (G_OBJECT (valarm)); valarm = NULL; } return valarm; } /** * mimedir_valarm_read_from_profile: * @valarm: a vAlarm object * @profile: a profile object * @error: error storage location or %NULL * * Clears the supplied vAlarm object and re-initializes it with data read * from the supplied profile. If an error occurs during the read, @error * will be set and %FALSE will be returned. Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_valarm_read_from_profile (MIMEDirVAlarm *valarm, MIMEDirProfile *profile, GError **error) { MIMEDirVAlarmPriv *priv; gchar *name; gchar *action; g_return_val_if_fail (valarm != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VALARM (valarm), FALSE); g_return_val_if_fail (profile != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); priv = valarm->priv; g_object_get (G_OBJECT (profile), "name", &name, NULL); if (name && g_ascii_strcasecmp (name, "VALARM") != 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE_STR, name, "VCALENDAR"); g_free (name); return FALSE; } g_free (name); if (!mimedir_vcomponent_read_from_profile (MIMEDIR_VCOMPONENT (valarm), profile, error)) return FALSE; /* Validity checks */ g_object_get (G_OBJECT (valarm), "action", &action, NULL); if (!action) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING, MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING_STR, "ACTION"); return FALSE; } if (!g_ascii_strcasecmp (action, "AUDIO")) priv->type = MIMEDIR_VALARM_AUDIO; else if (!g_ascii_strcasecmp (action, "DISPLAY")) priv->type = MIMEDIR_VALARM_DISPLAY; else if (!g_ascii_strcasecmp (action, "EMAIL")) priv->type = MIMEDIR_VALARM_EMAIL; else if (!g_ascii_strcasecmp (action, "PROCEDURE")) priv->type = MIMEDIR_VALARM_PROCEDURE; else priv->type = MIMEDIR_VALARM_UNKNOWN; g_free (action); { guint duration, repeat; g_object_get (G_OBJECT (valarm), "duration", &duration, "repeat", &repeat, NULL); if (duration > 0 && repeat == 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING, MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING_STR, "REPEAT"); return FALSE; } if (duration == 0 && repeat > 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING, MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING_STR, "DURATION"); return FALSE; } } return TRUE; } /** * mimedir_valarm_write_to_profile: * @valarm: a valarm * * Saves the valarm object to a newly allocated profile object. * * Return value: a new profile **/ MIMEDirProfile * mimedir_valarm_write_to_profile (MIMEDirVAlarm *valarm) { g_return_val_if_fail (valarm != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VALARM (valarm), NULL); return mimedir_vcomponent_write_to_profile (MIMEDIR_VCOMPONENT (valarm), "vAlarm"); } /** * mimedir_valarm_write_to_channel: * @valarm: a valarm * @channel: I/O channel to save to * @error: error storage location or %NULL * * Saves the valarm object to the supplied I/O channel. If an error occurs * during the write, @error will be set and %FALSE will be returned. * Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_valarm_write_to_channel (MIMEDirVAlarm *valarm, GIOChannel *channel, GError **error) { MIMEDirProfile *profile; g_return_val_if_fail (valarm != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VALARM (valarm), FALSE); g_return_val_if_fail (channel != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); profile = mimedir_valarm_write_to_profile (valarm); if (!mimedir_profile_write_to_channel (profile, channel, error)) return FALSE; g_object_unref (G_OBJECT (profile)); return TRUE; } /** * mimedir_valarm_write_to_string: * @valarm: a valarm * * Saves the valarm object to a newly allocated memory buffer. You should * free the returned buffer with g_free(). * * Return value: a newly allocated memory buffer **/ gchar * mimedir_valarm_write_to_string (MIMEDirVAlarm *valarm) { MIMEDirProfile *profile; gchar *s; g_return_val_if_fail (valarm != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VALARM (valarm), FALSE); profile = mimedir_valarm_write_to_profile (valarm); s = mimedir_profile_write_to_string (profile); g_object_unref (G_OBJECT (profile)); return s; } /** * mimedir_valarm_set_alarm_type: * @valarm: a #MIMEDirVAlarm object * @type: the new type * * Sets the notification type of the #MIMEDirVAlarm object. **/ void mimedir_valarm_set_alarm_type (MIMEDirVAlarm *valarm, MIMEDirVAlarmType type) { g_return_if_fail (valarm != NULL); g_return_if_fail (MIMEDIR_IS_VALARM (valarm)); g_return_if_fail (type < MIMEDIR_VALARM_UNKNOWN || type > MIMEDIR_VALARM_PROCEDURE); valarm->priv->type = type; } /** * mimedir_valarm_get_alarm_type: * @valarm: a #MIMEDirVAlarm object * * Returns the notification type of the #MIMEDirVAlarm object. * * Return value: alarm type **/ MIMEDirVAlarmType mimedir_valarm_get_alarm_type (MIMEDirVAlarm *valarm) { g_return_val_if_fail (valarm != NULL, MIMEDIR_VALARM_UNKNOWN); g_return_val_if_fail (MIMEDIR_IS_VALARM (valarm), MIMEDIR_VALARM_UNKNOWN); return valarm->priv->type; } /** * mimedir_valarm_get_trigger: * @valarm: a #MIMEDirVAlarm object * @start: a #MIMEDirDateTime object * @end: a #MIMEDirDateTime object or %NULL * * Returns a newly allocated #MIMEDirDateTime object that relates the * trigger time of the vAlarm object, depending on the supplied @start * or @end clamp times. If @end is %NULL it is assumed that @end equals * @start. * * The returned object should be freed with g_object_unref(). * * Return value: a new #MIMEDirDateTime object **/ #define SECS_PER_DAY (60 * 60 * 24) MIMEDirDateTime * mimedir_valarm_get_trigger (MIMEDirVAlarm *valarm, MIMEDirDateTime *start, MIMEDirDateTime *end) { MIMEDirDateTime *dt; MIMEDirDateTime *trigger_dt; guint trigger; gboolean trigger_end; g_return_val_if_fail (valarm != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VALARM (valarm), NULL); g_return_val_if_fail (start != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_DATETIME (start), NULL); g_return_val_if_fail (end == NULL || MIMEDIR_IS_DATETIME (end), NULL); g_object_get (G_OBJECT (valarm), "trigger", &trigger, "trigger-datetime", &trigger_dt, "trigger-end", &trigger_end, NULL); if (trigger_end && end != NULL) start = end; if (trigger_dt && mimedir_datetime_is_valid (trigger_dt)) dt = mimedir_datetime_new_from_datetime (start->year, start->month, start->day, start->hour, start->minute, start->second); else { time_t t; t = mimedir_datetime_get_time_t (start); t += trigger; dt = mimedir_datetime_new_from_time_t (t); } if (trigger_dt) g_object_unref (G_OBJECT (trigger_dt)); return dt; } /** * mimedir_valarm_get_trigger_from_vcomponent: * @valarm: a #MIMEDirVAlarm object * @vcomponent: a #MIMEDirVComponent object * * Returns a newly allocated #MIMEDirDateTime object that relates the * trigger time of the vAlarm object, corresponding to the start and * end date of @component. * * The returned object should be freed with g_object_unref(). * * Return value: a new #MIMEDirDateTime object **/ MIMEDirDateTime * mimedir_valarm_get_trigger_from_vcomponent (MIMEDirVAlarm *valarm, MIMEDirVComponent *vcomponent) { MIMEDirDateTime *dt, *dtstart, *dtend; g_return_val_if_fail (valarm != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VALARM (valarm), NULL); g_return_val_if_fail (vcomponent != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), NULL); g_object_get (G_OBJECT (vcomponent), "dtstart", &dtstart, "dtend", &dtend, NULL); g_return_val_if_fail (dtstart != NULL, NULL); dt = mimedir_valarm_get_trigger (valarm, dtstart, dtend); g_object_unref (G_OBJECT (dtstart)); if (dtend) g_object_unref (G_OBJECT (dtend)); return dt; } /** * mimedir_valarm_get_next_occurence: * @valarm: a #MIMEDirVAlarm object * @vcomponent: a #MIMEDirVComponent object * @after: a #MIMEDirDateTime object * * Returns the first occurence of this alarm after or at the date specified by * the @after argument. If @after is %NULL, the very first occurence is * returned. If there is no occurence after the specified date, %NULL is * returned. * * Return value: a #MIMEDirDateTime object or %NULL **/ MIMEDirDateTime * mimedir_valarm_get_next_occurence (MIMEDirVAlarm *valarm, MIMEDirVComponent *vcomponent, MIMEDirDateTime *after) { MIMEDirDateTime *trigger; g_return_val_if_fail (valarm != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VALARM (valarm), NULL); g_return_val_if_fail (vcomponent != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), NULL); g_return_val_if_fail (after != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_DATETIME (after), NULL); trigger = mimedir_valarm_get_trigger_from_vcomponent (valarm, vcomponent); if (!after) return trigger; if (mimedir_datetime_compare (trigger, after) >= 0) return trigger; /* FIXME */ g_object_unref (G_OBJECT (trigger)); return NULL; } /** * mimedir_valarm_get_reminder_string: * @valarm: a #MIMEDirVAlarm object * @vcomponent: the corresponding #MIMEDirVComponent object * * Return a string that can be presented to the user as reminder for * the corresponding appointment or to-do list entry. The returned * string should be freed with g_free(). * * Return value: a reminder string **/ gchar * mimedir_valarm_get_reminder_string (MIMEDirVAlarm *valarm, MIMEDirVComponent *vcomponent) { MIMEDirDateTime *dtstart; gchar *desc, *date, *msg; g_return_val_if_fail (valarm != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VALARM (valarm), NULL); g_return_val_if_fail (vcomponent != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCOMPONENT (vcomponent), NULL); g_object_get (G_OBJECT (valarm), "description", &desc, NULL); g_object_get (G_OBJECT (vcomponent), "dtstart", &dtstart, NULL); g_assert (desc != NULL); g_assert (mimedir_datetime_is_valid (dtstart)); date = mimedir_datetime_to_string (dtstart); g_object_unref (G_OBJECT (dtstart)); msg = g_strdup_printf (_("Reminder of your appointment:\n\n%s\n%s"), date, desc); g_free (date); g_free (desc); return msg; } libmimedir-0.4.2/mimedir/mimedir-vcard.h0000644000175000017500000001142610603540660015101 00000000000000/* RFC 2426 vCard MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vcard.h 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_VCARD_H__ #define __MIMEDIR_VCARD_H__ #include #include #include "mimedir-profile.h" #include "mimedir-vcard-address.h" #include "mimedir-vcard-email.h" #include "mimedir-vcard-phone.h" #define MIMEDIR_VCARD_TIMEZONE_MAX (+23 * 60 + 59) #define MIMEDIR_VCARD_TIMEZONE_MIN (-23 * 60 + 59) #define MIMEDIR_VCARD_LATITUDE_MAX (+90.0) #define MIMEDIR_VCARD_LATITUDE_MIN (-90.0) #define MIMEDIR_VCARD_LONGITUDE_MAX (+180.0) #define MIMEDIR_VCARD_LONGITUDE_MIN (-180.0) typedef enum { MIMEDIR_VCARD_KEY_UNKNOWN, /* Key type is not known */ MIMEDIR_VCARD_KEY_X509, /* Key is a X.509 key */ MIMEDIR_VCARD_KEY_PGP /* Key is a PGP/GnuPG key */ } MIMEDirVCardKeyType; typedef struct _MIMEDirVCardKey { gchar *key; MIMEDirVCardKeyType type; } MIMEDirVCardKey; #define MIMEDIR_TYPE_VCARD (mimedir_vcard_get_type()) #define MIMEDIR_VCARD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_VCARD, MIMEDirVCard)) #define MIMEDIR_VCARD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_VCARD, MIMEDirVCardClass)) #define MIMEDIR_IS_VCARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_VCARD)) #define MIMEDIR_IS_VCARD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_VCARD)) typedef struct _MIMEDirVCard MIMEDirVCard; typedef struct _MIMEDirVCardClass MIMEDirVCardClass; typedef struct _MIMEDirVCardPriv MIMEDirVCardPriv; struct _MIMEDirVCard { GObject parent; MIMEDirVCardPriv *priv; }; struct _MIMEDirVCardClass { GObjectClass parent_class; void (* changed) (MIMEDirVCard *card); }; GList *mimedir_vcard_read_file (const gchar *filename, GError **error); GList *mimedir_vcard_read_channel (GIOChannel *channel, GError **error); void mimedir_vcard_free_list (GList *list); gboolean mimedir_vcard_write_list (const gchar *filename, GList *list, GError **error); gboolean mimedir_vcard_write_list_to_channel (GIOChannel *channel, GList *list, GError **error); GType mimedir_vcard_get_type (void); MIMEDirVCard *mimedir_vcard_new (void); MIMEDirVCard *mimedir_vcard_new_from_profile (MIMEDirProfile *profile, GError **error); gboolean mimedir_vcard_read_from_profile (MIMEDirVCard *vcard, MIMEDirProfile *profile, GError **error); MIMEDirProfile *mimedir_vcard_write_to_profile (MIMEDirVCard *vcard); gboolean mimedir_vcard_write_to_channel (MIMEDirVCard *vcard, GIOChannel *channel, GError **error); gchar *mimedir_vcard_write_to_string (MIMEDirVCard *vcard); void mimedir_vcard_set_birthday (MIMEDirVCard *vcard, MIMEDirDateTime *birthday); MIMEDirDateTime *mimedir_vcard_get_birthday (MIMEDirVCard *vcard); void mimedir_vcard_append_address (MIMEDirVCard *vcard, MIMEDirVCardAddress *address); void mimedir_vcard_remove_address (MIMEDirVCard *vcard, MIMEDirVCardAddress *address); void mimedir_vcard_append_email (MIMEDirVCard *vcard, MIMEDirVCardEMail *email); void mimedir_vcard_remove_email (MIMEDirVCard *vcard, MIMEDirVCardEMail *email); void mimedir_vcard_append_phone (MIMEDirVCard *vcard, MIMEDirVCardPhone *phone); void mimedir_vcard_remove_phone (MIMEDirVCard *vcard, MIMEDirVCardPhone *phone); MIMEDirVCardAddress * mimedir_vcard_get_preferred_address (MIMEDirVCard *vcard); MIMEDirVCardEMail * mimedir_vcard_get_preferred_email (MIMEDirVCard *vcard); MIMEDirVCardPhone * mimedir_vcard_get_preferred_phone (MIMEDirVCard *vcard); void mimedir_vcard_set_timezone (MIMEDirVCard *vcard, gint timezone); void mimedir_vcard_clear_timezone (MIMEDirVCard *vcard); gboolean mimedir_vcard_get_timezone (MIMEDirVCard *vcard, gint *timezone); void mimedir_vcard_set_geo_position (MIMEDirVCard *vcard, gdouble latitude, gdouble longitude); void mimedir_vcard_clear_geo_position (MIMEDirVCard *vcard); gboolean mimedir_vcard_get_geo_position (MIMEDirVCard *vcard, gdouble *latitude, gdouble *longitude); gchar *mimedir_vcard_get_as_string (MIMEDirVCard *vcard); #endif /* __MIMEDIR_VCARD_H__ */ libmimedir-0.4.2/mimedir/Makefile.in0000644000175000017500000005171710654703052014263 00000000000000# 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@ # $Id: Makefile.am,v 1.19 2002/12/19 15:21:27 srittau Exp $ # # The Library # 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 = : build_triplet = @build@ host_triplet = @host@ subdir = mimedir DIST_COMMON = $(include_HEADERS) $(srcdir)/Makefile.am \ $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = 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)$(libdir)" "$(DESTDIR)$(includedir)" libLTLIBRARIES_INSTALL = $(INSTALL) LTLIBRARIES = $(lib_LTLIBRARIES) am__DEPENDENCIES_1 = libmimedir_la_DEPENDENCIES = $(am__DEPENDENCIES_1) am_libmimedir_la_OBJECTS = mimedir-marshal.lo mimedir-attachment.lo \ mimedir-attendee.lo mimedir-attribute.lo mimedir-datetime.lo \ mimedir-init.lo mimedir-period.lo mimedir-profile.lo \ mimedir-recurrence.lo mimedir-utils.lo mimedir-valarm.lo \ mimedir-vcal.lo mimedir-vcard.lo mimedir-vcard-address.lo \ mimedir-vcard-email.lo mimedir-vcard-phone.lo \ mimedir-vcomponent.lo mimedir-vevent.lo mimedir-vfreebusy.lo \ mimedir-vjournal.lo mimedir-vtimezone.lo mimedir-vtodo.lo libmimedir_la_OBJECTS = $(am_libmimedir_la_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(libmimedir_la_SOURCES) DIST_SOURCES = $(libmimedir_la_SOURCES) includeHEADERS_INSTALL = $(INSTALL_HEADER) HEADERS = $(include_HEADERS) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTKDOC = @GTKDOC@ HTML_DIR = @HTML_DIR@ 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_ICONV = @INTLTOOL_ICONV@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_MSGFMT = @INTLTOOL_MSGFMT@ INTLTOOL_MSGMERGE = @INTLTOOL_MSGMERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ 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_XGETTEXT = @INTLTOOL_XGETTEXT@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MIMEDIR_MAJOR_VERSION = @MIMEDIR_MAJOR_VERSION@ MIMEDIR_MICRO_VERSION = @MIMEDIR_MICRO_VERSION@ MIMEDIR_MINOR_VERSION = @MIMEDIR_MINOR_VERSION@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ 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@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = $(prefix)/include/mimedir-1.0/mimedir infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ lib_LTLIBRARIES = libmimedir.la INCLUDES = \ -I$(top_srcdir) -DG_DISABLE_DEPRECATED $(GLIB_CFLAGS) \ -DLOCALEDIR=\""$(datadir)/locale"\" libmimedir_la_LIBADD = $(GLIB_LIBS) libmimedir_la_LDFLAGS = -release $(MIMEDIR_MAJOR_VERSION).$(MIMEDIR_MINOR_VERSION) -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) libmimedir_la_SOURCES = \ mimedir-marshal.c \ mimedir-marshal.h \ mimedir-attachment.c \ mimedir-attendee.c \ mimedir-attribute.c \ mimedir-datetime.c \ mimedir-init.c \ mimedir-period.c \ mimedir-profile.c \ mimedir-recurrence.c \ mimedir-utils.c \ mimedir-utils.h \ mimedir-valarm.c \ mimedir-vcal.c \ mimedir-vcard.c \ mimedir-vcard-address.c \ mimedir-vcard-email.c \ mimedir-vcard-phone.c \ mimedir-vcomponent.c \ mimedir-vevent.c \ mimedir-vfreebusy.c \ mimedir-vjournal.c \ mimedir-vtimezone.c \ mimedir-vtodo.c include_HEADERS = \ mimedir.h \ mimedir-attachment.h \ mimedir-attendee.h \ mimedir-attribute.h \ mimedir-datetime.h \ mimedir-init.h \ mimedir-period.h \ mimedir-profile.h \ mimedir-recurrence.h \ mimedir-valarm.h \ mimedir-vcal.h \ mimedir-vcard.h \ mimedir-vcard-address.h \ mimedir-vcard-email.h \ mimedir-vcard-phone.h \ mimedir-vcomponent.h \ mimedir-vevent.h \ mimedir-vfreebusy.h \ mimedir-vjournal.h \ mimedir-vtimezone.h \ mimedir-vtodo.h EXTRA_DIST = \ mimedir-marshal.list all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu mimedir/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu mimedir/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)" @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ if test -f $$p; then \ f=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \ $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \ else :; fi; \ done uninstall-libLTLIBRARIES: @$(NORMAL_UNINSTALL) @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \ p=$(am__strip_dir) \ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \ done clean-libLTLIBRARIES: -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ test "$$dir" != "$$p" || dir=.; \ echo "rm -f \"$${dir}/so_locations\""; \ rm -f "$${dir}/so_locations"; \ done libmimedir.la: $(libmimedir_la_OBJECTS) $(libmimedir_la_DEPENDENCIES) $(LINK) -rpath $(libdir) $(libmimedir_la_LDFLAGS) $(libmimedir_la_OBJECTS) $(libmimedir_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-attachment.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-attendee.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-attribute.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-datetime.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-init.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-marshal.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-period.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-profile.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-recurrence.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-utils.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-valarm.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-vcal.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-vcard-address.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-vcard-email.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-vcard-phone.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-vcard.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-vcomponent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-vevent.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-vfreebusy.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-vjournal.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-vtimezone.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mimedir-vtodo.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: install-includeHEADERS: $(include_HEADERS) @$(NORMAL_INSTALL) test -z "$(includedir)" || $(mkdir_p) "$(DESTDIR)$(includedir)" @list='$(include_HEADERS)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ echo " $(includeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(includedir)/$$f'"; \ $(includeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(includedir)/$$f"; \ done uninstall-includeHEADERS: @$(NORMAL_UNINSTALL) @list='$(include_HEADERS)'; for p in $$list; do \ f=$(am__strip_dir) \ echo " rm -f '$(DESTDIR)$(includedir)/$$f'"; \ rm -f "$(DESTDIR)$(includedir)/$$f"; \ 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: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(LTLIBRARIES) $(HEADERS) installdirs: for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; 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 clean-libLTLIBRARIES clean-libtool \ mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-includeHEADERS install-exec-am: install-libLTLIBRARIES install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-includeHEADERS uninstall-info-am \ uninstall-libLTLIBRARIES .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ clean-libLTLIBRARIES clean-libtool ctags distclean \ distclean-compile distclean-generic distclean-libtool \ distclean-tags distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-includeHEADERS install-info \ install-info-am install-libLTLIBRARIES install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-includeHEADERS uninstall-info-am \ uninstall-libLTLIBRARIES # # Signal Marshallers # mimedir-marshal.h: mimedir-marshal.list ( @GLIB_GENMARSHAL@ --prefix=mimedir_marshal $< --header > mimedir-marshal.tmp \ && mv mimedir-marshal.tmp $@ ) \ || ( rm -f mimedir-marshal.tmp && exit 1 ) mimedir-marshal.c: mimedir-marshal.list mimedir-marshal.h ( @GLIB_GENMARSHAL@ --prefix=mimedir_marshal $< --body > mimedir-marshal.tmp \ && mv mimedir-marshal.tmp $@ ) \ || ( rm -f mimedir-marshal.tmp && exit 1 ) # 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: libmimedir-0.4.2/mimedir/mimedir-profile.c0000644000175000017500000004406610603540660015443 00000000000000/* RFC 2425 MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-profile.c 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include "mimedir-profile.h" #include "mimedir-utils.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif enum { PROP_NAME = 1, PROP_CHARSET }; static void mimedir_profile_class_init (MIMEDirProfileClass *klass); static void mimedir_profile_init (MIMEDirProfile *profile); static void mimedir_profile_dispose (GObject *object); static void mimedir_profile_set_property(GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); static void mimedir_profile_get_property(GObject *object, guint property_id, GValue *value, GParamSpec *pspec); struct _MIMEDirProfilePriv { GSList *attributes; GSList *sub_profiles; gchar *name; gchar *charset; }; static GObjectClass *parent_class = NULL; /* * Class and Object Management */ GType mimedir_profile_get_type (void) { static GType mimedir_profile_type = 0; if (!mimedir_profile_type) { static const GTypeInfo mimedir_profile_info = { sizeof (MIMEDirProfileClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_profile_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirProfile), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_profile_init, }; mimedir_profile_type = g_type_register_static (G_TYPE_OBJECT, "MIMEDirProfile", &mimedir_profile_info, 0); } return mimedir_profile_type; } static void mimedir_profile_class_init (MIMEDirProfileClass *klass) { GObjectClass *gobject_class; GParamSpec *pspec; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_PROFILE_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_profile_dispose; gobject_class->set_property = mimedir_profile_set_property; gobject_class->get_property = mimedir_profile_get_property; parent_class = g_type_class_peek_parent (klass); /* Properties */ pspec = g_param_spec_string ("name", _("Profile name"), _("The name (type) of the profile"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_NAME, pspec); pspec = g_param_spec_string ("charset", _("Character set"), _("Character set used to en-/decode this profile"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_CHARSET, pspec); } static void mimedir_profile_init (MIMEDirProfile *profile) { g_return_if_fail (profile != NULL); g_return_if_fail (MIMEDIR_IS_PROFILE (profile)); profile->priv = g_new0 (MIMEDirProfilePriv, 1); profile->priv->charset = g_strdup ("utf-8"); } static void mimedir_profile_dispose (GObject *object) { MIMEDirProfile *profile; MIMEDirProfilePriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_PROFILE (object)); profile = MIMEDIR_PROFILE (object); priv = profile->priv; if (priv) { GSList *item; g_free (priv->charset); for (item = priv->attributes; item != NULL; item = g_slist_next (item)) g_object_unref (G_OBJECT (item->data)); g_slist_free (priv->attributes); g_free (priv->name); for (item = priv->sub_profiles; item != NULL; item = g_slist_next (item)) g_object_unref (G_OBJECT (item->data)); g_slist_free (priv->sub_profiles); g_free (priv); profile->priv = NULL; } G_OBJECT_CLASS (parent_class)->dispose (object); } static void mimedir_profile_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec) { MIMEDirProfile *profile; MIMEDirProfilePriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_PROFILE (object)); profile = MIMEDIR_PROFILE (object); priv = profile->priv; switch (property_id) { case PROP_NAME: mimedir_utils_set_property_string (&priv->name, value); break; case PROP_CHARSET: mimedir_utils_set_property_string (&priv->charset, value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } } static void mimedir_profile_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec) { MIMEDirProfile *profile; MIMEDirProfilePriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_PROFILE (object)); profile = MIMEDIR_PROFILE (object); priv = profile->priv; switch (property_id) { case PROP_NAME: g_value_set_string (value, priv->name); break; case PROP_CHARSET: g_value_set_string (value, priv->charset); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } } /* * Private Methods */ static gboolean append_attribute (MIMEDirProfile *profile, MIMEDirAttribute *attribute, GError **error) { g_return_val_if_fail (profile != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), FALSE); g_return_val_if_fail (attribute != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); if (!g_ascii_strcasecmp ("BEGIN", mimedir_attribute_get_name (attribute))) { const gchar *string; if (profile->priv->name) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "BEGIN"); return FALSE; } string = mimedir_attribute_get_value (attribute); g_free (profile->priv->name); profile->priv->name = g_strdup (string); g_strchomp (profile->priv->name); } g_object_ref (G_OBJECT (attribute)); profile->priv->attributes = g_slist_append (profile->priv->attributes, attribute); return TRUE; } /* * Public Methods */ GQuark mimedir_profile_error_quark (void) { static gchar qs[] = "mimedir-profile-error-quark"; return g_quark_from_static_string (qs); } /** * mimedir_profile_new: * @type: the profile type, may be %NULL * * Creates a new profile of a given type. * * Return value: pointer to the new profile **/ MIMEDirProfile * mimedir_profile_new (const gchar *type) { MIMEDirProfile *profile; g_return_val_if_fail (type == NULL || type[0] != '\0', NULL); profile = g_object_new (MIMEDIR_TYPE_PROFILE, NULL); profile->priv->name = g_strdup (type); return profile; } /** * mimedir_profile_set_charset: * @attribute: a #MIMEDirProfile * @charset: character set for encoding/decoding this profile * * Sets the character set that should be used to encode or decode this * profile. Defaults to "utf-8". */ void mimedir_profile_set_charset (MIMEDirProfile *profile, const gchar *charset) { g_return_if_fail (profile != NULL); g_return_if_fail (MIMEDIR_IS_PROFILE (profile)); g_return_if_fail (charset != NULL); g_free (profile->priv->charset); profile->priv->charset = g_strdup (charset); } /** * mimedir_profile_get_charset: * @attribute: a #MIMEDirProfile * * Returns the character set that is used to encode or decode this profile. * * Return value: the character set for encoding/decoding this profile */ const gchar * mimedir_profile_get_charset (MIMEDirProfile *profile) { g_return_val_if_fail (profile != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), NULL); return profile->priv->charset; } /** * mimedir_profile_parse: * @profile: a #MIMEDirProfile * @string: string to parse * @error: error storage location or %NULL * * Clear the supplied profile and re-initialize it with data retrieved from * the supplied string. If an error occures while parsing, @error will be set * and %FALSE will be returned. * * Return value: length of consumed string or -1 on error */ ssize_t mimedir_profile_parse (MIMEDirProfile *profile, const gchar *string, GError **error) { MIMEDirAttribute *attribute = NULL; const gchar *name; ssize_t pos = 0; GSList *profile_stack = NULL; GSList *item; g_return_val_if_fail (profile != NULL, -1); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), -1); g_return_val_if_fail (string != NULL, -1); g_return_val_if_fail (error == NULL || *error == NULL, -1); /* Read profile. If the first attribute is a BEGIN, read until reaching * the matching END attribute. Otherwise read to EOF. */ /* Read the first attribute */ attribute = mimedir_attribute_new (); mimedir_attribute_set_charset (attribute, profile->priv->charset); pos = mimedir_attribute_parse (attribute, string, error); if (pos < 0) { g_object_unref (G_OBJECT (attribute)); return -1; } if (!append_attribute (profile, attribute, error)) { g_object_unref (G_OBJECT (attribute)); return -1; } g_object_unref (G_OBJECT (attribute)); /* Iterate over the attributes */ g_object_ref (G_OBJECT (profile)); for (;;) { ssize_t newpos; /* Read next attribute */ attribute = mimedir_attribute_new (); mimedir_attribute_set_charset (attribute, profile->priv->charset); newpos = mimedir_attribute_parse (attribute, string + pos, error); if (newpos < 0) { g_object_unref (G_OBJECT (attribute)); pos = -1; break; } else if (newpos == 0) { if (profile->priv->name || profile_stack) { /* premature EOF */ g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_UNEXPECTED_END, MIMEDIR_PROFILE_ERROR_UNEXPECTED_END_STR); pos = -1; } break; } pos += newpos; /* Check whether it's a BEGIN or END attribute */ name = mimedir_attribute_get_name (attribute); if (!g_ascii_strcasecmp (name, "BEGIN")) { /* Read nested profile */ profile_stack = g_slist_prepend (profile_stack, profile); profile = mimedir_profile_new (NULL); /* Append attribute */ if (!append_attribute (profile, attribute, error)) { g_object_unref (G_OBJECT (attribute)); pos = -1; break; } } else if (!g_ascii_strcasecmp (name, "END")) { MIMEDirProfile *old_profile; gchar *v; v = mimedir_attribute_get_value_text (attribute, error); if (!v) { g_object_unref (G_OBJECT (attribute)); pos = -1; break; } if (!profile->priv->name || !mimedir_utils_compare_tokens (profile->priv->name, v)) { g_object_unref (G_OBJECT (attribute)); g_free (v); g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_UNMATCHED_END, MIMEDIR_PROFILE_ERROR_UNMATCHED_END_STR); pos = -1; break; } g_free (v); /* Success: append attribute */ if (!append_attribute (profile, attribute, error)) { g_object_unref (G_OBJECT (attribute)); pos = -1; break; } /* Finish this profile */ if (!profile_stack) break; old_profile = profile; profile = MIMEDIR_PROFILE (profile_stack->data); profile_stack = g_slist_delete_link (profile_stack, profile_stack); mimedir_profile_append_subprofile (profile, old_profile); g_object_unref (G_OBJECT (old_profile)); } else { /* Append attribute */ if (!append_attribute (profile, attribute, error)) { g_object_unref (G_OBJECT (attribute)); pos = -1; break; } } } g_object_unref (G_OBJECT (profile)); for (item = profile_stack; item != NULL; item = g_slist_next (item)) g_object_unref (G_OBJECT (item->data)); g_slist_free (profile_stack); return pos; } /** * mimedir_profile_write_to_channel: * @profile: a #MIMEDirProfile * @channel: I/O channel to write to * @error: error storage location or %NULL * * Writes the profile to the supplied I/O channel. If an error occurs * during the write, @error will be set and %FALSE will be returned. * Otherwise %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_profile_write_to_channel (MIMEDirProfile *profile, GIOChannel *channel, GError **error) { MIMEDirProfilePriv *priv; GSList *l; g_return_val_if_fail (profile != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), FALSE); g_return_val_if_fail (channel != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); priv = profile->priv; if (priv->name) { if (g_io_channel_write_chars (channel, "BEGIN:", -1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; if (g_io_channel_write_chars (channel, priv->name, -1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; if (g_io_channel_write_chars (channel, "\n", 1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; } for (l = priv->attributes; l != NULL; l = g_slist_next (l)) { MIMEDirAttribute *attr; g_assert (l->data != NULL && MIMEDIR_IS_ATTRIBUTE (l->data)); attr = MIMEDIR_ATTRIBUTE (l->data); if (!mimedir_attribute_write_to_channel (attr, channel, error)) return FALSE; } for (l = priv->sub_profiles; l != NULL; l = g_slist_next (l)) { MIMEDirProfile *prof; g_assert (l->data != NULL && MIMEDIR_IS_PROFILE (l->data)); prof = MIMEDIR_PROFILE (l->data); if (g_io_channel_write_chars (channel, "\n", 1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; if (!mimedir_profile_write_to_channel (prof, channel, error)) return FALSE; } if (priv->name) { if (g_io_channel_write_chars (channel, "END:", -1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; if (g_io_channel_write_chars (channel, priv->name, -1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; if (g_io_channel_write_chars (channel, "\n", 1, NULL, error) != G_IO_STATUS_NORMAL) return FALSE; } return TRUE; } /** * mimedir_profile_write_to_string: * @profile: a #MIMEDirProfile * * Saves the profile to a newly allocated string. It should be freed with * g_free(). * * Return value: a string **/ gchar * mimedir_profile_write_to_string (MIMEDirProfile *profile) { GError *error = NULL; GIOChannel *channel; gchar *tmpname = NULL; gchar *buffer; int fd; g_return_val_if_fail (profile != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), FALSE); /* Write profile to temp file */ fd = g_file_open_tmp (NULL, &tmpname, &error); if (fd < 0) { g_free (tmpname); g_warning (error->message); g_error_free (error); return g_strdup (""); } channel = g_io_channel_unix_new (fd); if (!mimedir_profile_write_to_channel (profile, channel, &error)) { g_free (tmpname); g_io_channel_unref (channel); close(fd); g_warning (error->message); g_error_free (error); return g_strdup (""); } g_io_channel_unref (channel); close(fd); if (!g_file_get_contents (tmpname, &buffer, NULL, &error)) { g_free (tmpname); g_warning (error->message); g_error_free (error); return g_strdup (""); } g_unlink(tmpname); g_free (tmpname); return buffer; } /** * mimedir_profile_append_attribute: * @profile: a #MIMEDirProfile * @attribute: attribute to add * * Adds an attribute to the supplied profile. **/ void mimedir_profile_append_attribute (MIMEDirProfile *profile, MIMEDirAttribute *attribute) { g_return_if_fail (profile != NULL); g_return_if_fail (MIMEDIR_IS_PROFILE (profile)); g_return_if_fail (attribute != NULL); g_return_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute)); g_object_ref (G_OBJECT (attribute)); profile->priv->attributes = g_slist_append (profile->priv->attributes, attribute); } /** * mimedir_profile_get_attribute * @profile: a #MIMEDirProfile * @name: attribute name * * Tries to find the first occurence of a given attribute by @name and * return the MIMEDirAttribute object. If no attribute with the given * name is found, %NULL is returned. * * Return value: the attribute or %NULL **/ MIMEDirAttribute * mimedir_profile_get_attribute (MIMEDirProfile *profile, const gchar *name) { GSList *current; g_return_val_if_fail (profile != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), NULL); g_return_val_if_fail (name != NULL, NULL); for (current = profile->priv->attributes; current != NULL; current = g_slist_next (current)) { const gchar *attname; attname = mimedir_attribute_get_name (MIMEDIR_ATTRIBUTE (current->data)); if (!g_ascii_strcasecmp (name, attname)) return MIMEDIR_ATTRIBUTE (current->data); } /* Not found */ return NULL; } /** * mimedir_profile_get_attribute_list: * @profile: a #MIMEDirProfile * * Return the ordered list of all the profile's attributes. * * Return value: the attribute list **/ GSList * mimedir_profile_get_attribute_list (MIMEDirProfile *profile) { g_return_val_if_fail (profile != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), NULL); return profile->priv->attributes; } /** * mimedir_profile_append_subprofile: * @profile: a #MIMEDirProfile * @sub_profile: a #MIMEDirProfile that's to be appended * * Appends @sub_profile to @profile as a sub-profile. **/ void mimedir_profile_append_subprofile (MIMEDirProfile *profile, MIMEDirProfile *sub_profile) { MIMEDirProfilePriv *priv; g_return_if_fail (profile != NULL); g_return_if_fail (MIMEDIR_IS_PROFILE (profile)); g_return_if_fail (sub_profile != NULL); g_return_if_fail (MIMEDIR_IS_PROFILE (sub_profile)); priv = profile->priv; g_object_ref (G_OBJECT (sub_profile)); priv->sub_profiles = g_slist_append (priv->sub_profiles, sub_profile); } /** * mimedir_profile_get_subprofiles: * @profile: a #MIMEDirProfile * * Returns the list of all sub-profiles of @profile. The returned list * must not be altered in any way! * * Return value: #GSList containing all sub-profiles **/ GSList * mimedir_profile_get_subprofiles (MIMEDirProfile *profile) { g_return_val_if_fail (profile != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), NULL); return profile->priv->sub_profiles; } libmimedir-0.4.2/mimedir/mimedir-recurrence.c0000644000175000017500000004027310603540660016134 00000000000000/* RFC 2445 iCal Recurrence Object * Copyright (C) 2002-2005 Sebastian Rittau * Copyright (C) 2005 Martin Felis * * $Id: mimedir-recurrence.c 235 2005-10-08 06:46:36Z ituohela $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "mimedir-attribute.h" #include "mimedir-datetime.h" #include "mimedir-profile.h" #include "mimedir-recurrence.h" #include "mimedir-utils.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_recurrence_class_init (MIMEDirRecurrenceClass *klass); static void mimedir_recurrence_init (MIMEDirRecurrence *recurrence); static void mimedir_recurrence_dispose (GObject *object); static void mimedir_recurrence_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); static void mimedir_recurrence_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); enum { PROP_FREQ = 1, PROP_UNTIL, PROP_COUNT, PROP_INTERVAL, PROP_UNIT, PROP_UNITLIST, PROP_WKST }; struct _MIMEDirRecurrencePriv { MIMEDirRecurrenceFrequency freq; MIMEDirDateTime *until; guint8 count; guint8 interval; MIMEDirRecurrenceUnit unit; gchar *units; guint8 wkst; }; static GObjectClass *parent_class = NULL; /* * Utility Functions */ static const gchar * freq_to_string (MIMEDirRecurrenceFrequency freq) { switch (freq) { case RECURRENCE_SECONDLY: return "SECONDLY"; case RECURRENCE_MINUTELY: return "MINUTELY"; case RECURRENCE_HOURLY: return "HOURLY"; case RECURRENCE_DAILY: return "DAILY"; case RECURRENCE_WEEKLY: return "WEEKLY"; case RECURRENCE_MONTHLY: return "MONTHLY"; case RECURRENCE_YEARLY: return "YEARLY"; default: g_return_val_if_reached (NULL); } } static MIMEDirRecurrenceFrequency string_to_freq (const gchar *s) { if (strcmp (s, "SECONDLY") == 0) return RECURRENCE_SECONDLY; else if (strcmp (s, "MINUTELY") == 0) return RECURRENCE_MINUTELY; else if (strcmp (s, "HOURLY") == 0) return RECURRENCE_HOURLY; else if (strcmp (s, "DAILY") == 0) return RECURRENCE_DAILY; else if (strcmp (s, "WEEKLY") == 0) return RECURRENCE_WEEKLY; else if (strcmp (s, "MONTHLY") == 0) return RECURRENCE_MONTHLY; else if (strcmp (s, "YEARLY") == 0) return RECURRENCE_YEARLY; else return -1; } static const gchar * unit_to_string (MIMEDirRecurrenceUnit unit) { switch (unit) { case RECURRENCE_UNIT_SECOND: return "BYSECOND"; case RECURRENCE_UNIT_MINUTE: return "BYMINUTE"; case RECURRENCE_UNIT_HOUR: return "BYHOUR"; case RECURRENCE_UNIT_DAY: return "BYDAY"; case RECURRENCE_UNIT_MONTHDAY: return "BYMONTHDAY"; case RECURRENCE_UNIT_YEARDAY: return "BYYEARDAY"; case RECURRENCE_UNIT_WEEKNO: return "BYWEEKNO"; case RECURRENCE_UNIT_MONTH: return "BYMONTH"; default: g_return_val_if_reached (NULL); } } static MIMEDirRecurrenceUnit string_to_unit (const gchar *s) { if (strcmp (s, "BYSECOND") == 0) return RECURRENCE_UNIT_SECOND; else if (strcmp (s, "BYMINUTE") == 0) return RECURRENCE_UNIT_MINUTE; else if (strcmp (s, "BYHOUR") == 0) return RECURRENCE_UNIT_HOUR; else if (strcmp (s, "BYDAY") == 0) return RECURRENCE_UNIT_DAY; else if (strcmp (s, "BYMONTHDAY") == 0) return RECURRENCE_UNIT_MONTHDAY; else if (strcmp (s, "BYYEARDAY") == 0) return RECURRENCE_UNIT_YEARDAY; else if (strcmp (s, "BYWEEKNO") == 0) return RECURRENCE_UNIT_WEEKNO; else if (strcmp (s, "BYMONTH") == 0) return RECURRENCE_UNIT_MONTH; else return -1; } static const gchar * weekday_to_string (GDateWeekday weekday) { switch (weekday) { case G_DATE_MONDAY: return "MO"; case G_DATE_TUESDAY: return "TU"; case G_DATE_WEDNESDAY: return "WE"; case G_DATE_THURSDAY: return "TH"; case G_DATE_FRIDAY: return "FR"; case G_DATE_SATURDAY: return "SA"; case G_DATE_SUNDAY: return "SU"; default: g_return_val_if_reached (NULL); } } static GDateWeekday string_to_weekday (const gchar *s) { if (strcmp (s, "MO") == 0) return G_DATE_MONDAY; else if (strcmp (s, "TU") == 0) return G_DATE_TUESDAY; else if (strcmp (s, "WE") == 0) return G_DATE_WEDNESDAY; else if (strcmp (s, "TH") == 0) return G_DATE_THURSDAY; else if (strcmp (s, "FR") == 0) return G_DATE_FRIDAY; else if (strcmp (s, "SA") == 0) return G_DATE_SATURDAY; else if (strcmp (s, "SU") == 0) return G_DATE_SUNDAY; else return G_DATE_BAD_WEEKDAY; } /* * Class and Object Management */ GType mimedir_recurrence_get_type (void) { static GType mimedir_recurrence_type = 0; if (!mimedir_recurrence_type) { static const GTypeInfo mimedir_recurrence_info = { sizeof (MIMEDirRecurrenceClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_recurrence_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirRecurrence), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_recurrence_init, }; mimedir_recurrence_type = g_type_register_static (G_TYPE_OBJECT, "MIMEDirRecurrence", &mimedir_recurrence_info, 0); } return mimedir_recurrence_type; } static void mimedir_recurrence_class_init (MIMEDirRecurrenceClass *klass) { GObjectClass *gobject_class; GParamSpec *pspec; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_RECURRENCE_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_recurrence_dispose; gobject_class->set_property = mimedir_recurrence_set_property; gobject_class->get_property = mimedir_recurrence_get_property; parent_class = g_type_class_peek_parent (klass); /* Properties */ pspec = g_param_spec_uint ("frequency", _("Frequency"), _("Frequency type of this recurrency rule"), RECURRENCE_SECONDLY, RECURRENCE_YEARLY, RECURRENCE_DAILY, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_FREQ, pspec); pspec = g_param_spec_object ("until", _("Date of last recurrence"), _("The date of the last recurrence of an event"), MIMEDIR_TYPE_DATETIME, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_UNTIL, pspec); pspec = g_param_spec_uint ("count", _("Number of recurrences"), _("The number of recurrences of an event"), 1, G_MAXINT, 1, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_COUNT, pspec); pspec = g_param_spec_uint ("interval", _("Recurrence interval"), _("The interval of recurrences of an event"), 1, G_MAXINT, 1, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_INTERVAL, pspec); pspec = g_param_spec_uint ("unit", _("Recurrence unit"), _("By which unit a recurrence should be repeated"), RECURRENCE_UNIT_NONE, RECURRENCE_UNIT_MONTH, RECURRENCE_UNIT_NONE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_UNIT, pspec); pspec = g_param_spec_string ("units", _("Recurrence units"), _("List of units by which a recurrence should be repeated"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_UNITLIST, pspec); pspec = g_param_spec_uint ("wkst", _("Workweek start"), _("The day on which the workweek starts"), G_DATE_BAD_WEEKDAY, G_DATE_SUNDAY, G_DATE_BAD_WEEKDAY, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_WKST, pspec); } static void mimedir_recurrence_init (MIMEDirRecurrence *recurrence) { g_return_if_fail (recurrence != NULL); g_return_if_fail (MIMEDIR_IS_RECURRENCE (recurrence)); recurrence->priv = g_new0 (MIMEDirRecurrencePriv, 1); recurrence->priv->freq = RECURRENCE_DAILY; recurrence->priv->unit = RECURRENCE_UNIT_NONE; recurrence->priv->wkst = G_DATE_BAD_WEEKDAY; } static void mimedir_recurrence_dispose (GObject *object) { MIMEDirRecurrence *recurrence; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_RECURRENCE (object)); recurrence = MIMEDIR_RECURRENCE (object); if (recurrence->priv) { g_free (recurrence->priv->units); g_free (recurrence->priv); } recurrence->priv = NULL; G_OBJECT_CLASS (parent_class)->dispose (object); } static void mimedir_recurrence_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec) { MIMEDirRecurrencePriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_RECURRENCE (object)); priv = MIMEDIR_RECURRENCE (object)->priv; /* FIXME Check boundaries */ switch (property_id) { case PROP_FREQ: priv->freq = g_value_get_uint (value); break; case PROP_UNTIL: if (priv->until != NULL) g_object_unref (G_OBJECT (priv->until)); priv->until = g_value_get_object (value); g_object_ref (G_OBJECT (priv->until)); break; case PROP_COUNT: priv->count = g_value_get_uint (value); break; case PROP_INTERVAL: priv->interval = g_value_get_uint (value); break; case PROP_UNIT: priv->unit = g_value_get_uint (value); break; case PROP_UNITLIST: mimedir_utils_set_property_string (&priv->units, value); break; case PROP_WKST: priv->wkst = g_value_get_uint (value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void mimedir_recurrence_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec) { MIMEDirRecurrencePriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_RECURRENCE (object)); priv = MIMEDIR_RECURRENCE (object)->priv; switch (property_id) { case PROP_FREQ: g_value_set_uint (value, priv->freq); break; case PROP_UNTIL: if (priv->until) g_value_set_object (value, G_OBJECT (priv->until)); break; case PROP_COUNT: g_value_set_uint (value, priv->count); break; case PROP_INTERVAL: g_value_set_uint (value, priv->interval); break; case PROP_UNIT: g_value_set_uint (value, priv->unit); break; case PROP_UNITLIST: g_value_set_string (value, priv->units); break; case PROP_WKST: g_value_set_uint (value, priv->wkst); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } } /* * Public Methods */ /** * mimedir_recurrence_new: * * Creates a new iCal recurrence object. * * Return value: a new recurrence object **/ MIMEDirRecurrence * mimedir_recurrence_new (void) { MIMEDirRecurrence *recur; recur = g_object_new (MIMEDIR_TYPE_RECURRENCE, NULL); return recur; } /** * mimedir_recurrence_new_parse: * * Creates a new iCal recurrence object and fills it with data * from @attr. If there is a parse error, %NULL is returned and * @error is set appropriately. * * @attr: attribute, whose value is parsed * @error: error storage location * * Return value: a new recurrence object or %NULL **/ MIMEDirRecurrence * mimedir_recurrence_new_parse (MIMEDirAttribute *attr, GError **error) { MIMEDirRecurrence *recur; g_return_val_if_fail (attr != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attr), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); recur = g_object_new (MIMEDIR_TYPE_RECURRENCE, NULL); if (mimedir_recurrence_parse (recur, attr, error)) return recur; g_object_unref (G_OBJECT (recur)); return NULL; } /** * mimedir_recurrence_parse: * * Parse the supplied MIMEDirAttribute object's value into this * recurrence object. * * @recurrence: recurrence object * @attr: attribute, whose value is parsed * @error: error storage location * * Return value: success indicator **/ gboolean mimedir_recurrence_parse (MIMEDirRecurrence *recurrence, MIMEDirAttribute *attr, GError **error) { gboolean ret = TRUE; GError *err = NULL; GSList *list, *iter; g_return_val_if_fail (recurrence != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_RECURRENCE (recurrence), FALSE); g_return_val_if_fail (attr != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attr), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); list = mimedir_attribute_get_value_parameters (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } /* list is guaranteed to contain an even number of entries. */ iter = list; while (iter != NULL) { gchar *name, *value; name = (gchar *) iter->data; iter = g_slist_next (iter); value = (gchar *) iter->data; iter = g_slist_next (iter); if (!strcasecmp (name, "FREQ")) { MIMEDirRecurrenceFrequency freq; freq = string_to_freq (value); if (freq == -1) { ret = FALSE; break; } g_object_set (G_OBJECT (recurrence), "frequency", freq, NULL); } else if (!strcasecmp (name, "UNTIL")) { MIMEDirDateTime *until; until = mimedir_datetime_new_parse (value); if (!until) { ret = FALSE; break; } g_object_set (G_OBJECT (recurrence), "until", until, NULL); } else if (!strcasecmp (name, "COUNT")) { g_object_set (G_OBJECT (recurrence), "count", atoi (value), NULL); } else if (!strcasecmp (name, "INTERVAL")) { g_object_set (G_OBJECT (recurrence), "interval", atoi (value), NULL); } else if (!strncasecmp (name, "BY", 2)) { MIMEDirRecurrenceUnit unit; unit = string_to_unit (name); if (unit == -1) { ret = FALSE; break; } g_object_set (G_OBJECT (recurrence), "unit", unit, NULL); g_object_set (G_OBJECT (recurrence), "units", value, NULL); } else if (!strcasecmp (name, "WKST")) { GDateWeekday weekday; weekday = string_to_weekday (value); if (!g_date_valid_weekday (weekday)) { ret = FALSE; break; } g_object_set (G_OBJECT (recurrence), "wkst", weekday, NULL); } else { ret = FALSE; break; } } mimedir_attribute_free_string_list (list); if (!ret) { const gchar *attr_name = mimedir_attribute_get_name (attr); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, attr_name); } return ret; } /** * mimedir_recurrence_write_to_string: * * Returns a string representation of @recurrence. This string is suitable * as RRULE value. Free the returned string with g_free(). * * @recurrence: a #MIMEDirRecurrence object * * Return value: a string **/ gchar * mimedir_recurrence_write_to_string (MIMEDirRecurrence *recurrence) { MIMEDirRecurrencePriv *priv; g_return_val_if_fail (recurrence != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_RECURRENCE (recurrence), NULL); priv = recurrence->priv; /* FIXME Which are crucial? */ GString *string = g_string_new (""); g_string_printf (string, "FREQ=%s", freq_to_string(priv->freq)); if (priv->until) { GDateYear year; GDateMonth month; GDateDay day; mimedir_datetime_get_date (priv->until, &year, &month, &day); g_string_append_printf (string, ";UNTIL=%d%02d%02d", year, month, day); } if (priv->interval) { g_string_append_printf (string, ";INTERVAL=%d", priv->interval); } if (priv->unit != RECURRENCE_UNIT_NONE && priv->units) { const gchar *unit; unit = unit_to_string (priv->unit); g_string_append_printf (string, ";%s=%s", unit, priv->units); } if (g_date_valid_weekday (priv->wkst)) { const gchar *weekday; weekday = weekday_to_string (priv->wkst); g_string_append_printf (string, ";WKST=%s", weekday); } return g_string_free (string, FALSE); } libmimedir-0.4.2/mimedir/mimedir-utils.h0000644000175000017500000000371310603540660015142 00000000000000/* RFC 2426 vCard MIME Directory Utilities * Copyright (C) 2002 Sebastian Rittau * * $Id: mimedir-utils.h 94 2002-09-13 01:59:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_UTILS_H__ #define __MIMEDIR_UTILS_H__ #include #include gchar *mimedir_utils_strcat_list (GSList *list, const gchar *separator); GList *mimedir_utils_copy_string_list (const GList *list); void mimedir_utils_free_string_list (GList *list); GSList *mimedir_utils_copy_string_slist (const GSList *list); void mimedir_utils_free_string_slist (GSList *list); GList *mimedir_utils_copy_object_list (const GList *list); void mimedir_utils_free_object_list (GList *list); GSList *mimedir_utils_copy_object_slist (const GSList *list); void mimedir_utils_free_object_slist (GSList *list); gboolean mimedir_utils_is_token_char (gchar c); gboolean mimedir_utils_is_token (const gchar *string); gboolean mimedir_utils_is_safe (const gchar *string); gboolean mimedir_utils_is_qsafe (const gchar *string); gboolean mimedir_utils_compare_tokens (const gchar *token1, const gchar *token2); void mimedir_utils_set_property_string (gchar **dest, const GValue *value); #endif /* __MIMEDIR_UTILS_H__ */ libmimedir-0.4.2/mimedir/mimedir-datetime.c0000644000175000017500000005725610603540660015604 00000000000000/* MIME Directory Date/Time Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-datetime.c 214 2005-09-01 16:42:06Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "mimedir-datetime.h" #include "mimedir-utils.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_datetime_class_init (MIMEDirDateTimeClass *klass); static void mimedir_datetime_init (MIMEDirDateTime *datetime); static void mimedir_datetime_dispose (GObject *object); static void mimedir_datetime_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); static void mimedir_datetime_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); enum { PROP_TZID = 1 }; struct _MIMEDirDateTimePriv { gchar *tzid; }; static GObjectClass *parent_class = NULL; /* * Class and Object Management */ GType mimedir_datetime_get_type (void) { static GType mimedir_datetime_type = 0; if (!mimedir_datetime_type) { static const GTypeInfo mimedir_datetime_info = { sizeof (MIMEDirDateTimeClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_datetime_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirDateTime), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_datetime_init, }; mimedir_datetime_type = g_type_register_static (G_TYPE_OBJECT, "MIMEDirDateTime", &mimedir_datetime_info, 0); } return mimedir_datetime_type; } static void mimedir_datetime_class_init (MIMEDirDateTimeClass *klass) { GObjectClass *gobject_class; GParamSpec *pspec; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_datetime_dispose; gobject_class->set_property = mimedir_datetime_set_property; gobject_class->get_property = mimedir_datetime_get_property; parent_class = g_type_class_peek_parent (klass); /* Properties */ pspec = g_param_spec_string ("tzid", _("Time zone identifier"), _("Time zone identifying string"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_TZID, pspec); } static void mimedir_datetime_init (MIMEDirDateTime *datetime) { MIMEDirDateTimePriv *priv; g_return_if_fail (datetime != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (datetime)); priv = g_new0 (MIMEDirDateTimePriv, 1); datetime->priv = priv; } static void mimedir_datetime_dispose (GObject *object) { MIMEDirDateTime *datetime; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (object)); datetime = MIMEDIR_DATETIME (object); if (datetime->priv) { g_free (datetime->priv->tzid); g_free (datetime->priv); datetime->priv = NULL; } G_OBJECT_CLASS (parent_class)->dispose (object); } static void mimedir_datetime_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec) { MIMEDirDateTime *dt; MIMEDirDateTimePriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (object)); dt = MIMEDIR_DATETIME (object); priv = dt->priv; switch (property_id) { case PROP_TZID: mimedir_utils_set_property_string (&priv->tzid, value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void mimedir_datetime_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec) { MIMEDirDateTime *dt; MIMEDirDateTimePriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (object)); dt = MIMEDIR_DATETIME (object); priv = dt->priv; switch (property_id) { case PROP_TZID: g_value_set_string (value, priv->tzid); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } } /* * Public Methods */ /** * mimedir_datetime_new: * * Creates a new MIME Directory Date/Time object. * * Return value: a new date/time object **/ MIMEDirDateTime * mimedir_datetime_new (void) { return g_object_new (MIMEDIR_TYPE_DATETIME, NULL); } /** * mimedir_datetime_new_now: * * Creates a new MIME Directory Date/Time object. The date and time will * be set to the current date/time. * * Return value: a new date/time object **/ MIMEDirDateTime * mimedir_datetime_new_now (void) { return mimedir_datetime_new_from_time_t (time (NULL)); } /** * mimedir_datetime_new_from_gdate: * @date: a #GDate object * * Creates a new MIME Directory Date/Time object and fills it with the * date from @date. * * Return value: a new date/time object **/ MIMEDirDateTime * mimedir_datetime_new_from_gdate (const GDate *date) { MIMEDirDateTime *dt; g_return_val_if_fail (date != NULL, NULL); dt = mimedir_datetime_new (); mimedir_datetime_set_gdate (dt, date); return dt; } /** * mimedir_datetime_new_from_struct_tm: * @tm: a struct tm pointer * * Creates a new MIME Directory Date/Time object and fills it with the * date from @date. * * Return value: a new date/time object **/ MIMEDirDateTime * mimedir_datetime_new_from_struct_tm (const struct tm *tm) { MIMEDirDateTime *dt; g_return_val_if_fail (tm != NULL, NULL); dt = mimedir_datetime_new (); mimedir_datetime_set_struct_tm (dt, tm); return dt; } /** * mimedir_datetime_new_from_time_t: * @t: time * * Creates a new MIME Directory Date/Time object and fills it with the * date from @t. * * Return value: a new date/time object **/ MIMEDirDateTime * mimedir_datetime_new_from_time_t (time_t t) { MIMEDirDateTime *dt; g_return_val_if_fail (t >= 0, NULL); dt = mimedir_datetime_new (); mimedir_datetime_set_time_t (dt, t); return dt; } /** * mimedir_datetime_new_from_datetime: * @year: * @month: * @day: * @hour: * @minute: * @second: * * Creates a new MIME Directory Date/Time object and fills it with the * supplied date and time. * * Return value: a new date/time object **/ MIMEDirDateTime * mimedir_datetime_new_from_datetime (GDateYear year, GDateMonth month, GDateDay day, guint8 hour, guint8 minute, guint8 second) { MIMEDirDateTime *dt; g_return_val_if_fail (mimedir_datetime_is_valid_date (year, month, day), NULL); g_return_val_if_fail (mimedir_datetime_is_valid_time (hour, minute, second), NULL); dt = mimedir_datetime_new (); mimedir_datetime_set_datetime (dt, year, month, day, hour, minute, second); return dt; } /** * mimedir_datetime_new_from_date: * @year: * @month: * @day: * * Creates a new MIME Directory Date/Time object and fills it with the * supplied date. * * Return value: a new date/time object **/ MIMEDirDateTime * mimedir_datetime_new_from_date (GDateYear year, GDateMonth month, GDateDay day) { MIMEDirDateTime *dt; g_return_val_if_fail (mimedir_datetime_is_valid_date (year, month, day), NULL); dt = mimedir_datetime_new (); mimedir_datetime_set_date (dt, year, month, day); return dt; } /** * mimedir_datetime_new_from_time: * @hour: * @minute: * @second: * * Creates a new MIME Directory Date/Time object and fills it with the * supplied time. * * Return value: a new date/time object **/ MIMEDirDateTime * mimedir_datetime_new_from_time (guint8 hour, guint8 minute, guint8 second) { MIMEDirDateTime *dt; g_return_val_if_fail (mimedir_datetime_is_valid_time (hour, minute, second), NULL); dt = mimedir_datetime_new (); mimedir_datetime_set_time (dt, hour, minute, second); return dt; } /** * mimedir_datetime_new_parse: * * Creates a new MIME Directory Date/Time object by parsing @str. * If @str can't be parsed as a valid date/time, %NULL is returned * * @str: string to parse * * Return value: a new date/time object or %NULL **/ MIMEDirDateTime * mimedir_datetime_new_parse (const gchar *str) { MIMEDirDateTime *dt; g_return_val_if_fail (str != NULL, NULL); dt = mimedir_datetime_new (); if (mimedir_datetime_parse (dt, str)) return dt; g_object_unref (G_OBJECT (dt)); return NULL; } /** * mimedir_datetime_set_gdate: * @dt: a #MIMEDirDateTime object * @date: a #GDate object * * Sets @dt to the date of @date. **/ void mimedir_datetime_set_gdate (MIMEDirDateTime *dt, const GDate *date) { g_return_if_fail (dt != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (dt)); g_return_if_fail (date != NULL); dt->year = date->year; dt->month = date->month; dt->day = date->day; if (g_date_valid (date)) dt->flags |= MIMEDIR_DATETIME_DATE; else dt->flags &= ~MIMEDIR_DATETIME_DATE; } /** * mimedir_datetime_get_gdate: * @dt: a #MIMEDirDateTime object * @date: a #GDate object * * Gets the date as a #GDate. **/ void mimedir_datetime_get_gdate (MIMEDirDateTime *dt, GDate *date) { g_return_if_fail (dt != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (dt)); g_return_if_fail (date != NULL); if ((dt->flags & MIMEDIR_DATETIME_DATE) == 0) { g_critical ("MIMEDirDateTime object does not contain a valid date\n"); return; } g_date_set_dmy (date, dt->day, dt->month, dt->year); } /** * mimedir_datetime_set_struct_tm: * @dt: a #MIMEDirDateTime object * @tm: a struct tm pointer * * Sets @dt to the date of @tm. **/ void mimedir_datetime_set_struct_tm (MIMEDirDateTime *dt, const struct tm *tm) { g_return_if_fail (dt != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (dt)); g_return_if_fail (tm != NULL); dt->year = tm->tm_year + 1900; dt->month = tm->tm_mon + 1; dt->day = tm->tm_mday; dt->hour = tm->tm_hour; dt->minute = tm->tm_min; dt->second = tm->tm_sec; dt->timezone = MIMEDIR_DATETIME_UTC; dt->flags |= MIMEDIR_DATETIME_DATE | MIMEDIR_DATETIME_TIME; } /** * mimedir_datetime_get_struct_tm: * @dt: a #MIMEDirDateTime object * @tm: a struct tm pointer * * Gets the date as a #struct tm. **/ void mimedir_datetime_get_struct_tm (MIMEDirDateTime *dt, struct tm *tm) { time_t t; g_return_if_fail (dt != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (dt)); g_return_if_fail (tm != NULL); memset (tm, 0, sizeof (struct tm)); tm->tm_year = dt->year - 1900; tm->tm_mon = dt->month - 1; tm->tm_mday = dt->day; tm->tm_hour = dt->hour; tm->tm_min = dt->minute; tm->tm_sec = dt->second; t = mktime (tm); localtime_r (&t, tm); } /** * mimedir_datetime_set_time_t: * @dt: a #MIMEDirDateTime object * @t: the time * * Sets @dt to the date of @t. **/ void mimedir_datetime_set_time_t (MIMEDirDateTime *dt, time_t t) { struct tm tm; g_return_if_fail (dt != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (dt)); g_return_if_fail (t >= 0); gmtime_r (&t, &tm); mimedir_datetime_set_struct_tm (dt, &tm); } /** * mimedir_datetime_get_time_t: * @dt: a #MIMEDirDateTime object * * Gets the the date a #time_t. If the date is not representable as #time_t * -1 is returned. * * Return value: the time in seconds since the epoch or -1 **/ time_t mimedir_datetime_get_time_t (MIMEDirDateTime *dt) { struct tm tm; g_return_val_if_fail (dt != NULL, -1); g_return_val_if_fail (MIMEDIR_IS_DATETIME (dt), -1); mimedir_datetime_get_struct_tm (dt, &tm); return mktime (&tm); } /** * mimedir_datetime_set_datetime: * @dt: a #MIMEDirDateTime object * @year: * @month: * @day: * @hour: * @minute: * @second: * * Sets the date and time of @dt. **/ void mimedir_datetime_set_datetime (MIMEDirDateTime *dt, GDateYear year, GDateMonth month, GDateDay day, guint8 hour, guint8 minute, guint8 second) { g_return_if_fail (dt != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (dt)); g_return_if_fail (mimedir_datetime_is_valid_date (year, month, day)); g_return_if_fail (mimedir_datetime_is_valid_time (hour, minute, second)); dt->year = year; dt->month = month; dt->day = day; dt->hour = hour; dt->minute = minute; dt->second = second; dt->flags |= MIMEDIR_DATETIME_DATE | MIMEDIR_DATETIME_TIME; } /** * mimedir_datetime_get_datetime: * @dt: a #MIMEDirDateTime object * @year: * @month: * @day: * @hour: * @minute: * @second: * * Gets the date and time of @dt. **/ void mimedir_datetime_get_datetime (MIMEDirDateTime *dt, GDateYear *year, GDateMonth *month, GDateDay *day, guint8 *hour, guint8 *minute, guint8 *second) { g_return_if_fail (dt != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (dt)); g_return_if_fail (dt->flags & MIMEDIR_DATETIME_DATE); g_return_if_fail (dt->flags & MIMEDIR_DATETIME_TIME); *year = dt->year; *month = dt->month; *day = dt->day; *hour = dt->hour; *minute = dt->minute; *second = dt->second; } /** * mimedir_datetime_set_date: * @dt: a #MIMEDirDateTime object * @year: * @month: * @day: * * Sets the date of @dt. **/ void mimedir_datetime_set_date (MIMEDirDateTime *dt, GDateYear year, GDateMonth month, GDateDay day) { g_return_if_fail (dt != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (dt)); g_return_if_fail (mimedir_datetime_is_valid_date (year, month, day)); dt->year = year; dt->month = month; dt->day = day; dt->flags |= MIMEDIR_DATETIME_DATE; } /** * mimedir_datetime_get_date: * @dt: a #MIMEDirDateTime object * @year: * @month: * @day: * * Gets the date of @dt. **/ void mimedir_datetime_get_date (MIMEDirDateTime *dt, GDateYear *year, GDateMonth *month, GDateDay *day) { g_return_if_fail (dt != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (dt)); g_return_if_fail (dt->flags & MIMEDIR_DATETIME_DATE); *year = dt->year; *month = dt->month; *day = dt->day; } /** * mimedir_datetime_set_time: * @dt: a #MIMEDirDateTime object * @hour: * @minute: * @second: * * Sets the time of @dt. **/ void mimedir_datetime_set_time (MIMEDirDateTime *dt, guint8 hour, guint8 minute, guint8 second) { g_return_if_fail (dt != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (dt)); g_return_if_fail (mimedir_datetime_is_valid_time (hour, minute, second)); dt->hour = hour; dt->minute = minute; dt->second = second; dt->flags |= MIMEDIR_DATETIME_TIME; } /** * mimedir_datetime_get_time: * @dt: a #MIMEDirDateTime object * @hour: * @minute: * @second: * * Gets the time of @dt. **/ void mimedir_datetime_get_time (MIMEDirDateTime *dt, guint8 *hour, guint8 *minute, guint8 *second) { g_return_if_fail (dt != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (dt)); g_return_if_fail (dt->flags & MIMEDIR_DATETIME_TIME); *hour = dt->hour; *minute = dt->minute; *second = dt->second; } /** * mimedir_datetime_is_valid: * @dt: a #MIMEDirDateTime object * * Checks whether @dt is has a valid date and/or time. * * Return value: validity indicator **/ gboolean mimedir_datetime_is_valid (MIMEDirDateTime *dt) { g_return_val_if_fail (dt != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_DATETIME (dt), FALSE); return dt->flags & (MIMEDIR_DATETIME_DATE | MIMEDIR_DATETIME_TIME); } /** * mimedir_datetime_is_valid_date: * @year: * @month: * @day: * * Check whether the given date is valid. * * Return value: validity indicator **/ gboolean mimedir_datetime_is_valid_date (GDateYear year, GDateMonth month, GDateDay day) { if (year < 1 || year > 9999) return FALSE; return g_date_valid_dmy (day, month, year); } /** * mimedir_datetime_is_valid_time * @hour: * @minute: * @second: * * Check whether the given time is valid. * * Return value: validity indicator **/ gboolean mimedir_datetime_is_valid_time (guint8 hour, guint8 minute, guint8 second) { if (hour > 23) return FALSE; if (minute > 59) return FALSE; if (second > 59) return FALSE; return TRUE; } /** * mimedir_datetime_parse: * @dt: a #MIMEDirDateTime object * @str: string to parse * * Parses @str into this date/time object. Return %FALSE if the * given string couldn't be parsed as a valid date/time. * * Return value: success indicator **/ gboolean mimedir_datetime_parse (MIMEDirDateTime *dt, const gchar *str) { gint i, type; guint year, month, day, hour, minute, second; gint16 tz = MIMEDIR_DATETIME_NOTZ; g_return_val_if_fail (dt != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_DATETIME (dt), FALSE); g_return_val_if_fail (str != NULL, FALSE); /* Dates/times have at least six digits/letters */ for (i = 1; i < 6; i++) { if (str[i] == '\0') return FALSE; } /* Check whether the string starts with a date or a time */ if (str[2] == ':' || str[4] == ':') { /* time */ type = 1; } else if (str[4] == '-' || str[6] == '-') { /* date */ type = 0; } else { /* It's not that easy. Now count the number of digits. */ for (i = 0; str[i] >= '0' && str[i] <= '9'; i++) ; if (i == 8) type = 0; else if (i == 6) type = 1; else return FALSE; } /* Read date */ if (type == 0) { if (str[0] < '0' || str[0] > '9' || str[1] < '0' || str[1] > '9' || str[2] < '0' || str[1] > '9' || str[3] < '0' || str[3] > '9') return FALSE; year = (str[0] - '0') * 1000 + (str[1] - '0') * 100 + (str[2] - '0') * 10 + (str[3] - '0'); str += 4; if (str[0] == '-') str++; if (str[0] < '0' || str[0] > '1' || str[1] < '0' || str[1] > '9') return FALSE; month = (str[0] - '0') * 10 + (str[1] - '0'); str += 2; if (str[0] == '-') str++; if (str[0] < '0' || str[0] > '3' || str[1] < '0' || str[1] > '9') return FALSE; day = (str[0] - '0') * 10 + (str[1] - '0'); str += 2; if (str[0] == 'T' || str[0] == 't') { type = 2; str++; } } /* Read time */ if (type > 0) { gboolean minus = FALSE; if (str[0] < '0' || str[0] > '2' || str[1] < '0' || str[1] > '9') return FALSE; hour = (str[0] - '0') * 10 + (str[1] - '0'); str += 2; if (str[0] == ':') str++; if (str[0] < '0' || str[0] > '5' || str[1] < '0' || str[1] > '9') return FALSE; minute = (str[0] - '0') * 10 + (str[1] - '0'); str += 2; if (str[0] == ':') str++; if (str[0] < '0' || str[0] > '5' || str[1] < '0' || str[1] > '9') return FALSE; second = (str[0] - '0') * 10 + (str[1] - '0'); str += 2; /* Fraction */ /* RFC2425 says in the ABNF definition on page 33 * that this must be comma. This is illogical, since * it would create a non-unique grammar. */ if (str[0] == '.') { str++; for (; str[0] >= '0' && str[0] <= '9'; str++) ; } /* Time zone */ if (str[0] == 'Z') { str++; tz = MIMEDIR_DATETIME_UTC; } else if (str[0] == '+' || str[0] == '-') { if (str[0] == '-') minus = TRUE; if (str[0] < '0' || str[0] > '9' || str[1] < '0' || str[1] > '9') return FALSE; tz = (str[0] - '0') * 10 + (str[1] - '0'); tz *= 60; str += 2; if (str[0] == ':') str++; if (str[0] < '0' || str[0] > '9' || str[1] < '0' || str[1] > '9') return FALSE; tz += (str[0] - '0') * 10 + (str[1] - '0'); } } if (str[0] != '\0') return FALSE; if (type == 0 || type == 2) { if (!mimedir_datetime_is_valid_date (year, month, day)) return FALSE; } if (type == 1 || type == 2) { if (!mimedir_datetime_is_valid_time (hour, month, day)) return FALSE; } dt->flags = 0; if (type == 0 || type == 2) mimedir_datetime_set_date (dt, year, month, day); if (type == 1 || type == 2) { mimedir_datetime_set_time (dt, hour, minute, second); dt->timezone = tz; } return TRUE; } /** * mimedir_datetime_to_utc: * @dt: a #MIMEDirDateTime object * * Converts the date/time object to a UTC date/time. **/ void mimedir_datetime_to_utc (MIMEDirDateTime *dt) { gint hour, minute; g_return_if_fail (dt != NULL); g_return_if_fail (MIMEDIR_IS_DATETIME (dt)); if (dt->timezone == MIMEDIR_DATETIME_UTC) return; if (dt->timezone == MIMEDIR_DATETIME_NOTZ) { dt->timezone = MIMEDIR_DATETIME_UTC; return; } if (!(dt->flags & MIMEDIR_DATETIME_TIME)) { dt->timezone = MIMEDIR_DATETIME_UTC; return; } g_assert (dt->timezone >= -23 * 60 && dt->timezone <= 23 * 60); hour = dt->hour; minute = dt->minute + dt->timezone; if (minute >= 60) { hour += minute / 60; minute %= 60; } else if (minute < 0) { hour += minute / 60 - 1; minute %= 60; minute = 60 + minute; } dt->minute = (guint) minute; if (hour > 23) { hour -= 24; dt->day++; } else if (hour < 0) { hour = 24 + hour; dt->day--; } dt->hour = (guint) hour; if (dt->day > g_date_get_days_in_month (dt->month, dt->year)) { dt->month++; if (dt->month > 12) { dt->month = 1; dt->year++; } dt->day = 1; } else if (dt->day < 1) { dt->month--; if (dt->month < 1) { dt->month = 12; dt->year--; } dt->day = g_date_get_days_in_month (dt->month, dt->year); } dt->timezone = MIMEDIR_DATETIME_UTC; } /** * mimedir_datetime_compare: * @dt1: a #MIMEDirDateTime object * @dt2: a second #MIMEDirDateTime object * * Compares the dates of @dt1 and @dt2 and return -1 if @dt1 is earlier than * @dt2, 0 if both dates are equal and 1 if @dt1 is later than @d2. Both * dates must be valid. * * Return value: -1, 0, or 1 **/ gint mimedir_datetime_compare (MIMEDirDateTime *dt1, MIMEDirDateTime *dt2) { g_return_val_if_fail (dt1 != NULL, 0); g_return_val_if_fail (MIMEDIR_IS_DATETIME (dt1), 0); g_return_val_if_fail (dt2 != NULL, 0); g_return_val_if_fail (MIMEDIR_IS_DATETIME (dt2), 0); g_return_val_if_fail (mimedir_datetime_is_valid (dt1), 0); g_return_val_if_fail (mimedir_datetime_is_valid (dt2), 0); if ((dt1->flags & MIMEDIR_DATETIME_DATE) && (dt2->flags & MIMEDIR_DATETIME_DATE)) { if (dt1->year < dt2->year) return -1; else if (dt1->year > dt2->year) return 1; if (dt1->month < dt2->month) return -1; else if (dt1->month > dt2->month) return 1; if (dt1->day < dt2->day) return -1; else if (dt1->day > dt2->day) return 1; } if ((dt1->flags & MIMEDIR_DATETIME_TIME) && (dt2->flags & MIMEDIR_DATETIME_TIME)) { if (dt1->hour < dt2->hour) return -1; else if (dt1->hour > dt2->hour) return 1; if (dt1->minute < dt2->minute) return -1; else if (dt1->minute > dt2->minute) return 1; if (dt1->second < dt2->second) return -1; else if (dt1->second > dt2->second) return 1; } return 0; } /** * mimedir_datetime_to_string: * @dt: a #MIMEDirDateTime object * * Returns a human-readable, localized string that represents the date * and/or the time this object represent. In case that neither date nor * time is valid, NULL is returned. Otherwise the returned string must * be freed with g_free(). * * Return value: human-readable string representing the date and/or time **/ gchar * mimedir_datetime_to_string (MIMEDirDateTime *dt) { g_return_val_if_fail (dt != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_DATETIME (dt), NULL); g_return_val_if_fail (mimedir_datetime_is_valid (dt), NULL); if ((dt->flags & (MIMEDIR_DATETIME_DATE | MIMEDIR_DATETIME_TIME)) == (MIMEDIR_DATETIME_DATE | MIMEDIR_DATETIME_TIME)) /* Translators: YYYY-MM-DD HH:MM:SS */ return g_strdup_printf (_("%04d-%02d-%02d %02d:%02d:%02d"), dt->year, dt->month, dt->day, dt->hour, dt->minute, dt->second); else if (dt->flags & MIMEDIR_DATETIME_DATE) /* Translators: YYYY-MM-DD */ return g_strdup_printf (_("%04d-%02d-%02d"), dt->year, dt->month, dt->day); else if (dt->flags & MIMEDIR_DATETIME_TIME) /* Translators: HH:MM:SS */ return g_strdup_printf (_("%02d:%02d:%02d"), dt->hour, dt->minute, dt->second); return NULL; } libmimedir-0.4.2/mimedir/mimedir-datetime.h0000644000175000017500000001114210603540660015571 00000000000000/* MIME Directory Date/Time Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-datetime.h 214 2005-09-01 16:42:06Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_DATETIME_H__ #define __MIMEDIR_DATETIME_H__ #include #include #include #define MIMEDIR_TYPE_DATETIME (mimedir_datetime_get_type()) #define MIMEDIR_DATETIME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_DATETIME, MIMEDirDateTime)) #define MIMEDIR_DATETIME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_DATETIME, MIMEDirDateTimeClass)) #define MIMEDIR_IS_DATETIME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_DATETIME)) #define MIMEDIR_IS_DATETIME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_DATETIME)) typedef enum _MIMEDirDateTimeFlags MIMEDirDateTimeFlags; enum _MIMEDirDateTimeFlags { MIMEDIR_DATETIME_DATE = 1 << 0, MIMEDIR_DATETIME_TIME = 1 << 1 }; #define MIMEDIR_DATETIME_NOTZ (30000) #define MIMEDIR_DATETIME_UTC (30001) typedef struct _MIMEDirDateTime MIMEDirDateTime; typedef struct _MIMEDirDateTimeClass MIMEDirDateTimeClass; typedef struct _MIMEDirDateTimePriv MIMEDirDateTimePriv; struct _MIMEDirDateTime { GObject parent; GDateYear year; GDateMonth month; GDateDay day; guint8 hour; guint8 minute; guint8 second; gint16 timezone; MIMEDirDateTimeFlags flags; MIMEDirDateTimePriv *priv; }; struct _MIMEDirDateTimeClass { GObjectClass parent_class; }; GType mimedir_datetime_get_type (void); MIMEDirDateTime *mimedir_datetime_new (void); MIMEDirDateTime *mimedir_datetime_new_now (void); MIMEDirDateTime *mimedir_datetime_new_from_gdate (const GDate *date); MIMEDirDateTime *mimedir_datetime_new_from_struct_tm (const struct tm *tm); MIMEDirDateTime *mimedir_datetime_new_from_time_t (time_t t); MIMEDirDateTime *mimedir_datetime_new_from_datetime (GDateYear year, GDateMonth month, GDateDay day, guint8 hour, guint8 minute, guint8 second); MIMEDirDateTime *mimedir_datetime_new_from_date (GDateYear year, GDateMonth month, GDateDay day); MIMEDirDateTime *mimedir_datetime_new_from_time (guint8 hour, guint8 minute, guint8 second); MIMEDirDateTime *mimedir_datetime_new_parse (const gchar *str); void mimedir_datetime_set_gdate (MIMEDirDateTime *dt, const GDate *date); void mimedir_datetime_get_gdate (MIMEDirDateTime *dt, GDate *date); void mimedir_datetime_set_struct_tm (MIMEDirDateTime *dt, const struct tm *tm); void mimedir_datetime_get_struct_tm (MIMEDirDateTime *dt, struct tm *tm); void mimedir_datetime_set_time_t (MIMEDirDateTime *dt, time_t t); time_t mimedir_datetime_get_time_t (MIMEDirDateTime *dt); void mimedir_datetime_set_datetime (MIMEDirDateTime *dt, GDateYear year, GDateMonth month, GDateDay day, guint8 hour, guint8 minute, guint8 second); void mimedir_datetime_get_datetime (MIMEDirDateTime *dt, GDateYear *year, GDateMonth *month, GDateDay *day, guint8 *hour, guint8 *minute, guint8 *second); void mimedir_datetime_set_date (MIMEDirDateTime *dt, GDateYear year, GDateMonth month, GDateDay day); void mimedir_datetime_get_date (MIMEDirDateTime *dt, GDateYear *year, GDateMonth *month, GDateDay *day); void mimedir_datetime_set_time (MIMEDirDateTime *dt, guint8 hour, guint8 minute, guint8 second); void mimedir_datetime_get_time (MIMEDirDateTime *dt, guint8 *hour, guint8 *minute, guint8 *second); gboolean mimedir_datetime_is_valid (MIMEDirDateTime *dt); gboolean mimedir_datetime_is_valid_date (GDateYear year, GDateMonth month, GDateDay day); gboolean mimedir_datetime_is_valid_time (guint8 hour, guint8 minute, guint8 second); gboolean mimedir_datetime_parse (MIMEDirDateTime *dt, const gchar *str); void mimedir_datetime_to_utc (MIMEDirDateTime *dt); gint mimedir_datetime_compare (MIMEDirDateTime *dt1, MIMEDirDateTime *dt2); gchar *mimedir_datetime_to_string (MIMEDirDateTime *dt); #endif /* __MIMEDIR_DATETIME_H__ */ libmimedir-0.4.2/mimedir/mimedir-valarm.h0000644000175000017500000000624710603540660015271 00000000000000/* RFC 2445 vAlarm MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-valarm.h 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_VALARM_H__ #define __MIMEDIR_VALARM_H__ #include #include #include "mimedir-profile.h" #include "mimedir-vcomponent.h" typedef enum { MIMEDIR_VALARM_UNKNOWN, MIMEDIR_VALARM_AUDIO, MIMEDIR_VALARM_DISPLAY, MIMEDIR_VALARM_EMAIL, MIMEDIR_VALARM_PROCEDURE } MIMEDirVAlarmType; #define MIMEDIR_TYPE_VALARM (mimedir_valarm_get_type()) #define MIMEDIR_VALARM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_VALARM, MIMEDirVAlarm)) #define MIMEDIR_VALARM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_VALARM, MIMEDirVAlarmClass)) #define MIMEDIR_IS_VALARM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_VALARM)) #define MIMEDIR_IS_VALARM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_VALARM)) typedef struct _MIMEDirVAlarm MIMEDirVAlarm; typedef struct _MIMEDirVAlarmClass MIMEDirVAlarmClass; typedef struct _MIMEDirVAlarmPriv MIMEDirVAlarmPriv; struct _MIMEDirVAlarm { MIMEDirVComponent parent; MIMEDirVAlarmPriv *priv; }; struct _MIMEDirVAlarmClass { MIMEDirVComponentClass parent_class; }; GType mimedir_valarm_get_type (void); MIMEDirVAlarm *mimedir_valarm_new (MIMEDirVAlarmType type); MIMEDirVAlarm *mimedir_valarm_new_from_profile (MIMEDirProfile *profile, GError **error); gboolean mimedir_valarm_read_from_profile (MIMEDirVAlarm *valarm, MIMEDirProfile *profile, GError **error); MIMEDirProfile *mimedir_valarm_write_to_profile (MIMEDirVAlarm *valarm); gboolean mimedir_valarm_write_to_channel (MIMEDirVAlarm *valarm, GIOChannel *channel, GError **error); gchar *mimedir_valarm_write_to_string (MIMEDirVAlarm *valarm); void mimedir_valarm_set_alarm_type (MIMEDirVAlarm *valarm, MIMEDirVAlarmType type); MIMEDirVAlarmType mimedir_valarm_get_alarm_type (MIMEDirVAlarm *valarm); MIMEDirDateTime *mimedir_valarm_get_trigger (MIMEDirVAlarm *valarm, MIMEDirDateTime *start, MIMEDirDateTime *end); MIMEDirDateTime *mimedir_valarm_get_trigger_from_vcomponent (MIMEDirVAlarm *valarm, MIMEDirVComponent *vcomponent); MIMEDirDateTime *mimedir_valarm_get_next_occurence (MIMEDirVAlarm *valarm, MIMEDirVComponent *vcomponent, MIMEDirDateTime *after); gchar *mimedir_valarm_get_reminder_string (MIMEDirVAlarm *valarm, MIMEDirVComponent *vcomponent); #endif /* __MIMEDIR_VALARM_H__ */ libmimedir-0.4.2/mimedir/mimedir-vcard.c0000644000175000017500000030405110603540660015073 00000000000000/* RFC 2426 vCard MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vcard.c 227 2005-09-11 16:09:51Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include "mimedir-datetime.h" #include "mimedir-marshal.h" #include "mimedir-profile.h" #include "mimedir-utils.h" #include "mimedir-vcard.h" #include "mimedir-vcard-address.h" #include "mimedir-vcard-email.h" #include "mimedir-vcard-phone.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_vcard_class_init (MIMEDirVCardClass *klass); static void mimedir_vcard_init (MIMEDirVCard *vcard); static void mimedir_vcard_dispose (GObject *object); static void mimedir_vcard_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); static void mimedir_vcard_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); static void mimedir_vcard_clear (MIMEDirVCard *vcard); static void mimedir_vcard_changed (MIMEDirVCard *vcard); static void mimedir_vcard_append_address_list (MIMEDirVCard *vcard, GSList *list); static void mimedir_vcard_free_address_list (MIMEDirVCard *vcard); static void mimedir_vcard_append_phone_list (MIMEDirVCard *vcard, GSList *list); static void mimedir_vcard_free_phone_list (MIMEDirVCard *vcard); static void mimedir_vcard_append_email_list (MIMEDirVCard *vcard, GSList *list); static void mimedir_vcard_free_email_list (MIMEDirVCard *vcard); static GSList *mimedir_vcard_strsplit (const gchar *string, const gchar *separator); static gchar *mimedir_vcard_strjoin (const gchar *separator, GSList *list); enum { PROP_NAME = 1, PROP_FAMILYNAME, PROP_GIVENNAME, PROP_MIDDLENAME, PROP_PREFIX, PROP_SUFFIX, PROP_NICKNAME_LIST, PROP_NICKNAME, PROP_PHOTO, PROP_PHOTO_URI, PROP_BIRTHDAY, PROP_ADDRESS_LIST, PROP_ADDRESS, PROP_PHONE_LIST, PROP_PHONE, PROP_EMAIL_LIST, PROP_EMAIL, PROP_MAILER, PROP_TIMEZONE, PROP_TIMEZONE_STRING, PROP_LATITUDE, PROP_LONGITUDE, PROP_JOBTITLE, PROP_JOBROLE, PROP_LOGO, PROP_LOGO_URI, PROP_AGENT, PROP_AGENT_URI, PROP_AGENT_STRING, PROP_ORGANIZATION_LIST, PROP_ORGANIZATION, PROP_CATEGORY_LIST, PROP_CATEGORIES, PROP_NOTE, PROP_PRODID, PROP_REVISION, PROP_SORT_STRING, PROP_SOUND, PROP_SOUND_URI, PROP_UID, PROP_URL, PROP_CLASS, PROP_KEY_LIST, PROP_PUBKEY, PROP_KEYTYPE }; enum { SIGNAL_CHANGED, SIGNAL_LAST }; struct _MIMEDirVCardPriv { gboolean changed; /* Generic Types (Section 2.1) */ gchar *name; /* 2.1.2: NAME */ gchar *source; /* 2.1.4: SOURCE */ /* Identification Types (Section 3.1) */ gchar *fn; /* 3.1.1: FN */ gchar *familyname; /* 3.1.2: N */ gchar *givenname; gchar *middlename; gchar *prefix; gchar *suffix; GSList *nickname; /* 3.1.3: NICKNAME */ GString *photo; /* 3.1.4: PHOTO */ gchar *photo_uri; MIMEDirDateTime *birthday; /* 3.1.5: BDAY */ /* Delivery Addressing Types (Section 3.2) */ GSList *addresses; /* 3.2.1: ADR, 3.2.2: LABEL */ GSList *address_signals; /* Telecommunications Addressing Types (Section 3.3) */ GSList *phone; /* 3.3.1: TEL */ GSList *phone_signals; GSList *email; /* 3.3.2: EMAIL */ GSList *email_signals; gchar *mailer; /* 3.3.3: MAILER */ /* Geographical Types (Section 3.4) */ gint timezone; /* 3.4.1: TZ */ gchar *timezone_string; gdouble latitude, longitude; /* 3.4.2: GEO */ /* Organizational Types (Section 3.5) */ gchar *jobtitle; /* 3.5.1: TITLE */ gchar *jobrole; /* 3.5.2: ROLE */ GString *logo; /* 3.5.3: LOGO */ gchar *logo_uri; MIMEDirVCard /* 3.5.4: AGENT */ *agent; gchar *agent_string; gchar *agent_uri; GSList *organization; /* 3.5.5: ORG */ /* Explanatory Types (Section 3.6) */ GSList *categories; /* 3.6.1: CATEGORIES */ gchar *note; /* 3.6.2: NOTE */ gchar *prodid; /* 3.6.3: PRODID */ MIMEDirDateTime *revision; /* 3.6.4: REV */ gchar *sort_string; /* 3.6.5: SORT-STRING */ GString *sound; /* 3.6.6: SOUND */ gchar *sound_uri; gchar *uid; /* 3.6.7: UID */ gchar *url; /* 3.6.8: URL */ /* unused */ /* 3.6.9: VERSION */ /* Security Types (Section 3.7) */ gchar *klass; /* 3.7.1: CLASS */ GList *keys; /* 3.7.2: KEY */ }; static MIMEDirProfileClass *parent_class = NULL; static gint mimedir_vcard_signals[SIGNAL_LAST] = { 0 }; /* * Utility Functions */ static GSList * mimedir_vcard_copy_string_list (GSList *list) { GSList *newlist = NULL; for (; list != NULL; list = g_slist_next (list)) { gchar *s; s = g_strdup ((const gchar *) list->data); newlist = g_slist_append (newlist, s); } return newlist; } /* * Class and Object Management */ GType mimedir_vcard_get_type (void) { static GType mimedir_vcard_type = 0; if (!mimedir_vcard_type) { static const GTypeInfo mimedir_vcard_info = { sizeof (MIMEDirVCardClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_vcard_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirVCard), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_vcard_init, }; mimedir_vcard_type = g_type_register_static (G_TYPE_OBJECT, "MIMEDirVCard", &mimedir_vcard_info, 0); } return mimedir_vcard_type; } static void mimedir_vcard_class_init (MIMEDirVCardClass *klass) { GObjectClass *gobject_class; GParamSpec *pspec; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_vcard_dispose; gobject_class->set_property = mimedir_vcard_set_property; gobject_class->get_property = mimedir_vcard_get_property; parent_class = g_type_class_peek_parent (klass); /* Signals */ mimedir_vcard_signals[SIGNAL_CHANGED] = g_signal_new ("changed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (MIMEDirVCardClass, changed), NULL, NULL, mimedir_marshal_VOID__VOID, G_TYPE_NONE, 0); /* Properties */ pspec = g_param_spec_string ("name", _("Name"), _("The spelled out name full name of this person"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_NAME, pspec); pspec = g_param_spec_string ("familyname", _("Family name"), _("The family name of this person"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_FAMILYNAME, pspec); pspec = g_param_spec_string ("givenname", _("Given name"), _("The given name of this person"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_GIVENNAME, pspec); pspec = g_param_spec_string ("middlename", _("Middle name"), _("The middle name or middle initials of this person"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_MIDDLENAME, pspec); pspec = g_param_spec_string ("prefix", _("Prefix"), _("The name prefix (e.g. honorific prefix) of this person"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_PREFIX, pspec); pspec = g_param_spec_string ("suffix", _("Suffix"), _("The name suffix of this person"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_SUFFIX, pspec); pspec = g_param_spec_pointer ("nickname-list", _("Nickname list"), _("List of all nick names. This is a GList *, where the elements are of type const gchar *"), G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_NICKNAME_LIST, pspec); pspec = g_param_spec_string ("nickname", _("Nick name"), _("The first nick name"), NULL, G_PARAM_READABLE); g_object_class_install_property (gobject_class, PROP_NICKNAME, pspec); pspec = g_param_spec_pointer ("photo", /* FIXME: this is useless */ _("Photo"), _("Pointer to a byte stream, representing an image of the person"), G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_PHOTO, pspec); pspec = g_param_spec_string ("photo-uri", _("Photo URI"), _("URI to an image of this person"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_PHOTO_URI, pspec); pspec = g_param_spec_object ("birthday", _("Birthday"), _("The person's birthday"), MIMEDIR_TYPE_DATETIME, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_BIRTHDAY, pspec); pspec = g_param_spec_pointer ("address-list", _("Address list"), _("List of all addresses. This is a GList *, where the elements are of type MIMEDirAddress *"), G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_ADDRESS_LIST, pspec); pspec = g_param_spec_string ("address", _("Address"), _("The preferred address"), NULL, G_PARAM_READABLE); g_object_class_install_property (gobject_class, PROP_ADDRESS, pspec); pspec = g_param_spec_pointer ("phone-list", _("Phone number list"), _("List of all phone numbers. This is a GList *, where the elements are of type MIMEDirPhone *"), G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_PHONE_LIST, pspec); pspec = g_param_spec_string ("phone", _("Phone number"), _("The preferred phone number"), NULL, G_PARAM_READABLE); g_object_class_install_property (gobject_class, PROP_PHONE, pspec); pspec = g_param_spec_pointer ("email-list", _("E-mail address list"), _("List of all e-mail addresses. This is a GList *, where the elements are of type MIMEDirEmail *"), G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_EMAIL_LIST, pspec); pspec = g_param_spec_string ("email", _("E-mail address"), _("The preferred e-mail address"), NULL, G_PARAM_READABLE); g_object_class_install_property (gobject_class, PROP_EMAIL, pspec); pspec = g_param_spec_string ("mailer", _("Mailer"), _("The mailing program used by this person"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_MAILER, pspec); pspec = g_param_spec_int ("timezone", _("Time zone"), _("The time zone this person lives in"), MIMEDIR_VCARD_TIMEZONE_MIN, MIMEDIR_VCARD_TIMEZONE_MAX, 0, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_TIMEZONE, pspec); pspec = g_param_spec_string ("timezone-string", _("Time zone string"), _("The time zone this person lives in (deprecated string representation)"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_TIMEZONE_STRING, pspec); pspec = g_param_spec_double ("latitude", _("Latitude"), _("Latitude of this person's residence"), MIMEDIR_VCARD_LATITUDE_MIN, MIMEDIR_VCARD_LATITUDE_MAX, 0.0, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_LATITUDE, pspec); pspec = g_param_spec_double ("longitude", _("Longitude"), _("Longitude of this person's residence"), MIMEDIR_VCARD_LONGITUDE_MIN, MIMEDIR_VCARD_LONGITUDE_MAX, 0.0, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_LONGITUDE, pspec); pspec = g_param_spec_string ("jobtitle", _("Job title"), _("The person's job title"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_JOBTITLE, pspec); pspec = g_param_spec_string ("role", _("Role"), _("The person's job role"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_JOBROLE, pspec); pspec = g_param_spec_pointer ("logo", /* FIXME: useless */ _("Logo"), _("Pointer to a byte stream, representing the logo of the person's company"), G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_LOGO, pspec); pspec = g_param_spec_string ("logo-uri", _("Logo URI"), _("URI to the logo of this person's company"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_LOGO_URI, pspec); pspec = g_param_spec_object ("agent", _("Agent"), _("A person, acting for the person described in this card"), MIMEDIR_TYPE_VCARD, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_AGENT, pspec); pspec = g_param_spec_string ("agent-uri", _("Agent URI"), _("URI to the description of a person, acting for the person described in this card"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_AGENT_URI, pspec); pspec = g_param_spec_string ("agent-string", _("Agent string"), _("A person, acting for the person described in this card (deprecated string representation)"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_AGENT_STRING, pspec); pspec = g_param_spec_pointer ("organization-list", _("Organization list"), _("List of all organization this person belongs to. This is a GList *, where the elements are gchar *'s"), G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_ORGANIZATION_LIST, pspec); pspec = g_param_spec_string ("organization", _("Organization"), _("The person's first organization"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_ORGANIZATION, pspec); pspec = g_param_spec_pointer ("category-list", _("Category list"), _("List of all categories of this person. This is a GList *, where the elements are gchar *'s"), G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_CATEGORY_LIST, pspec); pspec = g_param_spec_string ("categories", _("Categories"), _("String representation of this person's categories"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_CATEGORIES, pspec); pspec = g_param_spec_string ("note", _("Note"), _("Additional comments"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_NOTE, pspec); pspec = g_param_spec_string ("prodid", _("Product identifier"), _("The product identifier of the vCard. In case of newly generated objects, this is LibMIMEDir's product identifier"), NULL, G_PARAM_READABLE); g_object_class_install_property (gobject_class, PROP_PRODID, pspec); pspec = g_param_spec_object ("revision", _("Revision"), _("Card's revision"), MIMEDIR_TYPE_DATETIME, G_PARAM_READABLE); g_object_class_install_property (gobject_class, PROP_REVISION, pspec); pspec = g_param_spec_string ("sort-string", _("Sort string"), _("String that defines this card's sort order"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_SORT_STRING, pspec); pspec = g_param_spec_pointer ("sound", /* FIXME: useless */ _("Sound"), _("Pointer to a byte stream, representing a sound file"), G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_SOUND, pspec); pspec = g_param_spec_string ("sound-uri", _("Sound URI"), _("URI to a sound file"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_SOUND_URI, pspec); pspec = g_param_spec_string ("uid", _("Unique Identifier"), _("A unique identifier for this card"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_UID, pspec); pspec = g_param_spec_string ("url", _("URL"), _("An alternate URL for this resource"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_URL, pspec); pspec = g_param_spec_string ("class", _("Classification"), _("The security classfication of this card"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_CLASS, pspec); pspec = g_param_spec_pointer ("key-list", _("Public key list"), _("List of this person's public keys. This is a GList *, where the elements are MIMEDirVCardKeys"), G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_KEY_LIST, pspec); pspec = g_param_spec_string ("pubkey", _("Public key"), _("This person's first public key"), NULL, G_PARAM_READABLE); g_object_class_install_property (gobject_class, PROP_PUBKEY, pspec); pspec = g_param_spec_int ("keytype", _("Key type"), _("Type of the first public key"), MIMEDIR_VCARD_KEY_UNKNOWN, MIMEDIR_VCARD_KEY_PGP, MIMEDIR_VCARD_KEY_UNKNOWN, G_PARAM_READABLE); g_object_class_install_property (gobject_class, PROP_KEYTYPE, pspec); } static void mimedir_vcard_init (MIMEDirVCard *vcard) { g_return_if_fail (vcard != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (vcard)); vcard->priv = g_new0 (MIMEDirVCardPriv, 1); vcard->priv->changed = FALSE; vcard->priv->timezone = G_MAXINT; vcard->priv->latitude = G_MAXDOUBLE; vcard->priv->longitude = G_MAXDOUBLE; } static void mimedir_vcard_dispose (GObject *object) { MIMEDirVCard *vcard; MIMEDirVCardPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (object)); vcard = MIMEDIR_VCARD (object); priv = vcard->priv; if (priv) mimedir_vcard_clear (vcard); G_OBJECT_CLASS (parent_class)->dispose (object); } static void mimedir_vcard_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec) { MIMEDirVCard *vcard; MIMEDirVCardPriv *priv; GString *str; GList *node; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (object)); vcard = MIMEDIR_VCARD (object); priv = vcard->priv; switch (property_id) { case PROP_NAME: mimedir_utils_set_property_string (&priv->fn, value); break; case PROP_FAMILYNAME: mimedir_utils_set_property_string (&priv->familyname, value); break; case PROP_GIVENNAME: mimedir_utils_set_property_string (&priv->givenname, value); break; case PROP_MIDDLENAME: mimedir_utils_set_property_string (&priv->middlename, value); break; case PROP_PREFIX: mimedir_utils_set_property_string (&priv->prefix, value); break; case PROP_SUFFIX: mimedir_utils_set_property_string (&priv->suffix, value); break; case PROP_NICKNAME_LIST: mimedir_utils_free_string_slist (priv->nickname); priv->nickname = mimedir_vcard_copy_string_list ((GSList *) g_value_get_pointer (value)); break; case PROP_PHOTO: g_string_free (priv->photo, TRUE); g_free (priv->photo_uri); priv->photo = NULL; priv->photo_uri = NULL; str = g_value_get_pointer (value); if (str) priv->photo = g_string_new_len (str->str, str->len); break; case PROP_PHOTO_URI: g_string_free (priv->photo, TRUE); g_free (priv->photo_uri); priv->photo = NULL; priv->photo_uri = NULL; mimedir_utils_set_property_string (&priv->photo_uri, value); break; case PROP_BIRTHDAY: if (priv->birthday) g_object_unref (G_OBJECT (priv->birthday)); priv->birthday = g_value_get_object (value); if (priv->birthday) g_object_ref (G_OBJECT (priv->birthday)); break; case PROP_ADDRESS_LIST: mimedir_vcard_free_address_list (vcard); mimedir_vcard_append_address_list (vcard, (GSList *) g_value_get_pointer (value)); break; case PROP_PHONE_LIST: mimedir_vcard_free_phone_list (vcard); mimedir_vcard_append_phone_list (vcard, (GSList *) g_value_get_pointer (value)); break; case PROP_EMAIL_LIST: mimedir_vcard_free_email_list (vcard); mimedir_vcard_append_email_list (vcard, (GSList *) g_value_get_pointer (value)); break; case PROP_MAILER: mimedir_utils_set_property_string (&priv->mailer, value); break; case PROP_TIMEZONE: priv->timezone = g_value_get_int (value); if (priv->timezone > MIMEDIR_VCARD_TIMEZONE_MAX || priv->timezone < MIMEDIR_VCARD_TIMEZONE_MIN) priv->timezone = G_MAXINT; break; case PROP_TIMEZONE_STRING: mimedir_utils_set_property_string (&priv->timezone_string, value); break; case PROP_LATITUDE: priv->latitude = g_value_get_double (value); break; case PROP_LONGITUDE: priv->longitude = g_value_get_double (value); break; case PROP_JOBTITLE: mimedir_utils_set_property_string (&priv->jobtitle, value); break; case PROP_JOBROLE: mimedir_utils_set_property_string (&priv->jobrole, value); break; case PROP_LOGO: g_string_free (priv->logo, TRUE); g_free (priv->logo_uri); priv->logo = NULL; priv->logo_uri = NULL; str = g_value_get_pointer (value); if (str) priv->logo = g_string_new_len (str->str, str->len); break; case PROP_LOGO_URI: g_string_free (priv->logo, TRUE); g_free (priv->logo_uri); priv->logo = NULL; priv->logo_uri = NULL; mimedir_utils_set_property_string (&priv->logo_uri, value); break; case PROP_AGENT: if (priv->agent) g_object_unref (G_OBJECT (priv->agent)); priv->agent = g_value_get_object (value); if (priv->agent) g_object_ref (G_OBJECT (priv->agent)); break; case PROP_AGENT_URI: mimedir_utils_set_property_string (&priv->agent_uri, value); break; case PROP_AGENT_STRING: mimedir_utils_set_property_string (&priv->agent_string, value); break; case PROP_ORGANIZATION_LIST: mimedir_utils_free_string_slist (priv->organization); priv->organization = mimedir_vcard_copy_string_list ((GSList *) g_value_get_pointer (value)); break; case PROP_ORGANIZATION: mimedir_utils_free_string_slist (priv->organization); priv->organization = g_slist_append (NULL, g_strdup (g_value_get_string (value))); break; case PROP_CATEGORY_LIST: mimedir_utils_free_string_slist (priv->categories); priv->categories = mimedir_vcard_copy_string_list ((GSList *) g_value_get_pointer (value)); break; case PROP_CATEGORIES: mimedir_utils_free_string_slist (priv->categories); priv->categories = mimedir_vcard_strsplit (g_value_get_string (value), ","); break; case PROP_NOTE: mimedir_utils_set_property_string (&priv->note, value); break; case PROP_SORT_STRING: mimedir_utils_set_property_string (&priv->sort_string, value); break; case PROP_SOUND: g_string_free (priv->sound, TRUE); g_free (priv->sound_uri); priv->sound = NULL; priv->sound_uri = NULL; str = g_value_get_pointer (value); if (str) priv->sound = g_string_new_len (str->str, str->len); break; case PROP_SOUND_URI: g_string_free (priv->sound, TRUE); g_free (priv->sound_uri); priv->sound = NULL; priv->sound_uri = NULL; mimedir_utils_set_property_string (&priv->sound_uri, value); break; case PROP_UID: mimedir_utils_set_property_string (&priv->uid, value); break; case PROP_URL: mimedir_utils_set_property_string (&priv->url, value); break; case PROP_CLASS: mimedir_utils_set_property_string (&priv->klass, value); break; case PROP_KEY_LIST: // Free Old List for (node = priv->keys; node != NULL; node = g_list_next (node)) { MIMEDirVCardKey *key = (MIMEDirVCardKey *) node->data; g_free (key->key); g_free (key); } g_list_free (priv->keys); priv->keys = NULL; // Copy List node = (GList *) g_value_get_pointer (value); for (; node != NULL; node = g_list_next (node)) { MIMEDirVCardKey *old, *new; g_return_if_fail (node->data != NULL); old = (MIMEDirVCardKey *) node->data; new = g_new (MIMEDirVCardKey, 1); new->key = g_strdup (old->key); new->type = old->type; priv->keys = g_list_prepend (priv->keys, new); } priv->keys = g_list_reverse (priv->keys); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } mimedir_vcard_changed (vcard); } static void mimedir_vcard_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec) { MIMEDirVCard *vcard; MIMEDirVCardPriv *priv; const gchar *s; gchar *str; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (object)); vcard = MIMEDIR_VCARD (object); priv = vcard->priv; switch (property_id) { case PROP_NAME: g_value_set_string (value, priv->fn); break; case PROP_FAMILYNAME: g_value_set_string (value, priv->familyname); break; case PROP_GIVENNAME: g_value_set_string (value, priv->givenname); break; case PROP_MIDDLENAME: g_value_set_string (value, priv->middlename); break; case PROP_PREFIX: g_value_set_string (value, priv->prefix); break; case PROP_SUFFIX: g_value_set_string (value, priv->suffix); break; case PROP_NICKNAME_LIST: g_value_set_pointer (value, priv->nickname); break; case PROP_NICKNAME: if (priv->nickname) s = (const gchar *) priv->nickname->data; else s = NULL; g_value_set_string (value, s); break; case PROP_PHOTO: g_value_set_pointer (value, priv->photo); break; case PROP_PHOTO_URI: g_value_set_string (value, priv->photo_uri); break; case PROP_BIRTHDAY: if (priv->birthday) g_value_set_object (value, G_OBJECT (priv->birthday)); break; case PROP_ADDRESS_LIST: g_value_set_pointer (value, priv->addresses); break; case PROP_ADDRESS: { MIMEDirVCardAddress *address; gchar *s = NULL; address = mimedir_vcard_get_preferred_address (vcard); if (address) s = mimedir_vcard_address_get_as_string (address); g_value_set_string (value, s); g_free (s); break; } case PROP_PHONE_LIST: g_value_set_pointer (value, priv->phone); break; case PROP_PHONE: { MIMEDirVCardPhone *phone; gchar *s = NULL; phone = mimedir_vcard_get_preferred_phone (vcard); if (phone) s = mimedir_vcard_phone_get_as_string (phone); g_value_set_string (value, s); g_free (s); break; } case PROP_EMAIL_LIST: g_value_set_pointer (value, priv->email); break; case PROP_EMAIL: { MIMEDirVCardEMail *email; gchar *s = NULL; email = mimedir_vcard_get_preferred_email (vcard); if (email) s = mimedir_vcard_email_get_as_string (email); g_value_set_string (value, s); g_free (s); break; } case PROP_MAILER: g_value_set_string (value, priv->mailer); break; case PROP_TIMEZONE: g_value_set_int (value, priv->timezone); break; case PROP_TIMEZONE_STRING: g_value_set_string (value, priv->timezone_string); break; case PROP_LATITUDE: g_value_set_double (value, priv->latitude); break; case PROP_LONGITUDE: g_value_set_double (value, priv->longitude); break; case PROP_JOBTITLE: g_value_set_string (value, priv->jobtitle); break; case PROP_JOBROLE: g_value_set_string (value, priv->jobrole); break; case PROP_LOGO: g_value_set_pointer (value, priv->logo); break; case PROP_LOGO_URI: g_value_set_pointer (value, priv->logo_uri); break; case PROP_AGENT: g_value_set_object (value, priv->agent); break; case PROP_AGENT_URI: g_value_set_string (value, priv->agent_uri); break; case PROP_AGENT_STRING: g_value_set_string (value, priv->agent_string); break; case PROP_ORGANIZATION_LIST: g_value_set_pointer (value, priv->organization); break; case PROP_ORGANIZATION: if (priv->organization) s = (const gchar *) priv->organization->data; else s = NULL; g_value_set_string (value, s); break; case PROP_CATEGORY_LIST: g_value_set_pointer (value, priv->categories); break; case PROP_CATEGORIES: str = mimedir_vcard_strjoin (", ", priv->categories); g_value_set_string (value, str); g_free (str); break; case PROP_NOTE: g_value_set_string (value, priv->note); break; case PROP_PRODID: g_value_set_string (value, priv->prodid); break; case PROP_REVISION: g_value_set_object (value, priv->revision); break; case PROP_SORT_STRING: g_value_set_pointer (value, priv->sort_string); break; case PROP_SOUND: g_value_set_pointer (value, priv->sound); break; case PROP_SOUND_URI: g_value_set_pointer (value, priv->sound_uri); break; case PROP_UID: g_value_set_string (value, priv->uid); break; case PROP_URL: g_value_set_string (value, priv->url); break; case PROP_CLASS: g_value_set_string (value, priv->klass); break; case PROP_KEY_LIST: g_value_set_pointer (value, priv->keys); break; case PROP_PUBKEY: if (priv->keys) { MIMEDirVCardKey *key = (MIMEDirVCardKey *) priv->keys->data; g_value_set_string (value, key->key); } break; case PROP_KEYTYPE: if (priv->keys) { MIMEDirVCardKey *key = (MIMEDirVCardKey *) priv->keys->data; g_value_set_int (value, key->type); } break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } } /* * Utility Functions */ static GSList * mimedir_vcard_strsplit (const gchar *string, const gchar *separator) { gchar **array, **a; GSList *list = NULL; array = g_strsplit (string, separator, 0); g_assert (array != NULL); for (a = array; *a != NULL; a++) { gchar *s; s = g_strdup ((const gchar *) *a); g_strstrip (s); list = g_slist_append (list, s); } g_strfreev (array); return list; } static gchar * mimedir_vcard_strjoin (const gchar *separator, GSList *list) { GString *s; s = g_string_new (""); for (; list != NULL; list = g_slist_next (list)) { s = g_string_append (s, (const gchar *) list->data); if (list->next) g_string_append (s, separator); } return g_string_free (s, FALSE); } /* * List Management */ static void mimedir_vcard_internal_append_address (MIMEDirVCard *vcard, MIMEDirVCardAddress *address) { MIMEDirVCardPriv *priv; gulong cid; priv = vcard->priv; g_object_ref (G_OBJECT (address)); cid = g_signal_connect_swapped (G_OBJECT (address), "changed", G_CALLBACK (mimedir_vcard_changed), vcard); priv->addresses = g_slist_append (priv->addresses, address); priv->address_signals = g_slist_append (priv->address_signals, g_memdup (&cid, sizeof (gulong))); } static void mimedir_vcard_internal_remove_address (MIMEDirVCard *vcard, MIMEDirVCardAddress *address) { MIMEDirVCardPriv *priv; GSList *list; gint idx; gulong *lp; priv = vcard->priv; idx = g_slist_index (priv->addresses, address); list = g_slist_nth (priv->address_signals, idx); lp = list->data; priv->addresses = g_slist_remove (priv->addresses, address); priv->address_signals = g_slist_delete_link (priv->address_signals, list); g_signal_handler_disconnect (address, *lp); g_free (lp); g_object_unref (G_OBJECT (address)); } static void mimedir_vcard_append_address_list (MIMEDirVCard *vcard, GSList *list) { for (; list != NULL; list = g_slist_next (list)) { MIMEDirVCardAddress *address; g_return_if_fail (list->data != NULL && MIMEDIR_IS_VCARD_ADDRESS (list->data)); address = MIMEDIR_VCARD_ADDRESS (list->data); mimedir_vcard_internal_append_address (vcard, address); } } static void mimedir_vcard_free_address_list (MIMEDirVCard *vcard) { while (vcard->priv->addresses) { gpointer p; p = vcard->priv->addresses->data; g_assert (p != NULL && MIMEDIR_IS_VCARD_ADDRESS (p)); mimedir_vcard_internal_remove_address (vcard, MIMEDIR_VCARD_ADDRESS (p)); } } static void mimedir_vcard_internal_append_phone (MIMEDirVCard *vcard, MIMEDirVCardPhone *phone) { MIMEDirVCardPriv *priv; gulong cid; priv = vcard->priv; g_object_ref (G_OBJECT (phone)); cid = g_signal_connect_swapped (G_OBJECT (phone), "changed", G_CALLBACK (mimedir_vcard_changed), vcard); priv->phone = g_slist_append (priv->phone, phone); priv->phone_signals = g_slist_append (priv->phone_signals, g_memdup (&cid, sizeof (gulong))); } static void mimedir_vcard_internal_remove_phone (MIMEDirVCard *vcard, MIMEDirVCardPhone *phone) { MIMEDirVCardPriv *priv; GSList *list; gint idx; gulong *lp; priv = vcard->priv; idx = g_slist_index (priv->phone, phone); list = g_slist_nth (priv->phone_signals, idx); lp = list->data; priv->phone = g_slist_remove (priv->phone, phone); priv->phone_signals = g_slist_delete_link (priv->phone_signals, list); g_signal_handler_disconnect (phone, *lp); g_free (lp); g_object_unref (G_OBJECT (phone)); } static void mimedir_vcard_append_phone_list (MIMEDirVCard *vcard, GSList *list) { for (; list != NULL; list = g_slist_next (list)) { MIMEDirVCardPhone *phone; g_return_if_fail (list->data != NULL && MIMEDIR_IS_VCARD_PHONE (list->data)); phone = MIMEDIR_VCARD_PHONE (list->data); mimedir_vcard_internal_append_phone (vcard, phone); } } static void mimedir_vcard_free_phone_list (MIMEDirVCard *vcard) { while (vcard->priv->phone) { gpointer p; p = vcard->priv->phone->data; g_assert (p != NULL && MIMEDIR_IS_VCARD_PHONE (p)); mimedir_vcard_internal_remove_phone (vcard, MIMEDIR_VCARD_PHONE (p)); } } static void mimedir_vcard_internal_append_email (MIMEDirVCard *vcard, MIMEDirVCardEMail *email) { MIMEDirVCardPriv *priv; gulong cid; priv = vcard->priv; g_object_ref (G_OBJECT (email)); cid = g_signal_connect_swapped (G_OBJECT (email), "changed", G_CALLBACK (mimedir_vcard_changed), vcard); priv->email = g_slist_append (priv->email, email); priv->email_signals = g_slist_append (priv->email_signals, g_memdup (&cid, sizeof (gulong))); } static void mimedir_vcard_internal_remove_email (MIMEDirVCard *vcard, MIMEDirVCardEMail *email) { MIMEDirVCardPriv *priv; GSList *list; gint idx; gulong *lp; priv = vcard->priv; idx = g_slist_index (priv->email, email); list = g_slist_nth (priv->email_signals, idx); lp = list->data; priv->email = g_slist_remove (priv->email, email); priv->email_signals = g_slist_delete_link (priv->email_signals, list); g_signal_handler_disconnect (email, *lp); g_free (lp); g_object_unref (G_OBJECT (email)); } static void mimedir_vcard_append_email_list (MIMEDirVCard *vcard, GSList *list) { for (; list != NULL; list = g_slist_next (list)) { MIMEDirVCardEMail *email; g_return_if_fail (list->data != NULL && MIMEDIR_IS_VCARD_EMAIL (list->data)); email = MIMEDIR_VCARD_EMAIL (list->data); mimedir_vcard_internal_append_email (vcard, email); } } static void mimedir_vcard_free_email_list (MIMEDirVCard *vcard) { while (vcard->priv->email) { gpointer p; p = vcard->priv->email->data; g_assert (p != NULL && MIMEDIR_IS_VCARD_EMAIL (p)); mimedir_vcard_internal_remove_email (vcard, MIMEDIR_VCARD_EMAIL (p)); } } /* * Private Methods */ /* Free VCard's allocated memory */ static void mimedir_vcard_clear (MIMEDirVCard *vcard) { MIMEDirVCardPriv *priv; GList *node; priv = vcard->priv; if (!priv) return; g_free (priv->name); g_free (priv->source); g_free (priv->fn); g_free (priv->familyname); g_free (priv->givenname); g_free (priv->middlename); g_free (priv->prefix); g_free (priv->suffix); mimedir_utils_free_string_slist (priv->nickname); if (priv->photo) g_string_free (priv->photo, TRUE); g_free (priv->photo_uri); if (priv->birthday) g_object_unref (G_OBJECT (priv->birthday)); mimedir_vcard_free_address_list (vcard); mimedir_vcard_free_phone_list (vcard); mimedir_vcard_free_email_list (vcard); g_free (priv->mailer); g_free (priv->jobtitle); g_free (priv->jobrole); if (priv->logo) g_string_free (priv->logo, TRUE); g_free (priv->logo_uri); if (priv->agent) g_object_unref (G_OBJECT (priv->agent)); g_free (priv->agent_string); g_free (priv->agent_uri); mimedir_utils_free_string_slist (priv->organization); mimedir_utils_free_string_slist (priv->categories); g_free (priv->note); g_free (priv->prodid); if (priv->revision) g_object_unref (G_OBJECT (priv->revision)); g_free (priv->sort_string); if (priv->sound) g_string_free (priv->sound, TRUE); g_free (priv->sound_uri); g_free (priv->uid); g_free (priv->url); g_free (priv->klass); for (node = priv->keys; node != NULL; node = g_list_next (node)) { MIMEDirVCardKey *key = (MIMEDirVCardKey *) node->data; g_free (key->key); g_free (key); } g_list_free (priv->keys); g_free (priv); vcard->priv = NULL; } /* Reallocate memory for the VCard */ static void mimedir_vcard_reset (MIMEDirVCard *vcard) { mimedir_vcard_clear (vcard); mimedir_vcard_init (vcard); } /* Emit the changed signal */ static void mimedir_vcard_changed (MIMEDirVCard *vcard) { vcard->priv->changed = TRUE; g_signal_emit (G_OBJECT (vcard), mimedir_vcard_signals[SIGNAL_CHANGED], 0); } static void mimedir_vcard_update_revision (MIMEDirVCard *vcard) { MIMEDirVCardPriv *priv; time_t t; struct tm tm; priv = vcard->priv; t = time (NULL); gmtime_r (&t, &tm); if (!priv->revision) priv->revision = mimedir_datetime_new_from_struct_tm (&tm); } /* * Parsing */ static gint mimedir_vcard_parse_utc_offset (MIMEDirAttribute *attr, GError **error) { const gchar *attrname, *s; gboolean positive = TRUE; gint hour, minute; attrname = mimedir_attribute_get_name (attr); s = mimedir_attribute_get_value (attr); if (*s == '-') { positive = FALSE; s++; } else if (*s == '+') { positive = TRUE; s++; } if (s[0] < '0' || s[0] > '9' || s[1] < '0' || s[1] > '9') { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "utc-offset", attrname); return G_MAXINT; } hour = (s[0] - '0') * 10; hour += s[1] - '0'; s += 2; if (s[0] < '0' || s[0] > '9' || s[1] < '0' || s[1] > '9') { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "utf-offset", attrname); return G_MAXINT; } minute = (s[0] - '0') * 10; minute += s[1] - '0'; s += 2; if (hour > 23 || minute > 59) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "utf-offset", attrname); return G_MAXINT; } if (*s != '\0') { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "utc-offset", attrname); return G_MAXINT; } if (positive) return hour * 60 + minute; else return -(hour * 60 + minute); } /* * Static Methods */ /* This function is documented elsewhere. */ GList * mimedir_vcard_read_file (const gchar *filename, GError **error) { GError *err = NULL; GIOChannel *channel; GList *list; g_return_val_if_fail (filename != NULL, NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); /* Try to read file as UTF-8 file */ channel = g_io_channel_new_file (filename, "r", error); if (!channel) { if (error && *error) { gchar *msg = (*error)->message; (*error)->message = g_strdup_printf (_("Error reading card file %s: %s!"), filename, msg); g_free (msg); } return NULL; } list = mimedir_vcard_read_channel (channel, &err); g_io_channel_unref (channel); /* Try again opening the file with the current locale if opening * it as UTF-8 coded failed. */ if (err && err->domain == G_CONVERT_ERROR) { g_error_free (err); err = NULL; channel = g_io_channel_new_file (filename, "r", error); if (!channel) { if (error && *error) { gchar *msg = (*error)->message; (*error)->message = g_strdup_printf (_("Error reading card file %s: %s!"), filename, msg); g_free (msg); } return NULL; } if (g_io_channel_set_encoding (channel, NULL, error) != G_IO_STATUS_NORMAL) { g_io_channel_unref (channel); return NULL; } list = mimedir_vcard_read_channel (channel, &err); g_io_channel_unref (channel); } /* Try again opening the file as ISO-8859-15 if opening with current * locale failed. */ if (err && err->domain == G_CONVERT_ERROR) { g_error_free (err); err = NULL; channel = g_io_channel_new_file (filename, "r", error); if (!channel) { if (error && *error) { gchar *msg = (*error)->message; (*error)->message = g_strdup_printf (_("Error reading card file %s: %s!"), filename, msg); g_free (msg); } return NULL; } if (g_io_channel_set_encoding (channel, "ISO-8859-15", error) != G_IO_STATUS_NORMAL) { g_io_channel_unref (channel); return NULL; } list = mimedir_vcard_read_channel (channel, &err); g_io_channel_unref (channel); } /* Error handling */ if (err) { gchar *msg; g_propagate_error (error, err); msg = (*error)->message; (*error)->message = g_strdup_printf (_("Error reading card file %s: %s!"), filename, msg); g_free (msg); } return list; } /** * mimedir_vcard_read_channel: * @channel: I/O channel to read from * @error: error storage location or %NULL * * Reads a list of vCards from the supplied I/O channel and returns it. @error * will be set if an error occurs. You should free the returned list with * mimedir_vcard_free_list(). * * Return value: list of read vCards **/ GList * mimedir_vcard_read_channel (GIOChannel *channel, GError **error) { GList *list = NULL; GIOStatus status; gchar *string; gsize len, pos; g_return_val_if_fail (channel != NULL, NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); status = g_io_channel_read_to_end (channel, &string, &len, error); if (status != G_IO_STATUS_NORMAL) return NULL; for (pos = 0; pos < len;) { MIMEDirVCard *vcard; MIMEDirProfile *profile; const gchar *charset; ssize_t newpos; /* Skip white space */ for (; g_ascii_isspace (string[pos]); pos++) ; if (pos == len) break; /* Read profile */ profile = mimedir_profile_new (NULL); charset = g_io_channel_get_encoding (channel); if (charset) mimedir_profile_set_charset (profile, charset); newpos = mimedir_profile_parse (profile, string + pos, error); if (newpos < 0) { g_object_unref (G_OBJECT (profile)); mimedir_vcard_free_list (list); list = NULL; break; } pos += newpos; vcard = mimedir_vcard_new_from_profile (profile, error); g_object_unref (G_OBJECT (profile)); if (!vcard) { mimedir_vcard_free_list (list); list = NULL; break; } list = g_list_append (list, vcard); } g_free (string); return list; } /** * mimedir_vcard_free_list: * @list: list of vCards * * Frees a list of vCards as returned by mimedir_vcard_read_list_from_file() * or mimedir_vcard_read_list_from_channel(). **/ void mimedir_vcard_free_list (GList *list) { GList *current; for (current = list; current != NULL; current = g_list_next (current)) g_object_unref (G_OBJECT (current->data)); g_list_free (list); } /** * mimedir_vcard_write_list: * @filename: file to save to * @list: list of vCard objects * @error: error storage location or %NULL * * Saves a list of vCard to a file. * * Return value: success indicator **/ gboolean mimedir_vcard_write_list (const gchar *filename, GList *list, GError **error) { gboolean success; GIOChannel *channel; g_return_val_if_fail (filename != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); channel = g_io_channel_new_file (filename, "w", error); if (!channel) { if (error && *error) { gchar *msg = (*error)->message; (*error)->message = g_strdup_printf (_("Error writing card file %s: %s!"), filename, msg); g_free (msg); } return FALSE; } success = mimedir_vcard_write_list_to_channel (channel, list, error); g_io_channel_unref (channel); return success; } /** * mimedir_vcard_write_list_to_channel: * @channel: I/O channel to save to * @list: list of vCard objects * @error: error storage location or %NULL * * Saves a list of vCard to an I/O channel. * * Return value: success indicator **/ gboolean mimedir_vcard_write_list_to_channel (GIOChannel *channel, GList *list, GError **error) { g_return_val_if_fail (channel != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); for (; list != NULL; list = g_list_next (list)) { MIMEDirVCard *vcard; if (list->data == NULL || !MIMEDIR_IS_VCARD (list->data)) { g_critical ("list must contain only valid vCard objects"); return FALSE; } vcard = MIMEDIR_VCARD (list->data); if (!mimedir_vcard_write_to_channel (vcard, channel, error)) return FALSE; } return TRUE; } /* * Public Methods */ /** * mimedir_vcard_new: * * Creates a new (empty) vCard object. * * Return value: a new vCard object **/ MIMEDirVCard * mimedir_vcard_new (void) { MIMEDirVCard *vcard; vcard = g_object_new (MIMEDIR_TYPE_VCARD, NULL); return vcard; } /** * mimedir_vcard_new_from_profile: * @profile: a profile object * @error: error storage location or %NULL * * Create a new vCard object and fills it with data retrieved from the * supplied profile object. If an error occurs during the read, @error * will be set and %NULL will be returned. * * Return value: the new vCard object or %NULL **/ MIMEDirVCard * mimedir_vcard_new_from_profile (MIMEDirProfile *profile, GError **error) { MIMEDirVCard *vcard; g_return_val_if_fail (profile != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); vcard = g_object_new (MIMEDIR_TYPE_VCARD, NULL); if (!mimedir_vcard_read_from_profile (vcard, profile, error)) { g_object_unref (G_OBJECT (vcard)); vcard = NULL; } return vcard; } /** * mimedir_vcard_read_from_profile: * @vcard: a vCard * @profile: a profile object * @error: error storage location or %NULL * * Clears the supplied vCard object and re-initializes it with data read * from the supplied profile. If an error occurs during the read, @error * will be set and %FALSE will be returned. Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vcard_read_from_profile (MIMEDirVCard *vcard, MIMEDirProfile *profile, GError **error) { MIMEDirVCardPriv *priv; GSList *attrs; gchar *name; g_return_val_if_fail (vcard != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCARD (vcard), FALSE); g_return_val_if_fail (profile != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); mimedir_vcard_reset (vcard); priv = vcard->priv; g_object_get (G_OBJECT (profile), "name", &name, NULL); if (name && g_ascii_strcasecmp (name, "VCARD") != 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE_STR, name, "VCARD"); g_free (name); return FALSE; } g_free (name); attrs = mimedir_profile_get_attribute_list (profile); for (; attrs != NULL; attrs = g_slist_next (attrs)) { GError *err = NULL; MIMEDirAttribute *attr; const gchar *name; attr = MIMEDIR_ATTRIBUTE (attrs->data); name = mimedir_attribute_get_name (attr); /* * Generic Types (RFC 2425, Section 6; RFC 2426, Section 2.1) */ /* Profile Begin (6.4, 2.1.1) */ if (!g_ascii_strcasecmp (name, "BEGIN")) { /* ignore */ } /* Profile End (6.5, 2.1.1) */ else if (!g_ascii_strcasecmp (name, "END")) { /* ignore */ } /* Name (6.2, 2.1.2) */ else if (!g_ascii_strcasecmp (name, "NAME")) { if (priv->name != NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->name = mimedir_attribute_get_value_text (attr, error); if (!priv->name) return FALSE; } /* Profile Name (6.3, 2.1.3) */ else if (!g_ascii_strcasecmp (name, "PROFILE")) { const gchar *profname; profname = mimedir_attribute_get_value (attr); if (g_ascii_strcasecmp (profname, "VCARD") != 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE_STR, profname, "VCARD"); return FALSE; } } /* Source (6.1, 2.1.4) */ else if (!g_ascii_strcasecmp (name, "SOURCE")) { if (priv->source != NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->source = mimedir_attribute_get_value_uri (attr, error); if (!priv->source) return FALSE; } /* * Identification Types (RFC 2426, Section 3.1) */ /* Name (3.1.1) */ else if (!g_ascii_strcasecmp (name, "FN")) { if (priv->fn != NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->fn = mimedir_attribute_get_value_text (attr, error); if (!priv->fn) return FALSE; } /* Structured Name (3.1.2) */ else if (!g_ascii_strcasecmp (name, "N")) { GSList *list, *current; if (priv->familyname != NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } list = mimedir_attribute_get_value_structured_text (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } current = list; priv->familyname = mimedir_vcard_strjoin (" ", current->data); if (current->next) { current = g_slist_next (current); priv->givenname = mimedir_vcard_strjoin (" ", current->data); } if (current->next) { current = g_slist_next (current); priv->middlename = mimedir_vcard_strjoin (" ", current->data); } if (current->next) { current = g_slist_next (current); priv->prefix = mimedir_vcard_strjoin (" ", current->data); } if (current->next) { current = g_slist_next (current); priv->suffix = mimedir_vcard_strjoin (" ", current->data); } if (current->next) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG, MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG_STR, name); return FALSE; } mimedir_attribute_free_structured_text_list (list); } /* Nick Name (3.1.3) */ else if (!g_ascii_strcasecmp (name, "NICKNAME")) { GSList *list; list = mimedir_attribute_get_value_text_list (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } priv->nickname = g_slist_concat (priv->nickname, list); } /* Photo (3.1.4) */ else if (!g_ascii_strcasecmp (name, "PHOTO")) { if (priv->photo || priv->photo_uri) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } if (mimedir_attribute_get_attribute_type (attr) == MIMEDIR_ATTRIBUTE_TYPE_URI) { priv->photo_uri = mimedir_attribute_get_value_uri (attr, error); if (!priv->photo_uri) return FALSE; } else { const gchar *data; gssize len; data = mimedir_attribute_get_value_data (attr, &len); priv->photo = g_string_new_len (data, len); } } /* Birthday (3.1.5) */ else if (!g_ascii_strcasecmp (name, "BDAY")) { if (priv->birthday) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->birthday = mimedir_attribute_get_value_datetime (attr, &err); if (!priv->birthday) { g_propagate_error (error, err); return FALSE; } if (!(priv->birthday->flags & MIMEDIR_DATETIME_DATE)) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "date-time", name); return FALSE; } } /* * Delivery Addressing Types (RFC 2426, Section 3.2) */ /* Address (3.2.1), Address Label (3.2.2) */ else if (!g_ascii_strcasecmp (name, "ADR") || !g_ascii_strcasecmp (name, "LABEL")) { MIMEDirVCardAddress *address; address = mimedir_vcard_address_new_from_attribute (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } mimedir_vcard_internal_append_address (vcard, address); g_object_unref (G_OBJECT (address)); } /* * Telecommunications Addressing Types (RFC 2426, Section 3.3) */ /* Telephone Number (3.3.1) */ else if (!g_ascii_strcasecmp (name, "TEL")) { MIMEDirVCardPhone *phone; phone = mimedir_vcard_phone_new_from_attribute (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } mimedir_vcard_internal_append_phone (vcard, phone); g_object_unref (G_OBJECT (phone)); } /* E-mail Address (3.3.2) */ else if (!g_ascii_strcasecmp (name, "EMAIL")) { MIMEDirVCardEMail *email; email = mimedir_vcard_email_new_from_attribute (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } mimedir_vcard_internal_append_email (vcard, email); g_object_unref (G_OBJECT (email)); } /* Mailer (3.3.3) */ else if (!g_ascii_strcasecmp (name, "MAILER")) { const gchar *s; if (priv->mailer != NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "MAILER"); return FALSE; } s = mimedir_attribute_get_value (attr); priv->mailer = g_strdup (s); } /* * Geographical Types (RFC 2426, Section 3.4) */ /* Time Zone (3.4.1) */ else if (!g_ascii_strcasecmp (name, "TZ")) { const gchar *type; if (priv->timezone != G_MAXINT || priv->timezone_string != NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "TZ"); return FALSE; } type = mimedir_attribute_get_parameter_value (attr, "type"); if (!g_ascii_strcasecmp (type, "text")) { priv->timezone_string = mimedir_attribute_get_value_text (attr, error); if (!priv->timezone_string) return FALSE; } else { gint offset; offset = mimedir_vcard_parse_utc_offset (attr, error); if (offset == G_MAXINT) return FALSE; priv->timezone = offset; } } /* Geographical Position (3.4.2) */ else if (!g_ascii_strcasecmp (name, "GEO")) { GSList *list; gdouble latitude, longitude; list = mimedir_attribute_get_value_float_list (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } if (g_slist_length (list) < 2) { mimedir_attribute_free_float_list (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT, MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT_STR, name); return FALSE; } else if (g_slist_length (list) > 2) { mimedir_attribute_free_float_list (list); g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG, MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG_STR, name); return FALSE; } latitude = *((gdouble *) list->data); longitude = *((gdouble *) list->next->data); mimedir_attribute_free_float_list (list); if (latitude < -90.0 || latitude > +90.0 || longitude < -180.0 || longitude > +180.0) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR, name); return FALSE; } priv->latitude = latitude; priv->longitude = longitude; } /* * Organizational Types (RFC 2426, Section 3.5) */ /* Job Title (3.5.1) */ else if (!g_ascii_strcasecmp (name, "TITLE")) { if (priv->jobtitle != NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "TITLE"); return FALSE; } priv->jobtitle = mimedir_attribute_get_value_text (attr, error); if (!priv->jobtitle) return FALSE; } /* Job Role (3.5.2) */ else if (!g_ascii_strcasecmp (name, "ROLE")) { if (priv->jobrole != NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "ROLE"); return FALSE; } priv->jobrole = mimedir_attribute_get_value_text (attr, error); if (!priv->jobrole) return FALSE; } /* Organization Logo (3.5.3) */ else if (!g_ascii_strcasecmp (name, "LOGO")) { if (priv->logo || priv->logo_uri) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "LOGO"); return FALSE; } if (mimedir_attribute_get_attribute_type (attr) == MIMEDIR_ATTRIBUTE_TYPE_URI) { priv->logo_uri = mimedir_attribute_get_value_uri (attr, error); if (!priv->logo_uri) return FALSE; } else { gchar *s; gssize len; s = mimedir_attribute_get_value_data (attr, &len); priv->logo = g_string_new_len (s, len); } } /* Agent (3.5.4) */ else if (!g_ascii_strcasecmp (name, "AGENT")) { MIMEDirAttributeType type; if (priv->agent || priv->agent_uri || priv->agent_string) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "AGENT"); return FALSE; } type = mimedir_attribute_get_attribute_type (attr); if (type == MIMEDIR_ATTRIBUTE_TYPE_URI) priv->agent_uri = mimedir_attribute_get_value_uri (attr, &err); else if (type == MIMEDIR_ATTRIBUTE_TYPE_TEXT) priv->agent_string = mimedir_attribute_get_value_text (attr, &err); else { gchar *s; s = mimedir_attribute_get_value_text (attr, &err); if (!err) { MIMEDirProfile *profile; profile = mimedir_profile_new (NULL); mimedir_profile_parse (profile, s, &err); if (!err) priv->agent = mimedir_vcard_new_from_profile (profile, &err); } } if (err) { g_propagate_error (error, err); return FALSE; } } /* Organization (3.5.5) */ else if (!g_ascii_strcasecmp (name, "ORG")) { GSList *list, *current; if (priv->organization != NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "ORG"); return FALSE; } /* For compatibility reasons, we treat commas in the * ORG type as literal characters. */ list = mimedir_attribute_get_value_structured_text (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } for (current = list; current != NULL; current = g_slist_next (current)) { GSList *ilist; GString *string; string = g_string_new (""); for (ilist = (GSList *) current->data; ilist != NULL; ilist = g_slist_next (ilist)) { g_string_append (string, (const gchar *) ilist->data); if (ilist->next) g_string_append_c (string, ','); } priv->organization = g_slist_append (priv->organization, g_string_free (string, FALSE)); } } /* * Explanatory Types (RFC 2426, Section 3.6) */ /* Categories (3.6.1) */ else if (!g_ascii_strcasecmp (name, "CATEGORIES")) { GSList *list; list = mimedir_attribute_get_value_text_list (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } priv->categories = g_slist_concat (priv->categories, list); } /* Note (3.6.2) */ else if (!g_ascii_strcasecmp (name, "NOTE")) { GSList *list, *l; GString *s; if (priv->note != NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "NOTE"); return FALSE; } list = mimedir_attribute_get_value_text_list (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } /* Treat not-escaped commas like escaped commas, * for compatibility reasons. */ s = g_string_new (NULL); for (l = list; l != NULL; l = g_slist_next (l)) { g_string_append (s, (const gchar *) l->data); if (l->next) g_string_append_c (s, ','); } priv->note = g_string_free (s, FALSE); mimedir_attribute_free_list (list); } /* Product ID (3.6.3) */ else if (!g_ascii_strcasecmp (name, "PRODID")) { if (priv->prodid) { g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->prodid = mimedir_attribute_get_value_text (attr, error); if (!priv->prodid) { g_propagate_error (error, err); return FALSE; } } /* Revision (3.6.4) */ else if (!g_ascii_strcasecmp (name, "REV")) { if (priv->revision) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->revision = mimedir_attribute_get_value_datetime (attr, &err); if (!priv->revision) { g_propagate_error (error, err); return FALSE; } if (!(priv->revision->flags & MIMEDIR_DATETIME_DATE)) { g_object_unref (G_OBJECT (priv->revision)); priv->revision = NULL; g_set_error (error, MIMEDIR_ATTRIBUTE_ERROR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR, "date-time", name); return FALSE; } priv->revision->flags &= ~MIMEDIR_DATETIME_TIME; } /* Sort string (3.6.5) */ else if (!g_ascii_strcasecmp (name, "SORT-STRING")) { if (priv->sort_string != NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "SORT-STRING"); return FALSE; } priv->sort_string = mimedir_attribute_get_value_text (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } } /* Sound (3.6.6) */ else if (!g_ascii_strcasecmp (name, "SOUND")) { if (priv->sound || priv->sound_uri) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "SOUND"); return FALSE; } if (mimedir_attribute_get_attribute_type (attr) == MIMEDIR_ATTRIBUTE_TYPE_URI) { priv->sound_uri = mimedir_attribute_get_value_uri (attr, &err); if (!priv->sound_uri) return FALSE; } else { const gchar *s; gssize len; s = mimedir_attribute_get_value_data (attr, &len); priv->sound = g_string_new_len (s, len); } } /* UID (3.6.7) */ else if (!g_ascii_strcasecmp (name, "UID")) { if (priv->uid != NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "UID"); return FALSE; } priv->uid = mimedir_attribute_get_value_text (attr, error); if (!priv->uid) return FALSE; } /* URL (3.6.8) */ else if (!g_ascii_strcasecmp (name, "URL")) { if (priv->url != NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "URL"); return FALSE; } priv->url = mimedir_attribute_get_value_uri (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } } /* Version (3.6.9) */ else if (!g_ascii_strcasecmp (name, "VERSION")) { /* no op */ } /* * Security Types (RFC 2426, Section 3.7) */ /* Access Classification (3.7.1) */ else if (!g_ascii_strcasecmp (name, "CLASS")) { if (priv->klass != NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, "CLASS"); return FALSE; } priv->klass = mimedir_attribute_get_value_uri (attr, &err); if (err) { g_propagate_error (error, err); return FALSE; } } /* Key (3.7.2) */ else if (!g_ascii_strcasecmp (name, "KEY")) { MIMEDirVCardKey *key; const gchar *type, *s; gssize len; s = mimedir_attribute_get_value_data (attr, &len); key = g_new (MIMEDirVCardKey, 1); key->key = g_strdup (s); key->type = MIMEDIR_VCARD_KEY_UNKNOWN; type = mimedir_attribute_get_parameter_value (attr, "type"); if (type && type[0] != '\0') { if (g_ascii_strcasecmp (type, "X509") == 0) key->type = MIMEDIR_VCARD_KEY_X509; else if (g_ascii_strcasecmp (type, "PGP") == 0) key->type = MIMEDIR_VCARD_KEY_PGP; } priv->keys = g_list_append (priv->keys, key); } else if (!g_ascii_strncasecmp (name, "X-", 2)) g_printerr (_("The profile contains the unsupported custom attribute %s.\n"), name); else g_printerr (_("The profile contains the unknown attribute %s.\n"), name); } if (priv->familyname == NULL) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING, MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING_STR, "N"); return FALSE; } if (priv->fn == NULL) { /* According to RFC 2426, every VCard must have a FN attribute. * But because we are nice, we construct the full name if it * wasn't given, using European heuristics: * PREFIXES GIVENNAME ADDITIONAL FAMILYNAME SUFFIXES */ GString *s; s = g_string_new (NULL); if (priv->prefix) { g_string_append (s, priv->prefix); g_string_append_c (s, ' '); } if (priv->givenname) { g_string_append (s, priv->givenname); g_string_append_c (s, ' '); } if (priv->middlename) { g_string_append (s, priv->middlename); g_string_append_c (s, ' '); } g_string_append (s, priv->familyname); if (priv->suffix) { g_string_append (s, priv->suffix); g_string_append_c (s, ' '); } priv->fn = g_string_free (s, FALSE); } g_signal_emit (G_OBJECT (vcard), mimedir_vcard_signals[SIGNAL_CHANGED], 0); return TRUE; } /** * mimedir_vcard_write_to_profile: * @vcard: a vCard * * Saves the vCard object to a newly allocated profile object. * * Return value: a new profile **/ MIMEDirProfile * mimedir_vcard_write_to_profile (MIMEDirVCard *vcard) { MIMEDirVCardPriv *priv; MIMEDirProfile *profile; MIMEDirAttribute *attr; GSList *list, *list2; GList *node; g_return_val_if_fail (vcard != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD (vcard), NULL); priv = vcard->priv; if (priv->changed || priv->revision->year == 0) mimedir_vcard_update_revision (vcard); profile = mimedir_profile_new ("VCARD"); /* * Generic Types (RFC 2425, Section 6; RFC 2426, Section 2.1) */ /* Name (6.2, 2.1.2) */ if (priv->name) { attr = mimedir_attribute_new_with_name ("NAME"); mimedir_attribute_set_value_text (attr, priv->name); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Profile Name (6.3, 2.1.3) */ attr = mimedir_attribute_new_with_name ("PROFILE"); mimedir_attribute_set_value (attr, "VCARD"); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); /* Source (6.1, 2.1.4) */ if (priv->source) { attr = mimedir_attribute_new_with_name ("SOURCE"); mimedir_attribute_set_value_uri (attr, priv->source); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* * Identification Types (RFC 2426, Section 3.1) */ /* Name (3.1.1) */ g_assert (priv->fn != NULL); attr = mimedir_attribute_new_with_name ("FN"); mimedir_attribute_set_value_text (attr, priv->fn); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); /* Structured Name (3.1.2) */ list = NULL; list2 = NULL; list2 = g_slist_append (list2, priv->familyname ? priv->familyname : ""); list = g_slist_append (list, list2); list2 = NULL; list2 = g_slist_append (list2, priv->givenname ? priv->givenname : ""); list = g_slist_append (list, list2); list2 = NULL; list2 = g_slist_append (list2, priv->middlename ? priv->middlename : ""); list = g_slist_append (list, list2); list2 = NULL; list2 = g_slist_append (list2, priv->prefix ? priv->prefix : ""); list = g_slist_append (list, list2); list2 = NULL; list2 = g_slist_append (list2, priv->suffix ? priv->suffix : ""); list = g_slist_append (list, list2); attr = mimedir_attribute_new_with_name ("N"); mimedir_attribute_set_value_structured_text (attr, list); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); for (list2 = list; list2 != NULL; list2 = g_slist_next (list2)) g_slist_free (list2->data); g_slist_free (list); /* Nick Name (3.1.3) */ if (priv->nickname) { attr = mimedir_attribute_new_with_name ("N"); mimedir_attribute_set_value_text_list (attr, priv->nickname); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Photo (3.1.4) */ if (priv->photo) { attr = mimedir_attribute_new_with_name ("PHOTO"); mimedir_attribute_set_value_data (attr, priv->photo->str, priv->photo->len); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } else if (priv->photo_uri) { attr = mimedir_attribute_new_with_name ("PHOTO"); mimedir_attribute_set_value_uri (attr, priv->photo_uri); mimedir_attribute_append_parameter_simple (attr, "VALUE", "uri"); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Birthday (3.1.5) */ if (priv->birthday) { attr = mimedir_attribute_new_with_name ("BDAY"); mimedir_attribute_set_value_datetime (attr, priv->birthday); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* * Delivery Addressing Types (RFC 2426, Section 3.2) */ /* Address (3.2.1), Address Label (3.2.2) */ for (list = priv->addresses; list != NULL; list = g_slist_next (list)) { MIMEDirVCardAddress *address; g_assert (list->data != NULL && MIMEDIR_IS_VCARD_ADDRESS (list->data)); address = MIMEDIR_VCARD_ADDRESS (list->data); attr = mimedir_vcard_address_save_to_attribute (address); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* * Telecommunications Addressing Types (RFC 2426, Section 3.3) */ /* Telephone Number (3.3.1) */ for (list = priv->phone; list != NULL; list = g_slist_next (list)) { MIMEDirVCardPhone *phone; g_assert (list->data != NULL && MIMEDIR_IS_VCARD_PHONE (list->data)); phone = MIMEDIR_VCARD_PHONE (list->data); attr = mimedir_vcard_phone_save_to_attribute (phone); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* E-mail Address (3.3.2) */ for (list = priv->email; list != NULL; list = g_slist_next (list)) { MIMEDirVCardEMail *email; g_assert (list->data != NULL && MIMEDIR_IS_VCARD_EMAIL (list->data)); email = MIMEDIR_VCARD_EMAIL (list->data); attr = mimedir_vcard_email_save_to_attribute (email); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Mailer (3.3.3) */ if (priv->mailer && priv->mailer[0] != '\0') { attr = mimedir_attribute_new_with_name ("MAILER"); mimedir_attribute_set_value_text (attr, priv->mailer); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* * Geographical Types (RFC 2426, Section 3.4) */ /* Time Zone (3.4.1) */ if (priv->timezone >= MIMEDIR_VCARD_TIMEZONE_MIN && priv->timezone <= MIMEDIR_VCARD_TIMEZONE_MAX) { gchar *s; gchar sign = '+'; gint hour, minute; hour = priv->timezone / 60; minute = priv->timezone % 60; if (priv->timezone < 0) { sign = '-'; hour = -hour; minute = -minute; } s = g_strdup_printf ("%c%02d:%02d", sign, hour, minute); attr = mimedir_attribute_new_with_name ("TZ"); mimedir_attribute_set_value (attr, s); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); g_free (s); } else if (priv->timezone_string && priv->timezone_string[0] != '\0') { attr = mimedir_attribute_new_with_name ("TZ"); mimedir_attribute_set_value_text (attr, priv->timezone_string); mimedir_attribute_append_parameter_simple (attr, "VALUE", "text"); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Geographical Position (3.4.2) */ if (priv->latitude >= MIMEDIR_VCARD_LATITUDE_MIN && priv->latitude <= MIMEDIR_VCARD_LATITUDE_MAX && priv->longitude >= MIMEDIR_VCARD_LONGITUDE_MIN && priv->longitude <= MIMEDIR_VCARD_LONGITUDE_MAX) { list = NULL; list = g_slist_append (list, &priv->latitude); list = g_slist_append (list, &priv->longitude); attr = mimedir_attribute_new_with_name ("GEO"); mimedir_attribute_set_value_float_list (attr, list); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* * Organizational Types (RFC 2426, Section 3.5) */ /* Job Title (3.5.1) */ if (priv->jobtitle && priv->jobtitle[0] != '\0') { attr = mimedir_attribute_new_with_name ("TITLE"); mimedir_attribute_set_value_text (attr, priv->jobtitle); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Job Role (3.5.2) */ if (priv->jobrole && priv->jobrole[0] != '\0') { attr = mimedir_attribute_new_with_name ("ROLE"); mimedir_attribute_set_value_text (attr, priv->jobrole); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Organization Logo (3.5.3) */ if (priv->logo) { attr = mimedir_attribute_new_with_name ("LOGO"); mimedir_attribute_set_value_data (attr, priv->logo->str, priv->logo->len); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } else if (priv->logo_uri) { attr = mimedir_attribute_new_with_name ("LOGO"); mimedir_attribute_set_value_uri (attr, priv->logo_uri); mimedir_attribute_append_parameter_simple (attr, "VALUE", "uri"); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Agent (3.5.4) */ if (priv->agent) { gchar *s; attr = mimedir_attribute_new_with_name ("AGENT"); s = mimedir_vcard_get_as_string (priv->agent); mimedir_attribute_set_value_text (attr, s); g_free (s); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } else if (priv->agent_string) { attr = mimedir_attribute_new_with_name ("AGENT"); mimedir_attribute_set_value_text (attr, priv->agent_string); mimedir_attribute_append_parameter_simple (attr, "VALUE", "text"); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } else if (priv->agent_uri) { attr = mimedir_attribute_new_with_name ("AGENT"); mimedir_attribute_set_value_uri (attr, priv->agent_uri); mimedir_attribute_append_parameter_simple (attr, "VALUE", "uri"); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Organization (3.5.5) */ if (priv->organization) { list = NULL; for (list2 = priv->organization; list2 != NULL; list2 = g_slist_next (list2)) list = g_slist_append (list, g_slist_append (NULL, list2->data)); attr = mimedir_attribute_new_with_name ("ORG"); mimedir_attribute_set_value_structured_text (attr, list); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); for (list2 = list; list2 != NULL; list2 = g_slist_next (list2)) g_slist_free ((GSList *) list2->data); g_slist_free (list); } /* * Explanatory Types (RFC 2426, Section 3.6) */ /* Categories (3.6.1) */ if (priv->categories) { attr = mimedir_attribute_new_with_name ("CATEGORIES"); mimedir_attribute_set_value_text_list (attr, priv->categories); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Note (3.6.2) */ if (priv->note && priv->note[0] != '\0') { attr = mimedir_attribute_new_with_name ("NOTE"); mimedir_attribute_set_value_text (attr, priv->note); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Product ID (3.6.3) */ attr = mimedir_attribute_new_with_name ("PRODID"); mimedir_attribute_set_value_text (attr, "-//GNOME//NONSGML " PACKAGE_STRING "//EN"); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); /* Revision (3.6.4) */ g_assert (priv->revision != NULL); attr = mimedir_attribute_new_with_name ("REV"); mimedir_attribute_set_value_datetime (attr, priv->revision); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); /* Sort string (3.6.5) */ if (priv->sort_string && priv->sort_string[0] != '\0') { attr = mimedir_attribute_new_with_name ("SORT-STRING"); mimedir_attribute_set_value_text (attr, priv->sort_string); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Sound (3.6.6) */ if (priv->sound) { attr = mimedir_attribute_new_with_name ("SOUND"); mimedir_attribute_set_value_data (attr, priv->sound->str, priv->sound->len); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } else if (priv->sound_uri) { attr = mimedir_attribute_new_with_name ("SOUND"); mimedir_attribute_set_value_uri (attr, priv->sound_uri); mimedir_attribute_append_parameter_simple (attr, "VALUE", "uri"); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* UID (3.6.7) */ if (priv->uid && priv->uid[0] != '\0') { attr = mimedir_attribute_new_with_name ("UID"); mimedir_attribute_set_value_text (attr, priv->uid); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* URL (3.6.8) */ if (priv->url && priv->url[0] != '\0') { attr = mimedir_attribute_new_with_name ("URL"); mimedir_attribute_set_value (attr, priv->url); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Version (3.6.9) */ attr = mimedir_attribute_new_with_name ("VERSION"); mimedir_attribute_set_value (attr, "3.0"); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); /* * Security Types (RFC 2426, Section 3.7) */ /* Access Classification (3.7.1) */ if (priv->klass && priv->klass[0] != '\0') { attr = mimedir_attribute_new_with_name ("CLASS"); mimedir_attribute_set_value (attr, priv->klass); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Key (3.7.2) */ for (node = priv->keys; node != NULL; node = g_list_next (node)) { MIMEDirVCardKey *key = (MIMEDirVCardKey *) node->data; attr = mimedir_attribute_new_with_name ("KEY"); mimedir_attribute_set_value_text (attr, key->key); mimedir_attribute_append_parameter_simple (attr, "VALUE", "text"); switch (key->type) { case MIMEDIR_VCARD_KEY_X509: mimedir_attribute_append_parameter_simple (attr, "TYPE", "X509"); break; case MIMEDIR_VCARD_KEY_PGP: mimedir_attribute_append_parameter_simple (attr, "TYPE", "PGP"); break; default: break; /* dummy */ } mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } priv->changed = FALSE; return profile; } /** * mimedir_vcard_write_to_channel: * @vcard: a vCard * @channel: I/O channel to save to * @error: error storage location or %NULL * * Saves the vCard object to the supplied I/O channel. If an error occurs * during the write, @error will be set and %FALSE will be returned. * Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vcard_write_to_channel (MIMEDirVCard *vcard, GIOChannel *channel, GError **error) { MIMEDirProfile *profile; g_return_val_if_fail (vcard != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCARD (vcard), FALSE); g_return_val_if_fail (channel != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); profile = mimedir_vcard_write_to_profile (vcard); if (!mimedir_profile_write_to_channel (profile, channel, error)) return FALSE; g_object_unref (G_OBJECT (profile)); return TRUE; } /** * mimedir_vcard_write_to_string: * @vcard: a vCard * * Saves the vCard object to a newly allocated memory buffer. You should * free the returned buffer with g_free(). * * Return value: a newly allocated memory buffer **/ gchar * mimedir_vcard_write_to_string (MIMEDirVCard *vcard) { MIMEDirProfile *profile; gchar *s; g_return_val_if_fail (vcard != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCARD (vcard), FALSE); profile = mimedir_vcard_write_to_profile (vcard); s = mimedir_profile_write_to_string (profile); g_object_unref (G_OBJECT (profile)); return s; } /** * mimedir_vcard_set_birthday: * @vcard: a vCard * @birthday: a #MIMEDirDateTime object or %NULL * * Set's the person's birthday. Setting the birthday to %NULL unsets it. **/ void mimedir_vcard_set_birthday (MIMEDirVCard *vcard, MIMEDirDateTime *birthday) { g_return_if_fail (vcard != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (vcard)); g_return_if_fail (birthday == NULL || MIMEDIR_IS_DATETIME (birthday)); if (vcard->priv->birthday) g_object_unref (G_OBJECT (vcard->priv->birthday)); vcard->priv->birthday = birthday; if (vcard->priv->birthday) g_object_ref (G_OBJECT (vcard->priv->birthday)); } /** * mimedir_vcard_get_birthday: * @vcard: a vCard * * Get's the person's birthday. The return value is not ref'fed. * * Return value: a #MIMEDirDateTime object or %NULL if the birthday is undefined **/ MIMEDirDateTime * mimedir_vcard_get_birthday (MIMEDirVCard *vcard) { g_return_val_if_fail (vcard != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD (vcard), NULL); return vcard->priv->birthday; } /** * mimedir_vcard_append_address: * @vcard: a vCard * @address: a vCard address * * Appends the supplied address object to the vCard. **/ void mimedir_vcard_append_address (MIMEDirVCard *vcard, MIMEDirVCardAddress *address) { g_return_if_fail (vcard != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (vcard)); g_return_if_fail (address != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_ADDRESS (address)); mimedir_vcard_internal_append_address (vcard, address); mimedir_vcard_changed (vcard); } /** * mimedir_vcard_remove_address: * @vcard: a vCard * @address: a vCard address * * Removes the supplied address to the vCard. **/ void mimedir_vcard_remove_address (MIMEDirVCard *vcard, MIMEDirVCardAddress *address) { g_return_if_fail (vcard != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (vcard)); g_return_if_fail (address != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_ADDRESS (address)); mimedir_vcard_internal_remove_address (vcard, address); mimedir_vcard_changed (vcard); } /** * mimedir_vcard_append_email: * @vcard: a vCard * @email: a vCard e-mail * * Appends the supplied e-mail address to the vCard. **/ void mimedir_vcard_append_email (MIMEDirVCard *vcard, MIMEDirVCardEMail *email) { g_return_if_fail (vcard != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (vcard)); g_return_if_fail (email != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_EMAIL (email)); mimedir_vcard_internal_append_email (vcard, email); mimedir_vcard_changed (vcard); } /** * mimedir_vcard_remove_email: * @vcard: a vCard * @email: a vCard e-mail * * Removes the supplied e-mail address from the vCard. **/ void mimedir_vcard_remove_email (MIMEDirVCard *vcard, MIMEDirVCardEMail *email) { g_return_if_fail (vcard != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (vcard)); g_return_if_fail (email != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_EMAIL (email)); mimedir_vcard_internal_remove_email (vcard, email); mimedir_vcard_changed (vcard); } /** * mimedir_vcard_append_phone: * @vcard: a vCard * @phone: a vCard phone * * Appends the supplied telephone number to the vCard. **/ void mimedir_vcard_append_phone (MIMEDirVCard *vcard, MIMEDirVCardPhone *phone) { g_return_if_fail (vcard != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (vcard)); g_return_if_fail (phone != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_PHONE (phone)); mimedir_vcard_internal_append_phone (vcard, phone); mimedir_vcard_changed (vcard); } /** * mimedir_vcard_remove_phone: * @vcard: a vCard * @phone: a vCard phone * * Removes the supplied telephone number from the vCard. **/ void mimedir_vcard_remove_phone (MIMEDirVCard *vcard, MIMEDirVCardPhone *phone) { g_return_if_fail (vcard != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (vcard)); g_return_if_fail (phone != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_PHONE (phone)); mimedir_vcard_internal_remove_phone (vcard, phone); mimedir_vcard_changed (vcard); } /** * mimedir_vcard_get_preferred_address: * @vcard: a vCard * * Returns the preferred address of the supplied vCard object. If no address * has the preferred flag set, the first address of the address list is * returned. If the address list is empty, %NULL is returned. * * Return value: an address object or %NULL **/ MIMEDirVCardAddress * mimedir_vcard_get_preferred_address (MIMEDirVCard *vcard) { GSList *l; g_return_val_if_fail (vcard != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD (vcard), NULL); for (l = vcard->priv->addresses; l != NULL; l = g_slist_next (l)) { MIMEDirVCardAddress *add; gboolean pref; g_assert (MIMEDIR_IS_VCARD_ADDRESS (l->data)); add = MIMEDIR_VCARD_ADDRESS (l->data); g_object_get (add, "preferred", &pref, NULL); if (pref) return add; } if (vcard->priv->addresses) return MIMEDIR_VCARD_ADDRESS (vcard->priv->addresses->data); return NULL; } /** * mimedir_vcard_get_preferred_email: * @vcard: a vCard * * Returns the preferred email address of the supplied vCard object. If no * email address has the preferred flag set, the first email address of the * email address list is returned. If the email address list is empty, %NULL * is returned. * * Return value: an email address object or %NULL **/ MIMEDirVCardEMail * mimedir_vcard_get_preferred_email (MIMEDirVCard *vcard) { GSList *l; g_return_val_if_fail (vcard != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD (vcard), NULL); for (l = vcard->priv->email; l != NULL; l = g_slist_next (l)) { MIMEDirVCardEMail *email; gboolean pref; g_assert (MIMEDIR_IS_VCARD_EMAIL (l->data)); email = MIMEDIR_VCARD_EMAIL (l->data); g_object_get (email, "preferred", &pref, NULL); if (pref) return email; } if (vcard->priv->email) return MIMEDIR_VCARD_EMAIL (vcard->priv->email->data); return NULL; } /** * mimedir_vcard_get_preferred_phone: * @vcard: a vCard * * Returns the preferred phone number of the supplied vCard object. If no * phone number has the preferred flag set, the first phone number of the * phone number list is returned. If the phone number list is empty, %NULL * is returned. * * Return value: a phone number object or %NULL **/ MIMEDirVCardPhone * mimedir_vcard_get_preferred_phone (MIMEDirVCard *vcard) { GSList *l; g_return_val_if_fail (vcard != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD (vcard), NULL); for (l = vcard->priv->phone; l != NULL; l = g_slist_next (l)) { MIMEDirVCardPhone *phone; gboolean pref; g_assert (MIMEDIR_IS_VCARD_PHONE (l->data)); phone = MIMEDIR_VCARD_PHONE (l->data); g_object_get (phone, "preferred", &pref, NULL); if (pref) return phone; } if (vcard->priv->phone) return MIMEDIR_VCARD_PHONE (vcard->priv->phone->data); return NULL; } /** * mimedir_vcard_set_timezone: * @vcard: a vCard * @timezone: time zone in minutes from UTC * * Sets the time zone to @timezone. **/ void mimedir_vcard_set_timezone (MIMEDirVCard *vcard, gint timezone) { g_return_if_fail (vcard != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (vcard)); g_return_if_fail (timezone >= MIMEDIR_VCARD_TIMEZONE_MIN && timezone <= MIMEDIR_VCARD_TIMEZONE_MAX); vcard->priv->timezone = timezone; mimedir_vcard_changed (vcard); } /** * mimedir_vcard_clear_timezone: * @vcard: a vCard * * Clears the card's time zone information. **/ void mimedir_vcard_clear_timezone (MIMEDirVCard *vcard) { g_return_if_fail (vcard != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (vcard)); vcard->priv->timezone = G_MAXINT; mimedir_vcard_changed (vcard); } /** * mimedir_vcard_get_timezone: * @vcard: a vCard * @timezone: pointer to the timezone storage location or %NULL * * If the object's time zone is cleared, %FALSE is returned and @timezone is * left unchanged. Otherwise %TRUE is returned and @timezone is set to the * vCard's time zone. * * Return value: %TRUE if the object has a valid time zone, %FALSE otherwise **/ gboolean mimedir_vcard_get_timezone (MIMEDirVCard *vcard, gint *timezone) { g_return_val_if_fail (vcard != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCARD (vcard), FALSE); if (vcard->priv->timezone < MIMEDIR_VCARD_TIMEZONE_MIN || vcard->priv->timezone > MIMEDIR_VCARD_TIMEZONE_MAX) return FALSE; if (timezone) *timezone = vcard->priv->timezone; return TRUE; } /** * mimedir_vcard_set_geo_position: * @vcard: a vCard * @latitude: new latitude * @longitude: new longitude * * Sets the vCard's geographical position to @latitude and @longitude. **/ void mimedir_vcard_set_geo_position (MIMEDirVCard *vcard, gdouble latitude, gdouble longitude) { g_return_if_fail (vcard != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (vcard)); g_return_if_fail (latitude >= MIMEDIR_VCARD_LATITUDE_MIN && latitude <= MIMEDIR_VCARD_LATITUDE_MAX); g_return_if_fail (longitude >= MIMEDIR_VCARD_LONGITUDE_MIN && longitude <= MIMEDIR_VCARD_LONGITUDE_MAX); vcard->priv->latitude = latitude; vcard->priv->longitude = longitude; mimedir_vcard_changed (vcard); } /** * mimedir_vcard_clear_geo_position: * @vcard: a vCard * * Clears the vCard's geographical position. **/ void mimedir_vcard_clear_geo_position (MIMEDirVCard *vcard) { g_return_if_fail (vcard != NULL); g_return_if_fail (MIMEDIR_IS_VCARD (vcard)); vcard->priv->latitude = G_MAXDOUBLE; vcard->priv->longitude = G_MAXDOUBLE; mimedir_vcard_changed (vcard); } /** * mimedir_vcard_get_geo_position: * @vcard: a vCard * @latitude: pointer to the latitude storage location or %NULL * @longitude: pointer to the longitude storage location or %NULL * * If the object's geographical position is cleared, %FALSE is returned and * @latitude and @longitude are left unchanged. Otherwise %TRUE is returned * and @latitude and @longitude are set to the vCard's geographical position. * * Return value: %TRUE if the object has a valid geographical position, * %FALSE otherwise **/ gboolean mimedir_vcard_get_geo_position (MIMEDirVCard *vcard, gdouble *latitude, gdouble *longitude) { g_return_val_if_fail (vcard != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCARD (vcard), FALSE); if (vcard->priv->latitude < MIMEDIR_VCARD_LATITUDE_MIN || vcard->priv->latitude > MIMEDIR_VCARD_LATITUDE_MAX || vcard->priv->longitude < MIMEDIR_VCARD_LONGITUDE_MIN || vcard->priv->longitude > MIMEDIR_VCARD_LONGITUDE_MAX) return FALSE; if (latitude) *latitude = vcard->priv->latitude; if (longitude) *longitude = vcard->priv->longitude; return TRUE; } /** * mimedir_vcard_get_as_string: * @vcard: a vCard * * Returns the contents of the vCard object as a multi-line human-readable * string. It is not guaranteed that this string is of a particular * format or contains all information from the vCard object. Nevertheless, * it will contain all vital information. You should free the returned * string with g_free(). * * Return value: a multi-line string **/ gchar * mimedir_vcard_get_as_string (MIMEDirVCard *vcard) { MIMEDirVCardPriv *priv; GString *s; GSList *l; GList *node; g_return_val_if_fail (vcard != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD (vcard), NULL); priv = vcard->priv; s = g_string_new (NULL); /* Name */ if (priv->fn && *priv->fn != '\0') g_string_append_printf (s, _("Name: %s\n"), priv->fn); else g_string_append (s, _("Name\n")); if (priv->prefix && *priv->prefix != '\0') g_string_append_printf (s, _(" Prefix: %s\n"), priv->prefix); if (priv->givenname && *priv->givenname != '\0') g_string_append_printf (s, _(" Given: %s\n"), priv->givenname); if (priv->middlename && *priv->middlename != '\0') g_string_append_printf (s, _(" Additional: %s\n"), priv->middlename); if (priv->familyname && *priv->familyname != '\0') g_string_append_printf (s, _(" Family: %s\n"), priv->familyname); if (priv->suffix && *priv->suffix != '\0') g_string_append_printf (s, _(" Suffix: %s\n"), priv->suffix); /* Birthday */ if (priv->birthday) { g_string_append_c (s, '\n'); g_string_append_printf (s, _("Birth Date: %04d-%02d-%02d\n"), priv->birthday->year, priv->birthday->month, priv->birthday->day); } /* Addresses */ for (l = priv->addresses; l != NULL; l = g_slist_next (l)) { MIMEDirVCardAddress *address; gchar *full; g_assert (MIMEDIR_IS_VCARD_ADDRESS (l->data)); address = MIMEDIR_VCARD_ADDRESS (l->data); g_string_append_c (s, '\n'); g_object_get (G_OBJECT (address), "full", &full, NULL); if (full) { GString *str; gchar *tmp, *type; type = mimedir_vcard_address_get_type_string (address); g_string_append_printf (s, _("Address label (%s):\n"), type); g_free (type); str = g_string_new (" "); for (tmp = full; tmp[0] != '\0'; tmp++) { if (tmp[0] == '\n') g_string_append (str, "\n "); else g_string_append_c (str, tmp[0]); } g_string_append (s, str->str); g_string_free (str, TRUE); g_string_append_c (s, '\n'); g_free (full); } else { gchar *pobox, *ext, *street, *loc, *region, *pcode, *country; gchar *type; type = mimedir_vcard_address_get_type_string (address); g_string_append_printf (s, _("Address (%s):\n"), type); g_free (type); g_object_get (G_OBJECT (address), "full", &full, "pobox", &pobox, "extended", &ext, "street", &street, "locality", &loc, "region", ®ion, "pcode", &pcode, "country", &country, NULL); if (pobox && pobox[0] != '\0') g_string_append_printf (s, _(" Postal Box: %s\n"), pobox); if (ext && ext[0] != '\0') g_string_append_printf (s, _(" Extended: %s\n"), ext); if (street && street[0] != '\0') g_string_append_printf (s, _(" Street: %s\n"), street); if (loc && loc[0] != '\0') g_string_append_printf (s, _(" City: %s\n"), loc); if (region && region[0] != '\0') g_string_append_printf (s, _(" Region: %s\n"), region); if (pcode && pcode[0] != '\0') g_string_append_printf (s, _(" Postal Code: %s\n"), pcode); if (country && country[0] != '\0') g_string_append_printf (s, _(" Country: %s\n"), country); g_free (pobox); g_free (ext); g_free (street); g_free (loc); g_free (region); g_free (pcode); g_free (country); } } /* Phone */ if (priv->phone) { g_string_append_c (s, '\n'); if (priv->phone->next) { GSList *l; g_string_append (s, _("Telephone:\n")); for (l = priv->phone; l != NULL; l = g_slist_next (l)) { MIMEDirVCardPhone *phone; gchar *number, *type; g_assert (MIMEDIR_IS_VCARD_PHONE (l->data)); phone = MIMEDIR_VCARD_PHONE (l->data); g_object_get (G_OBJECT (phone), "number", &number, NULL); type = mimedir_vcard_phone_get_type_string (phone); g_string_append_printf (s, " %s (%s)\n", number, type); g_free (number); g_free (type); } } else { MIMEDirVCardPhone *phone; gchar *number, *type; g_assert (MIMEDIR_IS_VCARD_PHONE (priv->phone->data)); phone = MIMEDIR_VCARD_PHONE (priv->phone->data); g_object_get (G_OBJECT (phone), "number", &number, NULL); type = mimedir_vcard_phone_get_type_string (phone); g_string_append_printf (s, _("Telephone: %s (%s)\n"), number, type); g_free (number); g_free (type); } } /* E-mail */ if (priv->email) { g_string_append_c (s, '\n'); if (priv->email->next) { GSList *l; g_string_append (s, _("E-mail:\n")); for (l = priv->email; l != NULL; l = g_slist_next (l)) { MIMEDirVCardEMail *email; gchar *address, *type; g_assert (MIMEDIR_IS_VCARD_EMAIL (l->data)); email = MIMEDIR_VCARD_EMAIL (l->data); g_object_get (G_OBJECT (email), "address", &address, NULL); type = mimedir_vcard_email_get_type_string (email); g_string_append_printf (s, " %s (%s)\n", address, type); g_free (address); g_free (type); } } else { MIMEDirVCardEMail *email; gchar *address, *type; g_assert (MIMEDIR_IS_VCARD_EMAIL (priv->email->data)); email = MIMEDIR_VCARD_EMAIL (priv->email->data); g_object_get (G_OBJECT (email), "address", &address, NULL); type = mimedir_vcard_email_get_type_string (email); g_string_append_printf (s, _("E-mail: %s (%s)\n"), address, type); g_free (address); g_free (type); } } /* Mailer */ if (priv->mailer) g_string_append_printf (s, "Mailer: %s\n", priv->mailer); /* Geographical */ if (priv->timezone >= MIMEDIR_VCARD_TIMEZONE_MIN && priv->timezone <= MIMEDIR_VCARD_TIMEZONE_MAX) { gint hour, minute; hour = priv->timezone / 60; minute = priv->timezone % 60; if (hour < 0) hour = -hour; if (minute < 0) minute = -minute; g_string_append_printf (s, _("Time zone: %c%02d:%02d\n"), priv->timezone < 0000 ? '-' : '+', hour, minute); } if (priv->latitude >= MIMEDIR_VCARD_LATITUDE_MIN && priv->latitude <= MIMEDIR_VCARD_LATITUDE_MAX && priv->longitude >= MIMEDIR_VCARD_LONGITUDE_MIN && priv->longitude <= MIMEDIR_VCARD_LONGITUDE_MAX) g_string_append_printf (s, _("Location: %.2f,%.2f\n"), priv->longitude, priv->latitude); /* Organization */ if (priv->organization) { gchar *sl; sl = mimedir_utils_strcat_list (priv->organization, ", "); g_string_append_printf (s, _("Organization: %s\n"), sl); g_free (sl); } if (priv->jobtitle && priv->jobtitle[0] != '\0') g_string_append_printf (s, _("Job title: %s\n"), priv->jobtitle); if (priv->jobrole && priv->jobrole[0] != '\0') g_string_append_printf (s, _("Business role: %s\n"), priv->jobrole); /* Explanatory */ g_string_append_c (s, '\n'); if (priv->categories != NULL) { gchar *sl; sl = mimedir_utils_strcat_list (priv->categories, ", "); g_string_append_printf (s, _("Categories: %s\n"), sl); g_free (sl); } if (priv->note && priv->note[0] != '\0') g_string_append_printf (s, _("Comment: %s\n"), priv->note); if (priv->url && priv->url[0] != '\0') g_string_append_printf (s, _("Homepage: %s\n"), priv->url); if (priv->uid && priv->uid[0] != '\0') g_string_append_printf (s, _("Unique string: %s\n"), priv->uid); /* Security */ for (node = priv->keys; node != NULL; node = g_list_next (node)) { MIMEDirVCardKey *key = (MIMEDirVCardKey *) node->data; const gchar *type; switch (key->type) { case MIMEDIR_VCARD_KEY_X509: type = _("X.509"); break; case MIMEDIR_VCARD_KEY_PGP: type = _("PGP"); break; default: type = _("yes"); break; } g_string_append_printf (s, _("Public Key: %s\n"), type); } return g_string_free (s, FALSE); } libmimedir-0.4.2/mimedir/mimedir-attachment.c0000644000175000017500000001274710603540660016134 00000000000000/* RFC 2445 iCal Attachment Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-attachment.c 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include "mimedir-attachment.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_attachment_class_init (MIMEDirAttachmentClass *klass); static void mimedir_attachment_init (MIMEDirAttachment *attachment); static void mimedir_attachment_dispose (GObject *object); struct _MIMEDirAttachmentPriv { }; static GObjectClass *parent_class = NULL; /* * Class and Object Management */ GType mimedir_attachment_get_type (void) { static GType mimedir_attachment_type = 0; if (!mimedir_attachment_type) { static const GTypeInfo mimedir_attachment_info = { sizeof (MIMEDirAttachmentClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_attachment_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirAttachment), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_attachment_init, }; mimedir_attachment_type = g_type_register_static (G_TYPE_OBJECT, "MIMEDirAttachment", &mimedir_attachment_info, 0); } return mimedir_attachment_type; } static void mimedir_attachment_class_init (MIMEDirAttachmentClass *klass) { GObjectClass *gobject_class; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_ATTACHMENT_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_attachment_dispose; parent_class = g_type_class_peek_parent (klass); } static void mimedir_attachment_init (MIMEDirAttachment *attachment) { MIMEDirAttachmentPriv *priv; g_return_if_fail (attachment != NULL); g_return_if_fail (MIMEDIR_IS_ATTACHMENT (attachment)); priv = g_new0 (MIMEDirAttachmentPriv, 1); attachment->priv = priv; } static void mimedir_attachment_dispose (GObject *object) { MIMEDirAttachment *attachment; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_ATTACHMENT (object)); attachment = MIMEDIR_ATTACHMENT (object); g_free (attachment->priv); attachment->priv = NULL; G_OBJECT_CLASS (parent_class)->dispose (object); } /* * Public Methods */ /** * mimedir_attachment_new: * * Creates a new iCal attachment object. * * Return value: a new attachment object **/ MIMEDirAttachment * mimedir_attachment_new (void) { MIMEDirAttachment *recur; recur = g_object_new (MIMEDIR_TYPE_ATTACHMENT, NULL); return recur; } /** * mimedir_attachment_new_from_attribute: * @attribute: a #MIMEDirAttribute object * @error: error storage location or %NULL * * Creates a new attachment object and initializes it with values read from * the supplied attribute object. * * Return value: a new #MIMEDirAttachment object or %NULL on error **/ MIMEDirAttachment * mimedir_attachment_new_from_attribute (MIMEDirAttribute *attribute, GError **error) { MIMEDirAttachment *attachment; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); attachment = g_object_new (MIMEDIR_TYPE_ATTACHMENT, NULL); if (!mimedir_attachment_read_from_attribute (attachment, attribute, error)) { g_object_unref (G_OBJECT (attachment)); return NULL; } return attachment; } /** * mimedir_attachment_read_from_attribute: * @attachment: a #MIMEDirAttachment object * @attribute: a #MIMEDirAttribute object * @error: error storage location or %NULL * * Initializes @attachment with data read from @attribute. * * Return value: success indicator **/ gboolean mimedir_attachment_read_from_attribute (MIMEDirAttachment *attachment, MIMEDirAttribute *attribute, GError **error) { g_return_val_if_fail (attachment != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_ATTACHMENT (attachment), FALSE); g_return_val_if_fail (attribute != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); /* FIXME */ return TRUE; } /** * mimedir_attachment_write_to_attribute: * @attachment: a #MIMEDirAttachment object * * Write @attachment to a newly allocated #MIMEDirAttribute object. The * returned object should be freed with g_object_unref(). * * Return value: A newly allocated #MIMEDirAttribute object **/ MIMEDirAttribute * mimedir_attachment_write_to_attribute (MIMEDirAttachment *attachment) { MIMEDirAttribute *attr; g_return_val_if_fail (attachment != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTACHMENT (attachment), NULL); attr = mimedir_attribute_new_with_name ("ATTACH"); /* FIXME */ return attr; } libmimedir-0.4.2/mimedir/mimedir-vcal.c0000644000175000017500000006173510603540660014732 00000000000000/* RFC 2445 iCalendar MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vcal.c 185 2005-03-01 03:01:49Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "mimedir-marshal.h" #include "mimedir-profile.h" #include "mimedir-utils.h" #include "mimedir-valarm.h" #include "mimedir-vcal.h" #include "mimedir-vevent.h" #include "mimedir-vfreebusy.h" #include "mimedir-vjournal.h" #include "mimedir-vtimezone.h" #include "mimedir-vtodo.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_vcal_class_init (MIMEDirVCalClass *klass); static void mimedir_vcal_init (MIMEDirVCal *vcal); static void mimedir_vcal_dispose (GObject *object); static void mimedir_vcal_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); static void mimedir_vcal_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); static void mimedir_vcal_clear (MIMEDirVCal *vcal); static void mimedir_vcal_changed (MIMEDirVCal *vcal); enum { PROP_METHOD = 1, PROP_PRODID }; enum { SIGNAL_CHANGED, SIGNAL_LAST }; struct _MIMEDirVCalPriv { gboolean changed; GList *components; gchar *method; /* Method (4.7.2) */ gchar *prodid; /* Product Identifier (4.7.3) */ }; static MIMEDirProfileClass *parent_class = NULL; static gint mimedir_vcal_signals[SIGNAL_LAST] = { 0 }; /* * Class and Object Management */ GType mimedir_vcal_get_type (void) { static GType mimedir_vcal_type = 0; if (!mimedir_vcal_type) { static const GTypeInfo mimedir_vcal_info = { sizeof (MIMEDirVCalClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_vcal_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirVCal), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_vcal_init, }; mimedir_vcal_type = g_type_register_static (G_TYPE_OBJECT, "MIMEDirVCal", &mimedir_vcal_info, 0); } return mimedir_vcal_type; } static void mimedir_vcal_class_init (MIMEDirVCalClass *klass) { GObjectClass *gobject_class; GParamSpec *pspec; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_VCAL_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_vcal_dispose; gobject_class->set_property = mimedir_vcal_set_property; gobject_class->get_property = mimedir_vcal_get_property; parent_class = g_type_class_peek_parent (klass); /* Signals */ mimedir_vcal_signals[SIGNAL_CHANGED] = g_signal_new ("changed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (MIMEDirVCalClass, changed), NULL, NULL, mimedir_marshal_VOID__VOID, G_TYPE_NONE, 0); /* Properties */ pspec = g_param_spec_string ("method", _("Method"), _("The vCalendar's method"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_METHOD, pspec); pspec = g_param_spec_string ("prodid", _("Product identifier"), _("The product identifier of the vCalendar. In case of newly generated objects, this is LibMIMEDir's product identifier"), NULL, G_PARAM_READABLE); g_object_class_install_property (gobject_class, PROP_PRODID, pspec); } static void mimedir_vcal_init (MIMEDirVCal *vcal) { g_return_if_fail (vcal != NULL); g_return_if_fail (MIMEDIR_IS_VCAL (vcal)); vcal->priv = g_new0 (MIMEDirVCalPriv, 1); vcal->priv->changed = FALSE; } static void mimedir_vcal_dispose (GObject *object) { MIMEDirVCal *vcal; MIMEDirVCalPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCAL (object)); vcal = MIMEDIR_VCAL (object); priv = vcal->priv; if (priv) mimedir_vcal_clear (vcal); G_OBJECT_CLASS (parent_class)->dispose (object); } static void mimedir_vcal_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec) { MIMEDirVCal *vcal; MIMEDirVCalPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCAL (object)); vcal = MIMEDIR_VCAL (object); priv = vcal->priv; switch (property_id) { case PROP_METHOD: mimedir_utils_set_property_string (&priv->method, value); break; case PROP_PRODID: mimedir_utils_set_property_string (&priv->prodid, value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } mimedir_vcal_changed (vcal); } static void mimedir_vcal_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec) { MIMEDirVCal *vcal; MIMEDirVCalPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCAL (object)); vcal = MIMEDIR_VCAL (object); priv = vcal->priv; switch (property_id) { case PROP_METHOD: g_value_set_string (value, priv->method); break; case PROP_PRODID: g_value_set_string (value, priv->prodid); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } } /* * Private Methods */ /* Free VCal's allocated memory */ static void mimedir_vcal_clear (MIMEDirVCal *vcal) { MIMEDirVCalPriv *priv; GList *l; priv = vcal->priv; if (!priv) return; for (l = priv->components; l != NULL; l = g_list_next (l)) g_object_unref (G_OBJECT (l->data)); g_list_free (priv->components); g_free (priv->method); g_free (priv->prodid); g_free (priv); vcal->priv = NULL; } /* Reallocate memory for the VCal */ static void mimedir_vcal_reset (MIMEDirVCal *vcal) { mimedir_vcal_clear (vcal); mimedir_vcal_init (vcal); } static gboolean mimedir_vcal_parse_attribute (MIMEDirVCal *vcal, MIMEDirAttribute *attr, GError **error) { MIMEDirVCalPriv *priv; const gchar *name; g_return_val_if_fail (error == NULL || *error == NULL, FALSE); priv = vcal->priv; name = mimedir_attribute_get_name (attr); /* * Generic Types (RFC 2425, Section 6) */ /* Profile Begin (6.4) */ if (!g_ascii_strcasecmp (name, "BEGIN")) { /* ignore */ } /* Profile End (6.5) */ else if (!g_ascii_strcasecmp (name, "END")) { /* ignore */ } /* * Calendar Properties (RFC 2445. Section 4) */ /* Calendar Scale (4.7.1) */ else if (!g_ascii_strcasecmp (name, "CALSCALE")) { gchar *t; t = mimedir_attribute_get_value_text (attr, error); if (!t) return FALSE; g_strstrip (t); if (g_ascii_strcasecmp (t, "GREGORIAN") != 0) { g_set_error (error, MIMEDIR_VCAL_ERROR, MIMEDIR_VCAL_ERROR_UNKNOWN_SCALE, MIMEDIR_VCAL_ERROR_UNKNOWN_SCALE_STR, t); g_free (t); return FALSE; } g_free (t); } /* Method (4.7.2) */ else if (!g_ascii_strcasecmp (name, "METHOD")) { if (priv->method) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->method = mimedir_attribute_get_value_text (attr, error); if (!priv->method) return FALSE; } /* Product Identifier (4.7.3) */ else if (!g_ascii_strcasecmp (name, "PRODID")) { if (priv->prodid) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR, name); return FALSE; } priv->prodid = mimedir_attribute_get_value_text (attr, error); if (!priv->prodid) return FALSE; } /* Version (4.7.4) */ else if (!g_ascii_strcasecmp (name, "VERSION")) { /* just ignore */ } /* * Custom Properties */ else if (!g_ascii_strcasecmp (name, "TZ")) { /* compat */ /* ignore */ } else if (!g_ascii_strncasecmp (name, "X-", 2)) g_printerr (_("The profile contains the unsupported custom attribute %s.\n"), name); else g_printerr (_("The profile contains the unknown attribute %s.\n"), name); return TRUE; } /* Emit the changed signal */ static void mimedir_vcal_changed (MIMEDirVCal *vcal) { vcal->priv->changed = TRUE; g_signal_emit (G_OBJECT (vcal), mimedir_vcal_signals[SIGNAL_CHANGED], 0); } /* * Public Methods */ GQuark mimedir_vcal_error_quark (void) { static gchar qs[] = "mimedir-vcal-error-quark"; return g_quark_from_static_string (qs); } /* This function is documented elsewhere. */ GList * mimedir_vcal_read_file (const gchar *filename, GError **error) { GError *err = NULL; GIOChannel *channel; GList *list; g_return_val_if_fail (filename != NULL, NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); /* Try to read file as UTF-8 file */ channel = g_io_channel_new_file (filename, "r", error); if (!channel) { if (error && *error) { gchar *msg = (*error)->message; (*error)->message = g_strdup_printf (_("Error reading calendar file %s: %s!"), filename, msg); g_free (msg); } return NULL; } list = mimedir_vcal_read_channel (channel, &err); g_io_channel_unref (channel); /* Try again opening the file with the current locale if opening * it as UTF-8 coded failed. */ if (err && err->domain == G_CONVERT_ERROR) { g_error_free (err); err = NULL; channel = g_io_channel_new_file (filename, "r", error); if (!channel) { if (error && *error) { gchar *msg = (*error)->message; (*error)->message = g_strdup_printf (_("Error reading calendar file %s: %s!"), filename, msg); g_free (msg); } return NULL; } if (g_io_channel_set_encoding (channel, NULL, error) != G_IO_STATUS_NORMAL) { g_io_channel_unref (channel); return NULL; } list = mimedir_vcal_read_channel (channel, &err); g_io_channel_unref (channel); } /* Try again opening the file as ISO-8859-15 if opening with current * locale failed. */ if (err && err->domain == G_CONVERT_ERROR) { g_error_free (err); err = NULL; channel = g_io_channel_new_file (filename, "r", error); if (!channel) { if (error && *error) { gchar *msg = (*error)->message; (*error)->message = g_strdup_printf (_("Error reading calendar file %s: %s!"), filename, msg); g_free (msg); } return NULL; } if (g_io_channel_set_encoding (channel, "ISO-8859-15", error) != G_IO_STATUS_NORMAL) { g_io_channel_unref (channel); return NULL; } list = mimedir_vcal_read_channel (channel, &err); g_io_channel_unref (channel); } /* Error handling */ if (err) { gchar *msg; g_propagate_error (error, err); msg = (*error)->message; (*error)->message = g_strdup_printf (_("Error reading calendar file %s: %s!"), filename, msg); g_free (msg); } return list; } /** * mimedir_vcal_read_channel: * @channel: I/O channel to read from * @error: error storage location or %NULL * * Reads a list of vcals from the supplied I/O channel and returns it. @error * will be set if an error occurs. You should free the returned list with * mimedir_vcal_free_list(). * * Return value: list of read vcals **/ GList * mimedir_vcal_read_channel (GIOChannel *channel, GError **error) { GList *list = NULL; GIOStatus status; gchar *string; gsize len, pos; g_return_val_if_fail (channel != NULL, NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); status = g_io_channel_read_to_end (channel, &string, &len, error); if (status != G_IO_STATUS_NORMAL) return NULL; for (pos = 0; pos < len;) { MIMEDirVCal *vcal; MIMEDirProfile *profile; const gchar *charset; ssize_t newpos; /* Skip white space */ for (; g_ascii_isspace (string[pos]); pos++) ; if (pos == len) break; /* Read profile */ profile = mimedir_profile_new (NULL); charset = g_io_channel_get_encoding (channel); if (charset) mimedir_profile_set_charset (profile, charset); newpos = mimedir_profile_parse (profile, string + pos, error); if (newpos < 0) { g_object_unref (G_OBJECT (profile)); mimedir_vcal_free_list (list); list = NULL; break; } pos += newpos; vcal = mimedir_vcal_new_from_profile (profile, error); g_object_unref (G_OBJECT (profile)); if (!vcal) { mimedir_vcal_free_list (list); list = NULL; break; } list = g_list_append (list, vcal); } g_free (string); return list; } /** * mimedir_vcal_free_list: * @list: list of vcals * * Frees a list of vcals as returned by mimedir_vcal_read_file() * or mimedir_vcal_read_channel(). **/ void mimedir_vcal_free_list (GList *list) { GList *current; for (current = list; current != NULL; current = g_list_next (current)) g_object_unref (G_OBJECT (current->data)); g_list_free (list); } /** * mimedir_vcal_new: * * Creates a new (empty) vcal object. * * Return value: a new vcal object **/ MIMEDirVCal * mimedir_vcal_new (void) { MIMEDirVCal *vcal; vcal = g_object_new (MIMEDIR_TYPE_VCAL, NULL); return vcal; } /** * mimedir_vcal_new_from_profile: * @profile: a profile object * @error: error storage location or %NULL * * Create a new vcal object and fills it with data retrieved from the * supplied profile object. If an error occurs during the read, @error * will be set and %NULL will be returned. * * Return value: the new vcal object or %NULL **/ MIMEDirVCal * mimedir_vcal_new_from_profile (MIMEDirProfile *profile, GError **error) { MIMEDirVCal *vcal; g_return_val_if_fail (profile != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); vcal = g_object_new (MIMEDIR_TYPE_VCAL, NULL); if (!mimedir_vcal_read_from_profile (vcal, profile, error)) { g_object_unref (G_OBJECT (vcal)); vcal = NULL; } return vcal; } /** * mimedir_vcal_read_from_profile: * @vcal: a vcal * @profile: a profile object * @error: error storage location or %NULL * * Clears the supplied vcal object and re-initializes it with data read * from the supplied profile. If an error occurs during the read, @error * will be set and %FALSE will be returned. Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vcal_read_from_profile (MIMEDirVCal *vcal, MIMEDirProfile *profile, GError **error) { MIMEDirVCalPriv *priv; GSList *attrs, *components; gchar *name; g_return_val_if_fail (vcal != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCAL (vcal), FALSE); g_return_val_if_fail (profile != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); mimedir_vcal_reset (vcal); priv = vcal->priv; g_object_get (G_OBJECT (profile), "name", &name, NULL); if (name && g_ascii_strcasecmp (name, "VCALENDAR") != 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE_STR, name, "VCALENDAR"); g_free (name); return FALSE; } g_free (name); attrs = mimedir_profile_get_attribute_list (profile); for (; attrs != NULL; attrs = g_slist_next (attrs)) { MIMEDirAttribute *attr; attr = MIMEDIR_ATTRIBUTE (attrs->data); if (!mimedir_vcal_parse_attribute (vcal, attr, error)) return FALSE; } /* Components */ components = mimedir_profile_get_subprofiles (profile); for (; components != NULL; components = g_slist_next (components)) { MIMEDirProfile *profile; gchar *name; profile = MIMEDIR_PROFILE (components->data); g_object_get (G_OBJECT (profile), "name", &name, NULL); if (!g_ascii_strcasecmp (name, "VEVENT")) { MIMEDirVEvent *event; event = mimedir_vevent_new_from_profile (profile, error); if (!event) { g_free (name); return FALSE; } priv->components = g_list_append (priv->components, event); } else if (!g_ascii_strcasecmp (name, "VTODO")) { MIMEDirVTodo *todo; todo = mimedir_vtodo_new_from_profile (profile, error); if (!todo) { g_free (name); return FALSE; } priv->components = g_list_append (priv->components, todo); } else if (!g_ascii_strcasecmp (name, "VJOURNAL")) { MIMEDirVJournal *journal; journal = mimedir_vjournal_new_from_profile (profile, error); if (!journal) { g_free (name); return FALSE; } priv->components = g_list_append (priv->components, journal); } else if (!g_ascii_strcasecmp (name, "VFREEBUSY")) { MIMEDirVFreeBusy *fb; fb = mimedir_vfreebusy_new_from_profile (profile, error); if (!fb) { g_free (name); return FALSE; } priv->components = g_list_append (priv->components, fb); } else if (!g_ascii_strcasecmp (name, "VTIMEZONE")) { MIMEDirVTimeZone *tz; tz = mimedir_vtimezone_new_from_profile (profile, error); if (!tz) { g_free (name); return FALSE; } priv->components = g_list_append (priv->components, tz); } g_free (name); } return TRUE; } /** * mimedir_vcal_write_to_profile: * @vcal: a #MIMEDirVCal object * * Saves the iCal object to a newly allocated profile object. * * Return value: a new profile **/ MIMEDirProfile * mimedir_vcal_write_to_profile (MIMEDirVCal *vcal) { MIMEDirVCalPriv *priv; MIMEDirProfile *profile; MIMEDirAttribute *attr; GList *i; g_return_val_if_fail (vcal != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCAL (vcal), NULL); priv = vcal->priv; profile = mimedir_profile_new ("VCALENDAR"); /* * Calendar Properties (RFC 2445, Section 4.7) */ /* Calendar Scale (4.7.1) */ /* Don't write default value: GREGORIAN. */ /* Method (4.7.2) */ if (priv->method) { attr = mimedir_attribute_new_with_name ("METHOD"); mimedir_attribute_set_value_text (attr, priv->method); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); } /* Product Identifier (4.7.3) */ attr = mimedir_attribute_new_with_name ("PRODID"); mimedir_attribute_set_value (attr, "-//GNOME//NONSGML " PACKAGE_STRING "//EN"); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); /* Version (4.7.4) */ attr = mimedir_attribute_new_with_name ("VERSION"); mimedir_attribute_set_value (attr, "2.0"); mimedir_profile_append_attribute (profile, attr); g_object_unref (G_OBJECT (attr)); /* * Components */ for (i = priv->components; i != NULL; i = g_list_next (i)) { MIMEDirVComponent *comp; MIMEDirProfile *sub = NULL; g_assert (MIMEDIR_IS_VCOMPONENT (i->data)); comp = MIMEDIR_VCOMPONENT (i->data); if (MIMEDIR_IS_VEVENT (comp)) sub = mimedir_vcomponent_write_to_profile (comp, "VEVENT"); else if (MIMEDIR_IS_VTODO (comp)) sub = mimedir_vcomponent_write_to_profile (comp, "VTODO"); else if (MIMEDIR_IS_VJOURNAL (comp)) sub = mimedir_vcomponent_write_to_profile (comp, "VJOURNAL"); else if (MIMEDIR_IS_VFREEBUSY (comp)) sub = mimedir_vcomponent_write_to_profile (comp, "VFREEBUSY"); else if (MIMEDIR_IS_VTIMEZONE (comp)) sub = mimedir_vcomponent_write_to_profile (comp, "VTIMEZONE"); else if (MIMEDIR_IS_VALARM (comp)) sub = mimedir_vcomponent_write_to_profile (comp, "VALARM"); if (sub) mimedir_profile_append_subprofile (profile, sub); } return profile; } /** * mimedir_vcal_write_to_file: * @vcal: a #MIMEDirVCal object * @filename: file to write to * @error: error storage location or %NULL * * Saves the iCal object to a file. If an error occurs during the write, * @error will be set and %FALSE will be returned. Otherwise, %TRUE is * returned. * * Return value: success indicator **/ gboolean mimedir_vcal_write_to_file (MIMEDirVCal *vcal, const gchar *filename, GError **error) { GIOChannel *channel; gboolean ret; g_return_val_if_fail (vcal != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCAL (vcal), FALSE); g_return_val_if_fail (filename != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); channel = g_io_channel_new_file (filename, "w", error); if (!channel) return FALSE; ret = mimedir_vcal_write_to_channel (vcal, channel, error); g_io_channel_unref (channel); return ret; } /** * mimedir_vcal_write_to_channel: * @vcal: a #MIMEDirVCal object * @channel: I/O channel to save to * @error: error storage location or %NULL * * Saves the iCal object to the supplied I/O channel. If an error occurs * during the write, @error will be set and %FALSE will be returned. * Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vcal_write_to_channel (MIMEDirVCal *vcal, GIOChannel *channel, GError **error) { MIMEDirProfile *profile; g_return_val_if_fail (vcal != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCAL (vcal), FALSE); g_return_val_if_fail (channel != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); profile = mimedir_vcal_write_to_profile (vcal); if (!mimedir_profile_write_to_channel (profile, channel, error)) return FALSE; g_object_unref (G_OBJECT (profile)); return TRUE; } /** * mimedir_vcal_write_to_string: * @vcal: a #MIMEDirVCal object * * Saves the iCal object to a newly allocated memory buffer. You should * free the returned buffer with g_free(). * * Return value: a newly allocated memory buffer **/ gchar * mimedir_vcal_write_to_string (MIMEDirVCal *vcal) { MIMEDirProfile *profile; gchar *s; g_return_val_if_fail (vcal != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCAL (vcal), FALSE); profile = mimedir_vcal_write_to_profile (vcal); s = mimedir_profile_write_to_string (profile); g_object_unref (G_OBJECT (profile)); return s; } /** * mimedir_vcal_get_component_list: * @vcal: a vCalendar object * * Returns all components of this vCalendar. Free the returned list * with mimedir_vcal_free_component_list(). * * Return value: a #GSList consisting of component objects **/ GSList * mimedir_vcal_get_component_list (MIMEDirVCal *vcal) { GList *item; GSList *list = NULL; g_return_val_if_fail (vcal != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCAL (vcal), NULL); for (item = vcal->priv->components; item != NULL; item = g_list_next (item)) list = g_slist_append (list, item->data); return list; } /** * mimedir_vcal_get_event_list: * @vcal: a vCalendar object * * Returns all vEvent components of this vCalendar. Free the returned list * with mimedir_vcal_free_component_list(). * * Return value: a #GSList consisting of #MIMEDirVEvent objects **/ GSList * mimedir_vcal_get_event_list (MIMEDirVCal *vcal) { GList *item; GSList *list = NULL; g_return_val_if_fail (vcal != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCAL (vcal), NULL); for (item = vcal->priv->components; item != NULL; item = g_list_next (item)) { if (MIMEDIR_IS_VEVENT (item->data)) { g_object_ref(item->data); list = g_slist_append (list, item->data); } } return list; } /** * mimedir_vcal_get_todo_list: * @vcal: a vCalendar object * * Returns all vTodo components of this vCalendar. Free the returned list * with mimedir_vcal_free_component_list(). * * Return value: a #GSList consisting of #MIMEDirVTodo objects **/ GSList * mimedir_vcal_get_todo_list (MIMEDirVCal *vcal) { GList *item; GSList *list = NULL; g_return_val_if_fail (vcal != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCAL (vcal), NULL); for (item = vcal->priv->components; item != NULL; item = g_list_next (item)) { if (MIMEDIR_IS_VTODO (item->data)) { g_object_ref (item->data); list = g_slist_append (list, item->data); } } return list; } /** * mimedir_vcal_free_component_list: * @list: a #GSList * * Free a component list as returned by one of the get_*_list functions. **/ void mimedir_vcal_free_component_list (GSList *list) { g_slist_free (list); } /** * mimedir_vcal_add_component: * @vcal: a #MIMEDirVCal * @component: a #MIMEDirVComponent * * Adds a single component to the component list of @vcal. **/ void mimedir_vcal_add_component (MIMEDirVCal *vcal, MIMEDirVComponent *component) { g_return_if_fail (vcal != NULL); g_return_if_fail (MIMEDIR_IS_VCAL (vcal)); g_return_if_fail (component != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (component)); g_object_ref (G_OBJECT (component)); vcal->priv->components = g_list_prepend (vcal->priv->components, component); } /** * mimedir_vcal_add_component_list: * @vcal: a #MIMEDirVCal * @list: a #GList of #MIMEDirVComponent objects * * Adds components to the component list of @vcal. **/ void mimedir_vcal_add_component_list (MIMEDirVCal *vcal, GList *list) { GList *item; g_return_if_fail (vcal != NULL); g_return_if_fail (MIMEDIR_IS_VCAL (vcal)); for (item = list; item != NULL; item = g_list_next (item)) { MIMEDirVComponent *component; g_return_if_fail (item->data != NULL); g_return_if_fail (MIMEDIR_IS_VCOMPONENT (item->data)); component = MIMEDIR_VCOMPONENT (item->data); mimedir_vcal_add_component (vcal, component); } } libmimedir-0.4.2/mimedir/mimedir-period.h0000644000175000017500000000373510603540660015270 00000000000000/* RFC 2445 iCal Period Object * Copyright (C) 2002 Sebastian Rittau * * $Id: mimedir-period.h 147 2003-07-08 14:49:37Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_PERIOD_H__ #define __MIMEDIR_PERIOD_H__ #include #include #define MIMEDIR_TYPE_PERIOD (mimedir_period_get_type()) #define MIMEDIR_PERIOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_PERIOD, MIMEDirPeriod)) #define MIMEDIR_PERIOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_PERIOD, MIMEDirPeriodClass)) #define MIMEDIR_IS_PERIOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_PERIOD)) #define MIMEDIR_IS_PERIOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_PERIOD)) typedef struct _MIMEDirPeriod MIMEDirPeriod; typedef struct _MIMEDirPeriodClass MIMEDirPeriodClass; typedef struct _MIMEDirPeriodPriv MIMEDirPeriodPriv; struct _MIMEDirPeriod { GObject parent; MIMEDirPeriodPriv *priv; }; struct _MIMEDirPeriodClass { GObjectClass parent_class; }; GType mimedir_period_get_type (void); MIMEDirPeriod *mimedir_period_new (void); MIMEDirPeriod *mimedir_period_new_parse (const gchar *string); gchar *mimedir_period_get_as_mimedir (MIMEDirPeriod *period); #endif /* __MIMEDIR_PERIOD_H__ */ libmimedir-0.4.2/mimedir/mimedir-utils.c0000644000175000017500000002167410603540660015143 00000000000000/* RFC 2426 vCard MIME Directory Utilities * Copyright (C) 2002 Sebastian Rittau * * $Id: mimedir-utils.c 94 2002-09-13 01:59:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include #include #include "mimedir-utils.h" /** * mimedir_utils_strcat_list: * @list: a list of gchar pointers * @separator: the delimiter to use between the concatenated strings or * %NULL if no delimiter is desired * * Concatenates a list of strings, optionally separating them with another * string. The returned string must be freed with g_free(). * * Return value: the concatenated string **/ gchar * mimedir_utils_strcat_list (GSList *list, const gchar *separator) { GString *s; s = g_string_new (""); for (; list != NULL; list = g_slist_next (list)) { s = g_string_append (s, (const gchar *) list->data); if (list->next && separator != NULL) g_string_append (s, separator); } return g_string_free (s, FALSE); } /** * mimedir_utils_copy_string_list: * @list: a list of gchar pointers * * Makes a deep copy of the supplied #GList, i.e. it copies the list, * treating its elements as string pointers and copying them. The returned * list may be freed using mimedir_utils_free_string_list(). * * Return value: the copied list **/ GList * mimedir_utils_copy_string_list (const GList *list) { GList *l = NULL; for (; list != NULL; list = g_list_next (list)) { const gchar *string; string = (const gchar *) list->data; l = g_list_append (l, g_strdup (string)); } return l; } /** * mimedir_utils_free_string_list: * @list: a list of gchar pointers * * Frees the supplied #GSList and the strings it contains. **/ void mimedir_utils_free_string_list (GList *list) { GList *l; for (l = list; l != NULL; l = g_list_next (l)) g_free ((gchar *) l->data); g_list_free (list); } /** * mimedir_utils_copy_string_slist: * @list: a list of gchar pointers * * Makes a deep copy of the supplied #GSList, i.e. it copies the list, * treating its elements as string pointers and copying them. The returned * list may be freed using mimedir_utils_free_string_slist(). * * Return value: the copied list **/ GSList * mimedir_utils_copy_string_slist (const GSList *list) { GSList *l = NULL; for (; list != NULL; list = g_slist_next (list)) { const gchar *string; string = (const gchar *) list->data; l = g_slist_append (l, g_strdup (string)); } return l; } /** * mimedir_utils_free_string_slist: * @list: a list of gchar pointers * * Frees the supplied #GSList and the strings it contains. **/ void mimedir_utils_free_string_slist (GSList *list) { GSList *l; for (l = list; l != NULL; l = g_slist_next (l)) g_free ((gchar *) l->data); g_slist_free (list); } /** * mimedir_utils_copy_object_list: * @list: a list of objects * * Makes a shallow copy of the supplied #GSList, i.e. it copies the list, * treating its elements as objects and reffing them. The returned list * may be freed using mimedir_utils_free_object_list(). * * Return value: the copied list **/ GList * mimedir_utils_copy_object_list (const GList *list) { GList *l = NULL; for (; list != NULL; list = g_list_next (list)) { GObject *object; g_return_val_if_fail (G_IS_OBJECT (list->data), l); object = G_OBJECT (list->data); g_object_ref (object); l = g_list_append (l, object); } return l; } /** * mimedir_utils_free_object_list: * @list: a list of objects * * Frees the supplied #GList and unrefs the objects it contains. **/ void mimedir_utils_free_object_list (GList *list) { GList *l; for (l = list; l != NULL; l = g_list_next (l)) { if (!l || !G_IS_OBJECT (l->data)) { g_critical ("list does not contain GObjects"); return; } g_object_unref (G_OBJECT (l->data)); } g_list_free (list); } /** * mimedir_utils_copy_object_slist: * @list: a list of objects * * Makes a shallow copy of the supplied #GSList, i.e. it copies the list, * treating its elements as objects and reffing them. The returned list * may be freed using mimedir_utils_free_object_slist(). * * Return value: the copied list **/ GSList * mimedir_utils_copy_object_slist (const GSList *list) { GSList *l = NULL; for (; list != NULL; list = g_slist_next (list)) { GObject *object; g_return_val_if_fail (G_IS_OBJECT (list->data), l); object = G_OBJECT (list->data); g_object_ref (object); l = g_slist_append (l, object); } return l; } /** * mimedir_utils_free_object_slist: * @list: a list of objects * * Frees the supplied #GSList and unrefs the objects it contains. **/ void mimedir_utils_free_object_slist (GSList *list) { GSList *l; for (l = list; l != NULL; l = g_slist_next (l)) { if (!l || !G_IS_OBJECT (l->data)) { g_critical ("list does not contain GObjects"); return; } g_object_unref (G_OBJECT (l->data)); } g_slist_free (list); } /** * mimedir_utils_is_token_char: * @c: a character * * Checks whether the given character is a token character (i.e. in the * range a-z, A-Z, or 0-9 or a dash). * * Return value: %TRUE if the character is a token character, %FALSE otherwise **/ gboolean mimedir_utils_is_token_char (gchar c) { if ((c >= 'A' && c <= 'Z') || (c >= 'a' && c <= 'z') || (c >= '0' && c <= '9') || (c == '-')) return TRUE; else return FALSE; } /** * mimedir_utils_is_token: * @string: a string * * Checks whether the supplied string matches the criteria of a token * (i.e. matches the pattern 1*(ALPHA / DIGIT / "-")). * * Return value: TRUE is the string is a token, FALSE otherwise **/ gboolean mimedir_utils_is_token (const gchar *string) { g_return_val_if_fail (string != NULL, FALSE); if (string[0] == '\0') return FALSE; for (; string[0] != '\0'; string++) { if (!mimedir_utils_is_token_char (string[0])) return FALSE; } return TRUE; } /** * mimedir_utils_is_safe: * @string: a string * * Checks whether the supplied string contains only "safe" characters * (i.e. any character except CTLs, DQUOTE, ";", ":", ","). * * Return value: TRUE is the string contains only safe characters, FALSE * otherwise **/ gboolean mimedir_utils_is_safe (const gchar *string) { for (; string[0] != '\0'; string++) { if ((string[0] >= 0x01 && string[0] <= 0x08) || /* CTL */ (string[0] >= 0x0a && string[0] <= 0x1f) || /* CTL */ (string[0] == '"') || (string[0] == ',') || (string[0] == ':') || (string[0] == ';')) return FALSE; } return TRUE; } /** * mimedir_utils_is_qsafe: * @string: a string * * Checks whether the supplied string contains only "qsafe" characters * (i.e. any character except CTLs, DQUOTE). * * Return value: TRUE is the string contains only qsafe characters, FALSE * otherwise **/ gboolean mimedir_utils_is_qsafe (const gchar *string) { for (; string[0] != '\0'; string++) { if ((string[0] >= 0x01 && string[0] <= 0x08) || /* CTL */ (string[0] >= 0x0a && string[0] <= 0x1f) || /* CTL */ (string[0] == '"')) return FALSE; } return TRUE; } /** * mimedir_utils_compare_tokens: * @token1: a token * @token2: another token * * Compares the two tokens, ignoring any non-token character. * * Return value: %TRUE if the tokens are equal, %FALSE otherwise. **/ gboolean mimedir_utils_compare_tokens (const gchar *token1, const gchar *token2) { for (;; token1++, token2++) { /* Skip non-token characters */ while (token1[0] && !mimedir_utils_is_token_char (token1[0])) token1++; while (token2[0] && !mimedir_utils_is_token_char (token2[0])) token2++; /* Compare */ if (token1[0] == '\0' && token2[0] == '\0') return TRUE; if (token1[0] == token2[0]) ; else if (token1[0] >= 'A' && token1[0] <= 'Z' && token2[0] >= 'a' && token2[0] <= 'z') { if (token1[0] - 'A' != token2[0] - 'a') return FALSE; } else if (token1[0] >= 'a' && token1[0] <= 'z' && token2[0] >= 'A' && token2[0] <= 'Z') { if (token1[0] - 'a' != token2[0] - 'A') return FALSE; } else return FALSE; } } /** * mimedir_utils_set_property_string: * @dest: string destination * @value: a #GValue * * Frees the string located at @dest and copies the string from @value into * it. **/ void mimedir_utils_set_property_string (gchar **dest, const GValue *value) { const gchar *string; string = g_value_get_string (value); g_free (*dest); *dest = g_strdup (string); } libmimedir-0.4.2/mimedir/mimedir-attachment.h0000644000175000017500000000446210603540660016134 00000000000000/* RFC 2445 iCal Attachment Object * Copyright (C) 2002 Sebastian Rittau * * $Id: mimedir-attachment.h 109 2002-12-11 03:09:14Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_ATTACHMENT_H__ #define __MIMEDIR_ATTACHMENT_H__ #include #include #include "mimedir-attribute.h" #define MIMEDIR_TYPE_ATTACHMENT (mimedir_attachment_get_type()) #define MIMEDIR_ATTACHMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_ATTACHMENT, MIMEDirAttachment)) #define MIMEDIR_ATTACHMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_ATTACHMENT, MIMEDirAttachmentClass)) #define MIMEDIR_IS_ATTACHMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_ATTACHMENT)) #define MIMEDIR_IS_ATTACHMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_ATTACHMENT)) typedef struct _MIMEDirAttachment MIMEDirAttachment; typedef struct _MIMEDirAttachmentClass MIMEDirAttachmentClass; typedef struct _MIMEDirAttachmentPriv MIMEDirAttachmentPriv; struct _MIMEDirAttachment { GObject parent; MIMEDirAttachmentPriv *priv; }; struct _MIMEDirAttachmentClass { GObjectClass parent_class; }; GType mimedir_attachment_get_type (void); MIMEDirAttachment *mimedir_attachment_new (void); MIMEDirAttachment *mimedir_attachment_new_from_attribute (MIMEDirAttribute *attribute, GError **error); gboolean mimedir_attachment_read_from_attribute (MIMEDirAttachment *attachment, MIMEDirAttribute *attribute, GError **error); MIMEDirAttribute *mimedir_attachment_write_to_attribute (MIMEDirAttachment *attachment); #endif /* __MIMEDIR_ATTACHMENT_H__ */ libmimedir-0.4.2/mimedir/mimedir-vfreebusy.c0000644000175000017500000001737010603540660016013 00000000000000/* RFC 2445 vFreeBusy MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vfreebusy.c 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "mimedir-utils.h" #include "mimedir-vfreebusy.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_vfreebusy_class_init (MIMEDirVFreeBusyClass *klass); static void mimedir_vfreebusy_init (MIMEDirVFreeBusy *vfreebusy); static void mimedir_vfreebusy_dispose (GObject *object); struct _MIMEDirVFreeBusyPriv { }; static MIMEDirVComponentClass *parent_class = NULL; /* * Class and Object Management */ GType mimedir_vfreebusy_get_type (void) { static GType mimedir_vfreebusy_type = 0; if (!mimedir_vfreebusy_type) { static const GTypeInfo mimedir_vfreebusy_info = { sizeof (MIMEDirVFreeBusyClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_vfreebusy_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirVFreeBusy), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_vfreebusy_init, }; mimedir_vfreebusy_type = g_type_register_static (MIMEDIR_TYPE_VCOMPONENT, "MIMEDirVFreeBusy", &mimedir_vfreebusy_info, 0); } return mimedir_vfreebusy_type; } static void mimedir_vfreebusy_class_init (MIMEDirVFreeBusyClass *klass) { GObjectClass *gobject_class; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_VFREEBUSY_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_vfreebusy_dispose; parent_class = g_type_class_peek_parent (klass); } static void mimedir_vfreebusy_init (MIMEDirVFreeBusy *vfreebusy) { MIMEDirVFreeBusyPriv *priv; g_return_if_fail (vfreebusy != NULL); g_return_if_fail (MIMEDIR_IS_VFREEBUSY (vfreebusy)); priv = g_new0 (MIMEDirVFreeBusyPriv, 1); vfreebusy->priv = priv; } static void mimedir_vfreebusy_dispose (GObject *object) { MIMEDirVFreeBusy *vfreebusy; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VFREEBUSY (object)); vfreebusy = MIMEDIR_VFREEBUSY (object); g_free (vfreebusy->priv); vfreebusy->priv = NULL; G_OBJECT_CLASS (parent_class)->dispose (object); } /* * Public Methods */ /** * mimedir_vfreebusy_new: * * Creates a new (empty) vFreeBusy object. * * Return value: a new vFreeBusy object **/ MIMEDirVFreeBusy * mimedir_vfreebusy_new (void) { MIMEDirVFreeBusy *vfreebusy; MIMEDirDateTime *now; vfreebusy = g_object_new (MIMEDIR_TYPE_VFREEBUSY, NULL); now = mimedir_datetime_new_now (); g_object_set (G_OBJECT (vfreebusy), "dtstamp", now, NULL); g_object_unref (G_OBJECT (now)); return vfreebusy; } /** * mimedir_vfreebusy_new_from_profile: * @profile: a #MIMEDirProfile object * @error: error storage location or %NULL * * Create a new vFreeBusy object and fills it with data retrieved from the * supplied profile object. If an error occurs during the read, @error * will be set and %NULL will be returned. * * Return value: the new vFreeBusy object or %NULL **/ MIMEDirVFreeBusy * mimedir_vfreebusy_new_from_profile (MIMEDirProfile *profile, GError **error) { MIMEDirVFreeBusy *vfreebusy; g_return_val_if_fail (profile != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); vfreebusy = g_object_new (MIMEDIR_TYPE_VFREEBUSY, NULL); if (!mimedir_vfreebusy_read_from_profile (vfreebusy, profile, error)) { g_object_unref (G_OBJECT (vfreebusy)); vfreebusy = NULL; } return vfreebusy; } /** * mimedir_vfreebusy_read_from_profile: * @vfreebusy: a vFreeBusy object * @profile: a profile object * @error: error storage location or %NULL * * Clears the supplied vFreeBusy object and re-initializes it with data read * from the supplied profile. If an error occurs during the read, @error * will be set and %FALSE will be returned. Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vfreebusy_read_from_profile (MIMEDirVFreeBusy *vfreebusy, MIMEDirProfile *profile, GError **error) { gchar *name; g_return_val_if_fail (vfreebusy != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VFREEBUSY (vfreebusy), FALSE); g_return_val_if_fail (profile != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); g_object_get (G_OBJECT (profile), "name", &name, NULL); if (name && g_ascii_strcasecmp (name, "VFREEBUSY") != 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE_STR, name, "VCALENDAR"); g_free (name); return FALSE; } g_free (name); if (!mimedir_vcomponent_read_from_profile (MIMEDIR_VCOMPONENT (vfreebusy), profile, error)) return FALSE; /* Validity Checks */ /* Normally, a DTSTAMP property is required, but for compatibility * reasons we ignore its lack. (Bah...) */ return TRUE; } /** * mimedir_vfreebusy_write_to_profile: * @vfreebusy: a vfreebusy * * Saves the vfreebusy object to a newly allocated profile object. * * Return value: a new profile **/ MIMEDirProfile * mimedir_vfreebusy_write_to_profile (MIMEDirVFreeBusy *vfreebusy) { g_return_val_if_fail (vfreebusy != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VFREEBUSY (vfreebusy), NULL); return mimedir_vcomponent_write_to_profile (MIMEDIR_VCOMPONENT (vfreebusy), "vFreeBusy"); } /** * mimedir_vfreebusy_write_to_channel: * @vfreebusy: a vfreebusy * @channel: I/O channel to save to * @error: error storage location or %NULL * * Saves the vfreebusy object to the supplied I/O channel. If an error occurs * during the write, @error will be set and %FALSE will be returned. * Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vfreebusy_write_to_channel (MIMEDirVFreeBusy *vfreebusy, GIOChannel *channel, GError **error) { MIMEDirProfile *profile; g_return_val_if_fail (vfreebusy != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VFREEBUSY (vfreebusy), FALSE); g_return_val_if_fail (channel != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); profile = mimedir_vfreebusy_write_to_profile (vfreebusy); if (!mimedir_profile_write_to_channel (profile, channel, error)) return FALSE; g_object_unref (G_OBJECT (profile)); return TRUE; } /** * mimedir_vfreebusy_write_to_string: * @vfreebusy: a vfreebusy * * Saves the vfreebusy object to a newly allocated memory buffer. You should * free the returned buffer with g_free(). * * Return value: a newly allocated memory buffer **/ gchar * mimedir_vfreebusy_write_to_string (MIMEDirVFreeBusy *vfreebusy) { MIMEDirProfile *profile; gchar *s; g_return_val_if_fail (vfreebusy != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VFREEBUSY (vfreebusy), FALSE); profile = mimedir_vfreebusy_write_to_profile (vfreebusy); s = mimedir_profile_write_to_string (profile); g_object_unref (G_OBJECT (profile)); return s; } libmimedir-0.4.2/mimedir/mimedir-attribute.h0000644000175000017500000002075110603540660016006 00000000000000/* RFC 2425 MIME Directory Attribute Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-attribute.h 209 2005-08-31 14:35:02Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_ATTRIBUTE_H__ #define __MIMEDIR_ATTRIBUTE_H__ #include #include #include #include #include "mimedir/mimedir-datetime.h" #define MIMEDIR_ATTRIBUTE_ERROR mimedir_attribute_error_quark () typedef enum { MIMEDIR_ATTRIBUTE_ERROR_SYNTAX, MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR, MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT, MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING, MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE, MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE, MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64, MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP, MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT, MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG } MIMEDirAttributeError; #define MIMEDIR_ATTRIBUTE_ERROR_SYNTAX_STR _("syntax error (%s)") #define MIMEDIR_ATTRIBUTE_ERROR_ILLEGAL_CHAR_STR _("illegal character 0x%02x for type \"%s\"") #define MIMEDIR_ATTRIBUTE_ERROR_INVALID_FORMAT_STR _("invalid format for type \"%s\" in attribute %s") #define MIMEDIR_ATTRIBUTE_ERROR_UNKNOWN_ENCODING_STR _("attribute %s could not be decoded, since its encoding is unknown") #define MIMEDIR_ATTRIBUTE_ERROR_INVALID_VALUE_STR _("invalid value in attribute %s") #define MIMEDIR_ATTRIBUTE_ERROR_PARAMETER_NOT_UNIQUE_STR _("parameter \"%s\" must not be used more than once in attribute %s") #define MIMEDIR_ATTRIBUTE_ERROR_INVALID_BASE64_STR _("invalid Base64 sequence") #define MIMEDIR_ATTRIBUTE_ERROR_INVALID_QP_STR _("invalid quoted-printable sequence") #define MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_SHORT_STR _("attribute list of %s is too short") #define MIMEDIR_ATTRIBUTE_ERROR_LIST_TOO_LONG_STR _("attribute list of %s is too long") typedef enum { MIMEDIR_ATTRIBUTE_TYPE_UNKNOWN, MIMEDIR_ATTRIBUTE_TYPE_URI, MIMEDIR_ATTRIBUTE_TYPE_TEXT, MIMEDIR_ATTRIBUTE_TYPE_DATE, MIMEDIR_ATTRIBUTE_TYPE_TIME, MIMEDIR_ATTRIBUTE_TYPE_DATETIME, MIMEDIR_ATTRIBUTE_TYPE_INTEGER, MIMEDIR_ATTRIBUTE_TYPE_FLOAT, MIMEDIR_ATTRIBUTE_TYPE_BOOLEAN, /* VCard */ MIMEDIR_ATTRIBUTE_TYPE_STRUCTURED_TEXT, MIMEDIR_ATTRIBUTE_TYPE_PARAMETERS, } MIMEDirAttributeType; typedef enum { MIMEDIR_ATTRIBUTE_ENCODING_UNKNOWN, MIMEDIR_ATTRIBUTE_ENCODING_BASE64, MIMEDIR_ATTRIBUTE_ENCODING_QP, /* read-only */ } MIMEDirAttributeEncoding; #define MIMEDIR_ATTRIBUTE_ENCODING_NONE MIMEDIR_ATTRIBUTE_ENCODING_UNKNOWN #define MIMEDIR_TYPE_ATTRIBUTE (mimedir_attribute_get_type()) #define MIMEDIR_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_ATTRIBUTE, MIMEDirAttribute)) #define MIMEDIR_ATTRIBUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_ATTRIBUTE, MIMEDirAttributeClass)) #define MIMEDIR_IS_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_ATTRIBUTE)) #define MIMEDIR_IS_ATTRIBUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_ATTRIBUTE)) typedef struct _MIMEDirAttribute MIMEDirAttribute; typedef struct _MIMEDirAttributeClass MIMEDirAttributeClass; typedef struct _MIMEDirAttributePriv MIMEDirAttributePriv; struct _MIMEDirAttribute { GObject parent; MIMEDirAttributePriv *priv; }; struct _MIMEDirAttributeClass { GObjectClass parent_class; }; GQuark mimedir_attribute_error_quark (void); GType mimedir_attribute_get_type (void); MIMEDirAttribute *mimedir_attribute_new (void); MIMEDirAttribute *mimedir_attribute_new_with_name (const gchar *name); const gchar *mimedir_attribute_get_name (MIMEDirAttribute *attribute); void mimedir_attribute_set_group (MIMEDirAttribute *attribute, const gchar *group); const gchar *mimedir_attribute_get_group (MIMEDirAttribute *attribute); void mimedir_attribute_set_charset (MIMEDirAttribute *attribute, const gchar *charset); const gchar *mimedir_attribute_get_charset (MIMEDirAttribute *attribute); void mimedir_attribute_append_parameter (MIMEDirAttribute *attribute, const gchar *name, GSList *values); void mimedir_attribute_append_parameter_simple (MIMEDirAttribute *attribute, const gchar *name, const gchar *value); gboolean mimedir_attribute_has_parameter (MIMEDirAttribute *attribute, const gchar *parameter); GSList *mimedir_attribute_get_parameter_values (MIMEDirAttribute *attribute, const gchar *parameter); const gchar *mimedir_attribute_get_parameter_value (MIMEDirAttribute *attribute, const gchar *parameter); void mimedir_attribute_free_parameter_values (MIMEDirAttribute *attribute, GSList *list); void mimedir_attribute_set_value (MIMEDirAttribute *attribute, const gchar *value); const gchar *mimedir_attribute_get_value (MIMEDirAttribute *attribute); void mimedir_attribute_set_value_data (MIMEDirAttribute *attribute, const gchar *uri, gssize len); gchar *mimedir_attribute_get_value_data (MIMEDirAttribute *attribute, gssize *len); void mimedir_attribute_set_value_uri (MIMEDirAttribute *attribute, const gchar *uri); gchar *mimedir_attribute_get_value_uri (MIMEDirAttribute *attribute, GError **error); void mimedir_attribute_set_value_text (MIMEDirAttribute *attribute, const gchar *text); void mimedir_attribute_set_value_text_unescaped (MIMEDirAttribute *attribute, const gchar *text); gchar *mimedir_attribute_get_value_text (MIMEDirAttribute *attribute, GError **error); void mimedir_attribute_set_value_text_list (MIMEDirAttribute *attribute, GSList *list); GSList *mimedir_attribute_get_value_text_list (MIMEDirAttribute *attribute, GError **error); void mimedir_attribute_set_value_datetime (MIMEDirAttribute *attribute, MIMEDirDateTime *datetime); MIMEDirDateTime *mimedir_attribute_get_value_datetime (MIMEDirAttribute *attribute, GError **error); void mimedir_attribute_set_value_datetime_list (MIMEDirAttribute *attribute, GSList *list); GSList *mimedir_attribute_get_value_datetime_list (MIMEDirAttribute *attribute, GError **error); void mimedir_attribute_free_datetime_list (GSList *list); void mimedir_attribute_set_value_bool (MIMEDirAttribute *attribute, gboolean b); gboolean mimedir_attribute_get_value_bool (MIMEDirAttribute *attribute, GError **error); void mimedir_attribute_set_value_int (MIMEDirAttribute *attribute, gint i); gint mimedir_attribute_get_value_int (MIMEDirAttribute *attribute, GError **error); void mimedir_attribute_set_value_int_list (MIMEDirAttribute *attribute, GSList *list); GSList *mimedir_attribute_get_value_int_list (MIMEDirAttribute *attribute, GError **error); void mimedir_attribute_set_value_float_list (MIMEDirAttribute *attribute, GSList *list); GSList *mimedir_attribute_get_value_float_list (MIMEDirAttribute *attribute, GError **error); void mimedir_attribute_set_value_structured_text (MIMEDirAttribute *attribute, GSList *list); GSList *mimedir_attribute_get_value_structured_text (MIMEDirAttribute *attribute, GError **error); void mimedir_attribute_set_value_parameters (MIMEDirAttribute *attribute, GSList *list); GSList *mimedir_attribute_get_value_parameters (MIMEDirAttribute *attribute, GError **error); void mimedir_attribute_free_list (GSList *list); #define mimedir_attribute_free_text_list(list) mimedir_attribute_free_list(list) void mimedir_attribute_free_int_list (GSList *list); void mimedir_attribute_free_float_list (GSList *list); void mimedir_attribute_free_string_list (GSList *list); void mimedir_attribute_free_structured_text_list (GSList *list); void mimedir_attribute_set_attribute_type (MIMEDirAttribute *attribute, MIMEDirAttributeType type); MIMEDirAttributeType mimedir_attribute_get_attribute_type (MIMEDirAttribute *attribute); ssize_t mimedir_attribute_parse (MIMEDirAttribute *attribute, const gchar *string, GError **error); gboolean mimedir_attribute_write_to_channel (MIMEDirAttribute *attribute, GIOChannel *channel, GError **error); #endif /* __MIMEDIR_ATTRIBUTE_H__ */ libmimedir-0.4.2/mimedir/mimedir-vcard-email.h0000644000175000017500000000523210603540660016164 00000000000000/* RFC 2426 vCard MIME Directory Profile -- E-Mail Object * Copyright (C) 2002 Sebastian Rittau * * $Id: mimedir-vcard-email.h 32 2002-07-21 13:36:40Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_VCARD_EMAIL_H__ #define __MIMEDIR_VCARD_EMAIL_H__ #include #include #include "mimedir-attribute.h" typedef enum { MIMEDIR_VCARD_EMAIL_TYPE_UNKNOWN, MIMEDIR_VCARD_EMAIL_TYPE_INTERNET, MIMEDIR_VCARD_EMAIL_TYPE_X400 } MIMEDirVCardEMailType; #define MIMEDIR_TYPE_VCARD_EMAIL (mimedir_vcard_email_get_type()) #define MIMEDIR_VCARD_EMAIL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_VCARD_EMAIL, MIMEDirVCardEMail)) #define MIMEDIR_VCARD_EMAIL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_VCARD_EMAIL, MIMEDirVCardClassEMail)) #define MIMEDIR_IS_VCARD_EMAIL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_VCARD_EMAIL)) #define MIMEDIR_IS_VCARD_EMAIL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_VCARD_EMAIL)) typedef struct _MIMEDirVCardEMail MIMEDirVCardEMail; typedef struct _MIMEDirVCardEMailClass MIMEDirVCardEMailClass; typedef struct _MIMEDirVCardEMailPriv MIMEDirVCardEMailPriv; struct _MIMEDirVCardEMail { GObject parent; MIMEDirVCardEMailPriv *priv; }; struct _MIMEDirVCardEMailClass { GObjectClass parent_class; void (* changed) (MIMEDirVCardEMail *email); }; GType mimedir_vcard_email_get_type (void); MIMEDirVCardEMail *mimedir_vcard_email_new (void); MIMEDirVCardEMail *mimedir_vcard_email_new_from_attribute (MIMEDirAttribute *attribute, GError **error); gboolean mimedir_vcard_email_set_from_attribute (MIMEDirVCardEMail *email, MIMEDirAttribute *attribute, GError **error); MIMEDirAttribute *mimedir_vcard_email_save_to_attribute (MIMEDirVCardEMail *email); gchar *mimedir_vcard_email_get_as_string (MIMEDirVCardEMail *email); gchar *mimedir_vcard_email_get_type_string (MIMEDirVCardEMail *email); #endif /* __MIMEDIR_VCARD_EMAIL_H__ */ libmimedir-0.4.2/mimedir/mimedir-vcard-address.c0000644000175000017500000006234610603540660016526 00000000000000/* RFC 2426 vCard MIME Directory Profile -- Address Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vcard-address.c 227 2005-09-11 16:09:51Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "mimedir-marshal.h" #include "mimedir-utils.h" #include "mimedir-vcard-address.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_vcard_address_class_init (MIMEDirVCardAddressClass *klass); static void mimedir_vcard_address_init (MIMEDirVCardAddress *address); static void mimedir_vcard_address_dispose (GObject *object); static void mimedir_vcard_address_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); static void mimedir_vcard_address_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); static void mimedir_vcard_address_clear (MIMEDirVCardAddress *address); enum { PROP_TITLE = 1, PROP_FULL, PROP_POBOX, PROP_EXTENDED, PROP_STREET, PROP_LOCALITY, PROP_REGION, PROP_PCODE, PROP_COUNTRY, PROP_DOMESTIC, PROP_INTERNATIONAL, PROP_POSTAL, PROP_PARCEL, PROP_HOME, PROP_WORK, PROP_PREFERRED }; enum { SIGNAL_CHANGED, LAST_SIGNAL }; struct _MIMEDirVCardAddressPriv { gchar *pobox; gchar *extended; gchar *street; gchar *locality; gchar *region; gchar *pcode; gchar *country; gchar *full; gboolean domestic; gboolean international; gboolean postal; gboolean parcel; gboolean home; gboolean work; gboolean preferred; }; static GObjectClass *parent_class = NULL; static int mimedir_vcard_address_signals[LAST_SIGNAL] = { 0 }; /* * Class and Object Management */ GType mimedir_vcard_address_get_type (void) { static GType mimedir_vcard_address_type = 0; if (!mimedir_vcard_address_type) { static const GTypeInfo mimedir_vcard_address_info = { sizeof (MIMEDirVCardAddressClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_vcard_address_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirVCardAddress), 5, /* n_preallocs */ (GInstanceInitFunc) mimedir_vcard_address_init, }; mimedir_vcard_address_type = g_type_register_static (G_TYPE_OBJECT, "MIMEDirVCardAddress", &mimedir_vcard_address_info, 0); } return mimedir_vcard_address_type; } static void mimedir_vcard_address_class_init (MIMEDirVCardAddressClass *klass) { GObjectClass *gobject_class; GParamSpec *pspec; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_ADDRESS_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_vcard_address_dispose; gobject_class->set_property = mimedir_vcard_address_set_property; gobject_class->get_property = mimedir_vcard_address_get_property; parent_class = g_type_class_peek_parent (klass); /* Signals */ mimedir_vcard_address_signals[SIGNAL_CHANGED] = g_signal_new ("changed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (MIMEDirVCardAddressClass, changed), NULL, NULL, mimedir_marshal_VOID__VOID, G_TYPE_NONE, 0); /* Properties */ pspec = g_param_spec_string ("title", _("Title"), _("A one-line string with the most important address information"), NULL, G_PARAM_READABLE); g_object_class_install_property (gobject_class, PROP_TITLE, pspec); pspec = g_param_spec_string ("full", _("Freeform address"), _("A freeform address string"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_FULL, pspec); pspec = g_param_spec_string ("pobox", _("Post office box"), _("The addresses post office box"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_POBOX, pspec); pspec = g_param_spec_string ("extended", _("Extended address"), _("Extended address string"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_EXTENDED, pspec); pspec = g_param_spec_string ("street", _("Street"), _("Street address"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_STREET, pspec); pspec = g_param_spec_string ("locality", _("Locality"), _("Locality (e.g. city, town, etc.)"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_LOCALITY, pspec); pspec = g_param_spec_string ("region", _("Region"), _("Region (e.g. state)"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_REGION, pspec); pspec = g_param_spec_string ("pcode", _("Postal code"), _("Postal code (freeform string)"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_PCODE, pspec); pspec = g_param_spec_string ("country", _("Country"), _("Country"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_COUNTRY, pspec); pspec = g_param_spec_boolean ("domestic", _("Domestic"), _("Whether this is a domestic address"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_DOMESTIC, pspec); pspec = g_param_spec_boolean ("international", _("International"), _("Whether this is an international address"), TRUE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_INTERNATIONAL, pspec); pspec = g_param_spec_boolean ("postal", _("Postal"), _("Whether this is a postal address"), TRUE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_POSTAL, pspec); pspec = g_param_spec_boolean ("parcel", _("Parcel"), _("Whether parcels can be received at this address"), TRUE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_PARCEL, pspec); pspec = g_param_spec_boolean ("home", _("Home"), _("Whether this is a home address"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_HOME, pspec); pspec = g_param_spec_boolean ("work", _("Work"), _("Whether this is a work address"), TRUE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_WORK, pspec); pspec = g_param_spec_boolean ("preferred", _("Preferred"), _("Whether this is the preferred address"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_PREFERRED, pspec); } static void mimedir_vcard_address_init (MIMEDirVCardAddress *address) { g_return_if_fail (address != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_ADDRESS (address)); address->priv = g_new0 (MIMEDirVCardAddressPriv, 1); address->priv->international = TRUE; address->priv->postal = TRUE; address->priv->parcel = TRUE; address->priv->work = TRUE; } static void mimedir_vcard_address_dispose (GObject *object) { MIMEDirVCardAddress *address; MIMEDirVCardAddressPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_ADDRESS (object)); address = MIMEDIR_VCARD_ADDRESS (object); priv = address->priv; if (priv) mimedir_vcard_address_clear (address); G_OBJECT_CLASS (parent_class)->dispose (object); } static void mimedir_vcard_address_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec) { MIMEDirVCardAddressPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_ADDRESS (object)); priv = MIMEDIR_VCARD_ADDRESS (object)->priv; switch (property_id) { case PROP_FULL: mimedir_utils_set_property_string (&priv->full, value); break; case PROP_POBOX: mimedir_utils_set_property_string (&priv->pobox, value); break; case PROP_EXTENDED: mimedir_utils_set_property_string (&priv->extended, value); break; case PROP_STREET: mimedir_utils_set_property_string (&priv->street, value); break; case PROP_LOCALITY: mimedir_utils_set_property_string (&priv->locality, value); break; case PROP_REGION: mimedir_utils_set_property_string (&priv->region, value); break; case PROP_PCODE: mimedir_utils_set_property_string (&priv->pcode, value); break; case PROP_COUNTRY: mimedir_utils_set_property_string (&priv->country, value); break; case PROP_DOMESTIC: priv->domestic = g_value_get_boolean (value); break; case PROP_INTERNATIONAL: priv->international = g_value_get_boolean (value); break; case PROP_POSTAL: priv->postal = g_value_get_boolean (value); break; case PROP_PARCEL: priv->parcel = g_value_get_boolean (value); break; case PROP_HOME: priv->home = g_value_get_boolean (value); break; case PROP_WORK: priv->work = g_value_get_boolean (value); break; case PROP_PREFERRED: priv->preferred = g_value_get_boolean (value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } g_signal_emit (object, mimedir_vcard_address_signals[SIGNAL_CHANGED], 0); } static void mimedir_vcard_address_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec) { MIMEDirVCardAddressPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_ADDRESS (object)); priv = MIMEDIR_VCARD_ADDRESS (object)->priv; switch (property_id) { case PROP_TITLE: { gchar *title; title = mimedir_vcard_address_get_title (MIMEDIR_VCARD_ADDRESS (object)); g_value_set_string (value, title); g_free (title); break; } case PROP_FULL: g_value_set_string (value, priv->full); break; case PROP_POBOX: g_value_set_string (value, priv->pobox); break; case PROP_EXTENDED: g_value_set_string (value, priv->extended); break; case PROP_STREET: g_value_set_string (value, priv->street); break; case PROP_LOCALITY: g_value_set_string (value, priv->locality); break; case PROP_REGION: g_value_set_string (value, priv->region); break; case PROP_PCODE: g_value_set_string (value, priv->pcode); break; case PROP_COUNTRY: g_value_set_string (value, priv->country); break; case PROP_DOMESTIC: g_value_set_boolean (value, priv->domestic); break; case PROP_INTERNATIONAL: g_value_set_boolean (value, priv->international); break; case PROP_POSTAL: g_value_set_boolean (value, priv->postal); break; case PROP_PARCEL: g_value_set_boolean (value, priv->parcel); break; case PROP_HOME: g_value_set_boolean (value, priv->home); break; case PROP_WORK: g_value_set_boolean (value, priv->work); break; case PROP_PREFERRED: g_value_set_boolean (value, priv->preferred); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } } /* * Private Methods */ static void mimedir_vcard_address_clear (MIMEDirVCardAddress *address) { MIMEDirVCardAddressPriv *priv; priv = address->priv; if (!priv) return; g_free (priv->pobox); g_free (priv->extended); g_free (priv->street); g_free (priv->locality); g_free (priv->region); g_free (priv->pcode); g_free (priv->country); g_free (priv->full); g_free (priv); address->priv = NULL; } static void mimedir_vcard_address_reset (MIMEDirVCardAddress *address) { mimedir_vcard_address_clear (address); mimedir_vcard_address_init (address); } static gboolean mimedir_vcard_address_set_adr_from_attribute (MIMEDirVCardAddress *address, MIMEDirAttribute *attribute, GError **error) { MIMEDirVCardAddressPriv *priv; GSList *list, *l; gchar *s; g_return_val_if_fail (error == NULL || *error == NULL, FALSE); priv = address->priv; /* * Parse content */ list = mimedir_attribute_get_value_structured_text (attribute, error); if (!list) return FALSE; l = list; /* RFC 2426 requires the ADR type to have exactly seven components. * For fault-tolerance reasons, we assume an empty string for each * component that is not specified, and ignore all components * after the seventh. */ /* Post office box */ s = (gchar *) ((GSList *) l->data)->data; if (s && s[0] != '\0') priv->pobox = mimedir_utils_strcat_list ((GSList *) l->data, ","); l = g_slist_next (l); /* Extended address */ if (l) { s = (gchar *) ((GSList *) l->data)->data; if (s && s[0] != '\0') priv->extended = mimedir_utils_strcat_list ((GSList *) l->data, "\n"); } l = g_slist_next (l); /* Street address */ if (l) { s = (gchar *) ((GSList *) l->data)->data; if (s && s[0] != '\0') priv->street = mimedir_utils_strcat_list ((GSList *) l->data, "\n"); } l = g_slist_next (l); /* Locality */ if (l) { s = (gchar *) ((GSList *) l->data)->data; if (s && s[0] != '\0') priv->locality = mimedir_utils_strcat_list ((GSList *) l->data, ","); } l = g_slist_next (l); /* Region */ if (l) { s = (gchar *) ((GSList *) l->data)->data; if (s && s[0] != '\0') priv->region = mimedir_utils_strcat_list ((GSList *) l->data, ","); } l = g_slist_next (l); /* Postal code */ if (l) { s = (gchar *) ((GSList *) l->data)->data; if (s && s[0] != '\0') priv->pcode = mimedir_utils_strcat_list ((GSList *) l->data, ","); } l = g_slist_next (l); /* Country name */ if (l) { s = (gchar *) ((GSList *) l->data)->data; if (s && s[0] != '\0') priv->country = mimedir_utils_strcat_list ((GSList *) l->data, ","); } l = g_slist_next (l); if (l) g_printerr (_("The %s attribute contains too many elements.\n"), "ADR"); mimedir_attribute_free_structured_text_list (list); return TRUE; } static gboolean mimedir_vcard_address_set_label_from_attribute (MIMEDirVCardAddress *address, MIMEDirAttribute *attribute, GError **error) { g_return_val_if_fail (error == NULL || *error == NULL, FALSE); address->priv->full = mimedir_attribute_get_value_text (attribute, error); if (!address->priv->full) return FALSE; return TRUE; } static MIMEDirAttribute * mimedir_vcard_address_save_adr_to_attribute (MIMEDirVCardAddress *address) { MIMEDirVCardAddressPriv *priv; MIMEDirAttribute *attr; GSList *list = NULL, *list2; priv = address->priv; attr = mimedir_attribute_new_with_name ("ADR"); list2 = g_slist_append (NULL, priv->pobox); list = g_slist_append (list, list2); list2 = g_slist_append (NULL, priv->extended); list = g_slist_append (list, list2); list2 = g_slist_append (NULL, priv->street); list = g_slist_append (list, list2); list2 = g_slist_append (NULL, priv->locality); list = g_slist_append (list, list2); list2 = g_slist_append (NULL, priv->region); list = g_slist_append (list, list2); list2 = g_slist_append (NULL, priv->pcode); list = g_slist_append (list, list2); list2 = g_slist_append (NULL, priv->country); list = g_slist_append (list, list2); mimedir_attribute_set_value_structured_text (attr, list); for (list2 = list; list2 != NULL; list2 = g_slist_next (list2)) g_slist_free ((GSList *) list2->data); g_slist_free (list); return attr; } static MIMEDirAttribute * mimedir_vcard_address_save_label_to_attribute (MIMEDirVCardAddress *address) { MIMEDirAttribute *attr; attr = mimedir_attribute_new_with_name ("LABEL"); mimedir_attribute_set_value_text (attr, address->priv->full); return attr; } /* * Public Methods */ /** * mimedir_vcard_address_new: * * Create a new MIMEDirVCardAddress object. * * Return value: the MIMEDirVCardAddress object **/ MIMEDirVCardAddress * mimedir_vcard_address_new (void) { MIMEDirVCardAddress *address; address = g_object_new (MIMEDIR_TYPE_VCARD_ADDRESS, NULL); return address; } /** * mimedir_vcard_address_new_from_attribute: * @attribute: the object to take data from * @error: location to store the error occuring, or %NULL to ignore * * Creates a new MIMEDirVCardAddress object, initializing it with data taken * from the attribute object. * * Return value: the MIMEDirVCardAddress object **/ MIMEDirVCardAddress * mimedir_vcard_address_new_from_attribute (MIMEDirAttribute *attribute, GError **error) { MIMEDirVCardAddress *address; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); address = g_object_new (MIMEDIR_TYPE_VCARD_ADDRESS, NULL); if (!mimedir_vcard_address_set_from_attribute (address, attribute, error)) { g_object_unref (G_OBJECT (address)); address = NULL; } return address; } /** * mimedir_vcard_address_set_from_attribute: * @address: the object to manipulate * @attribute: the object to take data from * @error: location to store the error occuring, or %NULL to ignore * * Initializes the address object to data taken from the attribute object. * It is save to use this function, even if the object has been initialized * before. All old data will be lost in this case. * * Return value: success indicator **/ gboolean mimedir_vcard_address_set_from_attribute (MIMEDirVCardAddress *address, MIMEDirAttribute *attribute, GError **error) { GError *err = NULL; MIMEDirVCardAddressPriv *priv; GSList *list, *l; const gchar *name; g_return_val_if_fail (address != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCARD_ADDRESS (address), FALSE); g_return_val_if_fail (attribute != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); mimedir_vcard_address_reset (address); name = mimedir_attribute_get_name (attribute); /* * Parse content */ if (!g_ascii_strcasecmp (name, "ADR")) mimedir_vcard_address_set_adr_from_attribute (address, attribute, &err); else if (!g_ascii_strcasecmp (name, "LABEL")) mimedir_vcard_address_set_label_from_attribute (address, attribute, &err); else { g_critical ("wrong attribute type %s", name); return FALSE; } if (err) { g_propagate_error (error, err); return FALSE; } /* * Parse type attribute */ priv = address->priv; list = mimedir_attribute_get_parameter_values (attribute, "type"); if (list) { priv->international = FALSE; priv->postal = FALSE; priv->parcel = FALSE; priv->work = FALSE; for (l = list; l != NULL; l = g_slist_next (l)) { const gchar *type = (const gchar *) l->data; if (!g_ascii_strcasecmp (type, "dom")) priv->domestic = TRUE; else if (!g_ascii_strcasecmp (type, "intl")) priv->international = TRUE; else if (!g_ascii_strcasecmp (type, "postal")) priv->postal = TRUE; else if (!g_ascii_strcasecmp (type, "parcel")) priv->parcel = TRUE; else if (!g_ascii_strcasecmp (type, "home")) priv->home = TRUE; else if (!g_ascii_strcasecmp (type, "work")) priv->work = TRUE; else if (!g_ascii_strcasecmp (type, "pref")) priv->preferred = TRUE; else g_printerr (_("The address field is of unknown type %s.\n"), type); } } mimedir_attribute_free_parameter_values (attribute, list); return TRUE; } /** * mimedir_vcard_address_save_to_attribute: * @address: an address object * * Returns a new attribute that describes the address. * * Return value: a new attribute **/ MIMEDirAttribute * mimedir_vcard_address_save_to_attribute (MIMEDirVCardAddress *address) { MIMEDirVCardAddressPriv *priv; MIMEDirAttribute *attr; g_return_val_if_fail (address != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD_ADDRESS (address), NULL); priv = address->priv; if (priv->full) attr = mimedir_vcard_address_save_label_to_attribute (address); else attr = mimedir_vcard_address_save_adr_to_attribute (address); if (priv->domestic) mimedir_attribute_append_parameter_simple (attr, "TYPE", "dom"); if (priv->international) mimedir_attribute_append_parameter_simple (attr, "TYPE", "intl"); if (priv->postal) mimedir_attribute_append_parameter_simple (attr, "TYPE", "postal"); if (priv->parcel) mimedir_attribute_append_parameter_simple (attr, "TYPE", "parcel"); if (priv->home) mimedir_attribute_append_parameter_simple (attr, "TYPE", "home"); if (priv->work) mimedir_attribute_append_parameter_simple (attr, "TYPE", "work"); if (priv->preferred) mimedir_attribute_append_parameter_simple (attr, "TYPE", "pref"); return attr; } /** * mimedir_vcard_address_get_as_string: * @address: an address object * * Returns the address as a human-readable string. The returned string * should be freed with g_free(). * * Return value: the address as human-readable string **/ gchar * mimedir_vcard_address_get_as_string (MIMEDirVCardAddress *address) { MIMEDirVCardAddressPriv *priv; GString *s; gchar *locality = NULL; g_return_val_if_fail (address != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD_ADDRESS (address), NULL); priv = address->priv; s = g_string_new (""); if (priv->full) return g_strdup (priv->full); if (priv->pobox) { g_string_append (s, priv->pobox); g_string_append_c (s, '\n'); } if (priv->street) { g_string_append (s, priv->street); g_string_append_c (s, '\n'); } if (priv->extended) { g_string_append (s, priv->extended); g_string_append_c (s, '\n'); } if (priv->locality) { if (priv->pcode) /* Translators: pcode city */ locality = g_strdup_printf (_("%s %s"), priv->pcode, priv->locality); else locality = g_strdup (priv->locality); } if (priv->region) { if (locality) /* Translators: city, region */ g_string_append_printf (s, _("%s, %s"), locality, priv->region); else if (priv->pcode) g_string_append_printf (s, _("%s %s"), priv->pcode, priv->region); else g_string_append (s, priv->region); g_string_append_c (s, '\n'); } else if (locality) { g_string_append (s, locality); g_string_append_c (s, '\n'); } if (priv->country) { g_string_append (s, priv->country); g_string_append_c (s, '\n'); } return g_string_free (s, FALSE); } /** * mimedir_vcard_address_get_type_string: * @address: the address object * * Returns the type(s) of the address as a human-readable string. It * should be freed with g_free(). * * Return value: the type as human-readable string **/ gchar * mimedir_vcard_address_get_type_string (MIMEDirVCardAddress *address) { MIMEDirVCardAddressPriv *priv; GString *s; g_return_val_if_fail (address != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD_ADDRESS (address), NULL); priv = address->priv; s = g_string_new (""); if (priv->preferred) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("preferred")); } if (priv->domestic) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("domestic")); } if (priv->international) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("international")); } if (priv->postal) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("postal")); } if (priv->parcel) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("parcel")); } if (priv->home) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("home")); } if (priv->work) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("work")); } return g_string_free (s, FALSE); } /** * mimedir_vcard_address_get_title: * @address: a vCard address * * Returns a one-line string with the most important address information. * The returned string should be freed with g_free(). * * Return value: title string **/ gchar * mimedir_vcard_address_get_title (MIMEDirVCardAddress *address) { MIMEDirVCardAddressPriv *priv; const gchar *loc = NULL; const gchar *add = NULL; priv = address->priv; if (priv->full && priv->full[0] != '\0') { gchar *pos; gsize size; pos = strchr (priv->full, '\n'); if (pos) size = pos - priv->full; else size = strlen (priv->full); return g_strndup (priv->full, size); } if (priv->locality && priv->locality[0] != '\0') loc = priv->locality; else if (priv->region && priv->region[0] != '\0') loc = priv->region; else if (priv->country && priv->country[0] != '\0') loc = priv->country; if (priv->street && priv->street[0] != '\0') add = priv->street; else if (priv->pobox && priv->pobox[0] != '\0') add = priv->pobox; else if (priv->extended && priv->extended[0] != '\0') add = priv->extended; if (loc && add) /* Translators: Short address format: "locality/street" */ return g_strdup_printf (_("%s/%s"), loc, add); else if (loc) return g_strdup (loc); else if (add) return g_strdup (add); else return g_strdup (_("")); } libmimedir-0.4.2/mimedir/mimedir-marshal.c0000644000175000017500000000505410654700146015427 00000000000000 #include #ifdef G_ENABLE_DEBUG #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) #define g_marshal_value_peek_char(v) g_value_get_char (v) #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) #define g_marshal_value_peek_int(v) g_value_get_int (v) #define g_marshal_value_peek_uint(v) g_value_get_uint (v) #define g_marshal_value_peek_long(v) g_value_get_long (v) #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) #define g_marshal_value_peek_enum(v) g_value_get_enum (v) #define g_marshal_value_peek_flags(v) g_value_get_flags (v) #define g_marshal_value_peek_float(v) g_value_get_float (v) #define g_marshal_value_peek_double(v) g_value_get_double (v) #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) #define g_marshal_value_peek_param(v) g_value_get_param (v) #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) #define g_marshal_value_peek_object(v) g_value_get_object (v) #else /* !G_ENABLE_DEBUG */ /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. * Do not access GValues directly in your code. Instead, use the * g_value_get_*() functions */ #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int #define g_marshal_value_peek_char(v) (v)->data[0].v_int #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint #define g_marshal_value_peek_int(v) (v)->data[0].v_int #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint #define g_marshal_value_peek_long(v) (v)->data[0].v_long #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 #define g_marshal_value_peek_enum(v) (v)->data[0].v_long #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong #define g_marshal_value_peek_float(v) (v)->data[0].v_float #define g_marshal_value_peek_double(v) (v)->data[0].v_double #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer #endif /* !G_ENABLE_DEBUG */ /* VOID:VOID (mimedir-marshal.list:1) */ libmimedir-0.4.2/mimedir/mimedir-vtodo.c0000644000175000017500000001645010603540660015132 00000000000000/* RFC 2445 vTodo MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vtodo.c 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "mimedir-utils.h" #include "mimedir-vtodo.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_vtodo_class_init (MIMEDirVTodoClass *klass); static void mimedir_vtodo_init (MIMEDirVTodo *vtodo); static void mimedir_vtodo_dispose (GObject *object); struct _MIMEDirVTodoPriv { }; static MIMEDirVComponentClass *parent_class = NULL; /* * Class and Object Management */ GType mimedir_vtodo_get_type (void) { static GType mimedir_vtodo_type = 0; if (!mimedir_vtodo_type) { static const GTypeInfo mimedir_vtodo_info = { sizeof (MIMEDirVTodoClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_vtodo_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirVTodo), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_vtodo_init, }; mimedir_vtodo_type = g_type_register_static (MIMEDIR_TYPE_VCOMPONENT, "MIMEDirVTodo", &mimedir_vtodo_info, 0); } return mimedir_vtodo_type; } static void mimedir_vtodo_class_init (MIMEDirVTodoClass *klass) { GObjectClass *gobject_class; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_VTODO_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_vtodo_dispose; parent_class = g_type_class_peek_parent (klass); } static void mimedir_vtodo_init (MIMEDirVTodo *vtodo) { MIMEDirVTodoPriv *priv; g_return_if_fail (vtodo != NULL); g_return_if_fail (MIMEDIR_IS_VTODO (vtodo)); priv = g_new0 (MIMEDirVTodoPriv, 1); vtodo->priv = priv; } static void mimedir_vtodo_dispose (GObject *object) { MIMEDirVTodo *vtodo; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VTODO (object)); vtodo = MIMEDIR_VTODO (object); g_free (vtodo->priv); vtodo->priv = NULL; G_OBJECT_CLASS (parent_class)->dispose (object); } /* * Public Methods */ /** * mimedir_vtodo_new: * * Creates a new (empty) vTodo object. * * Return value: a new vTodo object **/ MIMEDirVTodo * mimedir_vtodo_new (void) { MIMEDirVTodo *vtodo; MIMEDirDateTime *now; vtodo = g_object_new (MIMEDIR_TYPE_VTODO, NULL); now = mimedir_datetime_new_now (); g_object_set (G_OBJECT (vtodo), "dtstamp", now, NULL); g_object_unref (G_OBJECT (now)); return vtodo; } /** * mimedir_vtodo_new_from_profile: * @profile: a #MIMEDirProfile object * @error: error storage location or %NULL * * Create a new vTodo object and fills it with data retrieved from the * supplied profile object. If an error occurs during the read, @error * will be set and %NULL will be returned. * * Return value: the new vTodo object or %NULL **/ MIMEDirVTodo * mimedir_vtodo_new_from_profile (MIMEDirProfile *profile, GError **error) { MIMEDirVTodo *vtodo; g_return_val_if_fail (profile != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); vtodo = g_object_new (MIMEDIR_TYPE_VTODO, NULL); if (!mimedir_vtodo_read_from_profile (vtodo, profile, error)) { g_object_unref (G_OBJECT (vtodo)); vtodo = NULL; } return vtodo; } /** * mimedir_vtodo_read_from_profile: * @vtodo: a vTodo object * @profile: a profile object * @error: error storage location or %NULL * * Clears the supplied vTodo object and re-initializes it with data read * from the supplied profile. If an error occurs during the read, @error * will be set and %FALSE will be returned. Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vtodo_read_from_profile (MIMEDirVTodo *vtodo, MIMEDirProfile *profile, GError **error) { gchar *name; g_return_val_if_fail (vtodo != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VTODO (vtodo), FALSE); g_return_val_if_fail (profile != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); g_object_get (G_OBJECT (profile), "name", &name, NULL); if (name && g_ascii_strcasecmp (name, "VTODO") != 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE_STR, name, "VCALENDAR"); g_free (name); return FALSE; } g_free (name); if (!mimedir_vcomponent_read_from_profile (MIMEDIR_VCOMPONENT (vtodo), profile, error)) return FALSE; /* Validity Checks */ /* Normally, a DTSTAMP property is required, but for compatibility * reasons we ignore its lack. (Bah...) */ return TRUE; } /** * mimedir_vtodo_write_to_profile: * @vtodo: a vtodo * * Saves the vtodo object to a newly allocated profile object. * * Return value: a new profile **/ MIMEDirProfile * mimedir_vtodo_write_to_profile (MIMEDirVTodo *vtodo) { g_return_val_if_fail (vtodo != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VTODO (vtodo), NULL); return mimedir_vcomponent_write_to_profile (MIMEDIR_VCOMPONENT (vtodo), "vTodo"); } /** * mimedir_vtodo_write_to_channel: * @vtodo: a vtodo * @channel: I/O channel to save to * @error: error storage location or %NULL * * Saves the vtodo object to the supplied I/O channel. If an error occurs * during the write, @error will be set and %FALSE will be returned. * Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vtodo_write_to_channel (MIMEDirVTodo *vtodo, GIOChannel *channel, GError **error) { MIMEDirProfile *profile; g_return_val_if_fail (vtodo != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VTODO (vtodo), FALSE); g_return_val_if_fail (channel != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); profile = mimedir_vtodo_write_to_profile (vtodo); if (!mimedir_profile_write_to_channel (profile, channel, error)) return FALSE; g_object_unref (G_OBJECT (profile)); return TRUE; } /** * mimedir_vtodo_write_to_string: * @vtodo: a vtodo * * Saves the vtodo object to a newly allocated memory buffer. You should * free the returned buffer with g_free(). * * Return value: a newly allocated memory buffer **/ gchar * mimedir_vtodo_write_to_string (MIMEDirVTodo *vtodo) { MIMEDirProfile *profile; gchar *s; g_return_val_if_fail (vtodo != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VTODO (vtodo), FALSE); profile = mimedir_vtodo_write_to_profile (vtodo); s = mimedir_profile_write_to_string (profile); g_object_unref (G_OBJECT (profile)); return s; } libmimedir-0.4.2/mimedir/mimedir-vtodo.h0000644000175000017500000000452310603540660015135 00000000000000/* RFC 2445 vTodo MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vtodo.h 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_VTODO_H__ #define __MIMEDIR_VTODO_H__ #include #include #include "mimedir-profile.h" #include "mimedir-vcomponent.h" #define MIMEDIR_TYPE_VTODO (mimedir_vtodo_get_type()) #define MIMEDIR_VTODO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_VTODO, MIMEDirVTodo)) #define MIMEDIR_VTODO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_VTODO, MIMEDirVTodoClass)) #define MIMEDIR_IS_VTODO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_VTODO)) #define MIMEDIR_IS_VTODO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_VTODO)) typedef struct _MIMEDirVTodo MIMEDirVTodo; typedef struct _MIMEDirVTodoClass MIMEDirVTodoClass; typedef struct _MIMEDirVTodoPriv MIMEDirVTodoPriv; struct _MIMEDirVTodo { MIMEDirVComponent parent; MIMEDirVTodoPriv *priv; }; struct _MIMEDirVTodoClass { MIMEDirVComponentClass parent_class; }; GType mimedir_vtodo_get_type (void); MIMEDirVTodo *mimedir_vtodo_new (void); MIMEDirVTodo *mimedir_vtodo_new_from_profile (MIMEDirProfile *profile, GError **error); gboolean mimedir_vtodo_read_from_profile (MIMEDirVTodo *vtodo, MIMEDirProfile *profile, GError **error); MIMEDirProfile *mimedir_vtodo_write_to_profile (MIMEDirVTodo *vtodo); gboolean mimedir_vtodo_write_to_channel (MIMEDirVTodo *vtodo, GIOChannel *channel, GError **error); gchar *mimedir_vtodo_write_to_string (MIMEDirVTodo *vtodo); #endif /* __MIMEDIR_VTODO_H__ */ libmimedir-0.4.2/mimedir/mimedir-init.h0000644000175000017500000000200510603540660014736 00000000000000/* RFC 2425 MIME Directory Profile Object * Copyright (C) 2002 Sebastian Rittau * * $Id: mimedir-init.h 72 2002-07-31 12:51:31Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_INIT_H__ #define __MIMEDIR_INIT_H__ void mimedir_init (void); #endif /* __MIMEDIR_INIT_H__ */ libmimedir-0.4.2/mimedir/mimedir-period.c0000644000175000017500000001352510603540660015261 00000000000000/* RFC 2445 iCal Period Object * Copyright (C) 2002, 2003 Sebastian Rittau * * $Id: mimedir-period.c 147 2003-07-08 14:49:37Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include "mimedir-period.h" #include "mimedir-vfreebusy.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_period_class_init (MIMEDirPeriodClass *klass); static void mimedir_period_init (MIMEDirPeriod *period); static void mimedir_period_dispose (GObject *object); static void mimedir_period_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); static void mimedir_period_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); enum { PROP_FBTYPE = 1 }; struct _MIMEDirPeriodPriv { MIMEDirVFreeBusyType fbtype; }; static GObjectClass *parent_class = NULL; /* * Class and Object Management */ GType mimedir_period_get_type (void) { static GType mimedir_period_type = 0; if (!mimedir_period_type) { static const GTypeInfo mimedir_period_info = { sizeof (MIMEDirPeriodClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_period_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirPeriod), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_period_init, }; mimedir_period_type = g_type_register_static (G_TYPE_OBJECT, "MIMEDirPeriod", &mimedir_period_info, 0); } return mimedir_period_type; } static void mimedir_period_class_init (MIMEDirPeriodClass *klass) { GObjectClass *gobject_class; GParamSpec *pspec; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_PERIOD_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_period_dispose; gobject_class->set_property = mimedir_period_set_property; gobject_class->get_property = mimedir_period_get_property; parent_class = g_type_class_peek_parent (klass); /* Properties */ pspec = g_param_spec_uint ("fbtype", _("Free/busy type"), _("Whether this object signifies a free or a busy period"), MIMEDIR_VFREEBUSY_FREE, MIMEDIR_VFREEBUSY_BUSY_TENTATIVE, MIMEDIR_VFREEBUSY_BUSY, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_FBTYPE, pspec); } static void mimedir_period_init (MIMEDirPeriod *period) { MIMEDirPeriodPriv *priv; g_return_if_fail (period != NULL); g_return_if_fail (MIMEDIR_IS_PERIOD (period)); priv = g_new0 (MIMEDirPeriodPriv, 1); period->priv = priv; } static void mimedir_period_dispose (GObject *object) { MIMEDirPeriod *period; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_PERIOD (object)); period = MIMEDIR_PERIOD (object); g_free (period->priv); period->priv = NULL; G_OBJECT_CLASS (parent_class)->dispose (object); } static void mimedir_period_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec) { MIMEDirPeriod *period; MIMEDirPeriodPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_PERIOD (object)); period = MIMEDIR_PERIOD (object); priv = period->priv; switch (property_id) { case PROP_FBTYPE: priv->fbtype = g_value_get_uint (value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); break; } } static void mimedir_period_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec) { MIMEDirPeriod *period; MIMEDirPeriodPriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_PERIOD (object)); period = MIMEDIR_PERIOD (object); priv = period->priv; switch (property_id) { case PROP_FBTYPE: g_value_set_uint (value, priv->fbtype); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } } /* * Public Methods */ /** * mimedir_period_new: * * Creates a new iCal period object. * * Return value: a new period object **/ MIMEDirPeriod * mimedir_period_new (void) { MIMEDirPeriod *recur; recur = g_object_new (MIMEDIR_TYPE_PERIOD, NULL); return recur; } /** * mimedir_period_new_parse: * @string: string to parse * * Creates a new iCal period object and fills it with data retrieved from * parsing @string. * * Return value: a new period object **/ MIMEDirPeriod * mimedir_period_new_parse (const gchar *string) { MIMEDirPeriod *recur; recur = g_object_new (MIMEDIR_TYPE_PERIOD, NULL); /* FIXME */ return recur; } /** * mimedir_period_get_as_mimedir: * @period: a #MIMEDirPeriod object * * Returns a string suitable for use as MIME Directory period property. * The returned string should be freed with g_free(). * * Return value: a string suitable as MIMEDir property **/ gchar * mimedir_period_get_as_mimedir (MIMEDirPeriod *period) { GString *s; g_return_val_if_fail (period != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_PERIOD (period), NULL); s = g_string_new (NULL); /* FIXME */ return g_string_free (s, FALSE); } libmimedir-0.4.2/mimedir/mimedir-vcard-phone.c0000644000175000017500000004666210603540660016215 00000000000000/* RFC 2426 vCard MIME Directory Profile -- Phone Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vcard-phone.c 227 2005-09-11 16:09:51Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include "mimedir-marshal.h" #include "mimedir-utils.h" #include "mimedir-vcard-phone.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_vcard_phone_class_init (MIMEDirVCardPhoneClass *klass); static void mimedir_vcard_phone_init (MIMEDirVCardPhone *phone); static void mimedir_vcard_phone_dispose (GObject *object); static void mimedir_vcard_phone_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec); static void mimedir_vcard_phone_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec); static void mimedir_vcard_phone_clear (MIMEDirVCardPhone *phone); enum { PROP_NUMBER = 1, PROP_HOME, PROP_WORK, PROP_VOICE, PROP_FAX, PROP_BBS, PROP_MODEM, PROP_PAGER, PROP_VIDEO, PROP_CELL, PROP_CAR, PROP_ISDN, PROP_PCS, PROP_PREFERRED, PROP_MESSAGE }; enum { SIGNAL_CHANGED, LAST_SIGNAL }; struct _MIMEDirVCardPhonePriv { gchar *number; gboolean preferred; gboolean home, work; gboolean voice, fax, video, pager, bbs, modem; gboolean car, cell; gboolean message, isdn, pcs; }; static GObjectClass *parent_class = NULL; static int mimedir_vcard_phone_signals[LAST_SIGNAL] = { 0 }; /* * Class and Object Management */ GType mimedir_vcard_phone_get_type (void) { static GType mimedir_vcard_phone_type = 0; if (!mimedir_vcard_phone_type) { static const GTypeInfo mimedir_vcard_phone_info = { sizeof (MIMEDirVCardPhoneClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_vcard_phone_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirVCardPhone), 5, /* n_preallocs */ (GInstanceInitFunc) mimedir_vcard_phone_init, }; mimedir_vcard_phone_type = g_type_register_static (G_TYPE_OBJECT, "MIMEDirVCardPhone", &mimedir_vcard_phone_info, 0); } return mimedir_vcard_phone_type; } static void mimedir_vcard_phone_class_init (MIMEDirVCardPhoneClass *klass) { GObjectClass *gobject_class; GParamSpec *pspec; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_PHONE_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_vcard_phone_dispose; gobject_class->set_property = mimedir_vcard_phone_set_property; gobject_class->get_property = mimedir_vcard_phone_get_property; parent_class = g_type_class_peek_parent (klass); /* Signals */ mimedir_vcard_phone_signals[SIGNAL_CHANGED] = g_signal_new ("changed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_STRUCT_OFFSET (MIMEDirVCardPhoneClass, changed), NULL, NULL, mimedir_marshal_VOID__VOID, G_TYPE_NONE, 0); /* Properties */ pspec = g_param_spec_string ("number", _("Number"), _("The telephone number (freeform string)"), NULL, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_NUMBER, pspec); pspec = g_param_spec_boolean ("home", _("Home"), _("Whether this is a home phone number"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_HOME, pspec); pspec = g_param_spec_boolean ("work", _("Work"), _("Whether this is a phone number at work"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_WORK, pspec); pspec = g_param_spec_boolean ("voice", _("Voice"), _("Whether this is a voice number"), TRUE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_VOICE, pspec); pspec = g_param_spec_boolean ("fax", _("Fax"), _("Whether this is a facsimile number"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_FAX, pspec); pspec = g_param_spec_boolean ("bbs", _("BBS"), _("Whether this is a bulletin board system number"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_BBS, pspec); pspec = g_param_spec_boolean ("modem", _("Modem"), _("Whether this is a modem number"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_MODEM, pspec); pspec = g_param_spec_boolean ("pager", _("Pager"), _("Whether this is a pager number"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_PAGER, pspec); pspec = g_param_spec_boolean ("video", _("Video"), _("Whether this is a video phone number"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_VIDEO, pspec); pspec = g_param_spec_boolean ("cell", _("Cell"), _("Whether this is a cell (mobile) phone number"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_CELL, pspec); pspec = g_param_spec_boolean ("car", _("Car"), _("Whether this is car phone number"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_CAR, pspec); pspec = g_param_spec_boolean ("isdn", _("ISDN"), _("Whether this is a ISDN number"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_ISDN, pspec); pspec = g_param_spec_boolean ("pcs", _("PCS"), _("Whether this is a PCS number"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_PCS, pspec); pspec = g_param_spec_boolean ("preferred", _("Preferred"), _("Whether this is the preferred number"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_PREFERRED, pspec); pspec = g_param_spec_boolean ("message", _("Message"), _("Whether this number has a voice recorder"), FALSE, G_PARAM_READWRITE); g_object_class_install_property (gobject_class, PROP_MESSAGE, pspec); } static void mimedir_vcard_phone_init (MIMEDirVCardPhone *phone) { g_return_if_fail (phone != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_PHONE (phone)); phone->priv = g_new0 (MIMEDirVCardPhonePriv, 1); phone->priv->voice = TRUE; } static void mimedir_vcard_phone_dispose (GObject *object) { MIMEDirVCardPhone *phone; MIMEDirVCardPhonePriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_PHONE (object)); phone = MIMEDIR_VCARD_PHONE (object); priv = phone->priv; if (priv) mimedir_vcard_phone_clear (phone); G_OBJECT_CLASS (parent_class)->dispose (object); } static void mimedir_vcard_phone_set_property_string (gchar **dest, const GValue *value) { const gchar *string; string = g_value_get_string (value); g_free (*dest); *dest = g_strdup (string); } static void mimedir_vcard_phone_set_property (GObject *object, guint property_id, const GValue *value, GParamSpec *pspec) { MIMEDirVCardPhonePriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_PHONE (object)); priv = MIMEDIR_VCARD_PHONE (object)->priv; switch (property_id) { case PROP_NUMBER: mimedir_vcard_phone_set_property_string (&priv->number, value); break; case PROP_HOME: priv->home = g_value_get_boolean (value); break; case PROP_WORK: priv->work = g_value_get_boolean (value); break; case PROP_VOICE: priv->voice = g_value_get_boolean (value); break; case PROP_FAX: priv->fax = g_value_get_boolean (value); break; case PROP_BBS: priv->bbs = g_value_get_boolean (value); break; case PROP_MODEM: priv->modem = g_value_get_boolean (value); break; case PROP_PAGER: priv->pager = g_value_get_boolean (value); break; case PROP_VIDEO: priv->video = g_value_get_boolean (value); break; case PROP_CELL: priv->cell = g_value_get_boolean (value); break; case PROP_CAR: priv->car = g_value_get_boolean (value); break; case PROP_ISDN: priv->isdn = g_value_get_boolean (value); break; case PROP_PCS: priv->pcs = g_value_get_boolean (value); break; case PROP_PREFERRED: priv->preferred = g_value_get_boolean (value); break; case PROP_MESSAGE: priv->message = g_value_get_boolean (value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } g_signal_emit (object, mimedir_vcard_phone_signals[SIGNAL_CHANGED], 0); } static void mimedir_vcard_phone_get_property (GObject *object, guint property_id, GValue *value, GParamSpec *pspec) { MIMEDirVCardPhonePriv *priv; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VCARD_PHONE (object)); priv = MIMEDIR_VCARD_PHONE (object)->priv; switch (property_id) { case PROP_NUMBER: g_value_set_string (value, priv->number); break; case PROP_HOME: g_value_set_boolean (value, priv->home); break; case PROP_WORK: g_value_set_boolean (value, priv->work); break; case PROP_VOICE: g_value_set_boolean (value, priv->voice); break; case PROP_FAX: g_value_set_boolean (value, priv->fax); break; case PROP_BBS: g_value_set_boolean (value, priv->bbs); break; case PROP_MODEM: g_value_set_boolean (value, priv->modem); break; case PROP_PAGER: g_value_set_boolean (value, priv->pager); break; case PROP_VIDEO: g_value_set_boolean (value, priv->video); break; case PROP_CELL: g_value_set_boolean (value, priv->cell); break; case PROP_CAR: g_value_set_boolean (value, priv->car); break; case PROP_ISDN: g_value_set_boolean (value, priv->isdn); break; case PROP_PCS: g_value_set_boolean (value, priv->pcs); break; case PROP_PREFERRED: g_value_set_boolean (value, priv->preferred); break; case PROP_MESSAGE: g_value_set_boolean (value, priv->message); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); return; } } /* * Private Methods */ static void mimedir_vcard_phone_clear (MIMEDirVCardPhone *phone) { MIMEDirVCardPhonePriv *priv; priv = phone->priv; if (!priv) return; g_free (priv->number); g_free (priv); phone->priv = NULL; } static void mimedir_vcard_phone_reset (MIMEDirVCardPhone *phone) { mimedir_vcard_phone_clear (phone); mimedir_vcard_phone_init (phone); } /* * Public Methods */ /** * mimedir_vcard_phone_new: * * Create a new MIMEDirVCardPhone object. * * Return value: the MIMEDirVCardPhone object **/ MIMEDirVCardPhone * mimedir_vcard_phone_new (void) { MIMEDirVCardPhone *phone; phone = g_object_new (MIMEDIR_TYPE_VCARD_PHONE, NULL); return phone; } /** * mimedir_vcard_phone_new_from_attribute: * @attribute: the object to take data from * @error: location to store the error occuring, or %NULL to ignore * * Creates a new MIMEDirVCardPhone object, initializing it with data taken * from the attribute object. * * Return value: the MIMEDirVCardPhone object **/ MIMEDirVCardPhone * mimedir_vcard_phone_new_from_attribute (MIMEDirAttribute *attribute, GError **error) { MIMEDirVCardPhone *phone; g_return_val_if_fail (attribute != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); phone = g_object_new (MIMEDIR_TYPE_VCARD_PHONE, NULL); if (!mimedir_vcard_phone_set_from_attribute (phone, attribute, error)) { g_object_unref (G_OBJECT (phone)); phone = NULL; } return phone; } /** * mimedir_vcard_phone_set_from_attribute: * @phone: the object to manipulate * @attribute: the object to take data from * @error: location to store the error occuring, or %NULL to ignore * * Initializes the phone object to data taken from the attribute object. * It is save to use this function, even if the object has been initialized * before. All old data will be lost in this case. * * Return value: success indicator **/ gboolean mimedir_vcard_phone_set_from_attribute (MIMEDirVCardPhone *phone, MIMEDirAttribute *attribute, GError **error) { GError *err = NULL; MIMEDirVCardPhonePriv *priv; GSList *list, *l; const gchar *name; g_return_val_if_fail (phone != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VCARD_PHONE (phone), FALSE); g_return_val_if_fail (attribute != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_ATTRIBUTE (attribute), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); name = mimedir_attribute_get_name (attribute); g_return_val_if_fail (g_ascii_strcasecmp (name, "TEL") == 0, FALSE); mimedir_vcard_phone_reset (phone); priv = phone->priv; /* * Parse content */ priv->number = mimedir_attribute_get_value_text (attribute, &err); if (!priv->number) { g_propagate_error (error, err); return FALSE; } /* * Parse type attribute */ list = mimedir_attribute_get_parameter_values (attribute, "type"); if (list) { phone->priv->voice = FALSE; for (l = list; l != NULL; l = g_slist_next (l)) { const gchar *type = (const gchar *) l->data; if (!g_ascii_strcasecmp (type, "pref")) priv->preferred = TRUE; else if (!g_ascii_strcasecmp (type, "home")) priv->home = TRUE; else if (!g_ascii_strcasecmp (type, "work")) priv->work = TRUE; else if (!g_ascii_strcasecmp (type, "msg")) priv->message = TRUE; else if (!g_ascii_strcasecmp (type, "voice")) priv->voice = TRUE; else if (!g_ascii_strcasecmp (type, "fax")) priv->fax = TRUE; else if (!g_ascii_strcasecmp (type, "cell")) priv->cell = TRUE; else if (!g_ascii_strcasecmp (type, "video")) priv->video = TRUE; else if (!g_ascii_strcasecmp (type, "pager")) priv->pager = TRUE; else if (!g_ascii_strcasecmp (type, "bbs")) priv->bbs = TRUE; else if (!g_ascii_strcasecmp (type, "modem")) priv->modem = TRUE; else if (!g_ascii_strcasecmp (type, "car")) priv->car = TRUE; else if (!g_ascii_strcasecmp (type, "isdn")) priv->isdn = TRUE; else if (!g_ascii_strcasecmp (type, "pcs")) priv->pcs = TRUE; else g_printerr (_("The phone field is of unknown type %s.\n"), type); } } mimedir_attribute_free_parameter_values (attribute, list); return TRUE; } /** * mimedir_vcard_phone_save_to_attribute: * @phone: a phone object * * Returns a new attribute that describes the phone number. * * Return value: a new attribute **/ MIMEDirAttribute * mimedir_vcard_phone_save_to_attribute (MIMEDirVCardPhone *phone) { MIMEDirVCardPhonePriv *priv; MIMEDirAttribute *attr; g_return_val_if_fail (phone != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD_PHONE (phone), NULL); priv = phone->priv; attr = mimedir_attribute_new_with_name ("TEL"); mimedir_attribute_set_value_text (attr, priv->number); if (priv->message) mimedir_attribute_append_parameter_simple (attr, "TYPE", "msg"); if (priv->voice) mimedir_attribute_append_parameter_simple (attr, "TYPE", "voice"); if (priv->fax) mimedir_attribute_append_parameter_simple (attr, "TYPE", "fax"); if (priv->cell) mimedir_attribute_append_parameter_simple (attr, "TYPE", "cell"); if (priv->home) mimedir_attribute_append_parameter_simple (attr, "TYPE", "home"); if (priv->work) mimedir_attribute_append_parameter_simple (attr, "TYPE", "work"); if (priv->preferred) mimedir_attribute_append_parameter_simple (attr, "TYPE", "pref"); if (priv->video) mimedir_attribute_append_parameter_simple (attr, "TYPE", "video"); if (priv->pager) mimedir_attribute_append_parameter_simple (attr, "TYPE", "pager"); if (priv->bbs) mimedir_attribute_append_parameter_simple (attr, "TYPE", "bbs"); if (priv->modem) mimedir_attribute_append_parameter_simple (attr, "TYPE", "modem"); if (priv->car) mimedir_attribute_append_parameter_simple (attr, "TYPE", "car"); if (priv->isdn) mimedir_attribute_append_parameter_simple (attr, "TYPE", "isdn"); if (priv->pcs) mimedir_attribute_append_parameter_simple (attr, "TYPE", "pcs"); return attr; } /** * mimedir_vcard_phone_get_as_string: * @phone: the phone object * * Returns the phone number as a human-readable string. The returned string * should be freed with g_free(). * * Return value: the phone number as human-readable string **/ gchar * mimedir_vcard_phone_get_as_string (MIMEDirVCardPhone *phone) { g_return_val_if_fail (phone != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD_PHONE (phone), NULL); return g_strdup (phone->priv->number); } /** * mimedir_vcard_phone_get_type_string: * @phone: the phone object * * Returns the type(s) of the phone as a human-readable string. It * should be freed with g_free(). * * Return value: the type as human-readable string **/ gchar * mimedir_vcard_phone_get_type_string (MIMEDirVCardPhone *phone) { MIMEDirVCardPhonePriv *priv; GString *s; g_return_val_if_fail (phone != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VCARD_PHONE (phone), NULL); priv = phone->priv; s = g_string_new (""); if (priv->preferred) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("preferred")); } if (priv->home) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("home")); } if (priv->work) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("work")); } if (priv->voice) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("voice")); } if (priv->fax) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("fax")); } if (priv->bbs) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("BBS")); } if (priv->modem) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("modem")); } if (priv->pager) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("pager")); } if (priv->video) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("video")); } if (priv->message) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("voice message")); } if (priv->cell) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("cell phone")); } if (priv->car) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("car phone")); } if (priv->isdn) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("ISDN")); } if (priv->pcs) { if (s->str[0] != '\0') g_string_append (s, ", "); g_string_append (s, _("PCS")); } return g_string_free (s, FALSE); } libmimedir-0.4.2/mimedir/mimedir-vcard-address.h0000644000175000017500000000526310603540660016526 00000000000000/* RFC 2426 vCard MIME Directory Profile -- Address Object * Copyright (C) 2002 Sebastian Rittau * * $Id: mimedir-vcard-address.h 72 2002-07-31 12:51:31Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_VCARD_ADDRESS_H__ #define __MIMEDIR_VCARD_ADDRESS_H__ #include #include #include "mimedir-attribute.h" #define MIMEDIR_TYPE_VCARD_ADDRESS (mimedir_vcard_address_get_type()) #define MIMEDIR_VCARD_ADDRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_VCARD_ADDRESS, MIMEDirVCardAddress)) #define MIMEDIR_VCARD_ADDRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_VCARD_ADDRESS, MIMEDirVCardClassAddress)) #define MIMEDIR_IS_VCARD_ADDRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_VCARD_ADDRESS)) #define MIMEDIR_IS_VCARD_ADDRESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_VCARD_ADDRESS)) typedef struct _MIMEDirVCardAddress MIMEDirVCardAddress; typedef struct _MIMEDirVCardAddressClass MIMEDirVCardAddressClass; typedef struct _MIMEDirVCardAddressPriv MIMEDirVCardAddressPriv; struct _MIMEDirVCardAddress { GObject parent; MIMEDirVCardAddressPriv *priv; }; struct _MIMEDirVCardAddressClass { GObjectClass parent_class; void (* changed) (MIMEDirVCardAddress *address); }; GType mimedir_vcard_address_get_type (void); MIMEDirVCardAddress *mimedir_vcard_address_new (void); MIMEDirVCardAddress *mimedir_vcard_address_new_from_attribute (MIMEDirAttribute *attribute, GError **error); gboolean mimedir_vcard_address_set_from_attribute (MIMEDirVCardAddress *address, MIMEDirAttribute *attribute, GError **error); MIMEDirAttribute *mimedir_vcard_address_save_to_attribute (MIMEDirVCardAddress *address); gchar *mimedir_vcard_address_get_as_string (MIMEDirVCardAddress *address); gchar *mimedir_vcard_address_get_type_string (MIMEDirVCardAddress *address); gchar *mimedir_vcard_address_get_title (MIMEDirVCardAddress *address); #endif /* __MIMEDIR_VCARD_ADDRESS_H__ */ libmimedir-0.4.2/mimedir/mimedir-recurrence.h0000644000175000017500000000540410603540660016136 00000000000000/* RFC 2445 iCal Recurrence Object * Copyright (C) 2002 Sebastian Rittau * * $Id: mimedir-recurrence.h 213 2005-09-01 15:36:27Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_RECURRENCE_H__ #define __MIMEDIR_RECURRENCE_H__ #include #include #include "mimedir-attribute.h" #define MIMEDIR_TYPE_RECURRENCE (mimedir_recurrence_get_type()) #define MIMEDIR_RECURRENCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_RECURRENCE, MIMEDirRecurrence)) #define MIMEDIR_RECURRENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_RECURRENCE, MIMEDirRecurrenceClass)) #define MIMEDIR_IS_RECURRENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_RECURRENCE)) #define MIMEDIR_IS_RECURRENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_RECURRENCE)) typedef struct _MIMEDirRecurrence MIMEDirRecurrence; typedef struct _MIMEDirRecurrenceClass MIMEDirRecurrenceClass; typedef struct _MIMEDirRecurrencePriv MIMEDirRecurrencePriv; struct _MIMEDirRecurrence { GObject parent; MIMEDirRecurrencePriv *priv; }; struct _MIMEDirRecurrenceClass { GObjectClass parent_class; }; typedef enum { RECURRENCE_SECONDLY = 1, RECURRENCE_MINUTELY, RECURRENCE_HOURLY, RECURRENCE_DAILY, RECURRENCE_WEEKLY, RECURRENCE_MONTHLY, RECURRENCE_YEARLY, } MIMEDirRecurrenceFrequency; typedef enum { RECURRENCE_UNIT_NONE = 1, RECURRENCE_UNIT_SECOND, RECURRENCE_UNIT_MINUTE, RECURRENCE_UNIT_HOUR, RECURRENCE_UNIT_DAY, RECURRENCE_UNIT_MONTHDAY, RECURRENCE_UNIT_YEARDAY, RECURRENCE_UNIT_WEEKNO, RECURRENCE_UNIT_MONTH, //FIXME: not handled yet RECURRENCE_UNIT_SETPOS, } MIMEDirRecurrenceUnit; GType mimedir_recurrence_get_type (void); MIMEDirRecurrence *mimedir_recurrence_new (void); MIMEDirRecurrence *mimedir_recurrence_new_parse (MIMEDirAttribute *attr, GError **error); gboolean mimedir_recurrence_parse (MIMEDirRecurrence *recurrence, MIMEDirAttribute *attr, GError **error); gchar *mimedir_recurrence_write_to_string (MIMEDirRecurrence *recurrence); #endif /* __MIMEDIR_RECURRENCE_H__ */ libmimedir-0.4.2/mimedir/mimedir-vtimezone.c0000644000175000017500000001713610603540660016021 00000000000000/* RFC 2445 vTimeZone MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vtimezone.c 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "mimedir-utils.h" #include "mimedir-vtimezone.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_vtimezone_class_init (MIMEDirVTimeZoneClass *klass); static void mimedir_vtimezone_init (MIMEDirVTimeZone *vtimezone); static void mimedir_vtimezone_dispose (GObject *object); struct _MIMEDirVTimeZonePriv { }; static MIMEDirVComponentClass *parent_class = NULL; /* * Class and Object Management */ GType mimedir_vtimezone_get_type (void) { static GType mimedir_vtimezone_type = 0; if (!mimedir_vtimezone_type) { static const GTypeInfo mimedir_vtimezone_info = { sizeof (MIMEDirVTimeZoneClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_vtimezone_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirVTimeZone), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_vtimezone_init, }; mimedir_vtimezone_type = g_type_register_static (MIMEDIR_TYPE_VCOMPONENT, "MIMEDirVTimeZone", &mimedir_vtimezone_info, 0); } return mimedir_vtimezone_type; } static void mimedir_vtimezone_class_init (MIMEDirVTimeZoneClass *klass) { GObjectClass *gobject_class; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_VTIMEZONE_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_vtimezone_dispose; parent_class = g_type_class_peek_parent (klass); } static void mimedir_vtimezone_init (MIMEDirVTimeZone *vtimezone) { MIMEDirVTimeZonePriv *priv; g_return_if_fail (vtimezone != NULL); g_return_if_fail (MIMEDIR_IS_VTIMEZONE (vtimezone)); priv = g_new0 (MIMEDirVTimeZonePriv, 1); vtimezone->priv = priv; } static void mimedir_vtimezone_dispose (GObject *object) { MIMEDirVTimeZone *vtimezone; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VTIMEZONE (object)); vtimezone = MIMEDIR_VTIMEZONE (object); g_free (vtimezone->priv); vtimezone->priv = NULL; G_OBJECT_CLASS (parent_class)->dispose (object); } /* * Public Methods */ /** * mimedir_vtimezone_new: * * Creates a new (empty) vTimeZone object. * * Return value: a new vTimeZone object **/ MIMEDirVTimeZone * mimedir_vtimezone_new (void) { MIMEDirVTimeZone *vtimezone; vtimezone = g_object_new (MIMEDIR_TYPE_VTIMEZONE, NULL); return vtimezone; } /** * mimedir_vtimezone_new_from_profile: * @profile: a #MIMEDirProfile object * @error: error storage location or %NULL * * Create a new vTimeZone object and fills it with data retrieved from the * supplied profile object. If an error occurs during the read, @error * will be set and %NULL will be returned. * * Return value: the new vTimeZone object or %NULL **/ MIMEDirVTimeZone * mimedir_vtimezone_new_from_profile (MIMEDirProfile *profile, GError **error) { MIMEDirVTimeZone *vtimezone; g_return_val_if_fail (profile != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); vtimezone = g_object_new (MIMEDIR_TYPE_VTIMEZONE, NULL); if (!mimedir_vtimezone_read_from_profile (vtimezone, profile, error)) { g_object_unref (G_OBJECT (vtimezone)); vtimezone = NULL; } return vtimezone; } /** * mimedir_vtimezone_read_from_profile: * @vtimezone: a vTimeZone object * @profile: a profile object * @error: error storage location or %NULL * * Clears the supplied vTimeZone object and re-initializes it with data read * from the supplied profile. If an error occurs during the read, @error * will be set and %FALSE will be returned. Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vtimezone_read_from_profile (MIMEDirVTimeZone *vtimezone, MIMEDirProfile *profile, GError **error) { gchar *name; g_return_val_if_fail (vtimezone != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VTIMEZONE (vtimezone), FALSE); g_return_val_if_fail (profile != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); g_object_get (G_OBJECT (profile), "name", &name, NULL); if (name && g_ascii_strcasecmp (name, "VTIMEZONE") != 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE_STR, name, "VCALENDAR"); g_free (name); return FALSE; } g_free (name); if (!mimedir_vcomponent_read_from_profile (MIMEDIR_VCOMPONENT (vtimezone), profile, error)) return FALSE; /* Validity Checks */ /* Normally, a DTSTAMP property is required, but for compatibility * reasons we ignore its lack. (Bah...) */ return TRUE; } /** * mimedir_vtimezone_write_to_profile: * @vtimezone: a vtimezone * * Saves the vtimezone object to a newly allocated profile object. * * Return value: a new profile **/ MIMEDirProfile * mimedir_vtimezone_write_to_profile (MIMEDirVTimeZone *vtimezone) { g_return_val_if_fail (vtimezone != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VTIMEZONE (vtimezone), NULL); return mimedir_vcomponent_write_to_profile (MIMEDIR_VCOMPONENT (vtimezone), "vTimeZone"); } /** * mimedir_vtimezone_write_to_channel: * @vtimezone: a vtimezone * @channel: I/O channel to save to * @error: error storage location or %NULL * * Saves the vtimezone object to the supplied I/O channel. If an error occurs * during the write, @error will be set and %FALSE will be returned. * Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vtimezone_write_to_channel (MIMEDirVTimeZone *vtimezone, GIOChannel *channel, GError **error) { MIMEDirProfile *profile; g_return_val_if_fail (vtimezone != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VTIMEZONE (vtimezone), FALSE); g_return_val_if_fail (channel != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); profile = mimedir_vtimezone_write_to_profile (vtimezone); if (!mimedir_profile_write_to_channel (profile, channel, error)) return FALSE; g_object_unref (G_OBJECT (profile)); return TRUE; } /** * mimedir_vtimezone_write_to_string: * @vtimezone: a vtimezone * * Saves the vtimezone object to a newly allocated memory buffer. You should * free the returned buffer with g_free(). * * Return value: a newly allocated memory buffer **/ gchar * mimedir_vtimezone_write_to_string (MIMEDirVTimeZone *vtimezone) { MIMEDirProfile *profile; gchar *s; g_return_val_if_fail (vtimezone != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VTIMEZONE (vtimezone), FALSE); profile = mimedir_vtimezone_write_to_profile (vtimezone); s = mimedir_profile_write_to_string (profile); g_object_unref (G_OBJECT (profile)); return s; } libmimedir-0.4.2/mimedir/mimedir-profile.h0000644000175000017500000000702710603540660015444 00000000000000/* RFC 2425 MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-profile.h 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_PROFILE_H__ #define __MIMEDIR_PROFILE_H__ #include #include #include "mimedir-attribute.h" #define MIMEDIR_PROFILE_ERROR mimedir_profile_error_quark () typedef enum { MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE, MIMEDIR_PROFILE_ERROR_UNEXPECTED_END, MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING, MIMEDIR_PROFILE_ERROR_UNMATCHED_END, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE } MIMEDirProfileError; #define MIMEDIR_PROFILE_ERROR_DUPLICATE_ATTRIBUTE_STR _("attribute %s defined twice") #define MIMEDIR_PROFILE_ERROR_UNEXPECTED_END_STR _("unexpected end of profile") #define MIMEDIR_PROFILE_ERROR_ATTRIBUTE_MISSING_STR _("required attribute %s is missing") #define MIMEDIR_PROFILE_ERROR_UNMATCHED_END_STR _("unmatched END attribute") #define MIMEDIR_PROFILE_ERROR_WRONG_PROFILE_STR _("wrong profile %s; expected %s") #define MIMEDIR_TYPE_PROFILE (mimedir_profile_get_type()) #define MIMEDIR_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_PROFILE, MIMEDirProfile)) #define MIMEDIR_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_PROFILE, MIMEDirProfileClass)) #define MIMEDIR_IS_PROFILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_PROFILE)) #define MIMEDIR_IS_PROFILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_PROFILE)) typedef struct _MIMEDirProfile MIMEDirProfile; typedef struct _MIMEDirProfileClass MIMEDirProfileClass; typedef struct _MIMEDirProfilePriv MIMEDirProfilePriv; struct _MIMEDirProfile { GObject parent; MIMEDirProfilePriv *priv; }; struct _MIMEDirProfileClass { GObjectClass parent_class; }; GQuark mimedir_profile_error_quark (void); GType mimedir_profile_get_type (void); MIMEDirProfile *mimedir_profile_new (const gchar *type); void mimedir_profile_set_charset (MIMEDirProfile *profile, const gchar *charset); const gchar *mimedir_profile_get_charset (MIMEDirProfile *attribute); ssize_t mimedir_profile_parse (MIMEDirProfile *profile, const gchar *string, GError **error); gboolean mimedir_profile_write_to_channel (MIMEDirProfile *profile, GIOChannel *channel, GError **error); gchar *mimedir_profile_write_to_string (MIMEDirProfile *profile); void mimedir_profile_append_attribute (MIMEDirProfile *profile, MIMEDirAttribute *attribute); MIMEDirAttribute *mimedir_profile_get_attribute (MIMEDirProfile *profile, const gchar *name); GSList *mimedir_profile_get_attribute_list (MIMEDirProfile *profile); void mimedir_profile_append_subprofile (MIMEDirProfile *profile, MIMEDirProfile *sub_profile); GSList *mimedir_profile_get_subprofiles (MIMEDirProfile *profile); #endif /* __MIMEDIR_PROFILE_H__ */ libmimedir-0.4.2/mimedir/mimedir-attendee.h0000644000175000017500000000440410603540660015571 00000000000000/* RFC 2445 Attendee Object * Copyright (C) 2002 Sebastian Rittau * * $Id: mimedir-attendee.h 104 2002-12-05 22:56:51Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef __MIMEDIR_ATTENDEE_H__ #define __MIMEDIR_ATTENDEE_H__ #include #include #include "mimedir-attribute.h" #define MIMEDIR_TYPE_ATTENDEE (mimedir_attendee_get_type()) #define MIMEDIR_ATTENDEE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MIMEDIR_TYPE_ATTENDEE, MIMEDirAttendee)) #define MIMEDIR_ATTENDEE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MIMEDIR_TYPE_ATTENDEE, MIMEDirAttendeeClass)) #define MIMEDIR_IS_ATTENDEE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MIMEDIR_TYPE_ATTENDEE)) #define MIMEDIR_IS_ATTENDEE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MIMEDIR_TYPE_ATTENDEE)) typedef struct _MIMEDirAttendee MIMEDirAttendee; typedef struct _MIMEDirAttendeeClass MIMEDirAttendeeClass; typedef struct _MIMEDirAttendeePriv MIMEDirAttendeePriv; struct _MIMEDirAttendee { GObject parent; /* Read Only */ gchar *uri; MIMEDirAttendeePriv *priv; }; struct _MIMEDirAttendeeClass { GObjectClass parent_class; }; GType mimedir_attendee_get_type (void); MIMEDirAttendee *mimedir_attendee_new (void); MIMEDirAttendee *mimedir_attendee_new_from_attribute (MIMEDirAttribute *attribute, GError **error); gboolean mimedir_attendee_read_from_attribute (MIMEDirAttendee *attendee, MIMEDirAttribute *attribute, GError **error); MIMEDirAttribute* mimedir_attendee_write_to_attribute (MIMEDirAttendee *attendee); #endif /* __MIMEDIR_ATTENDEE_H__ */ libmimedir-0.4.2/mimedir/mimedir-marshal.list0000644000175000017500000000001210603540660016142 00000000000000VOID:VOID libmimedir-0.4.2/mimedir/mimedir-vjournal.c0000644000175000017500000001720410603540660015635 00000000000000/* RFC 2445 vJournal MIME Directory Profile Object * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: mimedir-vjournal.c 176 2005-02-26 22:46:04Z srittau $ * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library 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 * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include "mimedir-utils.h" #include "mimedir-vjournal.h" #ifndef _ #define _(x) (dgettext(GETTEXT_PACKAGE, (x))) #endif static void mimedir_vjournal_class_init (MIMEDirVJournalClass *klass); static void mimedir_vjournal_init (MIMEDirVJournal *vjournal); static void mimedir_vjournal_dispose (GObject *object); struct _MIMEDirVJournalPriv { }; static MIMEDirVComponentClass *parent_class = NULL; /* * Class and Object Management */ GType mimedir_vjournal_get_type (void) { static GType mimedir_vjournal_type = 0; if (!mimedir_vjournal_type) { static const GTypeInfo mimedir_vjournal_info = { sizeof (MIMEDirVJournalClass), NULL, /* base_init */ NULL, /* base_finalize */ (GClassInitFunc) mimedir_vjournal_class_init, NULL, /* class_finalize */ NULL, /* class_data */ sizeof (MIMEDirVJournal), 1, /* n_preallocs */ (GInstanceInitFunc) mimedir_vjournal_init, }; mimedir_vjournal_type = g_type_register_static (MIMEDIR_TYPE_VCOMPONENT, "MIMEDirVJournal", &mimedir_vjournal_info, 0); } return mimedir_vjournal_type; } static void mimedir_vjournal_class_init (MIMEDirVJournalClass *klass) { GObjectClass *gobject_class; g_return_if_fail (klass != NULL); g_return_if_fail (MIMEDIR_IS_VJOURNAL_CLASS (klass)); gobject_class = G_OBJECT_CLASS (klass); gobject_class->dispose = mimedir_vjournal_dispose; parent_class = g_type_class_peek_parent (klass); } static void mimedir_vjournal_init (MIMEDirVJournal *vjournal) { MIMEDirVJournalPriv *priv; g_return_if_fail (vjournal != NULL); g_return_if_fail (MIMEDIR_IS_VJOURNAL (vjournal)); priv = g_new0 (MIMEDirVJournalPriv, 1); vjournal->priv = priv; } static void mimedir_vjournal_dispose (GObject *object) { MIMEDirVJournal *vjournal; g_return_if_fail (object != NULL); g_return_if_fail (MIMEDIR_IS_VJOURNAL (object)); vjournal = MIMEDIR_VJOURNAL (object); g_free (vjournal->priv); vjournal->priv = NULL; G_OBJECT_CLASS (parent_class)->dispose (object); } /* * Public Methods */ /** * mimedir_vjournal_new: * * Creates a new (empty) vJournal object. * * Return value: a new vJournal object **/ MIMEDirVJournal * mimedir_vjournal_new (void) { MIMEDirVJournal *vjournal; MIMEDirDateTime *now; vjournal = g_object_new (MIMEDIR_TYPE_VJOURNAL, NULL); now = mimedir_datetime_new_now (); g_object_set (G_OBJECT (vjournal), "dtstamp", now, NULL); g_object_unref (G_OBJECT (now)); return vjournal; } /** * mimedir_vjournal_new_from_profile: * @profile: a #MIMEDirProfile object * @error: error storage location or %NULL * * Create a new vJournal object and fills it with data retrieved from the * supplied profile object. If an error occurs during the read, @error * will be set and %NULL will be returned. * * Return value: the new vJournal object or %NULL **/ MIMEDirVJournal * mimedir_vjournal_new_from_profile (MIMEDirProfile *profile, GError **error) { MIMEDirVJournal *vjournal; g_return_val_if_fail (profile != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), NULL); g_return_val_if_fail (error == NULL || *error == NULL, NULL); vjournal = g_object_new (MIMEDIR_TYPE_VJOURNAL, NULL); if (!mimedir_vjournal_read_from_profile (vjournal, profile, error)) { g_object_unref (G_OBJECT (vjournal)); vjournal = NULL; } return vjournal; } /** * mimedir_vjournal_read_from_profile: * @vjournal: a vJournal object * @profile: a profile object * @error: error storage location or %NULL * * Clears the supplied vJournal object and re-initializes it with data read * from the supplied profile. If an error occurs during the read, @error * will be set and %FALSE will be returned. Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vjournal_read_from_profile (MIMEDirVJournal *vjournal, MIMEDirProfile *profile, GError **error) { gchar *name; g_return_val_if_fail (vjournal != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VJOURNAL (vjournal), FALSE); g_return_val_if_fail (profile != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_PROFILE (profile), FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); g_object_get (G_OBJECT (profile), "name", &name, NULL); if (name && g_ascii_strcasecmp (name, "VJOURNAL") != 0) { g_set_error (error, MIMEDIR_PROFILE_ERROR, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE, MIMEDIR_PROFILE_ERROR_WRONG_PROFILE_STR, name, "VCALENDAR"); g_free (name); return FALSE; } g_free (name); if (!mimedir_vcomponent_read_from_profile (MIMEDIR_VCOMPONENT (vjournal), profile, error)) return FALSE; /* Validity Checks */ /* Normally, a DTSTAMP property is required, but for compatibility * reasons we ignore its lack. (Bah...) */ return TRUE; } /** * mimedir_vjournal_write_to_profile: * @vjournal: a vjournal * * Saves the vjournal object to a newly allocated profile object. * * Return value: a new profile **/ MIMEDirProfile * mimedir_vjournal_write_to_profile (MIMEDirVJournal *vjournal) { g_return_val_if_fail (vjournal != NULL, NULL); g_return_val_if_fail (MIMEDIR_IS_VJOURNAL (vjournal), NULL); return mimedir_vcomponent_write_to_profile (MIMEDIR_VCOMPONENT (vjournal), "vJournal"); } /** * mimedir_vjournal_write_to_channel: * @vjournal: a vjournal * @channel: I/O channel to save to * @error: error storage location or %NULL * * Saves the vjournal object to the supplied I/O channel. If an error occurs * during the write, @error will be set and %FALSE will be returned. * Otherwise, %TRUE is returned. * * Return value: success indicator **/ gboolean mimedir_vjournal_write_to_channel (MIMEDirVJournal *vjournal, GIOChannel *channel, GError **error) { MIMEDirProfile *profile; g_return_val_if_fail (vjournal != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VJOURNAL (vjournal), FALSE); g_return_val_if_fail (channel != NULL, FALSE); g_return_val_if_fail (error == NULL || *error == NULL, FALSE); profile = mimedir_vjournal_write_to_profile (vjournal); if (!mimedir_profile_write_to_channel (profile, channel, error)) return FALSE; g_object_unref (G_OBJECT (profile)); return TRUE; } /** * mimedir_vjournal_write_to_string: * @vjournal: a vjournal * * Saves the vjournal object to a newly allocated memory buffer. You should * free the returned buffer with g_free(). * * Return value: a newly allocated memory buffer **/ gchar * mimedir_vjournal_write_to_string (MIMEDirVJournal *vjournal) { MIMEDirProfile *profile; gchar *s; g_return_val_if_fail (vjournal != NULL, FALSE); g_return_val_if_fail (MIMEDIR_IS_VJOURNAL (vjournal), FALSE); profile = mimedir_vjournal_write_to_profile (vjournal); s = mimedir_profile_write_to_string (profile); g_object_unref (G_OBJECT (profile)); return s; } libmimedir-0.4.2/config.sub0000755000175000017500000007746010654703052012556 00000000000000#! /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: libmimedir-0.4.2/intltool-extract.in0000644000175000017500000005500610654703045014431 00000000000000#!@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.35.5"; ## 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" -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"; } 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_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"; } } } } libmimedir-0.4.2/gpe-dist.am0000644000175000017500000000073610654702625012623 00000000000000CVSTAG := $(shell echo $(PACKAGE)-$(VERSION) | tr [a-z.] [A-Z_]) dist-upload: distcheck scp $(PACKAGE)-$(VERSION).tar.gz $(USER)@linuxtogo.org:/media/data/projects/gpe/source/ tag: @cd $(srcdir) && if cvs update -p -r$(CVSTAG) >/dev/null 2>&1; then echo "** Tag $(CVSTAG) already exists."; echo "** Use \"make retag\" if you really want to move this tag."; exit 1; fi cd $(srcdir) && cvs tag $(CVSTAG) retag: cd $(srcdir) && cvs tag -F $(CVSTAG) source: tag dist-upload libmimedir-0.4.2/missing0000755000175000017500000002540610654703051012162 00000000000000#! /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: libmimedir-0.4.2/ltmain.sh0000644000175000017500000060015710445567301012411 00000000000000# ltmain.sh - Provide generalized library-building support services. # NOTE: Changing this file will not affect anything until you rerun configure. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005 # Free Software Foundation, Inc. # Originally by Gordon Matzigkeit , 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 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. basename="s,^.*/,,g" # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath="$0" # The name of this program: progname=`echo "$progpath" | $SED $basename` modename="$progname" # Global variables: EXIT_SUCCESS=0 EXIT_FAILURE=1 PROGRAM=ltmain.sh PACKAGE=libtool VERSION="1.5.22 Debian 1.5.22-4" TIMESTAMP=" (1.1220.2.365 2005/12/18 22:14:06)" # See if we are running on zsh, and set the options which allow our # commands through without removal of \ escapes. if test -n "${ZSH_VERSION+set}" ; then setopt NO_GLOB_SUBST fi # Check that we have a working $echo. if test "X$1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X$1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then # Yippee, $echo works! : else # Restart under the correct shell, and then maybe $echo will work. exec $SHELL "$progpath" --no-reexec ${1+"$@"} fi if test "X$1" = X--fallback-echo; then # used as fallback echo shift cat <&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE fi # Global variables. mode=$default_mode nonopt= prev= prevopt= run= show="$echo" show_help= execute_dlfiles= duplicate_deps=no preserve_args= lo2o="s/\\.lo\$/.${objext}/" o2lo="s/\\.${objext}\$/.lo/" ##################################### # Shell function definitions: # This seems to be the best place for them # func_mktempdir [string] # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, STRING is the basename for that directory. func_mktempdir () { my_template="${TMPDIR-/tmp}/${1-$progname}" if test "$run" = ":"; then # Return a directory name, but don't create it in dry-run mode my_tmpdir="${my_template}-$$" else # If mktemp works, use that first and foremost my_tmpdir=`mktemp -d "${my_template}-XXXXXXXX" 2>/dev/null` if test ! -d "$my_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race my_tmpdir="${my_template}-${RANDOM-0}$$" save_mktempdir_umask=`umask` umask 0077 $mkdir "$my_tmpdir" umask $save_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$my_tmpdir" || { $echo "cannot create temporary directory \`$my_tmpdir'" 1>&2 exit $EXIT_FAILURE } fi $echo "X$my_tmpdir" | $Xsed } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. func_win32_libid () { win32_libid_type="unknown" win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | \ $EGREP -e 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then win32_nmres=`eval $NM -f posix -A $1 | \ $SED -n -e '1,100{/ I /{s,.*,import,;p;q;};}'` case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $echo $win32_libid_type } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac CC_quoted="$CC_quoted $arg" done case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac CC_quoted="$CC_quoted $arg" done case "$@ " in " $CC "* | "$CC "* | " `$echo $CC` "* | "`$echo $CC` "* | " $CC_quoted"* | "$CC_quoted "* | " `$echo $CC_quoted` "* | "`$echo $CC_quoted` "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then $echo "$modename: unable to infer tagged configuration" $echo "$modename: specify a tag with \`--tag'" 1>&2 exit $EXIT_FAILURE # else # $echo "$modename: using $tagname tagged configuration" fi ;; esac fi } # func_extract_an_archive dir oldlib func_extract_an_archive () { f_ex_an_ar_dir="$1"; shift f_ex_an_ar_oldlib="$1" $show "(cd $f_ex_an_ar_dir && $AR x $f_ex_an_ar_oldlib)" $run eval "(cd \$f_ex_an_ar_dir && $AR x \$f_ex_an_ar_oldlib)" || exit $? if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else $echo "$modename: ERROR: object name conflicts: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" 1>&2 exit $EXIT_FAILURE fi } # func_extract_archives gentop oldlib ... func_extract_archives () { my_gentop="$1"; shift my_oldlibs=${1+"$@"} my_oldobjs="" my_xlib="" my_xabs="" my_xdir="" my_status="" $show "${rm}r $my_gentop" $run ${rm}r "$my_gentop" $show "$mkdir $my_gentop" $run $mkdir "$my_gentop" my_status=$? if test "$my_status" -ne 0 && test ! -d "$my_gentop"; then exit $my_status fi for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs="$my_xlib" ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac my_xlib=`$echo "X$my_xlib" | $Xsed -e 's%^.*/%%'` my_xdir="$my_gentop/$my_xlib" $show "${rm}r $my_xdir" $run ${rm}r "$my_xdir" $show "$mkdir $my_xdir" $run $mkdir "$my_xdir" exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$my_xdir"; then exit $exit_status fi case $host in *-darwin*) $show "Extracting $my_xabs" # Do not bother doing anything if just a dry run if test -z "$run"; then darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` darwin_base_archive=`$echo "X$darwin_archive" | $Xsed -e 's%^.*/%%'` darwin_arches=`lipo -info "$darwin_archive" 2>/dev/null | $EGREP Architectures 2>/dev/null` if test -n "$darwin_arches"; then darwin_arches=`echo "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= $show "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches ; do mkdir -p "unfat-$$/${darwin_base_archive}-${darwin_arch}" lipo -thin $darwin_arch -output "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" "${darwin_archive}" cd "unfat-$$/${darwin_base_archive}-${darwin_arch}" func_extract_an_archive "`pwd`" "${darwin_base_archive}" cd "$darwin_curdir" $rm "unfat-$$/${darwin_base_archive}-${darwin_arch}/${darwin_base_archive}" done # $darwin_arches ## Okay now we have a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print| xargs basename | sort -u | $NL2SP` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | $NL2SP` lipo -create -output "$darwin_file" $darwin_files done # $darwin_filelist ${rm}r unfat-$$ cd "$darwin_orig_dir" else cd "$darwin_orig_dir" func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches fi # $run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | $NL2SP` done func_extract_archives_result="$my_oldobjs" } # End of Shell function definitions ##################################### # Darwin sucks eval std_shrext=\"$shrext_cmds\" disable_libs=no # Parse our command line options once, thoroughly. while test "$#" -gt 0 do arg="$1" shift case $arg in -*=*) optarg=`$echo "X$arg" | $Xsed -e 's/[-_a-zA-Z0-9]*=//'` ;; *) optarg= ;; esac # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in execute_dlfiles) execute_dlfiles="$execute_dlfiles $arg" ;; tag) tagname="$arg" preserve_args="${preserve_args}=$arg" # Check whether tagname contains only valid characters case $tagname in *[!-_A-Za-z0-9,/]*) $echo "$progname: invalid tag name: $tagname" 1>&2 exit $EXIT_FAILURE ;; esac case $tagname in CC) # Don't test for the "default" C tag, as we know, it's there, but # not specially marked. ;; *) if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "$progpath" > /dev/null; then taglist="$taglist $tagname" # Evaluate the configuration. eval "`${SED} -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$tagname'$/,/^# ### END LIBTOOL TAG CONFIG: '$tagname'$/p' < $progpath`" else $echo "$progname: ignoring unknown tag $tagname" 1>&2 fi ;; esac ;; *) eval "$prev=\$arg" ;; esac prev= prevopt= continue fi # Have we seen a non-optional argument yet? case $arg in --help) show_help=yes ;; --version) $echo "$PROGRAM (GNU $PACKAGE) $VERSION$TIMESTAMP" $echo $echo "Copyright (C) 2005 Free Software Foundation, Inc." $echo "This is free software; see the source for copying conditions. There is NO" $echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE." exit $? ;; --config) ${SED} -e '1,/^# ### BEGIN LIBTOOL CONFIG/d' -e '/^# ### END LIBTOOL CONFIG/,$d' $progpath # Now print the configurations for the tags. for tagname in $taglist; do ${SED} -n -e "/^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$/,/^# ### END LIBTOOL TAG CONFIG: $tagname$/p" < "$progpath" done exit $? ;; --debug) $echo "$progname: enabling shell trace mode" set -x preserve_args="$preserve_args $arg" ;; --dry-run | -n) run=: ;; --features) $echo "host: $host" if test "$build_libtool_libs" = yes; then $echo "enable shared libraries" else $echo "disable shared libraries" fi if test "$build_old_libs" = yes; then $echo "enable static libraries" else $echo "disable static libraries" fi exit $? ;; --finish) mode="finish" ;; --mode) prevopt="--mode" prev=mode ;; --mode=*) mode="$optarg" ;; --preserve-dup-deps) duplicate_deps="yes" ;; --quiet | --silent) show=: preserve_args="$preserve_args $arg" ;; --tag) prevopt="--tag" prev=tag preserve_args="$preserve_args --tag" ;; --tag=*) set tag "$optarg" ${1+"$@"} shift prev=tag preserve_args="$preserve_args --tag" ;; -dlopen) prevopt="-dlopen" prev=execute_dlfiles ;; -*) $echo "$modename: unrecognized option \`$arg'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; *) nonopt="$arg" break ;; esac done if test -n "$prevopt"; then $echo "$modename: option \`$prevopt' requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi case $disable_libs in no) ;; shared) build_libtool_libs=no build_old_libs=yes ;; static) build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` ;; esac # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= if test -z "$show_help"; then # Infer the operation mode. if test -z "$mode"; then $echo "*** Warning: inferring the mode of operation is deprecated." 1>&2 $echo "*** Future versions of Libtool will require --mode=MODE be specified." 1>&2 case $nonopt in *cc | cc* | *++ | gcc* | *-gcc* | g++* | xlc*) mode=link for arg do case $arg in -c) mode=compile break ;; esac done ;; *db | *dbx | *strace | *truss) mode=execute ;; *install*|cp|mv) mode=install ;; *rm) mode=uninstall ;; *) # If we have no mode, but dlfiles were specified, then do execute mode. test -n "$execute_dlfiles" && mode=execute # Just use the default operation mode. if test -z "$mode"; then if test -n "$nonopt"; then $echo "$modename: warning: cannot infer operation mode from \`$nonopt'" 1>&2 else $echo "$modename: warning: cannot infer operation mode without MODE-ARGS" 1>&2 fi fi ;; esac fi # Only execute mode is allowed to have -dlopen flags. if test -n "$execute_dlfiles" && test "$mode" != execute; then $echo "$modename: unrecognized option \`-dlopen'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help="$help" help="Try \`$modename --help --mode=$mode' for more information." # These modes are in order of execution frequency so that they run quickly. case $mode in # libtool compile mode compile) modename="$modename: compile" # Get the compilation command and the source file. base_compile= srcfile="$nonopt" # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= for arg do case $arg_mode in arg ) # do not "continue". Instead, add this to base_compile lastarg="$arg" arg_mode=normal ;; target ) libobj="$arg" arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) if test -n "$libobj" ; then $echo "$modename: you cannot specify \`-o' more than once" 1>&2 exit $EXIT_FAILURE fi arg_mode=target continue ;; -static | -prefer-pic | -prefer-non-pic) later="$later $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) args=`$echo "X$arg" | $Xsed -e "s/^-Wc,//"` lastarg= save_ifs="$IFS"; IFS=',' for arg in $args; do IFS="$save_ifs" # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac lastarg="$lastarg $arg" done IFS="$save_ifs" lastarg=`$echo "X$lastarg" | $Xsed -e "s/^ //"` # Add the arguments to base_compile. base_compile="$base_compile $lastarg" continue ;; * ) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg="$srcfile" srcfile="$arg" ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. lastarg=`$echo "X$lastarg" | $Xsed -e "$sed_quote_subst"` case $lastarg in # Double-quote args containing other shell metacharacters. # Many Bourne shells cannot handle close brackets correctly # in scan sets, and some SunOS ksh mistreat backslash-escaping # in scan sets (worked around with variable expansion), # and furthermore cannot handle '|' '&' '(' ')' in scan sets # at all, so we specify them separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") lastarg="\"$lastarg\"" ;; esac base_compile="$base_compile $lastarg" done # for arg case $arg_mode in arg) $echo "$modename: you must specify an argument for -Xcompile" exit $EXIT_FAILURE ;; target) $echo "$modename: you must specify a target with \`-o'" 1>&2 exit $EXIT_FAILURE ;; *) # Get the name of the library object. [ -z "$libobj" ] && libobj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%'` ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo xform='[cCFSifmso]' case $libobj in *.ada) xform=ada ;; *.adb) xform=adb ;; *.ads) xform=ads ;; *.asm) xform=asm ;; *.c++) xform=c++ ;; *.cc) xform=cc ;; *.ii) xform=ii ;; *.class) xform=class ;; *.cpp) xform=cpp ;; *.cxx) xform=cxx ;; *.f90) xform=f90 ;; *.for) xform=for ;; *.java) xform=java ;; esac libobj=`$echo "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"` case $libobj in *.lo) obj=`$echo "X$libobj" | $Xsed -e "$lo2o"` ;; *) $echo "$modename: cannot determine name of library object from \`$libobj'" 1>&2 exit $EXIT_FAILURE ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -static) build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done qlibobj=`$echo "X$libobj" | $Xsed -e "$sed_quote_subst"` case $qlibobj in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qlibobj="\"$qlibobj\"" ;; esac test "X$libobj" != "X$qlibobj" \ && $echo "X$libobj" | grep '[]~#^*{};<>?"'"'"' &()|`$[]' \ && $echo "$modename: libobj name \`$libobj' may not contain shell special characters." objname=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` xdir=`$echo "X$obj" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$obj"; then xdir= else xdir=$xdir/ fi lobj=${xdir}$objdir/$objname if test -z "$base_compile"; then $echo "$modename: you must specify a compilation command" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Delete any leftover library objects. if test "$build_old_libs" = yes; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi $run $rm $removelist trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2*) pic_mode=default ;; esac if test "$pic_mode" = no && test "$deplibs_check_method" != pass_all; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test "$compiler_c_o" = no; then output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e 's%\.[^.]*$%%'`.${objext} lockfile="$output_obj.lock" removelist="$removelist $output_obj $lockfile" trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15 else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test "$need_locks" = yes; then until $run ln "$progpath" "$lockfile" 2>/dev/null; do $show "Waiting for $lockfile to be removed" sleep 2 done elif test "$need_locks" = warn; then if test -f "$lockfile"; then $echo "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi $echo "$srcfile" > "$lockfile" fi if test -n "$fix_srcfile_path"; then eval srcfile=\"$fix_srcfile_path\" fi qsrcfile=`$echo "X$srcfile" | $Xsed -e "$sed_quote_subst"` case $qsrcfile in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qsrcfile="\"$qsrcfile\"" ;; esac $run $rm "$libobj" "${libobj}T" # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. test -z "$run" && cat > ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then $show "$mv $output_obj $lobj" if $run $mv $output_obj $lobj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the PIC object to the libtool object file. test -z "$run" && cat >> ${libobj}T <> ${libobj}T </dev/null`" != "X$srcfile"; then $echo "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support \`-c' and \`-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $run $rm $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then $show "$mv $output_obj $obj" if $run $mv $output_obj $obj; then : else error=$? $run $rm $removelist exit $error fi fi # Append the name of the non-PIC object the libtool object file. # Only append if the libtool object file exists. test -z "$run" && cat >> ${libobj}T <> ${libobj}T <&2 fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes else if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built fi build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg="$1" shift case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") qarg=\"`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`\" ### testsuite: skip nested quoting test ;; *) qarg=$arg ;; esac libtool_args="$libtool_args $qarg" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) compile_command="$compile_command @OUTPUT@" finalize_command="$finalize_command @OUTPUT@" ;; esac case $prev in dlfiles|dlprefiles) if test "$preload" = no; then # Add the symbol object into the linking commands. compile_command="$compile_command @SYMFILE@" finalize_command="$finalize_command @SYMFILE@" preload=yes fi case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test "$dlself" = no; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test "$prev" = dlprefiles; then dlself=yes elif test "$prev" = dlfiles && test "$dlopen_self" != yes; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test "$prev" = dlfiles; then dlfiles="$dlfiles $arg" else dlprefiles="$dlprefiles $arg" fi prev= continue ;; esac ;; expsyms) export_symbols="$arg" if test ! -f "$arg"; then $echo "$modename: symbol file \`$arg' does not exist" exit $EXIT_FAILURE fi prev= continue ;; expsyms_regex) export_symbols_regex="$arg" prev= continue ;; inst_prefix) inst_prefix_dir="$arg" prev= continue ;; precious_regex) precious_files_regex="$arg" prev= continue ;; release) release="-$arg" prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat $save_arg` do # moreargs="$moreargs $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit $EXIT_FAILURE fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit $EXIT_FAILURE else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi done else $echo "$modename: link input file \`$save_arg' does not exist" exit $EXIT_FAILURE fi arg=$save_arg prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit $EXIT_FAILURE ;; esac if test "$prev" = rpath; then case "$rpath " in *" $arg "*) ;; *) rpath="$rpath $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) xrpath="$xrpath $arg" ;; esac fi prev= continue ;; xcompiler) compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; xlinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $wl$qarg" prev= compile_command="$compile_command $wl$qarg" finalize_command="$finalize_command $wl$qarg" continue ;; xcclinker) linker_flags="$linker_flags $qarg" compiler_flags="$compiler_flags $qarg" prev= compile_command="$compile_command $qarg" finalize_command="$finalize_command $qarg" continue ;; shrext) shrext_cmds="$arg" prev= continue ;; darwin_framework|darwin_framework_skip) test "$prev" = "darwin_framework" && compiler_flags="$compiler_flags $arg" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" prev= continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg="$arg" case $arg in -all-static) if test -n "$link_static_flag"; then compile_command="$compile_command $link_static_flag" finalize_command="$finalize_command $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. $echo "$modename: \`-allow-undefined' is deprecated because it is the default" 1>&2 continue ;; -avoid-version) avoid_version=yes continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: more than one -exported-symbols argument is not allowed" exit $EXIT_FAILURE fi if test "X$arg" = "X-export-symbols"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework|-arch|-isysroot) case " $CC " in *" ${arg} ${1} "* | *" ${arg} ${1} "*) prev=darwin_framework_skip ;; *) compiler_flags="$compiler_flags $arg" prev=darwin_framework ;; esac compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" ;; esac continue ;; -L*) dir=`$echo "X$arg" | $Xsed -e 's/^-L//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: cannot determine absolute directory name of \`$dir'" 1>&2 absdir="$dir" notinst_path="$notinst_path $dir" fi dir="$absdir" ;; esac case "$deplibs " in *" -L$dir "*) ;; *) deplibs="$deplibs -L$dir" lib_search_path="$lib_search_path $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) testbindir=`$echo "X$dir" | $Xsed -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; *) dllsearchpath="$dllsearchpath:$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac continue ;; -l*) if test "X$arg" = "X-lc" || test "X$arg" = "X-lm"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test "X$arg" = "X-lc" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. test "X$arg" = "X-lc" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework deplibs="$deplibs -framework System" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test "X$arg" = "X-lc" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test "X$arg" = "X-lc" && continue ;; esac elif test "X$arg" = "X-lc_r"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi deplibs="$deplibs $arg" continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. -model) compile_command="$compile_command $arg" compiler_flags="$compiler_flags $arg" finalize_command="$finalize_command $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) compiler_flags="$compiler_flags $arg" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" continue ;; -module) module=yes continue ;; # -64, -mips[0-9] enable 64-bit mode on the SGI compiler # -r[0-9][0-9]* specifies the processor on the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode on the Sun compiler # +DA*, +DD* enable 64-bit mode on the HP compiler # -q* pass through compiler args for the IBM compiler # -m* pass through architecture-specific compiler args for GCC # -m*, -t[45]*, -txscale* pass through architecture-specific # compiler args for GCC # -pg pass through profiling flag for GCC # @file GCC response files -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*|-pg| \ -t[45]*|-txscale*|@*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" compiler_flags="$compiler_flags $arg" continue ;; -shrext) prev=shrext continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) # The PATH hackery in wrapper scripts is required on Windows # in order for the loader to find any dlls it needs. $echo "$modename: warning: \`-no-install' is ignored for $host" 1>&2 $echo "$modename: warning: assuming \`-no-fast-install' instead" 1>&2 fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) dir=`$echo "X$arg" | $Xsed -e 's/^-R//'` # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) $echo "$modename: only absolute run-paths are allowed" 1>&2 exit $EXIT_FAILURE ;; esac case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac continue ;; -static) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -Wc,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wc,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Wl,*) args=`$echo "X$arg" | $Xsed -e "$sed_quote_subst" -e 's/^-Wl,//'` arg= save_ifs="$IFS"; IFS=',' for flag in $args; do IFS="$save_ifs" case $flag in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") flag="\"$flag\"" ;; esac arg="$arg $wl$flag" compiler_flags="$compiler_flags $wl$flag" linker_flags="$linker_flags $flag" done IFS="$save_ifs" arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # Some other compiler flag. -* | +*) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; *.$objext) # A standard object. objs="$objs $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if (${SED} -e '2q' $arg | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then pic_object= non_pic_object= # Read the .lo file # If there is no directory component, then add one. case $arg in */* | *\\*) . $arg ;; *) . ./$arg ;; esac if test -z "$pic_object" || \ test -z "$non_pic_object" || test "$pic_object" = none && \ test "$non_pic_object" = none; then $echo "$modename: cannot find name of object for \`$arg'" 1>&2 exit $EXIT_FAILURE fi # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi if test "$pic_object" != none; then # Prepend the subdirectory the object is found in. pic_object="$xdir$pic_object" if test "$prev" = dlfiles; then if test "$build_libtool_libs" = yes && test "$dlopen_support" = yes; then dlfiles="$dlfiles $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test "$prev" = dlprefiles; then # Preload the old-style object. dlprefiles="$dlprefiles $pic_object" prev= fi # A PIC object. libobjs="$libobjs $pic_object" arg="$pic_object" fi # Non-PIC object. if test "$non_pic_object" != none; then # Prepend the subdirectory the object is found in. non_pic_object="$xdir$non_pic_object" # A standard non-PIC object non_pic_objects="$non_pic_objects $non_pic_object" if test -z "$pic_object" || test "$pic_object" = none ; then arg="$non_pic_object" fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object="$pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi else # Only an error if not doing a dry-run. if test -z "$run"; then $echo "$modename: \`$arg' is not a valid libtool object" 1>&2 exit $EXIT_FAILURE else # Dry-run case. # Extract subdirectory from the argument. xdir=`$echo "X$arg" | $Xsed -e 's%/[^/]*$%%'` if test "X$xdir" = "X$arg"; then xdir= else xdir="$xdir/" fi pic_object=`$echo "X${xdir}${objdir}/${arg}" | $Xsed -e "$lo2o"` non_pic_object=`$echo "X${xdir}${arg}" | $Xsed -e "$lo2o"` libobjs="$libobjs $pic_object" non_pic_objects="$non_pic_objects $non_pic_object" fi fi ;; *.$libext) # An archive. deplibs="$deplibs $arg" old_deplibs="$old_deplibs $arg" continue ;; *.la) # A libtool-controlled library. if test "$prev" = dlfiles; then # This library was specified with -dlopen. dlfiles="$dlfiles $arg" prev= elif test "$prev" = dlprefiles; then # The library was specified with -dlpreopen. dlprefiles="$dlprefiles $arg" prev= else deplibs="$deplibs $arg" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi done # argument parsing loop if test -n "$prev"; then $echo "$modename: the \`$prevarg' option requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test "$export_dynamic" = yes && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" compile_command="$compile_command $arg" finalize_command="$finalize_command $arg" fi oldlibs= # calculate the name of the file, without its directory outputname=`$echo "X$output" | $Xsed -e 's%^.*/%%'` libobjs_save="$libobjs" if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$echo \"X\${$shlibpath_var}\" \| \$Xsed -e \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" output_objdir=`$echo "X$output" | $Xsed -e 's%/[^/]*$%%'` if test "X$output_objdir" = "X$output"; then output_objdir="$objdir" else output_objdir="$output_objdir/$objdir" fi # Create the object directory. if test ! -d "$output_objdir"; then $show "$mkdir $output_objdir" $run $mkdir $output_objdir exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$output_objdir"; then exit $exit_status fi fi # Determine the type of output case $output in "") $echo "$modename: you must specify an output file" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac case $host in *cygwin* | *mingw* | *pw32*) # don't eliminate duplications in $postdeps and $predeps duplicate_compiler_generated_deps=yes ;; *) duplicate_compiler_generated_deps=$duplicate_deps ;; esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if test "X$duplicate_deps" = "Xyes" ; then case "$libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi libs="$libs $deplib" done if test "$linkmode" = lib; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if test "X$duplicate_compiler_generated_deps" = "Xyes" ; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) specialdeplibs="$specialdeplibs $pre_post_deps" ;; esac pre_post_deps="$pre_post_deps $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries case $linkmode in lib) passes="conv link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) $echo "$modename: libraries can \`-dlopen' only libtool libraries: $file" 1>&2 exit $EXIT_FAILURE ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=no newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan"; then libs="$deplibs" deplibs= fi if test "$linkmode" = prog; then case $pass in dlopen) libs="$dlfiles" ;; dlpreopen) libs="$dlprefiles" ;; link) libs="$deplibs %DEPLIBS%" test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" ;; esac fi if test "$pass" = dlopen; then # Collect dlpreopened libraries save_deplibs="$deplibs" deplibs= fi for deplib in $libs; do lib= found=no case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe) if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else compiler_flags="$compiler_flags $deplib" fi continue ;; -l*) if test "$linkmode" != lib && test "$linkmode" != prog; then $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 continue fi name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib="$searchdir/lib${name}${search_ext}" if test -f "$lib"; then if test "$search_ext" = ".la"; then found=yes else found=no fi break 2 fi done done if test "$found" != yes; then # deplib doesn't seem to be a libtool library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue else # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $deplib "*) if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then library_names= old_library= case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac for l in $old_library $library_names; do ll="$l" done if test "X$ll" = "X$old_library" ; then # only static version available found=no ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." lib=$ladir/$old_library if test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test "$linkmode" = lib && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi fi ;; # -l -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test "$pass" = conv && continue newdependency_libs="$deplib $newdependency_libs" newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; prog) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi if test "$pass" = scan; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'` ;; *) $echo "$modename: warning: \`-L' is ignored for archives/objects" 1>&2 ;; esac # linkmode continue ;; # -L -R*) if test "$pass" = link; then dir=`$echo "X$deplib" | $Xsed -e 's/^-R//'` # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) xrpath="$xrpath $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) lib="$deplib" ;; *.$libext) if test "$pass" = conv; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) valid_a_lib=no case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` if eval $echo \"$deplib\" 2>/dev/null \ | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=yes fi ;; pass_all) valid_a_lib=yes ;; esac if test "$valid_a_lib" != yes; then $echo $echo "*** Warning: Trying to link with static lib archive $deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because the file extensions .$libext of this argument makes me believe" $echo "*** that it is just a static archive that I should not used here." else $echo $echo "*** Warning: Linking the shared library $output against the" $echo "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" fi continue ;; prog) if test "$pass" != link; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test "$pass" = conv; then deplibs="$deplib $deplibs" elif test "$linkmode" = prog; then if test "$pass" = dlpreopen || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlopen support or we're linking statically, # we need to preload. newdlprefiles="$newdlprefiles $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else newdlfiles="$newdlfiles $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=yes continue ;; esac # case $deplib if test "$found" = yes || test -f "$lib"; then : else $echo "$modename: cannot find the library \`$lib' or unhandled argument \`$deplib'" 1>&2 exit $EXIT_FAILURE fi # Check to see that this really is a libtool archive. if (${SED} -e '2q' $lib | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi ladir=`$echo "X$lib" | $Xsed -e 's%/[^/]*$%%'` test "X$ladir" = "X$lib" && ladir="." dlname= dlopen= dlpreopen= libdir= library_names= old_library= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac if test "$linkmode,$pass" = "lib,link" || test "$linkmode,$pass" = "prog,scan" || { test "$linkmode" != prog && test "$linkmode" != lib; }; then test -n "$dlopen" && dlfiles="$dlfiles $dlopen" test -n "$dlpreopen" && dlprefiles="$dlprefiles $dlpreopen" fi if test "$pass" = conv; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit $EXIT_FAILURE fi # It is a libtool convenience library, so add in its objects. convenience="$convenience $ladir/$objdir/$old_library" old_convenience="$old_convenience $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done elif test "$linkmode" != prog && test "$linkmode" != lib; then $echo "$modename: \`$lib' is not a convenience library" 1>&2 exit $EXIT_FAILURE fi continue fi # $pass = conv # Get the name of the library we link against. linklib= for l in $old_library $library_names; do linklib="$l" done if test -z "$linklib"; then $echo "$modename: cannot find name of link library for \`$lib'" 1>&2 exit $EXIT_FAILURE fi # This library was specified with -dlopen. if test "$pass" = dlopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlopen a convenience library: \`$lib'" 1>&2 exit $EXIT_FAILURE fi if test -z "$dlname" || test "$dlopen_support" != yes || test "$build_libtool_libs" = no; then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. dlprefiles="$dlprefiles $lib $dependency_libs" else newdlfiles="$newdlfiles $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir="$ladir" ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$ladir'" 1>&2 $echo "$modename: passing it literally to the linker, although it might fail" 1>&2 abs_ladir="$ladir" fi ;; esac laname=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` # Find the relevant object directory and library name. if test "X$installed" = Xyes; then if test ! -f "$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then $echo "$modename: warning: library \`$lib' was moved." 1>&2 dir="$ladir" absdir="$abs_ladir" libdir="$abs_ladir" else dir="$libdir" absdir="$libdir" fi test "X$hardcode_automatic" = Xyes && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir="$ladir" absdir="$abs_ladir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" else dir="$ladir/$objdir" absdir="$abs_ladir/$objdir" # Remove this search path later notinst_path="$notinst_path $abs_ladir" fi fi # $installed = yes name=`$echo "X$laname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` # This library was specified with -dlpreopen. if test "$pass" = dlpreopen; then if test -z "$libdir"; then $echo "$modename: cannot -dlpreopen a convenience library: \`$lib'" 1>&2 exit $EXIT_FAILURE fi # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then newdlprefiles="$newdlprefiles $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then newdlprefiles="$newdlprefiles $dir/$dlname" else newdlprefiles="$newdlprefiles $dir/$linklib" fi fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test "$linkmode" = lib; then deplibs="$dir/$old_library $deplibs" elif test "$linkmode,$pass" = "prog,link"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test "$linkmode" = prog && test "$pass" != link; then newlib_search_path="$newlib_search_path $ladir" deplibs="$lib $deplibs" linkalldeplibs=no if test "$link_all_deplibs" != no || test -z "$library_names" || test "$build_libtool_libs" = no; then linkalldeplibs=yes fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) newlib_search_path="$newlib_search_path "`$echo "X$deplib" | $Xsed -e 's/^-L//'`;; ### testsuite: skip nested quoting test esac # Need to link against all dependency_libs? if test "$linkalldeplibs" = yes; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done # for deplib continue fi # $linkmode = prog... if test "$linkmode,$pass" = "prog,link"; then if test -n "$library_names" && { test "$prefer_static_libs" = no || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath" ; then # Make sure the rpath contains only unique directories. case "$temp_rpath " in *" $dir "*) ;; *" $absdir "*) ;; *) temp_rpath="$temp_rpath $absdir" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi # $linkmode,$pass = prog,link... if test "$alldeplibs" = yes && { test "$deplibs_check_method" = pass_all || { test "$build_libtool_libs" = yes && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test "$use_static_libs" = built && test "$installed" = yes ; then use_static_libs=no fi if test -n "$library_names" && { test "$use_static_libs" = no || test -z "$old_library"; }; then if test "$installed" = no; then notinst_deplibs="$notinst_deplibs $lib" need_relink=yes fi # This is a shared library # Warn about portability, can't link against -module's on # some systems (darwin) if test "$shouldnotlink" = yes && test "$pass" = link ; then $echo if test "$linkmode" = prog; then $echo "*** Warning: Linking the executable $output against the loadable module" else $echo "*** Warning: Linking the shared library $output against the loadable module" fi $echo "*** $linklib is not portable!" fi if test "$linkmode" = lib && test "$hardcode_into_libs" = yes; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) compile_rpath="$compile_rpath $absdir" esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names realname="$2" shift; shift libname=`eval \\$echo \"$libname_spec\"` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname="$dlname" elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw*) major=`expr $current - $age` versuffix="-$major" ;; esac eval soname=\"$soname_spec\" else soname="$realname" fi # Make a new name for the extract_expsyms_cmds to use soroot="$soname" soname=`$echo $soroot | ${SED} -e 's/^.*\///'` newlib="libimp-`$echo $soname | ${SED} 's/^lib//;s/\.dll$//'`.a" # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else $show "extracting exported symbol list from \`$soname'" save_ifs="$IFS"; IFS='~' cmds=$extract_expsyms_cmds for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else $show "generating import library for \`$soname'" save_ifs="$IFS"; IFS='~' cmds=$old_archive_from_expsyms_cmds for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test "$linkmode" = prog || test "$mode" != relink; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test "$hardcode_direct" = no; then add="$dir/$linklib" case $host in *-*-sco3.2v5.0.[024]*) add_dir="-L$dir" ;; *-*-sysv4*uw2*) add_dir="-L$dir" ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir="-L$dir" ;; *-*-darwin* ) # if the lib is a module then we can not link against # it, someone is ignoring the new warnings I added if /usr/bin/file -L $add 2> /dev/null | $EGREP ": [^:]* bundle" >/dev/null ; then $echo "** Warning, lib $linklib is a module, not a shared library" if test -z "$old_library" ; then $echo $echo "** And there doesn't seem to be a static archive available" $echo "** The link will probably fail, sorry" else add="$dir/$old_library" fi fi esac elif test "$hardcode_minus_L" = no; then case $host in *-*-sunos*) add_shlibpath="$dir" ;; esac add_dir="-L$dir" add="-l$name" elif test "$hardcode_shlibpath_var" = no; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; relink) if test "$hardcode_direct" = yes; then add="$dir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$dir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then add_shlibpath="$dir" add="-l$name" else lib_linked=no fi ;; *) lib_linked=no ;; esac if test "$lib_linked" != yes; then $echo "$modename: configuration error: unsupported hardcode properties" exit $EXIT_FAILURE fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) compile_shlibpath="$compile_shlibpath$add_shlibpath:" ;; esac fi if test "$linkmode" = prog; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test "$hardcode_direct" != yes && \ test "$hardcode_minus_L" != yes && \ test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac fi fi fi if test "$linkmode" = prog || test "$mode" = relink; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test "$hardcode_direct" = yes; then add="$libdir/$linklib" elif test "$hardcode_minus_L" = yes; then add_dir="-L$libdir" add="-l$name" elif test "$hardcode_shlibpath_var" = yes; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) finalize_shlibpath="$finalize_shlibpath$libdir:" ;; esac add="-l$name" elif test "$hardcode_automatic" = yes; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib" ; then add="$inst_prefix_dir$libdir/$linklib" else add="$libdir/$linklib" fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir="-L$libdir" # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) add_dir="$add_dir -L$inst_prefix_dir$libdir" ;; esac fi add="-l$name" fi if test "$linkmode" = prog; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test "$linkmode" = prog; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test "$hardcode_direct" != unsupported; then test -n "$old_library" && linklib="$old_library" compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test "$build_libtool_libs" = yes; then # Not a shared library if test "$deplibs_check_method" != pass_all; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. $echo $echo "*** Warning: This system can not link to static lib archive $lib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have." if test "$module" = yes; then $echo "*** But as you try to build a module library, libtool will still create " $echo "*** a static module, that should work as long as the dlopening application" $echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test "$linkmode" = lib; then if test -n "$dependency_libs" && { test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes || test "$link_static" = yes; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) temp_xrpath=`$echo "X$libdir" | $Xsed -e 's/^-R//'` case " $xrpath " in *" $temp_xrpath "*) ;; *) xrpath="$xrpath $temp_xrpath";; esac;; *) temp_deplibs="$temp_deplibs $libdir";; esac done dependency_libs="$temp_deplibs" fi newlib_search_path="$newlib_search_path $absdir" # Link against this library test "$link_static" = no && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" if test "X$duplicate_deps" = "Xyes" ; then case "$tmp_libs " in *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;; esac fi tmp_libs="$tmp_libs $deplib" done if test "$link_all_deplibs" != no; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do case $deplib in -L*) path="$deplib" ;; *.la) dir=`$echo "X$deplib" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$deplib" && dir="." # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir="$dir" ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then $echo "$modename: warning: cannot determine absolute directory name of \`$dir'" 1>&2 absdir="$dir" fi ;; esac if grep "^installed=no" $deplib > /dev/null; then path="$absdir/$objdir" else eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi if test "$absdir" != "$libdir"; then $echo "$modename: warning: \`$deplib' seems to be moved" 1>&2 fi path="$absdir" fi depdepl= case $host in *-*-darwin*) # we do not want to link against static libs, # but need to link against shared eval deplibrary_names=`${SED} -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names" ; then for tmp in $deplibrary_names ; do depdepl=$tmp done if test -f "$path/$depdepl" ; then depdepl="$path/$depdepl" fi # do not add paths which are already there case " $newlib_search_path " in *" $path "*) ;; *) newlib_search_path="$newlib_search_path $path";; esac fi path="" ;; *) path="-L$path" ;; esac ;; -l*) case $host in *-*-darwin*) # Again, we only want to link against shared libraries eval tmp_libs=`$echo "X$deplib" | $Xsed -e "s,^\-l,,"` for tmp in $newlib_search_path ; do if test -f "$tmp/lib$tmp_libs.dylib" ; then eval depdepl="$tmp/lib$tmp_libs.dylib" break fi done path="" ;; *) continue ;; esac ;; *) continue ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac case " $deplibs " in *" $depdepl "*) ;; *) deplibs="$depdepl $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs dependency_libs="$newdependency_libs" if test "$pass" = dlpreopen; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test "$pass" != dlopen; then if test "$pass" != conv; then # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) lib_search_path="$lib_search_path $dir" ;; esac done newlib_search_path= fi if test "$linkmode,$pass" != "prog,link"; then vars="deplibs" else vars="compile_deplibs finalize_deplibs" fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) tmp_libs="$tmp_libs $deplib" ;; esac ;; *) tmp_libs="$tmp_libs $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs ; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i="" ;; esac if test -n "$i" ; then tmp_libs="$tmp_libs $i" fi done dependency_libs=$tmp_libs done # for pass if test "$linkmode" = prog; then dlfiles="$newdlfiles" dlprefiles="$newdlprefiles" fi case $linkmode in oldlib) if test -n "$deplibs"; then $echo "$modename: warning: \`-l' and \`-L' are ignored for archives" 1>&2 fi if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for archives" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for archives" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for archives" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for archives" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for archives" 1>&2 fi if test -n "$export_symbols" || test -n "$export_symbols_regex"; then $echo "$modename: warning: \`-export-symbols' is ignored for archives" 1>&2 fi # Now set the variables for building old libraries. build_libtool_libs=no oldlibs="$output" objs="$objs$old_deplibs" ;; lib) # Make sure we only generate libraries of the form `libNAME.la'. case $outputname in lib*) name=`$echo "X$outputname" | $Xsed -e 's/\.la$//' -e 's/^lib//'` eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) if test "$module" = no; then $echo "$modename: libtool library \`$output' must begin with \`lib'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test "$need_lib_prefix" != no; then # Add the "lib" prefix for modules if required name=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else libname=`$echo "X$outputname" | $Xsed -e 's/\.la$//'` fi ;; esac if test -n "$objs"; then if test "$deplibs_check_method" != pass_all; then $echo "$modename: cannot build libtool library \`$output' from non-libtool objects on this host:$objs" 2>&1 exit $EXIT_FAILURE else $echo $echo "*** Warning: Linking the shared library $output against the non-libtool" $echo "*** objects $objs is not portable!" libobjs="$libobjs $objs" fi fi if test "$dlself" != no; then $echo "$modename: warning: \`-dlopen self' is ignored for libtool libraries" 1>&2 fi set dummy $rpath if test "$#" -gt 2; then $echo "$modename: warning: ignoring multiple \`-rpath's for a libtool library" 1>&2 fi install_libdir="$2" oldlibs= if test -z "$rpath"; then if test "$build_libtool_libs" = yes; then # Building a libtool convenience library. # Some compilers have problems with a `.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info/-version-number' is ignored for convenience libraries" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for convenience libraries" 1>&2 fi else # Parse the version information argument. save_ifs="$IFS"; IFS=':' set dummy $vinfo 0 0 0 IFS="$save_ifs" if test -n "$8"; then $echo "$modename: too many parameters to \`-version-info'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major="$2" number_minor="$3" number_revision="$4" # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # which has an extra 1 added just for fun # case $version_type in darwin|linux|osf|windows) current=`expr $number_major + $number_minor` age="$number_minor" revision="$number_revision" ;; freebsd-aout|freebsd-elf|sunos) current="$number_major" revision="$number_minor" age="0" ;; irix|nonstopux) current=`expr $number_major + $number_minor - 1` age="$number_minor" revision="$number_minor" ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE ;; esac ;; no) current="$2" revision="$3" age="$4" ;; esac # Check that each of the things are valid numbers. case $current in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: CURRENT \`$current' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: REVISION \`$revision' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) $echo "$modename: AGE \`$age' must be a nonnegative integer" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE ;; esac if test "$age" -gt "$current"; then $echo "$modename: AGE \`$age' is greater than the current interface number \`$current'" 1>&2 $echo "$modename: \`$vinfo' is not valid version information" 1>&2 exit $EXIT_FAILURE fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header major=.`expr $current - $age` versuffix="$major.$age.$revision" # Darwin ld doesn't like 0 for these options... minor_current=`expr $current + 1` verstring="${wl}-compatibility_version ${wl}$minor_current ${wl}-current_version ${wl}$minor_current.$revision" ;; freebsd-aout) major=".$current" versuffix=".$current.$revision"; ;; freebsd-elf) major=".$current" versuffix=".$current"; ;; irix | nonstopux) major=`expr $current - $age + 1` case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring="$verstring_prefix$major.$revision" # Add in all the interfaces that we are compatible with. loop=$revision while test "$loop" -ne 0; do iface=`expr $revision - $loop` loop=`expr $loop - 1` verstring="$verstring_prefix$major.$iface:$verstring" done # Before this point, $major must not contain `.'. major=.$major versuffix="$major.$revision" ;; linux) major=.`expr $current - $age` versuffix="$major.$age.$revision" ;; osf) major=.`expr $current - $age` versuffix=".$current.$age.$revision" verstring="$current.$age.$revision" # Add in all the interfaces that we are compatible with. loop=$age while test "$loop" -ne 0; do iface=`expr $current - $loop` loop=`expr $loop - 1` verstring="$verstring:${iface}.0" done # Make executables depend on our current version. verstring="$verstring:${current}.0" ;; sunos) major=".$current" versuffix=".$current.$revision" ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 filesystems. major=`expr $current - $age` versuffix="-$major" ;; *) $echo "$modename: unknown library version type \`$version_type'" 1>&2 $echo "Fatal configuration error. See the $PACKAGE docs for more information." 1>&2 exit $EXIT_FAILURE ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring="0.0" ;; esac if test "$need_version" = no; then versuffix= else versuffix=".0.0" fi fi # Remove version info from name if versioning should be avoided if test "$avoid_version" = yes && test "$need_version" = no; then major= versuffix= verstring="" fi # Check to see if the archive will have undefined symbols. if test "$allow_undefined" = yes; then if test "$allow_undefined_flag" = unsupported; then $echo "$modename: warning: undefined symbols not allowed in $host shared libraries" 1>&2 build_libtool_libs=no build_old_libs=yes fi else # Don't allow undefined symbols. allow_undefined_flag="$no_undefined_flag" fi fi if test "$mode" != relink; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$echo "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/${libname}${release}.*) if test "X$precious_files_regex" != "X"; then if echo $p | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi removelist="$removelist $p" ;; *) ;; esac done if test -n "$removelist"; then $show "${rm}r $removelist" $run ${rm}r $removelist fi fi # Now set the variables for building old libraries. if test "$build_old_libs" = yes && test "$build_libtool_libs" != convenience ; then oldlibs="$oldlibs $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}'$/d' -e "$lo2o" | $NL2SP` fi # Eliminate all temporary directories. for path in $notinst_path; do lib_search_path=`$echo "$lib_search_path " | ${SED} -e "s% $path % %g"` deplibs=`$echo "$deplibs " | ${SED} -e "s% -L$path % %g"` dependency_libs=`$echo "$dependency_libs " | ${SED} -e "s% -L$path % %g"` done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do temp_xrpath="$temp_xrpath -R$libdir" case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done if test "$hardcode_into_libs" != yes || test "$build_old_libs" = yes; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles="$dlfiles" dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) dlfiles="$dlfiles $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles="$dlprefiles" dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) dlprefiles="$dlprefiles $lib" ;; esac done if test "$build_libtool_libs" = yes; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework deplibs="$deplibs -framework System" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test "$build_libtool_need_lc" = "yes"; then deplibs="$deplibs -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release="" versuffix="" major="" newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $rm conftest.c cat > conftest.c </dev/null` for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null \ | grep " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib="$potent_lib" while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | ${SED} 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib="$potliblink";; *) potlib=`$echo "X$potlib" | $Xsed -e 's,[^/]*$,,'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$file_magic_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for file magic test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a file magic. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method match_pattern_regex=`expr "$deplibs_check_method" : "$2 \(.*\)"` for a_deplib in $deplibs; do name=`expr $a_deplib : '-l\(.*\)'` # If $name is empty we are operating on a -L argument. if test -n "$name" && test "$name" != "0"; then if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then case " $predeps $postdeps " in *" $a_deplib "*) newdeplibs="$newdeplibs $a_deplib" a_deplib="" ;; esac fi if test -n "$a_deplib" ; then libname=`eval \\$echo \"$libname_spec\"` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib="$potent_lib" # see symlink-check above in file_magic test if eval $echo \"$potent_lib\" 2>/dev/null \ | ${SED} 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then newdeplibs="$newdeplibs $a_deplib" a_deplib="" break 2 fi done done fi if test -n "$a_deplib" ; then droppeddeps=yes $echo $echo "*** Warning: linker path does not have real file for library $a_deplib." $echo "*** I have the capability to make that library automatically link in when" $echo "*** you link to this library. But I can only do this if you have a" $echo "*** shared version of the library, which you do not appear to have" $echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib" ; then $echo "*** with $libname but no candidates were found. (...for regex pattern test)" else $echo "*** with $libname and none of the candidates passed a file format test" $echo "*** using a regex pattern. Last file checked: $potlib" fi fi else # Add a -L argument. newdeplibs="$newdeplibs $a_deplib" fi done # Gone through all deplibs. ;; none | unknown | *) newdeplibs="" tmp_deplibs=`$echo "X $deplibs" | $Xsed -e 's/ -lc$//' \ -e 's/ -[LR][^ ]*//g'` if test "X$allow_libtool_libs_with_static_runtimes" = "Xyes" ; then for i in $predeps $postdeps ; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$echo "X $tmp_deplibs" | ${SED} -e "1s,^X,," -e "s,$i,,"` done fi if $echo "X $tmp_deplibs" | $Xsed -e 's/[ ]//g' \ | grep . >/dev/null; then $echo if test "X$deplibs_check_method" = "Xnone"; then $echo "*** Warning: inter-library dependencies are not supported in this platform." else $echo "*** Warning: inter-library dependencies are not known to be supported." fi $echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes fi ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework newdeplibs=`$echo "X $newdeplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac if test "$droppeddeps" = yes; then if test "$module" = yes; then $echo $echo "*** Warning: libtool could not satisfy all declared inter-library" $echo "*** dependencies of module $libname. Therefore, libtool will create" $echo "*** a static module, that should work as long as the dlopening" $echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then $echo $echo "*** However, this would only work if libtool was able to extract symbol" $echo "*** lists from a program, using \`nm' or equivalent, but libtool could" $echo "*** not find such a program. So, this module is probably useless." $echo "*** \`nm' from GNU binutils and a full rebuild may help." fi if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else $echo "*** The inter-library dependencies that have been dropped here will be" $echo "*** automatically added whenever a program is linked with this library" $echo "*** or is declared to -dlopen it." if test "$allow_undefined" = no; then $echo $echo "*** Since this library must not contain undefined symbols," $echo "*** because either the platform does not support them or" $echo "*** it was explicitly requested with -no-undefined," $echo "*** libtool will only create a static version of it." if test "$build_old_libs" = no; then oldlibs="$output_objdir/$libname.$libext" build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $deplibs " in *" -L$path/$objdir "*) new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$new_libs $deplib" ;; esac ;; *) new_libs="$new_libs $deplib" ;; esac done deplibs="$new_libs" # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test "$build_libtool_libs" = yes; then if test "$hardcode_into_libs" = yes; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath="$finalize_rpath" test "$mode" != relink && rpath="$compile_rpath$rpath" for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" dep_rpath="$dep_rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" if test -n "$hardcode_libdir_flag_spec_ld"; then eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\" else eval dep_rpath=\"$hardcode_libdir_flag_spec\" fi fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath="$finalize_shlibpath" test "$mode" != relink && shlibpath="$compile_shlibpath$shlibpath" if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names realname="$2" shift; shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname="$realname" fi if test -z "$dlname"; then dlname=$soname fi lib="$output_objdir/$realname" linknames= for link do linknames="$linknames $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$echo "X$libobjs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` # Prepare the list of exported symbols if test -z "$export_symbols"; then if test "$always_export_symbols" = yes || test -n "$export_symbols_regex"; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols cmds=$export_symbols_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" if len=`expr "X$cmd" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then $show "$cmd" $run eval "$cmd" || exit $? skipped_export=false else # The command line is too long to execute in one step. $show "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS="$save_ifs" if test -n "$export_symbols_regex"; then $show "$EGREP -e \"$export_symbols_regex\" \"$export_symbols\" > \"${export_symbols}T\"" $run eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' $show "$mv \"${export_symbols}T\" \"$export_symbols\"" $run eval '$mv "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then $run eval '$echo "X$include_expsyms" | $SP2NL >> "$export_symbols"' fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) tmp_deplibs="$tmp_deplibs $test_deplib" ;; esac done deplibs="$tmp_deplibs" if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" else gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $convenience libobjs="$libobjs $func_extract_archives_result" fi fi if test "$thread_safe" = yes && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" linker_flags="$linker_flags $flag" fi # Make a backup of the uninstalled library when relinking if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}U && $mv $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test "X$skipped_export" != "X:" && len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise. $echo "creating reloadable object files..." # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output output_la=`$echo "X$output" | $Xsed -e "$basename"` # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= delfiles= last_robj= k=1 output=$output_objdir/$output_la-${k}.$objext # Loop over the list of objects to be linked. for obj in $save_libobjs do eval test_cmds=\"$reload_cmds $objlist $last_robj\" if test "X$objlist" = X || { len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len"; }; then objlist="$objlist $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test "$k" -eq 1 ; then # The first file doesn't have a previous command to add. eval concat_cmds=\"$reload_cmds $objlist $last_robj\" else # All subsequent reloadable object files will link in # the last one created. eval concat_cmds=\"\$concat_cmds~$reload_cmds $objlist $last_robj\" fi last_robj=$output_objdir/$output_la-${k}.$objext k=`expr $k + 1` output=$output_objdir/$output_la-${k}.$objext objlist=$obj len=1 fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$reload_cmds $objlist $last_robj\" if ${skipped_export-false}; then $show "generating symbol list for \`$libname.la'" export_symbols="$output_objdir/$libname.exp" $run $rm $export_symbols libobjs=$output # Append the command to create the export file. eval concat_cmds=\"\$concat_cmds~$export_symbols_cmds\" fi # Set up a command to remove the reloadable object files # after they are used. i=0 while test "$i" -lt "$k" do i=`expr $i + 1` delfiles="$delfiles $output_objdir/$output_la-${i}.$objext" done $echo "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs="$IFS"; IFS='~' for cmd in $concat_cmds; do IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test "$module" = yes && test -n "$module_cmds" ; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi # Append the command to remove the reloadable object files # to the just-reset $cmds. eval cmds=\"\$cmds~\$rm $delfiles\" fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' fi exit $lt_exit } done IFS="$save_ifs" # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv $realname ${realname}T && $mv "$realname"U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then $show "${rm}r $gentop" $run ${rm}r "$gentop" fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then $show "(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)" $run eval '(cd $output_objdir && $rm $linkname && $LN_S $realname $linkname)' || exit $? fi done # If -module or -export-dynamic was specified, set the dlname. if test "$module" = yes || test "$export_dynamic" = yes; then # On all known operating systems, these are identical. dlname="$soname" fi fi ;; obj) if test -n "$deplibs"; then $echo "$modename: warning: \`-l' and \`-L' are ignored for objects" 1>&2 fi if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then $echo "$modename: warning: \`-dlopen' is ignored for objects" 1>&2 fi if test -n "$rpath"; then $echo "$modename: warning: \`-rpath' is ignored for objects" 1>&2 fi if test -n "$xrpath"; then $echo "$modename: warning: \`-R' is ignored for objects" 1>&2 fi if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for objects" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for objects" 1>&2 fi case $output in *.lo) if test -n "$objs$old_deplibs"; then $echo "$modename: cannot build library object \`$output' from non-libtool objects" 1>&2 exit $EXIT_FAILURE fi libobj="$output" obj=`$echo "X$output" | $Xsed -e "$lo2o"` ;; *) libobj= obj="$output" ;; esac # Delete the old objects. $run $rm $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # reload_cmds runs $LD directly, so let us get rid of # -Wl from whole_archive_flag_spec wl= if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval reload_conv_objs=\"\$reload_objs $whole_archive_flag_spec\" else gentop="$output_objdir/${obj}x" generated="$generated $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # Create the old-style object. reload_objs="$objs$old_deplibs "`$echo "X$libobjs" | $SP2NL | $Xsed -e '/\.'${libext}$'/d' -e '/\.lib$/d' -e "$lo2o" | $NL2SP`" $reload_conv_objs" ### testsuite: skip nested quoting test output="$obj" cmds=$reload_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit $EXIT_SUCCESS fi if test "$build_libtool_libs" != yes; then if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $run eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS fi if test -n "$pic_flag" || test "$pic_mode" != default; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output="$libobj" cmds=$reload_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" fi if test -n "$gentop"; then $show "${rm}r $gentop" $run ${rm}r $gentop fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) output=`$echo $output | ${SED} -e 's,.exe$,,;s,$,.exe,'` ;; esac if test -n "$vinfo"; then $echo "$modename: warning: \`-version-info' is ignored for programs" 1>&2 fi if test -n "$release"; then $echo "$modename: warning: \`-release' is ignored for programs" 1>&2 fi if test "$preload" = yes; then if test "$dlopen_support" = unknown && test "$dlopen_self" = unknown && test "$dlopen_self_static" = unknown; then $echo "$modename: warning: \`AC_LIBTOOL_DLOPEN' not used. Assuming no dlopen support." fi fi case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$echo "X $compile_deplibs" | $Xsed -e 's/ -lc / -framework System /'` finalize_deplibs=`$echo "X $finalize_deplibs" | $Xsed -e 's/ -lc / -framework System /'` ;; esac case $host in *darwin*) # Don't allow lazy linking, it breaks C++ global constructors if test "$tagname" = CXX ; then compile_command="$compile_command ${wl}-bind_at_load" finalize_command="$finalize_command ${wl}-bind_at_load" fi ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $compile_deplibs " in *" -L$path/$objdir "*) new_libs="$new_libs -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$new_libs $deplib" ;; esac ;; *) new_libs="$new_libs $deplib" ;; esac done compile_deplibs="$new_libs" compile_command="$compile_command $compile_deplibs" finalize_command="$finalize_command $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) finalize_rpath="$finalize_rpath $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) perm_rpath="$perm_rpath $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*) testbindir=`$echo "X$libdir" | $Xsed -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; *) dllsearchpath="$dllsearchpath:$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; *) dllsearchpath="$dllsearchpath:$testbindir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath="$rpath" rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs="$libdir" else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) hardcode_libdirs="$hardcode_libdirs$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" rpath="$rpath $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) finalize_perm_rpath="$finalize_perm_rpath $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir="$hardcode_libdirs" eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath="$rpath" if test -n "$libobjs" && test "$build_old_libs" = yes; then # Transform all the library objects into standard objects. compile_command=`$echo "X$compile_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` finalize_command=`$echo "X$finalize_command" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` fi dlsyms= if test -n "$dlfiles$dlprefiles" || test "$dlself" != no; then if test -n "$NM" && test -n "$global_symbol_pipe"; then dlsyms="${outputname}S.c" else $echo "$modename: not configured to extract global symbols from dlpreopened files" 1>&2 fi fi if test -n "$dlsyms"; then case $dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist="$output_objdir/${outputname}.nm" $show "$rm $nlist ${nlist}S ${nlist}T" $run $rm "$nlist" "${nlist}S" "${nlist}T" # Parse the name list into a source file. $show "creating $output_objdir/$dlsyms" test -z "$run" && $echo > "$output_objdir/$dlsyms" "\ /* $dlsyms - symbol resolution table for \`$outputname' dlsym emulation. */ /* Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP */ #ifdef __cplusplus extern \"C\" { #endif /* Prevent the only kind of declaration conflicts we can make. */ #define lt_preloaded_symbols some_other_symbol /* External symbol declarations for the compiler. */\ " if test "$dlself" = yes; then $show "generating symbol list for \`$output'" test -z "$run" && $echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$echo "X$objs$old_deplibs" | $SP2NL | $Xsed -e "$lo2o" | $NL2SP` for arg in $progfiles; do $show "extracting global C symbols from \`$arg'" $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $run eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi if test -n "$export_symbols_regex"; then $run eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' $run eval '$mv "$nlist"T "$nlist"' fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols="$output_objdir/$outputname.exp" $run $rm $export_symbols $run eval "${SED} -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* ) $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' $run eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; esac else $run eval "${SED} -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' $run eval 'grep -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' $run eval 'mv "$nlist"T "$nlist"' case $host in *cygwin* | *mingw* ) $run eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' $run eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; esac fi fi for arg in $dlprefiles; do $show "extracting global C symbols from \`$arg'" name=`$echo "$arg" | ${SED} -e 's%^.*/%%'` $run eval '$echo ": $name " >> "$nlist"' $run eval "$NM $arg | $global_symbol_pipe >> '$nlist'" done if test -z "$run"; then # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $mv "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if grep -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else grep -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$dlsyms"' else $echo '/* NONE */' >> "$output_objdir/$dlsyms" fi $echo >> "$output_objdir/$dlsyms" "\ #undef lt_preloaded_symbols #if defined (__STDC__) && __STDC__ # define lt_ptr void * #else # define lt_ptr char * # define const #endif /* The mapping between symbol names and symbols. */ " case $host in *cygwin* | *mingw* ) $echo >> "$output_objdir/$dlsyms" "\ /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs */ struct { " ;; * ) $echo >> "$output_objdir/$dlsyms" "\ const struct { " ;; esac $echo >> "$output_objdir/$dlsyms" "\ const char *name; lt_ptr address; } lt_preloaded_symbols[] = {\ " eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$dlsyms" $echo >> "$output_objdir/$dlsyms" "\ {0, (lt_ptr) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " fi pic_flag_for_symtable= case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND";; esac;; *-*-hpux*) case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag";; esac esac # Now compile the dynamic symbol file. $show "(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable \"$dlsyms\")" $run eval '(cd $output_objdir && $LTCC $LTCFLAGS -c$no_builtin_flag$pic_flag_for_symtable "$dlsyms")' || exit $? # Clean up the generated files. $show "$rm $output_objdir/$dlsyms $nlist ${nlist}S ${nlist}T" $run $rm "$output_objdir/$dlsyms" "$nlist" "${nlist}S" "${nlist}T" # Transform the symbol file into the correct name. case $host in *cygwin* | *mingw* ) if test -f "$output_objdir/${outputname}.def" ; then compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}.def $output_objdir/${outputname}S.${objext}%"` else compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` fi ;; * ) compile_command=`$echo "X$compile_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s%@SYMFILE@%$output_objdir/${outputname}S.${objext}%"` ;; esac ;; *) $echo "$modename: unknown suffix for \`$dlsyms'" 1>&2 exit $EXIT_FAILURE ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$echo "X$compile_command" | $Xsed -e "s% @SYMFILE@%%"` finalize_command=`$echo "X$finalize_command" | $Xsed -e "s% @SYMFILE@%%"` fi if test "$need_relink" = no || test "$build_libtool_libs" != yes; then # Replace the output file specification. compile_command=`$echo "X$compile_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` link_command="$compile_command$compile_rpath" # We have no uninstalled library dependencies, so finalize right now. $show "$link_command" $run eval "$link_command" exit_status=$? # Delete the generated files. if test -n "$dlsyms"; then $show "$rm $output_objdir/${outputname}S.${objext}" $run $rm "$output_objdir/${outputname}S.${objext}" fi exit $exit_status fi if test -n "$shlibpath_var"; then # We should set the shlibpath_var rpath= for dir in $temp_rpath; do case $dir in [\\/]* | [A-Za-z]:[\\/]*) # Absolute path. rpath="$rpath$dir:" ;; *) # Relative path: add a thisdir entry. rpath="$rpath\$thisdir/$dir:" ;; esac done temp_rpath="$rpath" fi if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do rpath="$rpath$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do rpath="$rpath$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test "$no_install" = yes; then # We don't need to create a wrapper script. link_command="$compile_var$compile_command$compile_rpath" # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $run $rm $output # Link the executable and exit $show "$link_command" $run eval "$link_command" || exit $? exit $EXIT_SUCCESS fi if test "$hardcode_action" = relink; then # Fast installation is not supported link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" $echo "$modename: warning: this platform does not like uninstalled shared libraries" 1>&2 $echo "$modename: \`$output' will be relinked during installation" 1>&2 else if test "$fast_install" != no; then link_command="$finalize_var$compile_command$finalize_rpath" if test "$fast_install" = yes; then relink_command=`$echo "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'` else # fast_install is set to needless relink_command= fi else link_command="$compile_var$compile_command$compile_rpath" relink_command="$finalize_var$finalize_command$finalize_rpath" fi fi # Replace the output file specification. link_command=`$echo "X$link_command" | $Xsed -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $run $rm $output $output_objdir/$outputname $output_objdir/lt-$outputname $show "$link_command" $run eval "$link_command" || exit $? # Now create the wrapper script. $show "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` fi # Quote $echo for shipping. if test "X$echo" = "X$SHELL $progpath --fallback-echo"; then case $progpath in [\\/]* | [A-Za-z]:[\\/]*) qecho="$SHELL $progpath --fallback-echo";; *) qecho="$SHELL `pwd`/$progpath --fallback-echo";; esac qecho=`$echo "X$qecho" | $Xsed -e "$sed_quote_subst"` else qecho=`$echo "X$echo" | $Xsed -e "$sed_quote_subst"` fi # Only actually do things if our run command is non-null. if test -z "$run"; then # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) output=`$echo $output|${SED} 's,.exe$,,'` ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe outputname=`$echo $outputname|${SED} 's,.exe$,,'` ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) output_name=`basename $output` output_path=`dirname $output` cwrappersource="$output_path/$objdir/lt-$output_name.c" cwrapper="$output_path/$output_name.exe" $rm $cwrappersource $cwrapper trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 cat > $cwrappersource <> $cwrappersource<<"EOF" #include #include #include #include #include #include #include #include #include #if defined(PATH_MAX) # define LT_PATHMAX PATH_MAX #elif defined(MAXPATHLEN) # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' #endif #if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ defined (__OS2__) # define HAVE_DOS_BASED_FILE_SYSTEM # ifndef DIR_SEPARATOR_2 # define DIR_SEPARATOR_2 '\\' # endif # ifndef PATH_SEPARATOR_2 # define PATH_SEPARATOR_2 ';' # endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #ifndef PATH_SEPARATOR_2 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) #else /* PATH_SEPARATOR_2 */ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free ((void *) stale); stale = 0; } \ } while (0) /* -DDEBUG is fairly common in CFLAGS. */ #undef DEBUG #if defined DEBUGWRAPPER # define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__) #else # define DEBUG(format, ...) #endif const char *program_name = NULL; void * xmalloc (size_t num); char * xstrdup (const char *string); const char * base_name (const char *name); char * find_executable(const char *wrapper); int check_executable(const char *path); char * strendzap(char *str, const char *pat); void lt_fatal (const char *message, ...); int main (int argc, char *argv[]) { char **newargz; int i; program_name = (char *) xstrdup (base_name (argv[0])); DEBUG("(main) argv[0] : %s\n",argv[0]); DEBUG("(main) program_name : %s\n",program_name); newargz = XMALLOC(char *, argc+2); EOF cat >> $cwrappersource <> $cwrappersource <<"EOF" newargz[1] = find_executable(argv[0]); if (newargz[1] == NULL) lt_fatal("Couldn't find %s", argv[0]); DEBUG("(main) found exe at : %s\n",newargz[1]); /* we know the script has the same name, without the .exe */ /* so make sure newargz[1] doesn't end in .exe */ strendzap(newargz[1],".exe"); for (i = 1; i < argc; i++) newargz[i+1] = xstrdup(argv[i]); newargz[argc+1] = NULL; for (i=0; i> $cwrappersource <> $cwrappersource <> $cwrappersource <<"EOF" return 127; } void * xmalloc (size_t num) { void * p = (void *) malloc (num); if (!p) lt_fatal ("Memory exhausted"); return p; } char * xstrdup (const char *string) { return string ? strcpy ((char *) xmalloc (strlen (string) + 1), string) : NULL ; } const char * base_name (const char *name) { const char *base; #if defined (HAVE_DOS_BASED_FILE_SYSTEM) /* Skip over the disk name in MSDOS pathnames. */ if (isalpha ((unsigned char)name[0]) && name[1] == ':') name += 2; #endif for (base = name; *name; name++) if (IS_DIR_SEPARATOR (*name)) base = name + 1; return base; } int check_executable(const char * path) { struct stat st; DEBUG("(check_executable) : %s\n", path ? (*path ? path : "EMPTY!") : "NULL!"); if ((!path) || (!*path)) return 0; if ((stat (path, &st) >= 0) && ( /* MinGW & native WIN32 do not support S_IXOTH or S_IXGRP */ #if defined (S_IXOTH) ((st.st_mode & S_IXOTH) == S_IXOTH) || #endif #if defined (S_IXGRP) ((st.st_mode & S_IXGRP) == S_IXGRP) || #endif ((st.st_mode & S_IXUSR) == S_IXUSR)) ) return 1; else return 0; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise */ char * find_executable (const char* wrapper) { int has_slash = 0; const char* p; const char* p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; int tmp_len; char* concat_name; DEBUG("(find_executable) : %s\n", wrapper ? (*wrapper ? wrapper : "EMPTY!") : "NULL!"); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined (HAVE_DOS_BASED_FILE_SYSTEM) if (isalpha ((unsigned char)wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } #if defined (HAVE_DOS_BASED_FILE_SYSTEM) } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char* path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char* q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR(*q)) break; p_len = q - p; p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); tmp_len = strlen(tmp); concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); } else { concat_name = XMALLOC(char, p_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, p, p_len); concat_name[p_len] = '/'; strcpy (concat_name + p_len + 1, wrapper); } if (check_executable(concat_name)) return concat_name; XFREE(concat_name); } } /* not found in PATH; assume curdir */ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal ("getcwd failed"); tmp_len = strlen(tmp); concat_name = XMALLOC(char, tmp_len + 1 + strlen(wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); if (check_executable(concat_name)) return concat_name; XFREE(concat_name); return NULL; } char * strendzap(char *str, const char *pat) { size_t len, patlen; assert(str != NULL); assert(pat != NULL); len = strlen(str); patlen = strlen(pat); if (patlen <= len) { str += len - patlen; if (strcmp(str, pat) == 0) *str = '\0'; } return str; } static void lt_error_core (int exit_status, const char * mode, const char * message, va_list ap) { fprintf (stderr, "%s: %s: ", program_name, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, "FATAL", message, ap); va_end (ap); } EOF # we should really use a build-platform specific compiler # here, but OTOH, the wrappers (shell script and this C one) # are only useful if you want to execute the "real" binary. # Since the "real" binary is built for $host, then this # wrapper might as well be built for $host, too. $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource ;; esac $rm $output trap "$rm $output; exit $EXIT_FAILURE" 1 2 15 $echo > $output "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='${SED} -e 1s/^X//' sed_quote_subst='$sed_quote_subst' # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variable: notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$echo are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then echo=\"$qecho\" file=\"\$0\" # Make sure echo works. if test \"X\$1\" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test \"X\`(\$echo '\t') 2>/dev/null\`\" = 'X\t'; then # Yippee, \$echo works! : else # Restart under the correct shell, and then maybe \$echo will work. exec $SHELL \"\$0\" --no-reexec \${1+\"\$@\"} fi fi\ " $echo >> $output "\ # Find the directory that this script lives in. thisdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$echo \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$echo \"X\$file\" | \$Xsed -e 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\` done # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test "$fast_install" = yes; then $echo >> $output "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || \\ { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $mkdir \"\$progdir\" else $rm \"\$progdir/\$file\" fi" $echo >> $output "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else $echo \"\$relink_command_output\" >&2 $rm \"\$progdir/\$file\" exit $EXIT_FAILURE fi fi $mv \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $rm \"\$progdir/\$program\"; $mv \"\$progdir/\$file\" \"\$progdir/\$program\"; } $rm \"\$progdir/\$file\" fi" else $echo >> $output "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $echo >> $output "\ if test -f \"\$progdir/\$program\"; then" # Export our shlibpath_var if we have one. if test "$shlibpath_overrides_runpath" = yes && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $echo >> $output "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$echo \"X\$$shlibpath_var\" | \$Xsed -e 's/::*\$//'\` export $shlibpath_var " fi # fixup the dll searchpath if we need to. if test -n "$dllsearchpath"; then $echo >> $output "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi $echo >> $output "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2*) $echo >> $output "\ exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $echo >> $output "\ exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $echo >> $output "\ \$echo \"\$0: cannot exec \$program \${1+\"\$@\"}\" exit $EXIT_FAILURE fi else # The program doesn't exist. \$echo \"\$0: error: \\\`\$progdir/\$program' does not exist\" 1>&2 \$echo \"This script is just a wrapper for \$program.\" 1>&2 $echo \"See the $PACKAGE documentation for more information.\" 1>&2 exit $EXIT_FAILURE fi fi\ " chmod +x $output fi exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do if test "$build_libtool_libs" = convenience; then oldobjs="$libobjs_save" addlibs="$convenience" build_libtool_libs=no else if test "$build_libtool_libs" = module; then oldobjs="$libobjs_save" build_libtool_libs=no else oldobjs="$old_deplibs $non_pic_objects" fi addlibs="$old_convenience" fi if test -n "$addlibs"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" func_extract_archives $gentop $addlibs oldobjs="$oldobjs $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test "$build_libtool_libs" = yes; then cmds=$old_archive_from_new_cmds else # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do $echo "X$obj" | $Xsed -e 's%^.*/%%' done | sort | sort -uc >/dev/null 2>&1); then : else $echo "copying selected object files to avoid basename conflicts..." if test -z "$gentop"; then gentop="$output_objdir/${outputname}x" generated="$generated $gentop" $show "${rm}r $gentop" $run ${rm}r "$gentop" $show "$mkdir $gentop" $run $mkdir "$gentop" exit_status=$? if test "$exit_status" -ne 0 && test ! -d "$gentop"; then exit $exit_status fi fi save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do objbase=`$echo "X$obj" | $Xsed -e 's%^.*/%%'` case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase counter=`expr $counter + 1` case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done $show "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" $run ln "$obj" "$gentop/$newobj" || $run cp "$obj" "$gentop/$newobj" oldobjs="$oldobjs $gentop/$newobj" ;; *) oldobjs="$oldobjs $obj" ;; esac done fi eval cmds=\"$old_archive_cmds\" if len=`expr "X$cmds" : ".*"` && test "$len" -le "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts $echo "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done for obj in $save_oldobjs do oldobjs="$objlist $obj" objlist="$objlist $obj" eval test_cmds=\"$old_archive_cmds\" if len=`expr "X$test_cmds" : ".*" 2>/dev/null` && test "$len" -le "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj" ; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\${concat_cmds}$old_archive_cmds\" objlist= fi done RANLIB=$save_RANLIB oldobjs=$objlist if test "X$oldobjs" = "X" ; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi save_ifs="$IFS"; IFS='~' for cmd in $cmds; do eval cmd=\"$cmd\" IFS="$save_ifs" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$generated"; then $show "${rm}r$generated" $run ${rm}r$generated fi # Now create the libtool archive. case $output in *.la) old_library= test "$build_old_libs" = yes && old_library="$libname.$libext" $show "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else var_value=`$echo "X$var_value" | $Xsed -e "$sed_quote_subst"` relink_command="$var=\"$var_value\"; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL $progpath $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$echo "X$relink_command" | $Xsed -e "$sed_quote_subst"` if test "$hardcode_automatic" = yes ; then relink_command= fi # Only create the output if not a dry run. if test -z "$run"; then for installed in no yes; do if test "$installed" = yes; then if test -z "$install_libdir"; then break fi output="$output_objdir/$outputname"i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) name=`$echo "X$deplib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` if test -z "$libdir"; then $echo "$modename: \`$deplib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdependency_libs="$newdependency_libs $libdir/$name" ;; *) newdependency_libs="$newdependency_libs $deplib" ;; esac done dependency_libs="$newdependency_libs" newdlfiles= for lib in $dlfiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdlfiles="$newdlfiles $libdir/$name" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do name=`$echo "X$lib" | $Xsed -e 's%^.*/%%'` eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $lib` if test -z "$libdir"; then $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 exit $EXIT_FAILURE fi newdlprefiles="$newdlprefiles $libdir/$name" done dlprefiles="$newdlprefiles" else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlfiles="$newdlfiles $abs" done dlfiles="$newdlfiles" newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs="$lib" ;; *) abs=`pwd`"/$lib" ;; esac newdlprefiles="$newdlprefiles $abs" done dlprefiles="$newdlprefiles" fi $rm $output # place dlname in correct position for cygwin tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll) tdlname=../bin/$dlname ;; esac $echo > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM - GNU $PACKAGE $VERSION$TIMESTAMP # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test "$installed" = no && test "$need_relink" = yes; then $echo >> $output "\ relink_command=\"$relink_command\"" fi done fi # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. $show "(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)" $run eval '(cd $output_objdir && $rm $outputname && $LN_S ../$outputname $outputname)' || exit $? ;; esac exit $EXIT_SUCCESS ;; # libtool install mode install) modename="$modename: install" # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$nonopt" = "$SHELL" || test "$nonopt" = /bin/sh || # Allow the use of GNU shtool's install command. $echo "X$nonopt" | grep shtool > /dev/null; then # Aesthetically quote it. arg=`$echo "X$nonopt" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$arg " arg="$1" shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$install_prog$arg" # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=no stripme= for arg do if test -n "$dest"; then files="$files $dest" dest=$arg continue fi case $arg in -d) isdir=yes ;; -f) case " $install_prog " in *[\\\ /]cp\ *) ;; *) prev=$arg ;; esac ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"` case $arg in *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") arg="\"$arg\"" ;; esac install_prog="$install_prog $arg" done if test -z "$install_prog"; then $echo "$modename: you must specify an install program" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test -n "$prev"; then $echo "$modename: the \`$prev' option requires an argument" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi if test -z "$files"; then if test -z "$dest"; then $echo "$modename: no file or destination specified" 1>&2 else $echo "$modename: you must specify a destination" 1>&2 fi $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Strip any trailing slash from the destination. dest=`$echo "X$dest" | $Xsed -e 's%/$%%'` # Check to see that the destination is a directory. test -d "$dest" && isdir=yes if test "$isdir" = yes; then destdir="$dest" destname= else destdir=`$echo "X$dest" | $Xsed -e 's%/[^/]*$%%'` test "X$destdir" = "X$dest" && destdir=. destname=`$echo "X$dest" | $Xsed -e 's%^.*/%%'` # Not a directory, so check to see that there is only one file specified. set dummy $files if test "$#" -gt 2; then $echo "$modename: \`$dest' is not a directory" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) $echo "$modename: \`$destdir' must be an absolute directory name" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. staticlibs="$staticlibs $file" ;; *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$file' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi library_names= old_library= relink_command= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) current_libdirs="$current_libdirs $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) future_libdirs="$future_libdirs $libdir" ;; esac fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'`/ test "X$dir" = "X$file/" && dir= dir="$dir$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$echo "$destdir" | $SED "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. if test "$inst_prefix_dir" = "$destdir"; then $echo "$modename: error: cannot install \`$file' to a directory not ending in $libdir" 1>&2 exit $EXIT_FAILURE fi if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$echo "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi $echo "$modename: warning: relinking \`$file'" 1>&2 $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 exit $EXIT_FAILURE fi fi # See the names of the shared library. set dummy $library_names if test -n "$2"; then realname="$2" shift shift srcname="$realname" test -n "$relink_command" && srcname="$realname"T # Install the shared library and build the symlinks. $show "$install_prog $dir/$srcname $destdir/$realname" $run eval "$install_prog $dir/$srcname $destdir/$realname" || exit $? if test -n "$stripme" && test -n "$striplib"; then $show "$striplib $destdir/$realname" $run eval "$striplib $destdir/$realname" || exit $? fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try `ln -sf' first, because the `ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do if test "$linkname" != "$realname"; then $show "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" $run eval "(cd $destdir && { $LN_S -f $realname $linkname || { $rm $linkname && $LN_S $realname $linkname; }; })" fi done fi # Do each command in the postinstall commands. lib="$destdir/$realname" cmds=$postinstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test "$mode" = relink; then $run eval '(cd $output_objdir && $rm ${realname}T && $mv ${realname}U $realname)' fi exit $lt_exit } done IFS="$save_ifs" fi # Install the pseudo-library for information purposes. name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` instname="$dir/$name"i $show "$install_prog $instname $destdir/$name" $run eval "$install_prog $instname $destdir/$name" || exit $? # Maybe install the static library, too. test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) staticdest=`$echo "X$destfile" | $Xsed -e "$lo2o"` ;; *.$objext) staticdest="$destfile" destfile= ;; *) $echo "$modename: cannot copy a libtool object to \`$destfile'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac # Install the libtool object if requested. if test -n "$destfile"; then $show "$install_prog $file $destfile" $run eval "$install_prog $file $destfile" || exit $? fi # Install the old object if enabled. if test "$build_old_libs" = yes; then # Deduce the name of the old-style object file. staticobj=`$echo "X$file" | $Xsed -e "$lo2o"` $show "$install_prog $staticobj $staticdest" $run eval "$install_prog \$staticobj \$staticdest" || exit $? fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile="$destdir/$destname" else destfile=`$echo "X$file" | $Xsed -e 's%^.*/%%'` destfile="$destdir/$destfile" fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext="" case $file in *.exe) if test ! -f "$file"; then file=`$echo $file|${SED} 's,.exe$,,'` stripped_ext=".exe" fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin*|*mingw*) wrapper=`$echo $file | ${SED} -e 's,.exe$,,'` ;; *) wrapper=$file ;; esac if (${SED} -e '4q' $wrapper | grep "^# Generated by .*$PACKAGE")>/dev/null 2>&1; then notinst_deplibs= relink_command= # Note that it is not necessary on cygwin/mingw to append a dot to # foo even if both foo and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. # # If there is no directory component, then add one. case $wrapper in */* | *\\*) . ${wrapper} ;; *) . ./${wrapper} ;; esac # Check the variables that should have been set. if test -z "$notinst_deplibs"; then $echo "$modename: invalid libtool wrapper script \`$wrapper'" 1>&2 exit $EXIT_FAILURE fi finalize=yes for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then # If there is no directory component, then add one. case $lib in */* | *\\*) . $lib ;; *) . ./$lib ;; esac fi libfile="$libdir/"`$echo "X$lib" | $Xsed -e 's%^.*/%%g'` ### testsuite: skip nested quoting test if test -n "$libdir" && test ! -f "$libfile"; then $echo "$modename: warning: \`$lib' has not been installed in \`$libdir'" 1>&2 finalize=no fi done relink_command= # Note that it is not necessary on cygwin/mingw to append a dot to # foo even if both foo and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # `FILE.' does not work on cygwin managed mounts. # # If there is no directory component, then add one. case $wrapper in */* | *\\*) . ${wrapper} ;; *) . ./${wrapper} ;; esac outputname= if test "$fast_install" = no && test -n "$relink_command"; then if test "$finalize" = yes && test -z "$run"; then tmpdir=`func_mktempdir` file=`$echo "X$file$stripped_ext" | $Xsed -e 's%^.*/%%'` outputname="$tmpdir/$file" # Replace the output file specification. relink_command=`$echo "X$relink_command" | $Xsed -e 's%@OUTPUT@%'"$outputname"'%g'` $show "$relink_command" if $run eval "$relink_command"; then : else $echo "$modename: error: relink \`$file' with the above command before installing it" 1>&2 ${rm}r "$tmpdir" continue fi file="$outputname" else $echo "$modename: warning: cannot relink \`$file'" 1>&2 fi else # Install the binary that we compiled earlier. file=`$echo "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) destfile=`$echo $destfile | ${SED} -e 's,.exe$,,'` ;; esac ;; esac $show "$install_prog$stripme $file $destfile" $run eval "$install_prog\$stripme \$file \$destfile" || exit $? test -n "$outputname" && ${rm}r "$tmpdir" ;; esac done for file in $staticlibs; do name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` # Set up the ranlib parameters. oldlib="$destdir/$name" $show "$install_prog $file $oldlib" $run eval "$install_prog \$file \$oldlib" || exit $? if test -n "$stripme" && test -n "$old_striplib"; then $show "$old_striplib $oldlib" $run eval "$old_striplib $oldlib" || exit $? fi # Do each command in the postinstall commands. cmds=$old_postinstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || exit $? done IFS="$save_ifs" done if test -n "$future_libdirs"; then $echo "$modename: warning: remember to run \`$progname --finish$future_libdirs'" 1>&2 fi if test -n "$current_libdirs"; then # Maybe just do a dry run. test -n "$run" && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL $progpath $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi ;; # libtool finish mode finish) modename="$modename: finish" libdirs="$nonopt" admincmds= if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for dir do libdirs="$libdirs $dir" done for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. cmds=$finish_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" || admincmds="$admincmds $cmd" done IFS="$save_ifs" fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $run eval "$cmds" || admincmds="$admincmds $cmds" fi done fi # Exit here if they wanted silent mode. test "$show" = : && exit $EXIT_SUCCESS $echo "X----------------------------------------------------------------------" | $Xsed $echo "Libraries have been installed in:" for libdir in $libdirs; do $echo " $libdir" done $echo $echo "If you ever happen to want to link against installed libraries" $echo "in a given directory, LIBDIR, you must either use libtool, and" $echo "specify the full pathname of the library, or use the \`-LLIBDIR'" $echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then $echo " - add LIBDIR to the \`$shlibpath_var' environment variable" $echo " during execution" fi if test -n "$runpath_var"; then $echo " - add LIBDIR to the \`$runpath_var' environment variable" $echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $echo " - use the \`$flag' linker flag" fi if test -n "$admincmds"; then $echo " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'" fi $echo $echo "See any operating system documentation about shared libraries for" $echo "more information, such as the ld(1) and ld.so(8) manual pages." $echo "X----------------------------------------------------------------------" | $Xsed exit $EXIT_SUCCESS ;; # libtool execute mode execute) modename="$modename: execute" # The first argument is the command name. cmd="$nonopt" if test -z "$cmd"; then $echo "$modename: you must specify a COMMAND" 1>&2 $echo "$help" exit $EXIT_FAILURE fi # Handle -dlopen flags immediately. for file in $execute_dlfiles; do if test ! -f "$file"; then $echo "$modename: \`$file' is not a file" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi dir= case $file in *.la) # Check to see that this really is a libtool archive. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then : else $echo "$modename: \`$lib' is not a valid libtool archive" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi # Read the libtool library. dlname= library_names= # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && $echo "$modename: warning: \`$file' was not linked with \`-export-dynamic'" continue fi dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. if test -f "$dir/$objdir/$dlname"; then dir="$dir/$objdir" else $echo "$modename: cannot find \`$dlname' in \`$dir' or \`$dir/$objdir'" 1>&2 exit $EXIT_FAILURE fi ;; *.lo) # Just add the directory containing the .lo file. dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` test "X$dir" = "X$file" && dir=. ;; *) $echo "$modename: warning \`-dlopen' is ignored for non-libtool libraries and objects" 1>&2 continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir="$absdir" # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic="$magic" # Check if any of the arguments is a wrapper script. args= for file do case $file in -*) ;; *) # Do a test to see if this is really a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # If there is no directory component, then add one. case $file in */* | *\\*) . $file ;; *) . ./$file ;; esac # Transform arg to wrapped name. file="$progdir/$program" fi ;; esac # Quote arguments (to preserve shell metacharacters). file=`$echo "X$file" | $Xsed -e "$sed_quote_subst"` args="$args \"$file\"" done if test -z "$run"; then if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables if test "${save_LC_ALL+set}" = set; then LC_ALL="$save_LC_ALL"; export LC_ALL fi if test "${save_LANG+set}" = set; then LANG="$save_LANG"; export LANG fi # Now prepare to actually exec the command. exec_cmd="\$cmd$args" else # Display what would be done. if test -n "$shlibpath_var"; then eval "\$echo \"\$shlibpath_var=\$$shlibpath_var\"" $echo "export $shlibpath_var" fi $echo "$cmd$args" exit $EXIT_SUCCESS fi ;; # libtool clean and uninstall mode clean | uninstall) modename="$modename: $mode" rm="$nonopt" files= rmforce= exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic="$magic" for arg do case $arg in -f) rm="$rm $arg"; rmforce=yes ;; -*) rm="$rm $arg" ;; *) files="$files $arg" ;; esac done if test -z "$rm"; then $echo "$modename: you must specify an RM program" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE fi rmdirs= origobjdir="$objdir" for file in $files; do dir=`$echo "X$file" | $Xsed -e 's%/[^/]*$%%'` if test "X$dir" = "X$file"; then dir=. objdir="$origobjdir" else objdir="$dir/$origobjdir" fi name=`$echo "X$file" | $Xsed -e 's%^.*/%%'` test "$mode" = uninstall && objdir="$dir" # Remember objdir for removal later, being careful to avoid duplicates if test "$mode" = clean; then case " $rmdirs " in *" $objdir "*) ;; *) rmdirs="$rmdirs $objdir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if (test -L "$file") >/dev/null 2>&1 \ || (test -h "$file") >/dev/null 2>&1 \ || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif test "$rmforce" = yes; then continue fi rmfiles="$file" case $name in *.la) # Possibly a libtool archive, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then . $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do rmfiles="$rmfiles $objdir/$n" done test -n "$old_library" && rmfiles="$rmfiles $objdir/$old_library" case "$mode" in clean) case " $library_names " in # " " in the beginning catches empty $dlname *" $dlname "*) ;; *) rmfiles="$rmfiles $objdir/$dlname" ;; esac test -n "$libdir" && rmfiles="$rmfiles $objdir/$name $objdir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. cmds=$postuninstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. cmds=$old_postuninstall_cmds save_ifs="$IFS"; IFS='~' for cmd in $cmds; do IFS="$save_ifs" eval cmd=\"$cmd\" $show "$cmd" $run eval "$cmd" if test "$?" -ne 0 && test "$rmforce" != yes; then exit_status=1 fi done IFS="$save_ifs" fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if (${SED} -e '2q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then # Read the .lo file . $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" \ && test "$pic_object" != none; then rmfiles="$rmfiles $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" \ && test "$non_pic_object" != none; then rmfiles="$rmfiles $dir/$non_pic_object" fi fi ;; *) if test "$mode" = clean ; then noexename=$name case $file in *.exe) file=`$echo $file|${SED} 's,.exe$,,'` noexename=`$echo $name|${SED} 's,.exe$,,'` # $file with .exe has already been added to rmfiles, # add $file without .exe rmfiles="$rmfiles $file" ;; esac # Do a test to see if this is a libtool program. if (${SED} -e '4q' $file | grep "^# Generated by .*$PACKAGE") >/dev/null 2>&1; then relink_command= . $dir/$noexename # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles rmfiles="$rmfiles $objdir/$name $objdir/${name}S.${objext}" if test "$fast_install" = yes && test -n "$relink_command"; then rmfiles="$rmfiles $objdir/lt-$name" fi if test "X$noexename" != "X$name" ; then rmfiles="$rmfiles $objdir/lt-${noexename}.c" fi fi fi ;; esac $show "$rm $rmfiles" $run $rm $rmfiles || exit_status=1 done objdir="$origobjdir" # Try to remove the ${objdir}s in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then $show "rmdir $dir" $run rmdir $dir >/dev/null 2>&1 fi done exit $exit_status ;; "") $echo "$modename: you must specify a MODE" 1>&2 $echo "$generic_help" 1>&2 exit $EXIT_FAILURE ;; esac if test -z "$exec_cmd"; then $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$generic_help" 1>&2 exit $EXIT_FAILURE fi fi # test -z "$show_help" if test -n "$exec_cmd"; then eval exec $exec_cmd exit $EXIT_FAILURE fi # We need to display help for each of the modes. case $mode in "") $echo \ "Usage: $modename [OPTION]... [MODE-ARG]... Provide generalized library-building support services. --config show all configuration variables --debug enable verbose shell tracing -n, --dry-run display commands without modifying any files --features display basic configuration information and exit --finish same as \`--mode=finish' --help display this help message and exit --mode=MODE use operation mode MODE [default=inferred from MODE-ARGS] --quiet same as \`--silent' --silent don't print informational messages --tag=TAG use configuration variables from tag TAG --version print version information MODE must be one of the following: clean remove files from the build directory compile compile a source file into a libtool object execute automatically set library path, then run a program finish complete the installation of libtool libraries install install libraries or executables link create a library or an executable uninstall remove libraries from an installed directory MODE-ARGS vary depending on the MODE. Try \`$modename --help --mode=MODE' for a more detailed description of MODE. Report bugs to ." exit $EXIT_SUCCESS ;; clean) $echo \ "Usage: $modename [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $echo \ "Usage: $modename [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -prefer-pic try to building PIC objects only -prefer-non-pic try to building non-PIC objects only -static always build a \`.o' file suitable for static linking COMPILE-COMMAND is a command to be used in creating a \`standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix \`.c' with the library object suffix, \`.lo'." ;; execute) $echo \ "Usage: $modename [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to \`-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $echo \ "Usage: $modename [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the \`--dry-run' option if you just want to see what would be executed." ;; install) $echo \ "Usage: $modename [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the \`install' or \`cp' program. The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $echo \ "Usage: $modename [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE Use a list of object files found in FILE to specify objects -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -static do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] All other options (arguments beginning with \`-') are ignored. Every other argument is treated as a filename. Files ending in \`.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in \`.la', then a libtool library is created, only library objects (\`.lo' files) may be specified, and \`-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created using \`ar' and \`ranlib', or on Windows using \`lib'. If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $echo \ "Usage: $modename [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically \`/bin/rm'). RM-OPTIONS are options (such as \`-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) $echo "$modename: invalid operation mode \`$mode'" 1>&2 $echo "$help" 1>&2 exit $EXIT_FAILURE ;; esac $echo $echo "Try \`$modename --help' for more information about other modes." exit $? # The TAGs below are defined such that we never get into a situation # in which we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared disable_libs=shared # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static disable_libs=static # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: libmimedir-0.4.2/AUTHORS0000644000175000017500000000005710603540671011627 00000000000000Sebastian Rittau libmimedir-0.4.2/config.h.in0000644000175000017500000000555010654703050012603 00000000000000/* config.h.in. Generated from configure.in by autoheader. */ /* always defined to indicate that i18n is enabled */ #undef ENABLE_NLS /* Package name to be used by gettext. */ #undef GETTEXT_PACKAGE /* Define to 1 if you have the `bind_textdomain_codeset' function. */ #undef HAVE_BIND_TEXTDOMAIN_CODESET /* Define to 1 if you have the `dcgettext' function. */ #undef HAVE_DCGETTEXT /* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. */ #undef HAVE_DECL_TZNAME /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define if the GNU gettext() function is already present or preinstalled. */ #undef HAVE_GETTEXT /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Define if your file defines LC_MESSAGES. */ #undef HAVE_LC_MESSAGES /* Define to 1 if you have the header file. */ #undef HAVE_LOCALE_H /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Define to 1 if `tm_zone' is member of `struct tm'. */ #undef HAVE_STRUCT_TM_TM_ZONE /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use `HAVE_STRUCT_TM_TM_ZONE' instead. */ #undef HAVE_TM_ZONE /* Define to 1 if you don't have `tm_zone' but do have the external array `tzname'. */ #undef HAVE_TZNAME /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Define to 1 if you can safely include both and . */ #undef TIME_WITH_SYS_TIME /* Define to 1 if your declares `struct tm'. */ #undef TM_IN_SYS_TIME /* Version number of package */ #undef VERSION /* Define to empty if `const' does not conform to ANSI C. */ #undef const /* Define to `__inline__' or `__inline' if that's what the C compiler calls it, or to nothing if 'inline' is not supported under any name. */ #ifndef __cplusplus #undef inline #endif libmimedir-0.4.2/INSTALL0000644000175000017500000002243210654703052011611 00000000000000Installation Instructions ************************* Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc. This file is free documentation; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. Basic Installation ================== These are generic installation instructions. The `configure' shell script attempts to guess correct values for various system-dependent variables used during compilation. It uses those values to create a `Makefile' in each directory of the package. It may also create one or more `.h' files containing system-dependent definitions. Finally, it creates a shell script `config.status' that you can run in the future to recreate the current configuration, and a file `config.log' containing compiler output (useful mainly for debugging `configure'). It can also use an optional file (typically called `config.cache' and enabled with `--cache-file=config.cache' or simply `-C') that saves the results of its tests to speed up reconfiguring. (Caching is disabled by default to prevent problems with accidental use of stale cache files.) If you need to do unusual things to compile the package, please try to figure out how `configure' could check whether to do them, and mail diffs or instructions to the address given in the `README' so they can be considered for the next release. If you are using the cache, and at some point `config.cache' contains results you don't want to keep, you may remove or edit it. The file `configure.ac' (or `configure.in') is used to create `configure' by a program called `autoconf'. You only need `configure.ac' if you want to change it or regenerate `configure' using a newer version of `autoconf'. The simplest way to compile this package is: 1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for. 2. Type `make' to compile the package. 3. Optionally, type `make check' to run any self-tests that come with the package. 4. Type `make install' to install the programs and any data files and documentation. 5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution. Compilers and Options ===================== Some systems require unusual options for compilation or linking that the `configure' script does not know about. Run `./configure --help' for details on some of the pertinent environment variables. You can give `configure' initial values for configuration parameters by setting variables in the command line or in the environment. Here is an example: ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix *Note Defining Variables::, for more details. Compiling For Multiple Architectures ==================================== You can compile the package for more than one kind of computer at the same time, by placing the object files for each architecture in their own directory. To do this, you must use a version of `make' that supports the `VPATH' variable, such as GNU `make'. `cd' to the directory where you want the object files and executables to go and run the `configure' script. `configure' automatically checks for the source code in the directory that `configure' is in and in `..'. If you have to use a `make' that does not support the `VPATH' variable, you have to compile the package for one architecture at a time in the source code directory. After you have installed the package for one architecture, use `make distclean' before reconfiguring for another architecture. Installation Names ================== By default, `make install' 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. libmimedir-0.4.2/bin/0000777000175000017500000000000010654704037011415 500000000000000libmimedir-0.4.2/bin/Makefile.am0000644000175000017500000000055010603540662013361 00000000000000# $Id: Makefile.am,v 1.4 2002/08/24 17:06:05 srittau Exp $ bin_PROGRAMS = ical-dump vcard-dump vcard-normalize INCLUDES = -I$(top_srcdir) $(GLIB_CFLAGS) -DGLOCALEDIR=\"$(datadir)/locale\" LDADD = $(top_builddir)/mimedir/libmimedir.la $(GLIB_LIBS) ical_dump_SOURCES = ical-dump.c vcard_dump_SOURCES = vcard-dump.c vcard_normalize_SOURCES = vcard-normalize.c libmimedir-0.4.2/bin/ical-dump.c0000644000175000017500000001525610603540662013355 00000000000000/* Dump an iCalendar file * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: ical-dump.c 213 2005-09-01 15:36:27Z srittau $ * * 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 */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #include #include #include #include #include #ifndef _ #define _(x) dgettext(GETTEXT_PACKAGE, (x)) #endif static void usage (const char *program_name) { fprintf (stderr, _("Usage: %s ICALFILE\n"), program_name); } static const gchar * frequency_to_string (MIMEDirRecurrenceFrequency freq) { switch (freq) { case RECURRENCE_SECONDLY: return _("secondly"); case RECURRENCE_MINUTELY: return _("minutely"); case RECURRENCE_HOURLY: return _("hourly"); case RECURRENCE_DAILY: return _("daily"); case RECURRENCE_WEEKLY: return _("weekly"); case RECURRENCE_MONTHLY: return _("monthly"); case RECURRENCE_YEARLY: return _("yearly"); default: return _("unknown"); } } static const gchar * unit_to_string (MIMEDirRecurrenceUnit unit) { switch (unit) { case RECURRENCE_UNIT_SECOND: return _("second"); case RECURRENCE_UNIT_MINUTE: return _("minute"); case RECURRENCE_UNIT_HOUR: return _("hour"); case RECURRENCE_UNIT_DAY: return _("day"); case RECURRENCE_UNIT_MONTHDAY: return _("day of month"); case RECURRENCE_UNIT_YEARDAY: return _("day of year"); case RECURRENCE_UNIT_WEEKNO: return _("week number"); case RECURRENCE_UNIT_MONTH: return _("month"); default: return _("unknown"); } } static void print_recurrence (MIMEDirRecurrence *recur) { gchar *units; guint freq, count, interval, unit; MIMEDirDateTime *until; g_object_get (G_OBJECT (recur), "frequency", &freq, "until", &until, "count", &count, "interval", &interval, "unit", &unit, "units", &units, NULL); printf (_(" Recurrence:\n")); printf (_(" Frequency: %s\n"), frequency_to_string (freq)); if (until) { gchar *dt = mimedir_datetime_to_string (until); printf (_(" Until: %s\n"), dt); g_free (dt); g_object_unref (G_OBJECT (until)); } if (count) { printf (_(" Count: %d\n"), count); } if (interval) { printf (_(" Interval: %d\n"), interval); } if (unit != RECURRENCE_UNIT_NONE) { printf (_(" Unit: %s\n"), unit_to_string (unit)); } if (units) { printf (_(" Units: %s\n"), units); g_free (units); } } static void print_component (MIMEDirVComponent *component) { gchar *s, *summary, *categories, *uid; guint priority, seq, duration; MIMEDirDateTime *dtstart, *dtend, *due; MIMEDirRecurrence *recur; if (MIMEDIR_IS_VEVENT (component)) printf (_("Event:\n\n")); else if (MIMEDIR_IS_VTODO (component)) printf (_("Todo item:\n\n")); else printf (_("Unknown component:\n\n")); g_object_get (G_OBJECT (component), "summary", &summary, "priority", &priority, "dtstart", &dtstart, "dtend", &dtend, "duration", &duration, "due", &due, "recurrence", &recur, "uid", &uid, "sequence", &seq, NULL); categories = mimedir_vcomponent_get_categories_as_string (component); if (summary && *summary) { s = g_locale_from_utf8 (summary, -1, NULL, NULL, NULL); printf (_(" Summary: %s\n"), s); g_free (s); } if (categories && *categories) { s = g_locale_from_utf8 (categories, -1, NULL, NULL, NULL); printf (_(" Categories: %s\n"), s); g_free (s); } if (priority) { const gchar *severity; if (priority <= 4) severity = _("high"); else if (priority >= 6) severity = _("low"); else severity = _("medium"); printf (_(" Priority: %s (%d)\n"), severity, priority); } if (dtstart && mimedir_datetime_is_valid (dtstart)) { s = mimedir_datetime_to_string (dtstart); if (s) { printf (_(" Start date: %s\n"), s); g_free (s); } } if (dtend && mimedir_datetime_is_valid (dtend)) { s = mimedir_datetime_to_string (dtend); if (s) { printf (_(" End date: %s\n"), s); g_free (s); } } if (duration) { printf (_(" Duration: %ds\n"), duration); } if (due && mimedir_datetime_is_valid (due)) { s = mimedir_datetime_to_string (due); if (s) { printf (_(" Due date: %s\n"), s); g_free (s); } } if (recur) { print_recurrence (recur); g_object_unref (G_OBJECT (recur)); } if (uid && *uid) printf (_(" Unique ID: %s\n"), uid); printf (_(" Sequence: %u\n"), seq); if (dtstart) g_object_unref (G_OBJECT (dtstart)); if (dtend) g_object_unref (G_OBJECT (dtend)); if (due) g_object_unref (G_OBJECT (due)); g_free (summary); g_free (categories); g_free (uid); if (mimedir_vcomponent_get_allday (component)) printf (_(" All day event\n")); printf("\n"); } int main (int argc, char **argv) { GError *error = NULL; GList *callist, *l; /* I18n setup */ setlocale (LC_ALL, ""); bindtextdomain (GETTEXT_PACKAGE, GLOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); /* Glib setup */ mimedir_init (); /* Argument handling */ if (argc != 2) { fprintf (stderr, _("%s: invalid number of arguments\n"), argv[0]); usage (argv[0]); return 1; } /* Read the iCalendar list */ callist = mimedir_vcal_read_file (argv[1], &error); if (error) { fprintf (stderr, "%s: %s\n", argv[0], error->message); g_error_free (error); return 1; } /* Print the cards */ for (l = callist; l != NULL; l = g_list_next (l)) { MIMEDirVCal *vcal; GSList *subs, *i; g_assert (l->data != NULL && MIMEDIR_IS_VCAL (l->data)); vcal = MIMEDIR_VCAL (l->data); subs = mimedir_vcal_get_component_list (vcal); for (i = subs; i != NULL; i = g_slist_next (i)) print_component (MIMEDIR_VCOMPONENT (i->data)); mimedir_vcal_free_component_list (subs); } /* Cleanup */ mimedir_vcal_free_list (callist); return 0; } libmimedir-0.4.2/bin/Makefile.in0000644000175000017500000004236210654703051013400 00000000000000# 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@ # $Id: Makefile.am,v 1.4 2002/08/24 17:06:05 srittau Exp $ 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 = : build_triplet = @build@ host_triplet = @host@ bin_PROGRAMS = ical-dump$(EXEEXT) vcard-dump$(EXEEXT) \ vcard-normalize$(EXEEXT) subdir = bin DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/configure.in am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = am__installdirs = "$(DESTDIR)$(bindir)" binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) PROGRAMS = $(bin_PROGRAMS) am_ical_dump_OBJECTS = ical-dump.$(OBJEXT) ical_dump_OBJECTS = $(am_ical_dump_OBJECTS) ical_dump_LDADD = $(LDADD) am__DEPENDENCIES_1 = ical_dump_DEPENDENCIES = $(top_builddir)/mimedir/libmimedir.la \ $(am__DEPENDENCIES_1) am_vcard_dump_OBJECTS = vcard-dump.$(OBJEXT) vcard_dump_OBJECTS = $(am_vcard_dump_OBJECTS) vcard_dump_LDADD = $(LDADD) vcard_dump_DEPENDENCIES = $(top_builddir)/mimedir/libmimedir.la \ $(am__DEPENDENCIES_1) am_vcard_normalize_OBJECTS = vcard-normalize.$(OBJEXT) vcard_normalize_OBJECTS = $(am_vcard_normalize_OBJECTS) vcard_normalize_LDADD = $(LDADD) vcard_normalize_DEPENDENCIES = $(top_builddir)/mimedir/libmimedir.la \ $(am__DEPENDENCIES_1) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp am__depfiles_maybe = depfiles COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ SOURCES = $(ical_dump_SOURCES) $(vcard_dump_SOURCES) \ $(vcard_normalize_SOURCES) DIST_SOURCES = $(ical_dump_SOURCES) $(vcard_dump_SOURCES) \ $(vcard_normalize_SOURCES) ETAGS = etags CTAGS = ctags DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @ACLOCAL@ ALL_LINGUAS = @ALL_LINGUAS@ AMDEP_FALSE = @AMDEP_FALSE@ AMDEP_TRUE = @AMDEP_TRUE@ AMTAR = @AMTAR@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CATALOGS = @CATALOGS@ CATOBJEXT = @CATOBJEXT@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CXX = @CXX@ CXXCPP = @CXXCPP@ CXXDEPMODE = @CXXDEPMODE@ CXXFLAGS = @CXXFLAGS@ CYGPATH_W = @CYGPATH_W@ DATADIRNAME = @DATADIRNAME@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ ECHO = @ECHO@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGREP = @EGREP@ ENABLE_GTK_DOC_FALSE = @ENABLE_GTK_DOC_FALSE@ ENABLE_GTK_DOC_TRUE = @ENABLE_GTK_DOC_TRUE@ EXEEXT = @EXEEXT@ F77 = @F77@ FFLAGS = @FFLAGS@ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@ GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_GENMARSHAL = @GLIB_GENMARSHAL@ GLIB_LIBS = @GLIB_LIBS@ GMOFILES = @GMOFILES@ GMSGFMT = @GMSGFMT@ GREP = @GREP@ GTKDOC = @GTKDOC@ HTML_DIR = @HTML_DIR@ 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_ICONV = @INTLTOOL_ICONV@ INTLTOOL_KBD_RULE = @INTLTOOL_KBD_RULE@ INTLTOOL_KEYS_RULE = @INTLTOOL_KEYS_RULE@ INTLTOOL_MERGE = @INTLTOOL_MERGE@ INTLTOOL_MSGFMT = @INTLTOOL_MSGFMT@ INTLTOOL_MSGMERGE = @INTLTOOL_MSGMERGE@ INTLTOOL_OAF_RULE = @INTLTOOL_OAF_RULE@ INTLTOOL_PERL = @INTLTOOL_PERL@ 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_XGETTEXT = @INTLTOOL_XGETTEXT@ INTLTOOL_XML_NOMERGE_RULE = @INTLTOOL_XML_NOMERGE_RULE@ INTLTOOL_XML_RULE = @INTLTOOL_XML_RULE@ LDFLAGS = @LDFLAGS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_AGE = @LT_AGE@ LT_CURRENT = @LT_CURRENT@ LT_REVISION = @LT_REVISION@ MAINT = @MAINT@ MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ MAKEINFO = @MAKEINFO@ MIMEDIR_MAJOR_VERSION = @MIMEDIR_MAJOR_VERSION@ MIMEDIR_MICRO_VERSION = @MIMEDIR_MICRO_VERSION@ MIMEDIR_MINOR_VERSION = @MIMEDIR_MINOR_VERSION@ MKINSTALLDIRS = @MKINSTALLDIRS@ MSGFMT = @MSGFMT@ MSGFMT_OPTS = @MSGFMT_OPTS@ 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@ RANLIB = @RANLIB@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ STRIP = @STRIP@ USE_NLS = @USE_NLS@ VERSION = @VERSION@ XGETTEXT = @XGETTEXT@ ac_ct_CC = @ac_ct_CC@ ac_ct_CXX = @ac_ct_CXX@ ac_ct_F77 = @ac_ct_F77@ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ am__fastdepCXX_TRUE = @am__fastdepCXX_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 = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ INCLUDES = -I$(top_srcdir) $(GLIB_CFLAGS) -DGLOCALEDIR=\"$(datadir)/locale\" LDADD = $(top_builddir)/mimedir/libmimedir.la $(GLIB_LIBS) ical_dump_SOURCES = ical-dump.c vcard_dump_SOURCES = vcard-dump.c vcard_normalize_SOURCES = vcard-normalize.c all: all-am .SUFFIXES: .SUFFIXES: .c .lo .o .obj $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \ && exit 0; \ exit 1;; \ esac; \ done; \ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu bin/Makefile'; \ cd $(top_srcdir) && \ $(AUTOMAKE) --gnu bin/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ *config.status*) \ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ *) \ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ esac; $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps) cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)" @list='$(bin_PROGRAMS)'; for p in $$list; do \ p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ if test -f $$p \ || test -f $$p1 \ ; then \ f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \ else :; fi; \ done uninstall-binPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \ echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \ rm -f "$(DESTDIR)$(bindir)/$$f"; \ done clean-binPROGRAMS: @list='$(bin_PROGRAMS)'; for p in $$list; do \ f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ echo " rm -f $$p $$f"; \ rm -f $$p $$f ; \ done ical-dump$(EXEEXT): $(ical_dump_OBJECTS) $(ical_dump_DEPENDENCIES) @rm -f ical-dump$(EXEEXT) $(LINK) $(ical_dump_LDFLAGS) $(ical_dump_OBJECTS) $(ical_dump_LDADD) $(LIBS) vcard-dump$(EXEEXT): $(vcard_dump_OBJECTS) $(vcard_dump_DEPENDENCIES) @rm -f vcard-dump$(EXEEXT) $(LINK) $(vcard_dump_LDFLAGS) $(vcard_dump_OBJECTS) $(vcard_dump_LDADD) $(LIBS) vcard-normalize$(EXEEXT): $(vcard_normalize_OBJECTS) $(vcard_normalize_DEPENDENCIES) @rm -f vcard-normalize$(EXEEXT) $(LINK) $(vcard_normalize_LDFLAGS) $(vcard_normalize_OBJECTS) $(vcard_normalize_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ical-dump.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vcard-dump.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/vcard-normalize.Po@am__quote@ .c.o: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c $< .c.obj: @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \ @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs distclean-libtool: -rm -f libtool uninstall-info-am: ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ mkid -fID $$unique tags: TAGS TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ test -n "$$unique" || unique=$$empty_fix; \ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ $$tags $$unique; \ fi ctags: CTAGS CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ $(TAGS_FILES) $(LISP) tags=; \ here=`pwd`; \ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | \ $(AWK) ' { files[$$0] = 1; } \ END { for (i in files) print i; }'`; \ test -z "$(CTAGS_ARGS)$$tags$$unique" \ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ $$tags $$unique GTAGS: here=`$(am__cd) $(top_builddir) && pwd` \ && cd $(top_srcdir) \ && gtags -i $(GTAGS_ARGS) $$here distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags distdir: $(DISTFILES) @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ list='$(DISTFILES)'; for file in $$list; do \ case $$file in \ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ esac; \ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ if test "$$dir" != "$$file" && test "$$dir" != "."; then \ dir="/$$dir"; \ $(mkdir_p) "$(distdir)$$dir"; \ else \ dir=''; \ fi; \ if test -d $$d/$$file; then \ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ fi; \ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ else \ test -f $(distdir)/$$file \ || cp -p $$d/$$file $(distdir)/$$file \ || exit 1; \ fi; \ done check-am: all-am check: check-am all-am: Makefile $(PROGRAMS) installdirs: for dir in "$(DESTDIR)$(bindir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am install-exec: install-exec-am install-data: install-data-am uninstall: uninstall-am install-am: all-am @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am installcheck: installcheck-am install-strip: $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ `test -z '$(STRIP)' || \ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install mostlyclean-generic: clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am distclean: distclean-am -rm -rf ./$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-libtool distclean-tags dvi: dvi-am dvi-am: html: html-am info: info-am info-am: install-data-am: install-exec-am: install-binPROGRAMS install-info: install-info-am install-man: installcheck-am: maintainer-clean: maintainer-clean-am -rm -rf ./$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic mostlyclean: mostlyclean-am mostlyclean-am: mostlyclean-compile mostlyclean-generic \ mostlyclean-libtool pdf: pdf-am pdf-am: ps: ps-am ps-am: uninstall-am: uninstall-binPROGRAMS uninstall-info-am .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \ clean-generic clean-libtool ctags distclean distclean-compile \ distclean-generic distclean-libtool distclean-tags distdir dvi \ dvi-am html html-am info info-am install install-am \ install-binPROGRAMS install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ install-strip installcheck installcheck-am installdirs \ maintainer-clean maintainer-clean-generic mostlyclean \ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \ pdf pdf-am ps ps-am tags uninstall uninstall-am \ uninstall-binPROGRAMS uninstall-info-am # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: libmimedir-0.4.2/bin/vcard-dump.c0000644000175000017500000000460610603540662013541 00000000000000/* Dump a vCard file * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: vcard-dump.c 239 2005-11-03 16:39:55Z srittau $ * * 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 */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #ifndef _ #define _(x) dgettext(GETTEXT_PACKAGE, (x)) #endif static void usage (const char *program_name) { fprintf (stderr, _("Usage: %s VCARDFILE\n"), program_name); } static void print_vcard (MIMEDirVCard *vcard) { gchar *s, *s_dec; s = mimedir_vcard_get_as_string (vcard); s_dec = g_locale_from_utf8 (s, -1, NULL, NULL, NULL); g_assert (s_dec != NULL); printf ("%s", s_dec); g_free (s_dec); g_free (s); } int main (int argc, char **argv) { GError *error = NULL; GList *cardlist, *l; /* I18n setup */ setlocale (LC_ALL, ""); bindtextdomain (GETTEXT_PACKAGE, GLOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); /* Glib setup */ mimedir_init (); /* Argument handling */ if (argc != 2) { fprintf (stderr, _("%s: invalid number of arguments\n"), argv[0]); usage (argv[0]); return 1; } /* Read the card list */ cardlist = mimedir_vcard_read_file (argv[1], &error); if (error) { fprintf (stderr, "%s: %s\n", argv[0], error->message); g_error_free (error); return 1; } /* Print the cards */ for (l = cardlist; l != NULL; l = g_list_next (l)) { g_assert (l->data != NULL && MIMEDIR_IS_VCARD (l->data)); print_vcard (MIMEDIR_VCARD (l->data)); if (l->next) printf ("\n===\n"); } /* Cleanup */ mimedir_vcard_free_list (cardlist); return 0; } libmimedir-0.4.2/bin/vcard-normalize.c0000644000175000017500000000466610603540662014602 00000000000000/* Normalize a vCard file * Copyright (C) 2002-2005 Sebastian Rittau * * $Id: vcard-normalize.c 176 2005-02-26 22:46:04Z srittau $ * * 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 */ #ifdef HAVE_CONFIG_H #include #endif #include #include #include #include #include #include #ifndef _ #define _(x) dgettext(GETTEXT_PACKAGE, (x)) #endif static void usage (const char *program_name) { fprintf (stderr, _("Usage: %s VCARDFILE\n"), program_name); } int main (int argc, char **argv) { GError *error = NULL; GList *cardlist, *l; GIOChannel *channel; /* I18n setup */ setlocale (LC_ALL, ""); bindtextdomain (GETTEXT_PACKAGE, GLOCALEDIR); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); textdomain (GETTEXT_PACKAGE); /* Glib setup */ mimedir_init (); /* Argument handling */ if (argc != 2) { fprintf (stderr, _("%s: invalid number of arguments\n"), argv[0]); usage (argv[0]); return 1; } /* Read the card list */ cardlist = mimedir_vcard_read_file (argv[1], &error); if (error) { fprintf (stderr, _("%s: error reading card file: %s\n"), argv[0], error->message); g_error_free (error); return 1; } /* Normalize the cards */ channel = g_io_channel_unix_new (1); for (l = cardlist; l != NULL; l = g_list_next (l)) { MIMEDirVCard *vcard; g_assert (l->data != NULL && MIMEDIR_IS_VCARD (l->data)); vcard = MIMEDIR_VCARD (l->data); if (!mimedir_vcard_write_to_channel (vcard, channel, &error)) { fprintf (stderr, _("%s: error writing card file: %s\n"), argv[0], error->message); g_error_free (error); } } g_io_channel_unref (channel); /* Cleanup */ mimedir_vcard_free_list (cardlist); return 0; } libmimedir-0.4.2/aclocal.m40000644000175000017500000106734010654700107012426 00000000000000# 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. # 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 [AC_REQUIRE([AC_CANONICAL_HOST])dnl 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 35 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 $< [$]@' 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) # 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 AC_PATH_PROG(INTLTOOL_ICONV, iconv, iconv) AC_PATH_PROG(INTLTOOL_MSGFMT, msgfmt, msgfmt) AC_PATH_PROG(INTLTOOL_MSGMERGE, msgmerge, msgmerge) AC_PATH_PROG(INTLTOOL_XGETTEXT, xgettext, xgettext) # 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_TRY_LINK(, [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_ICONV@|${INTLTOOL_ICONV}|g" \ -e "s|@INTLTOOL_MSGFMT@|${INTLTOOL_MSGFMT}|g" \ -e "s|@INTLTOOL_MSGMERGE@|${INTLTOOL_MSGMERGE}|g" \ -e "s|@INTLTOOL_XGETTEXT@|${INTLTOOL_XGETTEXT}|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}' INTLTOOL_ICONV='${INTLTOOL_ICONV}' INTLTOOL_MSGFMT='${INTLTOOL_MSGFMT}' INTLTOOL_MSGMERGE='${INTLTOOL_MSGMERGE}' INTLTOOL_XGETTEXT='${INTLTOOL_XGETTEXT}']) ]) # 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], ...) # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- # serial 48 Debian 1.5.22-4 AC_PROG_LIBTOOL # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) # ----------------------------------------------------------- # If this macro is not defined by Autoconf, define it here. m4_ifdef([AC_PROVIDE_IFELSE], [], [m4_define([AC_PROVIDE_IFELSE], [m4_ifdef([AC_PROVIDE_$1], [$2], [$3])])]) # AC_PROG_LIBTOOL # --------------- AC_DEFUN([AC_PROG_LIBTOOL], [AC_REQUIRE([_AC_PROG_LIBTOOL])dnl dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX. AC_PROVIDE_IFELSE([AC_PROG_CXX], [AC_LIBTOOL_CXX], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX ])]) dnl And a similar setup for Fortran 77 support AC_PROVIDE_IFELSE([AC_PROG_F77], [AC_LIBTOOL_F77], [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77 ])]) dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly. dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both. AC_PROVIDE_IFELSE([AC_PROG_GCJ], [AC_LIBTOOL_GCJ], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ], [AC_LIBTOOL_GCJ], [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ], [AC_LIBTOOL_GCJ], [ifdef([AC_PROG_GCJ], [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])]) ifdef([A][M_PROG_GCJ], [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])]) ifdef([LT_AC_PROG_GCJ], [define([LT_AC_PROG_GCJ], defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])]) ])])# AC_PROG_LIBTOOL # _AC_PROG_LIBTOOL # ---------------- AC_DEFUN([_AC_PROG_LIBTOOL], [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl # This can be used to rebuild libtool when needed LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' AC_SUBST(LIBTOOL)dnl # Prevent multiple expansion define([AC_PROG_LIBTOOL], []) ])# _AC_PROG_LIBTOOL # AC_LIBTOOL_SETUP # ---------------- AC_DEFUN([AC_LIBTOOL_SETUP], [AC_PREREQ(2.50)dnl AC_REQUIRE([AC_ENABLE_SHARED])dnl AC_REQUIRE([AC_ENABLE_STATIC])dnl AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_PROG_LD])dnl AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl AC_REQUIRE([AC_PROG_NM])dnl AC_REQUIRE([AC_PROG_LN_S])dnl AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! AC_REQUIRE([AC_OBJEXT])dnl AC_REQUIRE([AC_EXEEXT])dnl dnl AC_LIBTOOL_SYS_MAX_CMD_LEN AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE AC_LIBTOOL_OBJDIR AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_PROG_ECHO_BACKSLASH case $host_os in aix3*) # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. Xsed='sed -e 1s/^X//' [sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'] # Same as above, but do not quote variable references. [double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'] # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' # Constants: rm="rm -f" # Global variables: default_ofile=libtool can_build_shared=yes # All known linkers require a `.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a ltmain="$ac_aux_dir/ltmain.sh" ofile="$default_ofile" with_gnu_ld="$lt_cv_prog_gnu_ld" AC_CHECK_TOOL(AR, ar, false) AC_CHECK_TOOL(RANLIB, ranlib, :) AC_CHECK_TOOL(STRIP, strip, :) old_CC="$CC" old_CFLAGS="$CFLAGS" # Set sane defaults for various variables test -z "$AR" && AR=ar test -z "$AR_FLAGS" && AR_FLAGS=cru test -z "$AS" && AS=as test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$DLLTOOL" && DLLTOOL=dlltool test -z "$LD" && LD=ld test -z "$LN_S" && LN_S="ln -s" test -z "$MAGIC_CMD" && MAGIC_CMD=file test -z "$NM" && NM=nm test -z "$SED" && SED=sed test -z "$OBJDUMP" && OBJDUMP=objdump test -z "$RANLIB" && RANLIB=: test -z "$STRIP" && STRIP=: test -z "$ac_objext" && ac_objext=o # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" fi _LT_CC_BASENAME([$compiler]) # Only perform the check for file, if the check method requires it case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then AC_PATH_MAGIC fi ;; esac AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], enable_win32_dll=yes, enable_win32_dll=no) AC_ARG_ENABLE([libtool-lock], [AC_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes AC_ARG_WITH([pic], [AC_HELP_STRING([--with-pic], [try to use only PIC/non-PIC objects @<:@default=use both@:>@])], [pic_mode="$withval"], [pic_mode=default]) test -z "$pic_mode" && pic_mode=default # Use C for the default configuration in the libtool script tagname= AC_LIBTOOL_LANG_C_CONFIG _LT_AC_TAGCONFIG ])# AC_LIBTOOL_SETUP # _LT_AC_SYS_COMPILER # ------------------- AC_DEFUN([_LT_AC_SYS_COMPILER], [AC_REQUIRE([AC_PROG_CC])dnl # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC ])# _LT_AC_SYS_COMPILER # _LT_CC_BASENAME(CC) # ------------------- # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. AC_DEFUN([_LT_CC_BASENAME], [for cc_temp in $1""; do case $cc_temp in compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;; distcc | *[[\\/]]distcc | purify | *[[\\/]]purify ) ;; \-*) ;; *) break;; esac done cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"` ]) # _LT_COMPILER_BOILERPLATE # ------------------------ # Check for compiler boilerplate output or warnings with # the simple compiler test code. AC_DEFUN([_LT_COMPILER_BOILERPLATE], [ac_outfile=conftest.$ac_objext printf "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $rm conftest* ])# _LT_COMPILER_BOILERPLATE # _LT_LINKER_BOILERPLATE # ---------------------- # Check for linker boilerplate output or warnings with # the simple link test code. AC_DEFUN([_LT_LINKER_BOILERPLATE], [ac_outfile=conftest.$ac_objext printf "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $rm conftest* ])# _LT_LINKER_BOILERPLATE # _LT_AC_SYS_LIBPATH_AIX # ---------------------- # Links a minimal program and checks the executable # for the system default hardcoded library path. In most cases, # this is /usr/lib:/lib, but when the MPI compilers are used # the location of the communication and MPI libs are included too. # If we don't find anything, use the default library path according # to the aix ld manual. AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], [AC_LINK_IFELSE(AC_LANG_PROGRAM,[ aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'` # Check for a 64-bit object if we didn't find anything. if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; } }'`; fi],[]) if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi ])# _LT_AC_SYS_LIBPATH_AIX # _LT_AC_SHELL_INIT(ARG) # ---------------------- AC_DEFUN([_LT_AC_SHELL_INIT], [ifdef([AC_DIVERSION_NOTICE], [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)], [AC_DIVERT_PUSH(NOTICE)]) $1 AC_DIVERT_POP ])# _LT_AC_SHELL_INIT # _LT_AC_PROG_ECHO_BACKSLASH # -------------------------- # Add some code to the start of the generated configure script which # will find an echo command which doesn't interpret backslashes. AC_DEFUN([_LT_AC_PROG_ECHO_BACKSLASH], [_LT_AC_SHELL_INIT([ # Check that we are running under the correct shell. SHELL=${CONFIG_SHELL-/bin/sh} case X$ECHO in X*--fallback-echo) # Remove one level of quotation (which was required for Make). ECHO=`echo "$ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','` ;; esac echo=${ECHO-echo} if test "X[$]1" = X--no-reexec; then # Discard the --no-reexec flag, and continue. shift elif test "X[$]1" = X--fallback-echo; then # Avoid inline document here, it may be left over : elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then # Yippee, $echo works! : else # Restart under the correct shell. exec $SHELL "[$]0" --no-reexec ${1+"[$]@"} fi if test "X[$]1" = X--fallback-echo; then # used as fallback echo shift cat </dev/null 2>&1 && unset CDPATH if test -z "$ECHO"; then if test "X${echo_test_string+set}" != Xset; then # find a string as large as possible, as long as the shell can cope with it for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... if (echo_test_string=`eval $cmd`) 2>/dev/null && echo_test_string=`eval $cmd` && (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null then break fi done fi if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then : else # The Solaris, AIX, and Digital Unix default echo programs unquote # backslashes. This makes it impossible to quote backslashes using # echo "$something" | sed 's/\\/\\\\/g' # # So, first we look for a working echo in the user's PATH. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for dir in $PATH /usr/ucb; do IFS="$lt_save_ifs" if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$dir/echo" break fi done IFS="$lt_save_ifs" if test "X$echo" = Xecho; then # We didn't find a better echo, so look for alternatives. if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # This shell has a builtin print -r that does the trick. echo='print -r' elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && test "X$CONFIG_SHELL" != X/bin/ksh; then # If we have ksh, try running configure again with it. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} export ORIGINAL_CONFIG_SHELL CONFIG_SHELL=/bin/ksh export CONFIG_SHELL exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"} else # Try using printf. echo='printf %s\n' if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then # Cool, printf works : elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL export CONFIG_SHELL SHELL="$CONFIG_SHELL" export SHELL echo="$CONFIG_SHELL [$]0 --fallback-echo" elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` && test "X$echo_testing_string" = 'X\t' && echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` && test "X$echo_testing_string" = "X$echo_test_string"; then echo="$CONFIG_SHELL [$]0 --fallback-echo" else # maybe with a smaller string... prev=: for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null then break fi prev="$cmd" done if test "$prev" != 'sed 50q "[$]0"'; then echo_test_string=`eval $prev` export echo_test_string exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"} else # Oops. We lost completely, so just stick with echo. echo=echo fi fi fi fi fi fi # Copy echo and quote the copy suitably for passing to libtool from # the Makefile, instead of quoting the original, which is used later. ECHO=$echo if test "X$ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo" fi AC_SUBST(ECHO) ])])# _LT_AC_PROG_ECHO_BACKSLASH # _LT_AC_LOCK # ----------- AC_DEFUN([_LT_AC_LOCK], [AC_ARG_ENABLE([libtool-lock], [AC_HELP_STRING([--disable-libtool-lock], [avoid locking (might break parallel builds)])]) test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE="32" ;; *ELF-64*) HPUX_IA64_MODE="64" ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out which ABI we are using. echo '[#]line __oline__ "configure"' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then if test "$lt_cv_prog_gnu_ld" = yes; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; ppc64-*linux*|powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; ppc*-*linux*|powerpc*-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS="$CFLAGS" CFLAGS="$CFLAGS -belf" AC_CACHE_CHECK([whether the C compiler needs -belf], lt_cv_cc_needs_belf, [AC_LANG_PUSH(C) AC_TRY_LINK([],[],[lt_cv_cc_needs_belf=yes],[lt_cv_cc_needs_belf=no]) AC_LANG_POP]) if test x"$lt_cv_cc_needs_belf" != x"yes"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS="$SAVE_CFLAGS" fi ;; sparc*-*solaris*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext if AC_TRY_EVAL(ac_compile); then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) LD="${LD-ld} -m elf64_sparc" ;; *) LD="${LD-ld} -64" ;; esac ;; esac fi rm -rf conftest* ;; AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], [*-*-cygwin* | *-*-mingw* | *-*-pw32*) AC_CHECK_TOOL(DLLTOOL, dlltool, false) AC_CHECK_TOOL(AS, as, false) AC_CHECK_TOOL(OBJDUMP, objdump, false) ;; ]) esac need_locks="$enable_libtool_lock" ])# _LT_AC_LOCK # AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE]) # ---------------------------------------------------------------- # Check whether the given compiler option works AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], [AC_REQUIRE([LT_AC_PROG_SED]) AC_CACHE_CHECK([$1], [$2], [$2=no ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$3" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi fi $rm conftest* ]) if test x"[$]$2" = xyes; then ifelse([$5], , :, [$5]) else ifelse([$6], , :, [$6]) fi ])# AC_LIBTOOL_COMPILER_OPTION # AC_LIBTOOL_LINKER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS, # [ACTION-SUCCESS], [ACTION-FAILURE]) # ------------------------------------------------------------ # Check whether the given compiler option works AC_DEFUN([AC_LIBTOOL_LINKER_OPTION], [AC_CACHE_CHECK([$1], [$2], [$2=no save_LDFLAGS="$LDFLAGS" LDFLAGS="$LDFLAGS $3" printf "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&AS_MESSAGE_LOG_FD $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then $2=yes fi else $2=yes fi fi $rm conftest* LDFLAGS="$save_LDFLAGS" ]) if test x"[$]$2" = xyes; then ifelse([$4], , :, [$4]) else ifelse([$5], , :, [$5]) fi ])# AC_LIBTOOL_LINKER_OPTION # AC_LIBTOOL_SYS_MAX_CMD_LEN # -------------------------- AC_DEFUN([AC_LIBTOOL_SYS_MAX_CMD_LEN], [# find the maximum length of command line arguments AC_MSG_CHECKING([the maximum length of command line arguments]) AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl i=0 teststring="ABCD" case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[[ ]]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ = "XX$teststring") >/dev/null 2>&1 && new_result=`expr "X$teststring" : ".*" 2>&1` && lt_cv_sys_max_cmd_len=$new_result && test $i != 17 # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done teststring= # Add a significant safety factor because C++ compilers can tack on massive # amounts of additional arguments before passing them to the linker. # It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` ;; esac ]) if test -n $lt_cv_sys_max_cmd_len ; then AC_MSG_RESULT($lt_cv_sys_max_cmd_len) else AC_MSG_RESULT(none) fi ])# AC_LIBTOOL_SYS_MAX_CMD_LEN # _LT_AC_CHECK_DLFCN # ------------------ AC_DEFUN([_LT_AC_CHECK_DLFCN], [AC_CHECK_HEADERS(dlfcn.h)dnl ])# _LT_AC_CHECK_DLFCN # _LT_AC_TRY_DLOPEN_SELF (ACTION-IF-TRUE, ACTION-IF-TRUE-W-USCORE, # ACTION-IF-FALSE, ACTION-IF-CROSS-COMPILING) # --------------------------------------------------------------------- AC_DEFUN([_LT_AC_TRY_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl if test "$cross_compiling" = yes; then : [$4] else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext < #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif #ifdef __cplusplus extern "C" void exit (int); #endif void fnord() { int i=42;} int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; /* dlclose (self); */ } else puts (dlerror ()); exit (status); }] EOF if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext} 2>/dev/null; then (./conftest; exit; ) >&AS_MESSAGE_LOG_FD 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) $1 ;; x$lt_dlneed_uscore) $2 ;; x$lt_dlunknown|x*) $3 ;; esac else : # compilation failed $3 fi fi rm -fr conftest* ])# _LT_AC_TRY_DLOPEN_SELF # AC_LIBTOOL_DLOPEN_SELF # ---------------------- AC_DEFUN([AC_LIBTOOL_DLOPEN_SELF], [AC_REQUIRE([_LT_AC_CHECK_DLFCN])dnl if test "x$enable_dlopen" != xyes; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen="load_add_on" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32*) lt_cv_dlopen="LoadLibrary" lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen="dlopen" lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"],[ lt_cv_dlopen="dyld" lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ]) ;; *) AC_CHECK_FUNC([shl_load], [lt_cv_dlopen="shl_load"], [AC_CHECK_LIB([dld], [shl_load], [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], [AC_CHECK_FUNC([dlopen], [lt_cv_dlopen="dlopen"], [AC_CHECK_LIB([dl], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], [AC_CHECK_LIB([svld], [dlopen], [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], [AC_CHECK_LIB([dld], [dld_link], [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) ]) ]) ]) ]) ]) ;; esac if test "x$lt_cv_dlopen" != xno; then enable_dlopen=yes else enable_dlopen=no fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS="$CPPFLAGS" test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS="$LDFLAGS" wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS="$LIBS" LIBS="$lt_cv_dlopen_libs $LIBS" AC_CACHE_CHECK([whether a program can dlopen itself], lt_cv_dlopen_self, [dnl _LT_AC_TRY_DLOPEN_SELF( lt_cv_dlopen_self=yes, lt_cv_dlopen_self=yes, lt_cv_dlopen_self=no, lt_cv_dlopen_self=cross) ]) if test "x$lt_cv_dlopen_self" = xyes; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" AC_CACHE_CHECK([whether a statically linked program can dlopen itself], lt_cv_dlopen_self_static, [dnl _LT_AC_TRY_DLOPEN_SELF( lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=yes, lt_cv_dlopen_self_static=no, lt_cv_dlopen_self_static=cross) ]) fi CPPFLAGS="$save_CPPFLAGS" LDFLAGS="$save_LDFLAGS" LIBS="$save_LIBS" ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi ])# AC_LIBTOOL_DLOPEN_SELF # AC_LIBTOOL_PROG_CC_C_O([TAGNAME]) # --------------------------------- # Check to see if options -c and -o are simultaneously supported by compiler AC_DEFUN([AC_LIBTOOL_PROG_CC_C_O], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl AC_CACHE_CHECK([if $compiler supports -c -o file.$ac_objext], [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)], [_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=no $rm -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out printf "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&AS_MESSAGE_LOG_FD echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then _LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes fi fi chmod u+w . 2>&AS_MESSAGE_LOG_FD $rm conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files $rm out/* && rmdir out cd .. rmdir conftest $rm conftest* ]) ])# AC_LIBTOOL_PROG_CC_C_O # AC_LIBTOOL_SYS_HARD_LINK_LOCKS([TAGNAME]) # ----------------------------------------- # Check to see if we can do hard links to lock some files if needed AC_DEFUN([AC_LIBTOOL_SYS_HARD_LINK_LOCKS], [AC_REQUIRE([_LT_AC_LOCK])dnl hard_links="nottested" if test "$_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1)" = no && test "$need_locks" != no; then # do not overwrite the value of need_locks provided by the user AC_MSG_CHECKING([if we can lock with hard links]) hard_links=yes $rm conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no AC_MSG_RESULT([$hard_links]) if test "$hard_links" = no; then AC_MSG_WARN([`$CC' does not support `-c -o', so `make -j' may be unsafe]) need_locks=warn fi else need_locks=no fi ])# AC_LIBTOOL_SYS_HARD_LINK_LOCKS # AC_LIBTOOL_OBJDIR # ----------------- AC_DEFUN([AC_LIBTOOL_OBJDIR], [AC_CACHE_CHECK([for objdir], [lt_cv_objdir], [rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null]) objdir=$lt_cv_objdir ])# AC_LIBTOOL_OBJDIR # AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH([TAGNAME]) # ---------------------------------------------- # Check hardcoding attributes. AC_DEFUN([AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH], [AC_MSG_CHECKING([how to hardcode library paths into programs]) _LT_AC_TAGVAR(hardcode_action, $1)= if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then # We can hardcode non-existant directories. if test "$_LT_AC_TAGVAR(hardcode_direct, $1)" != no && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1)" != no && test "$_LT_AC_TAGVAR(hardcode_minus_L, $1)" != no; then # Linking always hardcodes the temporary library directory. _LT_AC_TAGVAR(hardcode_action, $1)=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. _LT_AC_TAGVAR(hardcode_action, $1)=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. _LT_AC_TAGVAR(hardcode_action, $1)=unsupported fi AC_MSG_RESULT([$_LT_AC_TAGVAR(hardcode_action, $1)]) if test "$_LT_AC_TAGVAR(hardcode_action, $1)" = relink; then # Fast installation is not supported enable_fast_install=no elif test "$shlibpath_overrides_runpath" = yes || test "$enable_shared" = no; then # Fast installation is not necessary enable_fast_install=needless fi ])# AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH # AC_LIBTOOL_SYS_LIB_STRIP # ------------------------ AC_DEFUN([AC_LIBTOOL_SYS_LIB_STRIP], [striplib= old_striplib= AC_MSG_CHECKING([whether stripping libraries is possible]) if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" AC_MSG_RESULT([yes]) else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP" ; then striplib="$STRIP -x" AC_MSG_RESULT([yes]) else AC_MSG_RESULT([no]) fi ;; *) AC_MSG_RESULT([no]) ;; esac fi ])# AC_LIBTOOL_SYS_LIB_STRIP # AC_LIBTOOL_SYS_DYNAMIC_LINKER # ----------------------------- # PORTME Fill in your ld.so characteristics AC_DEFUN([AC_LIBTOOL_SYS_DYNAMIC_LINKER], [AC_MSG_CHECKING([dynamic linker characteristics]) library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=".so" postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='${libname}${release}${shared_ext}$major' ;; aix4* | aix5*) version_type=linux need_lib_prefix=no need_version=no hardcode_into_libs=yes if test "$host_cpu" = ia64; then # AIX 5 supports IA64 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line `#! .'. This would cause the generated library to # depend on `.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[[01]] | aix4.[[01]].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then : else can_build_shared=no fi ;; esac # AIX (on Power*) has no versioning support, so currently we can not hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. if test "$aix_use_runtimelinking" = yes; then # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' else # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='${libname}${release}.a $libname.a' soname_spec='${libname}${release}${shared_ext}$major' fi shlibpath_var=LIBPATH fi ;; amigaos*) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; beos*) library_names_spec='${libname}${shared_ext}' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[[45]]*) version_type=linux need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32*) version_type=windows shrext_cmds=".dll" need_version=no need_lib_prefix=no case $GCC,$host_os in yes,cygwin* | yes,mingw* | yes,pw32*) library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \${file}`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $rm \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" ;; mingw*) # MinGW DLLs use traditional 'lib' prefix soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` if echo "$sys_lib_search_path_spec" | [grep ';[c-zC-Z]:/' >/dev/null]; then # It is most probably a Windows format PATH printed by # mingw gcc, but we are running on Cygwin. Gcc prints its search # path with ; separators, and with drive letters. We can handle the # drive letters (cygwin fileutils understands them), so leave them, # especially as we might pass files found there to a mingw objdump, # which wouldn't understand a cygwinified path. Ahh. sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' ;; esac ;; *) library_names_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext} $libname.lib' ;; esac dynamic_linker='Win32 ld.exe' # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' soname_spec='${libname}${release}${major}$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. if test "$GCC" = yes; then sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` else sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' fi sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd1*) dynamic_linker=no ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[[123]]*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2*) shlibpath_overrides_runpath=yes ;; freebsd3.[[01]]* | freebsdelf3.[[01]]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[[2-9]]* | freebsdelf3.[[2-9]]* | \ freebsd4.[[0-5]] | freebsdelf4.[[0-5]] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; freebsd*) # from 4.6 on shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; gnu*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' if test "X$HPUX_IA64_MODE" = X32; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" fi sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555. postinstall_cmds='chmod 555 $lib' ;; interix3*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test "$lt_cv_prog_gnu_ld" = yes; then version_type=linux else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; # This must be Linux ELF. linux* | k*bsd*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Append ld.so.conf contents to the search path if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; nto-qnx*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; openbsd*) version_type=sunos sys_lib_dlsearch_path_spec="/usr/lib" need_lib_prefix=no # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. case $host_os in openbsd3.3 | openbsd3.3.*) need_version=yes ;; *) need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in openbsd2.[[89]] | openbsd2.[[89]].*) shlibpath_overrides_runpath=no ;; *) shlibpath_overrides_runpath=yes ;; esac else shlibpath_overrides_runpath=yes fi ;; os2*) libname_spec='$name' shrext_cmds=".dll" need_lib_prefix=no library_names_spec='$libname${shared_ext} $libname.a' dynamic_linker='OS/2 ld.exe' shlibpath_var=LIBPATH ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='${libname}${release}${shared_ext}$major' library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" ;; solaris*) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test "$with_gnu_ld" = yes; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no export_dynamic_flag_spec='${wl}-Blargedynsym' runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec ;then version_type=linux library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' soname_spec='$libname${shared_ext}.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=freebsd-elf need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH hardcode_into_libs=yes if test "$with_gnu_ld" = yes; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' shlibpath_overrides_runpath=no else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' shlibpath_overrides_runpath=yes case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; uts4*) version_type=linux library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac AC_MSG_RESULT([$dynamic_linker]) test "$dynamic_linker" = no && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test "$GCC" = yes; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER # _LT_AC_TAGCONFIG # ---------------- AC_DEFUN([_LT_AC_TAGCONFIG], [AC_ARG_WITH([tags], [AC_HELP_STRING([--with-tags@<:@=TAGS@:>@], [include additional configurations @<:@automatic@:>@])], [tagnames="$withval"]) if test -f "$ltmain" && test -n "$tagnames"; then if test ! -f "${ofile}"; then AC_MSG_WARN([output file `$ofile' does not exist]) fi if test -z "$LTCC"; then eval "`$SHELL ${ofile} --config | grep '^LTCC='`" if test -z "$LTCC"; then AC_MSG_WARN([output file `$ofile' does not look like a libtool script]) else AC_MSG_WARN([using `LTCC=$LTCC', extracted from `$ofile']) fi fi if test -z "$LTCFLAGS"; then eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`" fi # Extract list of available tagged configurations in $ofile. # Note that this assumes the entire list is on one line. available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for tagname in $tagnames; do IFS="$lt_save_ifs" # Check whether tagname contains only valid characters case `$echo "X$tagname" | $Xsed -e 's:[[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]]::g'` in "") ;; *) AC_MSG_ERROR([invalid tag name: $tagname]) ;; esac if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null then AC_MSG_ERROR([tag name \"$tagname\" already exists]) fi # Update the list of available tags. if test -n "$tagname"; then echo appending configuration tag \"$tagname\" to $ofile case $tagname in CXX) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_LIBTOOL_LANG_CXX_CONFIG else tagname="" fi ;; F77) if test -n "$F77" && test "X$F77" != "Xno"; then AC_LIBTOOL_LANG_F77_CONFIG else tagname="" fi ;; GCJ) if test -n "$GCJ" && test "X$GCJ" != "Xno"; then AC_LIBTOOL_LANG_GCJ_CONFIG else tagname="" fi ;; RC) AC_LIBTOOL_LANG_RC_CONFIG ;; *) AC_MSG_ERROR([Unsupported tag name: $tagname]) ;; esac # Append the new tag name to the list of available tags. if test -n "$tagname" ; then available_tags="$available_tags $tagname" fi fi done IFS="$lt_save_ifs" # Now substitute the updated list of available tags. if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then mv "${ofile}T" "$ofile" chmod +x "$ofile" else rm -f "${ofile}T" AC_MSG_ERROR([unable to update list of available tagged configurations.]) fi fi ])# _LT_AC_TAGCONFIG # AC_LIBTOOL_DLOPEN # ----------------- # enable checks for dlopen support AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP]) ])# AC_LIBTOOL_DLOPEN # AC_LIBTOOL_WIN32_DLL # -------------------- # declare package support for building win32 DLLs AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP]) ])# AC_LIBTOOL_WIN32_DLL # AC_ENABLE_SHARED([DEFAULT]) # --------------------------- # implement the --enable-shared flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_SHARED], [define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([shared], [AC_HELP_STRING([--enable-shared@<:@=PKGS@:>@], [build shared libraries @<:@default=]AC_ENABLE_SHARED_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_shared=]AC_ENABLE_SHARED_DEFAULT) ])# AC_ENABLE_SHARED # AC_DISABLE_SHARED # ----------------- # set the default shared flag to --disable-shared AC_DEFUN([AC_DISABLE_SHARED], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_SHARED(no) ])# AC_DISABLE_SHARED # AC_ENABLE_STATIC([DEFAULT]) # --------------------------- # implement the --enable-static flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_STATIC], [define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([static], [AC_HELP_STRING([--enable-static@<:@=PKGS@:>@], [build static libraries @<:@default=]AC_ENABLE_STATIC_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_static=]AC_ENABLE_STATIC_DEFAULT) ])# AC_ENABLE_STATIC # AC_DISABLE_STATIC # ----------------- # set the default static flag to --disable-static AC_DEFUN([AC_DISABLE_STATIC], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_STATIC(no) ])# AC_DISABLE_STATIC # AC_ENABLE_FAST_INSTALL([DEFAULT]) # --------------------------------- # implement the --enable-fast-install flag # DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'. AC_DEFUN([AC_ENABLE_FAST_INSTALL], [define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl AC_ARG_ENABLE([fast-install], [AC_HELP_STRING([--enable-fast-install@<:@=PKGS@:>@], [optimize for fast installation @<:@default=]AC_ENABLE_FAST_INSTALL_DEFAULT[@:>@])], [p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," for pkg in $enableval; do IFS="$lt_save_ifs" if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS="$lt_save_ifs" ;; esac], [enable_fast_install=]AC_ENABLE_FAST_INSTALL_DEFAULT) ])# AC_ENABLE_FAST_INSTALL # AC_DISABLE_FAST_INSTALL # ----------------------- # set the default to --disable-fast-install AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_ENABLE_FAST_INSTALL(no) ])# AC_DISABLE_FAST_INSTALL # AC_LIBTOOL_PICMODE([MODE]) # -------------------------- # implement the --with-pic flag # MODE is either `yes' or `no'. If omitted, it defaults to `both'. AC_DEFUN([AC_LIBTOOL_PICMODE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl pic_mode=ifelse($#,1,$1,default) ])# AC_LIBTOOL_PICMODE # AC_PROG_EGREP # ------------- # This is predefined starting with Autoconf 2.54, so this conditional # definition can be removed once we require Autoconf 2.54 or later. m4_ifndef([AC_PROG_EGREP], [AC_DEFUN([AC_PROG_EGREP], [AC_CACHE_CHECK([for egrep], [ac_cv_prog_egrep], [if echo a | (grep -E '(a|b)') >/dev/null 2>&1 then ac_cv_prog_egrep='grep -E' else ac_cv_prog_egrep='egrep' fi]) EGREP=$ac_cv_prog_egrep AC_SUBST([EGREP]) ])]) # AC_PATH_TOOL_PREFIX # ------------------- # find a file program which can recognise shared library AC_DEFUN([AC_PATH_TOOL_PREFIX], [AC_REQUIRE([AC_PROG_EGREP])dnl AC_MSG_CHECKING([for $1]) AC_CACHE_VAL(lt_cv_path_MAGIC_CMD, [case $MAGIC_CMD in [[\\/*] | ?:[\\/]*]) lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD="$MAGIC_CMD" lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR dnl $ac_dummy forces splitting on constant user-supplied paths. dnl POSIX.2 word splitting is done only on the output of word expansions, dnl not every word. This closes a longstanding sh security hole. ac_dummy="ifelse([$2], , $PATH, [$2])" for ac_dir in $ac_dummy; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f $ac_dir/$1; then lt_cv_path_MAGIC_CMD="$ac_dir/$1" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org EOF fi ;; esac fi break fi done IFS="$lt_save_ifs" MAGIC_CMD="$lt_save_MAGIC_CMD" ;; esac]) MAGIC_CMD="$lt_cv_path_MAGIC_CMD" if test -n "$MAGIC_CMD"; then AC_MSG_RESULT($MAGIC_CMD) else AC_MSG_RESULT(no) fi ])# AC_PATH_TOOL_PREFIX # AC_PATH_MAGIC # ------------- # find a file program which can recognise a shared library AC_DEFUN([AC_PATH_MAGIC], [AC_PATH_TOOL_PREFIX(${ac_tool_prefix}file, /usr/bin$PATH_SEPARATOR$PATH) if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then AC_PATH_TOOL_PREFIX(file, /usr/bin$PATH_SEPARATOR$PATH) else MAGIC_CMD=: fi fi ])# AC_PATH_MAGIC # AC_PROG_LD # ---------- # find the pathname to the GNU or non-GNU linker AC_DEFUN([AC_PROG_LD], [AC_ARG_WITH([gnu-ld], [AC_HELP_STRING([--with-gnu-ld], [assume the C compiler uses GNU ld @<:@default=no@:>@])], [test "$withval" = no || with_gnu_ld=yes], [with_gnu_ld=no]) AC_REQUIRE([LT_AC_PROG_SED])dnl AC_REQUIRE([AC_PROG_CC])dnl AC_REQUIRE([AC_CANONICAL_HOST])dnl AC_REQUIRE([AC_CANONICAL_BUILD])dnl ac_prog=ld if test "$GCC" = yes; then # Check if gcc -print-prog-name=ld gives a path. AC_MSG_CHECKING([for ld used by $CC]) case $host in *-*-mingw*) # gcc leaves a trailing carriage return which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [[\\/]]* | ?:[[\\/]]*) re_direlt='/[[^/]][[^/]]*/\.\./' # Canonicalize the pathname of ld ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD="$ac_prog" ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test "$with_gnu_ld" = yes; then AC_MSG_CHECKING([for GNU ld]) else AC_MSG_CHECKING([for non-GNU ld]) fi AC_CACHE_VAL(lt_cv_path_LD, [if test -z "$LD"; then lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD="$ac_dir/$ac_prog" # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &1 /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; gnu*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|ELF-[[0-9]][[0-9]]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'] lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix3*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be Linux ELF. linux* | k*bsd*-gnu) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; nto-qnx*) lt_cv_deplibs_check_method=unknown ;; openbsd*) if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib) M[[0-9]][[0-9]]* Version [[0-9]]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; esac ]) file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown ])# AC_DEPLIBS_CHECK_METHOD # AC_PROG_NM # ---------- # find the pathname to a BSD-compatible name lister AC_DEFUN([AC_PROG_NM], [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, [if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM="$NM" else lt_nm_to_check="${ac_tool_prefix}nm" if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS="$lt_save_ifs" test -z "$ac_dir" && ac_dir=. tmp_nm="$ac_dir/$lt_tmp_nm" if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then # Check to see if the nm accepts a BSD-compat flag. # Adding the `sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in */dev/null* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS="$lt_save_ifs" done test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm fi]) NM="$lt_cv_path_NM" ])# AC_PROG_NM # AC_CHECK_LIBM # ------------- # check for math library AC_DEFUN([AC_CHECK_LIBM], [AC_REQUIRE([AC_CANONICAL_HOST])dnl LIBM= case $host in *-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*) # These system don't have libm, or don't need it ;; *-ncr-sysv4.3*) AC_CHECK_LIB(mw, _mwvalidcheckl, LIBM="-lmw") AC_CHECK_LIB(m, cos, LIBM="$LIBM -lm") ;; *) AC_CHECK_LIB(m, cos, LIBM="-lm") ;; esac ])# AC_CHECK_LIBM # AC_LIBLTDL_CONVENIENCE([DIRECTORY]) # ----------------------------------- # sets LIBLTDL to the link flags for the libltdl convenience library and # LTDLINCL to the include flags for the libltdl header and adds # --enable-ltdl-convenience to the configure arguments. Note that # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, # it is assumed to be `libltdl'. LIBLTDL will be prefixed with # '${top_builddir}/' and LTDLINCL will be prefixed with '${top_srcdir}/' # (note the single quotes!). If your package is not flat and you're not # using automake, define top_builddir and top_srcdir appropriately in # the Makefiles. AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl case $enable_ltdl_convenience in no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;; "") enable_ltdl_convenience=yes ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;; esac LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdlc.la LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) # For backwards non-gettext consistent compatibility... INCLTDL="$LTDLINCL" ])# AC_LIBLTDL_CONVENIENCE # AC_LIBLTDL_INSTALLABLE([DIRECTORY]) # ----------------------------------- # sets LIBLTDL to the link flags for the libltdl installable library and # LTDLINCL to the include flags for the libltdl header and adds # --enable-ltdl-install to the configure arguments. Note that # AC_CONFIG_SUBDIRS is not called here. If DIRECTORY is not provided, # and an installed libltdl is not found, it is assumed to be `libltdl'. # LIBLTDL will be prefixed with '${top_builddir}/'# and LTDLINCL with # '${top_srcdir}/' (note the single quotes!). If your package is not # flat and you're not using automake, define top_builddir and top_srcdir # appropriately in the Makefiles. # In the future, this macro may have to be called after AC_PROG_LIBTOOL. AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl AC_CHECK_LIB(ltdl, lt_dlinit, [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no], [if test x"$enable_ltdl_install" = xno; then AC_MSG_WARN([libltdl not installed, but installation disabled]) else enable_ltdl_install=yes fi ]) if test x"$enable_ltdl_install" = x"yes"; then ac_configure_args="$ac_configure_args --enable-ltdl-install" LIBLTDL='${top_builddir}/'ifelse($#,1,[$1],['libltdl'])/libltdl.la LTDLINCL='-I${top_srcdir}/'ifelse($#,1,[$1],['libltdl']) else ac_configure_args="$ac_configure_args --enable-ltdl-install=no" LIBLTDL="-lltdl" LTDLINCL= fi # For backwards non-gettext consistent compatibility... INCLTDL="$LTDLINCL" ])# AC_LIBLTDL_INSTALLABLE # AC_LIBTOOL_CXX # -------------- # enable support for C++ libraries AC_DEFUN([AC_LIBTOOL_CXX], [AC_REQUIRE([_LT_AC_LANG_CXX]) ])# AC_LIBTOOL_CXX # _LT_AC_LANG_CXX # --------------- AC_DEFUN([_LT_AC_LANG_CXX], [AC_REQUIRE([AC_PROG_CXX]) AC_REQUIRE([_LT_AC_PROG_CXXCPP]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) ])# _LT_AC_LANG_CXX # _LT_AC_PROG_CXXCPP # ------------------ AC_DEFUN([_LT_AC_PROG_CXXCPP], [ AC_REQUIRE([AC_PROG_CXX]) if test -n "$CXX" && ( test "X$CXX" != "Xno" && ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || (test "X$CXX" != "Xg++"))) ; then AC_PROG_CXXCPP fi ])# _LT_AC_PROG_CXXCPP # AC_LIBTOOL_F77 # -------------- # enable support for Fortran 77 libraries AC_DEFUN([AC_LIBTOOL_F77], [AC_REQUIRE([_LT_AC_LANG_F77]) ])# AC_LIBTOOL_F77 # _LT_AC_LANG_F77 # --------------- AC_DEFUN([_LT_AC_LANG_F77], [AC_REQUIRE([AC_PROG_F77]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) ])# _LT_AC_LANG_F77 # AC_LIBTOOL_GCJ # -------------- # enable support for GCJ libraries AC_DEFUN([AC_LIBTOOL_GCJ], [AC_REQUIRE([_LT_AC_LANG_GCJ]) ])# AC_LIBTOOL_GCJ # _LT_AC_LANG_GCJ # --------------- AC_DEFUN([_LT_AC_LANG_GCJ], [AC_PROVIDE_IFELSE([AC_PROG_GCJ],[], [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],[], [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],[], [ifdef([AC_PROG_GCJ],[AC_REQUIRE([AC_PROG_GCJ])], [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) ])# _LT_AC_LANG_GCJ # AC_LIBTOOL_RC # ------------- # enable support for Windows resource files AC_DEFUN([AC_LIBTOOL_RC], [AC_REQUIRE([LT_AC_PROG_RC]) _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) ])# AC_LIBTOOL_RC # AC_LIBTOOL_LANG_C_CONFIG # ------------------------ # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG], [_LT_AC_LANG_C_CONFIG]) AC_DEFUN([_LT_AC_LANG_C_CONFIG], [lt_save_CC="$CC" AC_LANG_PUSH(C) # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}\n' _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE AC_LIBTOOL_PROG_COMPILER_NO_RTTI($1) AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_SYS_LIB_STRIP AC_LIBTOOL_DLOPEN_SELF # Report which library types will actually be built AC_MSG_CHECKING([if libtool supports shared libraries]) AC_MSG_RESULT([$can_build_shared]) AC_MSG_CHECKING([whether to build shared libraries]) test "$can_build_shared" = "no" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test "$enable_shared" = yes && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix4* | aix5*) if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then test "$enable_shared" = yes && enable_static=no fi ;; esac AC_MSG_RESULT([$enable_shared]) AC_MSG_CHECKING([whether to build static libraries]) # Make sure either enable_shared or enable_static is yes. test "$enable_shared" = yes || enable_static=yes AC_MSG_RESULT([$enable_static]) AC_LIBTOOL_CONFIG($1) AC_LANG_POP CC="$lt_save_CC" ])# AC_LIBTOOL_LANG_C_CONFIG # AC_LIBTOOL_LANG_CXX_CONFIG # -------------------------- # Ensure that the configuration vars for the C compiler are # suitably defined. Those variables are subsequently used by # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG], [_LT_AC_LANG_CXX_CONFIG(CXX)]) AC_DEFUN([_LT_AC_LANG_CXX_CONFIG], [AC_LANG_PUSH(C++) AC_REQUIRE([AC_PROG_CXX]) AC_REQUIRE([_LT_AC_PROG_CXXCPP]) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(allow_undefined_flag, $1)= _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(module_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds _LT_AC_TAGVAR(no_undefined_flag, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no # Dependencies to place before and after the object being linked: _LT_AC_TAGVAR(predep_objects, $1)= _LT_AC_TAGVAR(postdep_objects, $1)= _LT_AC_TAGVAR(predeps, $1)= _LT_AC_TAGVAR(postdeps, $1)= _LT_AC_TAGVAR(compiler_lib_search_path, $1)= # Source file extension for C++ test sources. ac_ext=cpp # Object file extension for compiled C++ test sources. objext=o _LT_AC_TAGVAR(objext, $1)=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_AC_SYS_COMPILER # save warnings/boilerplate of simple test code _LT_COMPILER_BOILERPLATE _LT_LINKER_BOILERPLATE # Allow CC to be a program name with arguments. lt_save_CC=$CC lt_save_LD=$LD lt_save_GCC=$GCC GCC=$GXX lt_save_with_gnu_ld=$with_gnu_ld lt_save_path_LD=$lt_cv_path_LD if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx else $as_unset lt_cv_prog_gnu_ld fi if test -n "${lt_cv_path_LDCXX+set}"; then lt_cv_path_LD=$lt_cv_path_LDCXX else $as_unset lt_cv_path_LD fi test -z "${LDCXX+set}" || LD=$LDCXX CC=${CXX-"c++"} compiler=$CC _LT_AC_TAGVAR(compiler, $1)=$CC _LT_CC_BASENAME([$compiler]) # We don't want -fno-exception wen compiling C++ code, so set the # no_builtin_flag separately if test "$GXX" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' else _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= fi if test "$GXX" = yes; then # Set up default GNU C++ configuration AC_PROG_LD # Check if GNU C++ uses GNU ld as the underlying linker, since the # archiving commands below assume that GNU ld is being used. if test "$with_gnu_ld" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # If archive_cmds runs LD, not CC, wlarc should be empty # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to # investigate it a little bit more. (MM) wlarc='${wl}' # ancient GNU ld didn't support --whole-archive et. al. if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ grep 'no-whole-archive' > /dev/null; then _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi else with_gnu_ld=no wlarc= # A generic and very simple default shared library creation # command for GNU C++ for the case where it uses the native # linker, instead of GNU ld. If possible, this setting should # overridden to take advantage of the native linker features on # the platform it is being used on. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' fi # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else GXX=no with_gnu_ld=no wlarc= fi # PORTME: fill in a description of your system's C++ link characteristics AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) _LT_AC_TAGVAR(ld_shlibs, $1)=yes case $host_os in aix3*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) for ld_flag in $LDFLAGS; do case $ld_flag in *-brtl*) aix_use_runtimelinking=yes break ;; esac done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_AC_TAGVAR(archive_cmds, $1)='' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GXX" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=yes else # We have old collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_AC_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; chorus*) case $cc_basename in *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GXX" = yes ; then lt_int_apple_cc_single_mod=no output_verbose_link_cmd='echo' if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then lt_int_apple_cc_single_mod=yes fi if test "X$lt_int_apple_cc_single_mod" = Xyes ; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' fi _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds if test "X$lt_int_apple_cc_single_mod" = Xyes ; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' fi _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ;; dgux*) case $cc_basename in ec++*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; ghcx*) # Green Hills C++ Compiler # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; freebsd[[12]]*) # C++ shared libraries reported to be fairly broken before switch to ELF _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; freebsd-elf*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; freebsd* | dragonfly*) # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF # conventions _LT_AC_TAGVAR(ld_shlibs, $1)=yes ;; gnu*) ;; hpux9*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aCC*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "[[-]]L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; hpux10*|hpux11*) if test $with_gnu_ld = no; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' ;; *) _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; esac fi case $host_cpu in hppa*64*|ia64*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Not in the search PATH, # but as the default # location of the library. ;; esac case $cc_basename in CC*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; aCC*) case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes; then if test $with_gnu_ld = no; then case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' ;; esac fi else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; interix3*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; irix5* | irix6*) case $cc_basename in CC*) # SGI C++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' # Archives containing C++ object files must be created using # "CC -ar", where "CC" is the IRIX C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -ar -WR,-u -o $oldlib $oldobjs' ;; *) if test "$GXX" = yes; then if test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' fi fi _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; esac _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; linux* | k*bsd*-gnu) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; icpc*) # Intel C++ with_gnu_ld=yes # version 8.0 and above of icpc choke on multiply defined symbols # if we add $predep_objects and $postdep_objects, however 7.1 and # earlier do not add the objects themselves. case `$CC -V 2>&1` in *"Version 7."*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; *) # Version 8.0 or newer tmp_idyn= case $host_cpu in ia64*) tmp_idyn=' -i_dynamic';; esac _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ;; esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' ;; pgCC*) # Portland Group C++ compiler _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' ;; cxx*) # Compaq C++ _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols' runpath_var=LD_RUN_PATH _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; esac ;; lynxos*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; m88k*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; mvs*) case $cc_basename in cxx*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' wlarc= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no fi # Workaround some broken pre-1.5 toolchains output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' ;; openbsd2*) # C++ shared libraries are fairly broken _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; openbsd*) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' fi output_verbose_link_cmd='echo' ;; osf3*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # "CC -Bstatic", where "CC" is the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -Bstatic -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; cxx*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; osf4* | osf5*) case $cc_basename in KCC*) # Kuck and Associates, Inc. (KAI) C++ Compiler # KCC will only create a shared library if the output file # ends with ".so" (or ".sl" for HP-UX), so rename the library # to its proper name (with version) after linking. _LT_AC_TAGVAR(archive_cmds, $1)='tempext=`echo $shared_ext | $SED -e '\''s/\([[^()0-9A-Za-z{}]]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Archives containing C++ object files must be created using # the KAI C++ compiler. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -o $oldlib $oldobjs' ;; RCC*) # Rational C++ 2.4.1 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; cxx*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ echo "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~ $rm $lib.exp' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. # # There doesn't appear to be a way to prevent this compiler from # explicitly linking system object files so we need to strip them # from the output so that they don't get included in the library # dependencies. output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' ;; *) if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' else # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; psos*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; lcc*) # Lucid # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_AC_TAGVAR(archive_cmds_need_lc,$1)=yes _LT_AC_TAGVAR(no_undefined_flag, $1)=' -zdefs' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The C++ compiler is used as linker so we must use $wl # flag to pass the commands to the underlying system # linker. We must also pass each convience library through # to the system linker between allextract/defaultextract. # The C++ compiler will combine linker options so we # cannot just pass the convience library names through # without $wl. # Supported since Solaris 2.6 (maybe 2.5.1?) _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes output_verbose_link_cmd='echo' # Archives containing C++ object files must be created using # "CC -xar", where "CC" is the Sun C++ compiler. This is # necessary to make sure instantiated templates are included # in the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC -xar -o $oldlib $oldobjs' ;; gcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' # The C++ compiler must be used to create the archive. _LT_AC_TAGVAR(old_archive_cmds, $1)='$CC $LDFLAGS -archive -o $oldlib $oldobjs' ;; *) # GNU C++ compiler with Solaris linker if test "$GXX" = yes && test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-z ${wl}defs' if $CC --version | grep -v '^2\.7' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" else # g++ 2.7 appears to require `-G' NOT `-shared' on this # platform. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' # Commands to make compiler produce verbose output that lists # what "hidden" libraries, object files and flags are used when # linking a shared library. output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir' fi ;; esac ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7* | sco3.2v5.0.[[024]]*) _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. # So that behaviour is only enabled if SCOABSPATH is set to a # non-empty value in the environment. Most likely only useful for # creating official distributions of packages. # This is a hack until libtool officially supports absolute path # names for shared libraries. _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' case $cc_basename in CC*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac ;; vxworks*) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; *) # FIXME: insert proper C++ library support _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no _LT_AC_TAGVAR(GCC, $1)="$GXX" _LT_AC_TAGVAR(LD, $1)="$LD" AC_LIBTOOL_POSTDEP_PREDEP($1) AC_LIBTOOL_PROG_COMPILER_PIC($1) AC_LIBTOOL_PROG_CC_C_O($1) AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) AC_LIBTOOL_PROG_LD_SHLIBS($1) AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) AC_LIBTOOL_CONFIG($1) AC_LANG_POP CC=$lt_save_CC LDCXX=$LD LD=$lt_save_LD GCC=$lt_save_GCC with_gnu_ldcxx=$with_gnu_ld with_gnu_ld=$lt_save_with_gnu_ld lt_cv_path_LDCXX=$lt_cv_path_LD lt_cv_path_LD=$lt_save_path_LD lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld ])# AC_LIBTOOL_LANG_CXX_CONFIG # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) # ------------------------------------ # Figure out "hidden" library dependencies from verbose # compiler output when linking a shared library. # Parse the compiler output and extract the necessary # objects, libraries and library flags. AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ dnl we can't use the lt_simple_compile_test_code here, dnl because it contains code intended for an executable, dnl not a library. It's possible we should let each dnl tag define a new lt_????_link_test_code variable, dnl but it's only used here... ifelse([$1],[],[cat > conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext < conftest.$ac_ext <> "$cfgfile" ifelse([$1], [], [#! $SHELL # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 # Free Software Foundation, Inc. # # This file is part of GNU Libtool: # Originally by Gordon Matzigkeit , 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 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. # A sed program that does not truncate output. SED=$lt_SED # Sed that helps us avoid accidentally triggering echo(1) options like -n. Xsed="$SED -e 1s/^X//" # The HP-UX ksh and POSIX shell print the target directory to stdout # if CDPATH is set. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # The names of the tagged configurations supported by this script. available_tags= # ### BEGIN LIBTOOL CONFIG], [# ### BEGIN LIBTOOL TAG CONFIG: $tagname]) # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # Whether or not to build shared libraries. build_libtool_libs=$enable_shared # Whether or not to build static libraries. build_old_libs=$enable_static # Whether or not to add -lc for building shared libraries. build_libtool_need_lc=$_LT_AC_TAGVAR(archive_cmds_need_lc, $1) # Whether or not to disallow shared libs when runtime libs are static allow_libtool_libs_with_static_runtimes=$_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) # Whether or not to optimize for fast installation. fast_install=$enable_fast_install # The host system. host_alias=$host_alias host=$host host_os=$host_os # The build system. build_alias=$build_alias build=$build build_os=$build_os # An echo program that does not interpret backslashes. echo=$lt_echo # The archiver. AR=$lt_AR AR_FLAGS=$lt_AR_FLAGS # A C compiler. LTCC=$lt_LTCC # LTCC compiler flags. LTCFLAGS=$lt_LTCFLAGS # A language-specific compiler. CC=$lt_[]_LT_AC_TAGVAR(compiler, $1) # Is the compiler the GNU C compiler? with_gcc=$_LT_AC_TAGVAR(GCC, $1) # An ERE matcher. EGREP=$lt_EGREP # The linker used to build libraries. LD=$lt_[]_LT_AC_TAGVAR(LD, $1) # Whether we need hard or soft links. LN_S=$lt_LN_S # A BSD-compatible nm program. NM=$lt_NM # A symbol stripping program STRIP=$lt_STRIP # Used to examine libraries when file_magic_cmd begins "file" MAGIC_CMD=$MAGIC_CMD # Used on cygwin: DLL creation program. DLLTOOL="$DLLTOOL" # Used on cygwin: object dumper. OBJDUMP="$OBJDUMP" # Used on cygwin: assembler. AS="$AS" # The name of the directory that contains temporary libtool files. objdir=$objdir # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # How to pass a linker flag through the compiler. wl=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) # Object file suffix (normally "o"). objext="$ac_objext" # Old archive suffix (normally "a"). libext="$libext" # Shared library suffix (normally ".so"). shrext_cmds='$shrext_cmds' # Executable file suffix (normally ""). exeext="$exeext" # Additional compiler flags for building library objects. pic_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) pic_mode=$pic_mode # What is the maximum length of a command? max_cmd_len=$lt_cv_sys_max_cmd_len # Does compiler simultaneously support -c and -o options? compiler_c_o=$lt_[]_LT_AC_TAGVAR(lt_cv_prog_compiler_c_o, $1) # Must we lock files when doing compilation? need_locks=$lt_need_locks # Do we need the lib prefix for modules? need_lib_prefix=$need_lib_prefix # Do we need a version for libraries? need_version=$need_version # Whether dlopen is supported. dlopen_support=$enable_dlopen # Whether dlopen of programs is supported. dlopen_self=$enable_dlopen_self # Whether dlopen of statically linked programs is supported. dlopen_self_static=$enable_dlopen_self_static # Compiler flag to prevent dynamic linking. link_static_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_static, $1) # Compiler flag to turn off builtin functions. no_builtin_flag=$lt_[]_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) # Compiler flag to allow reflexive dlopens. export_dynamic_flag_spec=$lt_[]_LT_AC_TAGVAR(export_dynamic_flag_spec, $1) # Compiler flag to generate shared objects directly from archives. whole_archive_flag_spec=$lt_[]_LT_AC_TAGVAR(whole_archive_flag_spec, $1) # Compiler flag to generate thread-safe objects. thread_safe_flag_spec=$lt_[]_LT_AC_TAGVAR(thread_safe_flag_spec, $1) # Library versioning type. version_type=$version_type # Format of library name prefix. libname_spec=$lt_libname_spec # List of archive names. First name is the real one, the rest are links. # The last name is the one that the linker finds with -lNAME. library_names_spec=$lt_library_names_spec # The coded name of the library, if different from the real name. soname_spec=$lt_soname_spec # Commands used to build and install an old-style archive. RANLIB=$lt_RANLIB old_archive_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_cmds, $1) old_postinstall_cmds=$lt_old_postinstall_cmds old_postuninstall_cmds=$lt_old_postuninstall_cmds # Create an old-style archive from a shared archive. old_archive_from_new_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_new_cmds, $1) # Create a temporary old-style archive to link instead of a shared archive. old_archive_from_expsyms_cmds=$lt_[]_LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) # Commands used to build and install a shared archive. archive_cmds=$lt_[]_LT_AC_TAGVAR(archive_cmds, $1) archive_expsym_cmds=$lt_[]_LT_AC_TAGVAR(archive_expsym_cmds, $1) postinstall_cmds=$lt_postinstall_cmds postuninstall_cmds=$lt_postuninstall_cmds # Commands used to build a loadable module (assumed same as above if empty) module_cmds=$lt_[]_LT_AC_TAGVAR(module_cmds, $1) module_expsym_cmds=$lt_[]_LT_AC_TAGVAR(module_expsym_cmds, $1) # Commands to strip libraries. old_striplib=$lt_old_striplib striplib=$lt_striplib # Dependencies to place before the objects being linked to create a # shared library. predep_objects=$lt_[]_LT_AC_TAGVAR(predep_objects, $1) # Dependencies to place after the objects being linked to create a # shared library. postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) # Dependencies to place before the objects being linked to create a # shared library. predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) # Dependencies to place after the objects being linked to create a # shared library. postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) # The library search path used internally by the compiler when linking # a shared library. compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) # Method to check whether dependent libraries are shared objects. deplibs_check_method=$lt_deplibs_check_method # Command to use when deplibs_check_method == file_magic. file_magic_cmd=$lt_file_magic_cmd # Flag that allows shared libraries with undefined symbols to be built. allow_undefined_flag=$lt_[]_LT_AC_TAGVAR(allow_undefined_flag, $1) # Flag that forces no undefined symbols. no_undefined_flag=$lt_[]_LT_AC_TAGVAR(no_undefined_flag, $1) # Commands used to finish a libtool library installation in a directory. finish_cmds=$lt_finish_cmds # Same as above, but a single script fragment to be evaled but not shown. finish_eval=$lt_finish_eval # Take the output of nm and produce a listing of raw symbols and C names. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe # Transform the output of nm in a proper C declaration global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl # Transform the output of nm in a C name address pair global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address # This is the shared library runtime path variable. runpath_var=$runpath_var # This is the shared library path variable. shlibpath_var=$shlibpath_var # Is shlibpath searched before the hard-coded library search path? shlibpath_overrides_runpath=$shlibpath_overrides_runpath # How to hardcode a shared library path into an executable. hardcode_action=$_LT_AC_TAGVAR(hardcode_action, $1) # Whether we should hardcode library paths into libraries. hardcode_into_libs=$hardcode_into_libs # Flag to hardcode \$libdir into a binary during linking. # This must work even if \$libdir does not exist. hardcode_libdir_flag_spec=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) # If ld is used when linking, flag to hardcode \$libdir into # a binary during linking. This must work even if \$libdir does # not exist. hardcode_libdir_flag_spec_ld=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) # Whether we need a single -rpath flag with a separated argument. hardcode_libdir_separator=$lt_[]_LT_AC_TAGVAR(hardcode_libdir_separator, $1) # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the # resulting binary. hardcode_direct=$_LT_AC_TAGVAR(hardcode_direct, $1) # Set to yes if using the -LDIR flag during linking hardcodes DIR into the # resulting binary. hardcode_minus_L=$_LT_AC_TAGVAR(hardcode_minus_L, $1) # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into # the resulting binary. hardcode_shlibpath_var=$_LT_AC_TAGVAR(hardcode_shlibpath_var, $1) # Set to yes if building a shared library automatically hardcodes DIR into the library # and all subsequent libraries and executables linked against it. hardcode_automatic=$_LT_AC_TAGVAR(hardcode_automatic, $1) # Variables whose values should be saved in libtool wrapper scripts and # restored at relink time. variables_saved_for_relink="$variables_saved_for_relink" # Whether libtool must link a program against all its dependency libraries. link_all_deplibs=$_LT_AC_TAGVAR(link_all_deplibs, $1) # Compile-time system search path for libraries sys_lib_search_path_spec=$lt_sys_lib_search_path_spec # Run-time system search path for libraries sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec # Fix the shell variable \$srcfile for the compiler. fix_srcfile_path="$_LT_AC_TAGVAR(fix_srcfile_path, $1)" # Set to yes if exported symbols are required. always_export_symbols=$_LT_AC_TAGVAR(always_export_symbols, $1) # The commands to list exported symbols. export_symbols_cmds=$lt_[]_LT_AC_TAGVAR(export_symbols_cmds, $1) # The commands to extract the exported symbol list from a shared archive. extract_expsyms_cmds=$lt_extract_expsyms_cmds # Symbols that should not be listed in the preloaded symbols. exclude_expsyms=$lt_[]_LT_AC_TAGVAR(exclude_expsyms, $1) # Symbols that must always be exported. include_expsyms=$lt_[]_LT_AC_TAGVAR(include_expsyms, $1) ifelse([$1],[], [# ### END LIBTOOL CONFIG], [# ### END LIBTOOL TAG CONFIG: $tagname]) __EOF__ ifelse([$1],[], [ case $host_os in aix3*) cat <<\EOF >> "$cfgfile" # AIX sometimes has problems with the GCC collect2 program. For some # reason, if we set the COLLECT_NAMES environment variable, the problems # vanish in a puff of smoke. if test "X${COLLECT_NAMES+set}" != Xset; then COLLECT_NAMES= export COLLECT_NAMES fi EOF ;; esac # We use sed instead of cat because bash on DJGPP gets confused if # if finds mixed CR/LF and LF-only lines. Since sed operates in # text mode, it properly converts lines to CR/LF. This bash problem # is reportedly fixed, but why not run on old versions too? sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) mv -f "$cfgfile" "$ofile" || \ (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") chmod +x "$ofile" ]) else # If there is no Makefile yet, we rely on a make rule to execute # `config.status --recheck' to rerun these tests and create the # libtool script then. ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'` if test -f "$ltmain_in"; then test -f Makefile && make "$ltmain" fi fi ])# AC_LIBTOOL_CONFIG # AC_LIBTOOL_PROG_COMPILER_NO_RTTI([TAGNAME]) # ------------------------------------------- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_NO_RTTI], [AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)= if test "$GCC" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' AC_LIBTOOL_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions], lt_cv_prog_compiler_rtti_exceptions, [-fno-rtti -fno-exceptions], [], [_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1) -fno-rtti -fno-exceptions"]) fi ])# AC_LIBTOOL_PROG_COMPILER_NO_RTTI # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE # --------------------------------- AC_DEFUN([AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE], [AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_PROG_NM]) AC_REQUIRE([AC_OBJEXT]) # Check for command to grab the raw symbol name followed by C symbol from nm. AC_MSG_CHECKING([command to parse $NM output from $compiler object]) AC_CACHE_VAL([lt_cv_sys_global_symbol_pipe], [ # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[[BCDEGRST]]' # Regexp to match symbols that can be accessed directly from C. sympat='\([[_A-Za-z]][[_A-Za-z0-9]]*\)' # Transform an extracted symbol line into a proper C declaration lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" # Define system-specific variables. case $host_os in aix*) symcode='[[BCDT]]' ;; cygwin* | mingw* | pw32*) symcode='[[ABCDGISTW]]' ;; hpux*) # Its linker distinguishes data from code symbols if test "$host_cpu" = ia64; then symcode='[[ABCDEGRST]]' fi lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" ;; linux* | k*bsd*-gnu) if test "$host_cpu" = ia64; then symcode='[[ABCDGIRSTW]]' lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([[^ ]]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([[^ ]]*\) \([[^ ]]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'" fi ;; irix* | nonstopux*) symcode='[[BCDEGRST]]' ;; osf*) symcode='[[BCDEGQRST]]' ;; solaris*) symcode='[[BDRT]]' ;; sco3.2v5*) symcode='[[DT]]' ;; sysv4.2uw2*) symcode='[[DT]]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[[ABDT]]' ;; sysv4) symcode='[[DFNSTU]]' ;; esac # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[[ABCDGIRSTW]]' ;; esac # Try without a prefix undercore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[[ ]]\($symcode$symcode*\)[[ ]][[ ]]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext < $nlist) && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if grep ' nm_test_var$' "$nlist" >/dev/null; then if grep ' nm_test_func$' "$nlist" >/dev/null; then cat < conftest.$ac_ext #ifdef __cplusplus extern "C" { #endif EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' cat <> conftest.$ac_ext #if defined (__STDC__) && __STDC__ # define lt_ptr_t void * #else # define lt_ptr_t char * # define const #endif /* The mapping between symbol names and symbols. */ const struct { const char *name; lt_ptr_t address; } lt_preloaded_symbols[[]] = { EOF $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext cat <<\EOF >> conftest.$ac_ext {0, (lt_ptr_t) 0} }; #ifdef __cplusplus } #endif EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_save_LIBS="$LIBS" lt_save_CFLAGS="$CFLAGS" LIBS="conftstm.$ac_objext" CFLAGS="$CFLAGS$_LT_AC_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)" if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then pipe_works=yes fi LIBS="$lt_save_LIBS" CFLAGS="$lt_save_CFLAGS" else echo "cannot find nm_test_func in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD fi else echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD cat conftest.$ac_ext >&5 fi rm -f conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test "$pipe_works" = yes; then break else lt_cv_sys_global_symbol_pipe= fi done ]) if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then AC_MSG_RESULT(failed) else AC_MSG_RESULT(ok) fi ]) # AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE # AC_LIBTOOL_PROG_COMPILER_PIC([TAGNAME]) # --------------------------------------- AC_DEFUN([AC_LIBTOOL_PROG_COMPILER_PIC], [_LT_AC_TAGVAR(lt_prog_compiler_wl, $1)= _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)= AC_MSG_CHECKING([for $compiler option to produce PIC]) ifelse([$1],[CXX],[ # C++ specific cases for pic, static, wl, etc. if test "$GXX" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | os2* | pw32*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; *djgpp*) # DJGPP does not support shared libraries at all _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= ;; interix3*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else case $host_os in aix4* | aix5*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; chorus*) case $cc_basename in cxch68*) # Green Hills C++ Compiler # _LT_AC_TAGVAR(lt_prog_compiler_static, $1)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" ;; esac ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; esac ;; dgux*) case $cc_basename in ec++*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; ghcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; freebsd* | dragonfly*) # FreeBSD uses GNU C++ ;; hpux9* | hpux10* | hpux11*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' if test "$host_cpu" != ia64; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' fi ;; aCC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac ;; *) ;; esac ;; interix*) # This is c89, which is MS Visual C++ (no shared libs) # Anyone wants to do a port? ;; irix5* | irix6* | nonstopux*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' # CC pic flag -KPIC is the default. ;; *) ;; esac ;; linux* | k*bsd*-gnu) case $cc_basename in KCC*) # KAI C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; icpc* | ecpc*) # Intel C++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgCC*) # Portland Group C++ compiler. _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; cxx*) # Compaq C++ # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; lynxos*) ;; m88k*) ;; mvs*) case $cc_basename in cxx*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-W c,exportall' ;; *) ;; esac ;; netbsd* | netbsdelf*-gnu) ;; osf3* | osf4* | osf5*) case $cc_basename in KCC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' ;; RCC*) # Rational C++ 2.4.1 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; cxx*) # Digital/Compaq C++ _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # Make sure the PIC flag is empty. It appears that all Alpha # Linux and Compaq Tru64 Unix objects are PIC. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; *) ;; esac ;; psos*) ;; solaris*) case $cc_basename in CC*) # Sun C++ 4.2, 5.x and Centerline C++ _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' ;; gcx*) # Green Hills C++ Compiler _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' ;; *) ;; esac ;; sunos4*) case $cc_basename in CC*) # Sun C++ 4.x _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; lcc*) # Lucid _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' ;; *) ;; esac ;; tandem*) case $cc_basename in NCC*) # NonStop-UX NCC 3.20 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' ;; *) ;; esac ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) case $cc_basename in CC*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; esac ;; vxworks*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ], [ if test "$GCC" = yes; then _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' case $host_os in aix*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; amigaos*) # FIXME: we need at least 68020 code to build shared libraries, but # adding the `-m68020' flag to GCC prevents building anything better, # like `-m68040'. _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-restore-a4' ;; beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' ;; interix3*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no enable_shared=no ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=-Kconform_pic fi ;; hpux*) # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' else _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' fi ;; darwin*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files case $cc_basename in xlc*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' ;; esac ;; mingw* | pw32* | os2*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' ;; hpux9* | hpux10* | hpux11*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='${wl}-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # PIC (with -KPIC) is the default. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; newsos6) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; linux* | k*bsd*-gnu) case $cc_basename in icc* | ecc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' ;; pgcc* | pgf77* | pgf90* | pgf95*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; ccc*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All Alpha code is PIC. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; esac ;; osf3* | osf4* | osf5*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' # All OSF/1 code is PIC. _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-non_shared' ;; solaris*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' case $cc_basename in f77* | f90* | f95*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';; *) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';; esac ;; sunos4*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-PIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec ;then _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-Kconform_pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; unicos*) _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; uts4*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-pic' _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' ;; *) _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no ;; esac fi ]) AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) # # Check to make sure the PIC flag actually works. # if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) works], _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in "" | " "*) ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; esac], [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) fi case $host_os in # For platforms which do not support PIC, -DPIC is meaningless: *djgpp*) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= ;; *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" ;; esac # # Check to make sure the static flag actually works. # wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), $lt_tmp_static_flag, [], [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) ]) # AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) # ------------------------------------ # See if the linker supports building shared libraries. AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], [AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) ifelse([$1],[CXX],[ _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' case $host_os in aix4* | aix5*) # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' else _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' fi ;; pw32*) _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" ;; cygwin* | mingw*) _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([[^ ]]*\) [[^ ]]*/\1 DATA/;/^I /d;/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' ;; linux* | k*bsd*-gnu) _LT_AC_TAGVAR(link_all_deplibs, $1)=no ;; *) _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' ;; esac ],[ runpath_var= _LT_AC_TAGVAR(allow_undefined_flag, $1)= _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no _LT_AC_TAGVAR(archive_cmds, $1)= _LT_AC_TAGVAR(archive_expsym_cmds, $1)= _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= _LT_AC_TAGVAR(thread_safe_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)= _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_minus_L, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(link_all_deplibs, $1)=unknown _LT_AC_TAGVAR(hardcode_automatic, $1)=no _LT_AC_TAGVAR(module_cmds, $1)= _LT_AC_TAGVAR(module_expsym_cmds, $1)= _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list _LT_AC_TAGVAR(include_expsyms, $1)= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ` (' and `)$', so one must not match beginning or # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', # as well as any symbol that contains `d'. _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. extract_expsyms_cmds= # Just being paranoid about ensuring that cc_basename is set. _LT_CC_BASENAME([$compiler]) case $host_os in cygwin* | mingw* | pw32*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test "$GCC" != yes; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd*) with_gnu_ld=no ;; esac _LT_AC_TAGVAR(ld_shlibs, $1)=yes if test "$with_gnu_ld" = yes; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='${wl}' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then _LT_AC_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' else _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi supports_anon_versioning=no case `$LD -v 2>/dev/null` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix3* | aix4* | aix5*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <&2 *** Warning: the GNU linker, at least up to release 2.9.1, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to modify your PATH *** so that a non-GNU linker is found, and then restart. EOF fi ;; amigaos*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # Samuel A. Falvo II reports # that the semantics of dynamic libraries on AmigaOS, at least up # to version 4, is to share data among multiple programs linked # with the same dynamic library. Since this doesn't match the # behavior of shared libraries on other platforms, we can't use # them. _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; beos*) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME _LT_AC_TAGVAR(archive_cmds, $1)='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; cygwin* | mingw* | pw32*) # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, # as there is no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=no _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]] /s/.* \([[^ ]]*\)/\1 DATA/'\'' | $SED -e '\''/^[[AITW]] /s/.* //'\'' | sort | uniq > $export_symbols' if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file (1st line # is EXPORTS), use it as is; otherwise, prepend... _LT_AC_TAGVAR(archive_expsym_cmds, $1)='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; interix3*) _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; linux* | k*bsd*-gnu) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then tmp_addflag= case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; esac _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' if test $supports_anon_versioning = yes; then _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $output_objdir/$libname.ver~ cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ $echo "local: *; };" >> $output_objdir/$libname.ver~ $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' fi _LT_AC_TAGVAR(link_all_deplibs, $1)=no else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. EOF elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.1[[0-5]].*) _LT_AC_TAGVAR(ld_shlibs, $1)=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac ;; sunos4*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' else _LT_AC_TAGVAR(ld_shlibs, $1)=no fi ;; esac if test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no; then runpath_var= _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)= _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(always_export_symbols, $1)=yes _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported fi ;; aix4* | aix5*) if test "$host_cpu" = ia64; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag="" else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to AIX nm, but means don't demangle with GNU nm if $NM -V 2>&1 | grep 'GNU' > /dev/null; then _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' else _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # need to do runtime linking. case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) for ld_flag in $LDFLAGS; do if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then aix_use_runtimelinking=yes break fi done ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. _LT_AC_TAGVAR(archive_cmds, $1)='' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GCC" = yes; then case $host_os in aix4.[[012]]|aix4.[[012]].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`${CC} -print-prog-name=collect2` if test -f "$collect2name" && \ strings "$collect2name" | grep resolve_lib_name >/dev/null then # We have reworked collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=yes else # We have old collect2 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)= fi ;; esac shared_flag='-shared' if test "$aix_use_runtimelinking" = yes; then shared_flag="$shared_flag "'${wl}-G' fi else # not using gcc if test "$host_cpu" = ia64; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test "$aix_use_runtimelinking" = yes; then shared_flag='${wl}-G' else shared_flag='${wl}-bM:SRE' fi fi fi # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. _LT_AC_TAGVAR(always_export_symbols, $1)=yes if test "$aix_use_runtimelinking" = yes; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(allow_undefined_flag, $1)='-berok' # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" else if test "$host_cpu" = ia64; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib' _LT_AC_TAGVAR(allow_undefined_flag, $1)="-z nodefs" _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an empty executable. _LT_AC_SYS_LIBPATH_AIX _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. _LT_AC_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok' _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok' # Exported symbols can be pulled into shared objects from archives _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='$convenience' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes # This is similar to how AIX traditionally builds its shared libraries. _LT_AC_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' fi fi ;; amigaos*) _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/a2ixlibrary.data~$echo "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$echo "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$echo "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$echo "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes # see comment about different semantics on the GNU ld section _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; bsdi[[45]]*) _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)=-rdynamic ;; cygwin* | mingw* | pw32*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)=' ' _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=".dll" # FIXME: Setting linknames here is a bad hack. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' # FIXME: Should let the user specify the lib program. _LT_AC_TAGVAR(old_archive_cmds, $1)='lib /OUT:$oldlib$oldobjs$old_deplibs' _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes ;; darwin* | rhapsody*) case $host_os in rhapsody* | darwin1.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' ;; *) # Darwin 1.3 on if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' else case ${MACOSX_DEPLOYMENT_TARGET} in 10.[[012]]) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; 10.*) _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' ;; esac fi ;; esac _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_automatic, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes if test "$GCC" = yes ; then output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' else case $cc_basename in xlc*) output_verbose_link_cmd='echo' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring' _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ;; dgux*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; freebsd1*) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; hpux9*) if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$rm $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_direct, $1)=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' ;; hpux10*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes fi ;; hpux11*) if test "$GCC" = yes -a "$with_gnu_ld" = no; then case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac fi if test "$with_gnu_ld" = no; then _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: case $host_cpu in hppa*64*|ia64*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; newsos6) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; openbsd*) _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E' else case $host_os in openbsd[[01]].* | openbsd2.[[0-7]] | openbsd2.[[0-7]].*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' ;; *) _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' ;; esac fi ;; os2*) _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(allow_undefined_flag, $1)=unsupported _LT_AC_TAGVAR(archive_cmds, $1)='$echo "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$echo "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$echo DATA >> $output_objdir/$libname.def~$echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~$echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' ;; osf3*) if test "$GCC" = yes; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' else _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test "$GCC" = yes; then _LT_AC_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir' else _LT_AC_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp' # Both c and cxx compiler support -rpath directly _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir' fi _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=: ;; solaris*) _LT_AC_TAGVAR(no_undefined_flag, $1)=' -z text' if test "$GCC" = yes; then wlarc='${wl}' _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' else wlarc='' _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no case $host_os in solaris2.[[0-5]] | solaris2.[[0-5]].*) ;; *) # The compiler driver will combine linker options so we # cannot just pass the convience library names through # without $wl, iff we do not link with $LD. # Luckily, gcc supports the same syntax we need for Sun Studio. # Supported since Solaris 2.6 (maybe 2.5.1?) case $wlarc in '') _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-z allextract$convenience -z defaultextract' ;; *) _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;; esac ;; esac _LT_AC_TAGVAR(link_all_deplibs, $1)=yes ;; sunos4*) if test "x$host_vendor" = xsequent; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_direct, $1)=yes _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4) case $host_vendor in sni) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(reload_cmds, $1)='$CC -r -o $output$reload_objs' _LT_AC_TAGVAR(hardcode_direct, $1)=no ;; motorola) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_direct, $1)=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; sysv4.3*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes _LT_AC_TAGVAR(ld_shlibs, $1)=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[[01]].[[10]]* | unixware7*) _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We can NOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. _LT_AC_TAGVAR(no_undefined_flag, $1)='${wl}-z,text' _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-z,nodefs' _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`' _LT_AC_TAGVAR(hardcode_libdir_separator, $1)=':' _LT_AC_TAGVAR(link_all_deplibs, $1)=yes _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-Bexport' runpath_var='LD_RUN_PATH' if test "$GCC" = yes; then _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' else _LT_AC_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) _LT_AC_TAGVAR(archive_cmds, $1)='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir' _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=no ;; *) _LT_AC_TAGVAR(ld_shlibs, $1)=no ;; esac fi ]) AC_MSG_RESULT([$_LT_AC_TAGVAR(ld_shlibs, $1)]) test "$_LT_AC_TAGVAR(ld_shlibs, $1)" = no && can_build_shared=no # # Do we need to explicitly link libc? # case "x$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)" in x|xyes) # Assume -lc should be added _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes if test "$enable_shared" = yes && test "$GCC" = yes; then case $_LT_AC_TAGVAR(archive_cmds, $1) in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. AC_MSG_CHECKING([whether -lc should be explicitly linked in]) $rm conftest* printf "$lt_simple_compile_test_code" > conftest.$ac_ext if AC_TRY_EVAL(ac_compile) 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) pic_flag=$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$_LT_AC_TAGVAR(allow_undefined_flag, $1) _LT_AC_TAGVAR(allow_undefined_flag, $1)= if AC_TRY_EVAL(_LT_AC_TAGVAR(archive_cmds, $1) 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) then _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no else _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=yes fi _LT_AC_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $rm conftest* AC_MSG_RESULT([$_LT_AC_TAGVAR(archive_cmds_need_lc, $1)]) ;; esac fi ;; esac ])# AC_LIBTOOL_PROG_LD_SHLIBS # _LT_AC_FILE_LTDLL_C # ------------------- # Be careful that the start marker always follows a newline. AC_DEFUN([_LT_AC_FILE_LTDLL_C], [ # /* ltdll.c starts here */ # #define WIN32_LEAN_AND_MEAN # #include # #undef WIN32_LEAN_AND_MEAN # #include # # #ifndef __CYGWIN__ # # ifdef __CYGWIN32__ # # define __CYGWIN__ __CYGWIN32__ # # endif # #endif # # #ifdef __cplusplus # extern "C" { # #endif # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); # #ifdef __cplusplus # } # #endif # # #ifdef __CYGWIN__ # #include # DECLARE_CYGWIN_DLL( DllMain ); # #endif # HINSTANCE __hDllInstance_base; # # BOOL APIENTRY # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) # { # __hDllInstance_base = hInst; # return TRUE; # } # /* ltdll.c ends here */ ])# _LT_AC_FILE_LTDLL_C # _LT_AC_TAGVAR(VARNAME, [TAGNAME]) # --------------------------------- AC_DEFUN([_LT_AC_TAGVAR], [ifelse([$2], [], [$1], [$1_$2])]) # old names AC_DEFUN([AM_PROG_LIBTOOL], [AC_PROG_LIBTOOL]) AC_DEFUN([AM_ENABLE_SHARED], [AC_ENABLE_SHARED($@)]) AC_DEFUN([AM_ENABLE_STATIC], [AC_ENABLE_STATIC($@)]) AC_DEFUN([AM_DISABLE_SHARED], [AC_DISABLE_SHARED($@)]) AC_DEFUN([AM_DISABLE_STATIC], [AC_DISABLE_STATIC($@)]) AC_DEFUN([AM_PROG_LD], [AC_PROG_LD]) AC_DEFUN([AM_PROG_NM], [AC_PROG_NM]) # This is just to silence aclocal about the macro not being used ifelse([AC_DISABLE_FAST_INSTALL]) AC_DEFUN([LT_AC_PROG_GCJ], [AC_CHECK_TOOL(GCJ, gcj, no) test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2" AC_SUBST(GCJFLAGS) ]) AC_DEFUN([LT_AC_PROG_RC], [AC_CHECK_TOOL(RC, windres, no) ]) # NOTE: This macro has been submitted for inclusion into # # GNU Autoconf as AC_PROG_SED. When it is available in # # a released version of Autoconf we should remove this # # macro and use it instead. # # LT_AC_PROG_SED # -------------- # Check for a fully-functional sed program, that truncates # as few characters as possible. Prefer GNU sed if found. AC_DEFUN([LT_AC_PROG_SED], [AC_MSG_CHECKING([for a sed that does not truncate output]) AC_CACHE_VAL(lt_cv_path_SED, [# Loop through the user's path and test for sed and gsed. # Then use that list of sed's as ones to test for truncation. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for lt_ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" fi done done done lt_ac_max=0 lt_ac_count=0 # Add /usr/xpg4/bin/sed as it is typically found on Solaris # along with /bin/sed that truncates output. for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do test ! -f $lt_ac_sed && continue cat /dev/null > conftest.in lt_ac_count=0 echo $ECHO_N "0123456789$ECHO_C" >conftest.in # Check for GNU sed and select it if it is found. if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then lt_cv_path_SED=$lt_ac_sed break fi while true; do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo >>conftest.nl $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break cmp -s conftest.out conftest.nl || break # 10000 chars as input seems more than enough test $lt_ac_count -gt 10 && break lt_ac_count=`expr $lt_ac_count + 1` if test $lt_ac_count -gt $lt_ac_max; then lt_ac_max=$lt_ac_count lt_cv_path_SED=$lt_ac_sed fi done done ]) SED=$lt_cv_path_SED AC_MSG_RESULT([$SED]) ]) # 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"]) ]) # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 8 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) # Do all the work for Automake. -*- Autoconf -*- # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 12 # This macro actually does too much. Some checks are only needed if # your package does certain things. But this isn't really a big deal. # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) # AM_INIT_AUTOMAKE([OPTIONS]) # ----------------------------------------------- # The call with PACKAGE and VERSION arguments is the old style # call (pre autoconf-2.50), which is being phased out. PACKAGE # and VERSION should now be passed to AC_INIT and removed from # the call to AM_INIT_AUTOMAKE. # We support both call styles for the transition. After # the next Automake release, Autoconf can make the AC_INIT # arguments mandatory, and then we can depend on a new Autoconf # release and drop the old call support. AC_DEFUN([AM_INIT_AUTOMAKE], [AC_PREREQ([2.58])dnl dnl Autoconf wants to disallow AM_ names. We explicitly allow dnl the ones we care about. m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl AC_REQUIRE([AC_PROG_INSTALL])dnl # test to see if srcdir already configured if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then AC_MSG_ERROR([source directory already configured; run "make distclean" there first]) fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi AC_SUBST([CYGPATH_W]) # Define the identity of the package. dnl Distinguish between old-style and new-style calls. m4_ifval([$2], [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl AC_SUBST([PACKAGE], [$1])dnl AC_SUBST([VERSION], [$2])], [_AM_SET_OPTIONS([$1])dnl AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl _AM_IF_OPTION([no-define],, [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package]) AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl # Some tools Automake needs. AC_REQUIRE([AM_SANITY_CHECK])dnl AC_REQUIRE([AC_ARG_PROGRAM])dnl AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version}) AM_MISSING_PROG(AUTOCONF, autoconf) AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version}) AM_MISSING_PROG(AUTOHEADER, autoheader) AM_MISSING_PROG(MAKEINFO, makeinfo) AM_PROG_INSTALL_SH AM_PROG_INSTALL_STRIP AC_REQUIRE([AM_PROG_MKDIR_P])dnl # We need awk for the "check" target. The system "awk" is bad on # some platforms. AC_REQUIRE([AC_PROG_AWK])dnl AC_REQUIRE([AC_PROG_MAKE_SET])dnl AC_REQUIRE([AM_SET_LEADING_DOT])dnl _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], [_AM_PROG_TAR([v7])])]) _AM_IF_OPTION([no-dependencies],, [AC_PROVIDE_IFELSE([AC_PROG_CC], [_AM_DEPENDENCIES(CC)], [define([AC_PROG_CC], defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl AC_PROVIDE_IFELSE([AC_PROG_CXX], [_AM_DEPENDENCIES(CXX)], [define([AC_PROG_CXX], defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl ]) ]) # When config.status generates a header, we must update the stamp-h file. # This file resides in the same directory as the config header # that is generated. The stamp files are numbered to have different names. # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the # loop where config.status creates the headers, so we can generate # our stamp files there. AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], [# Compute $1's index in $config_headers. _am_stamp_count=1 for _am_header in $config_headers :; do case $_am_header in $1 | $1:* ) break ;; * ) _am_stamp_count=`expr $_am_stamp_count + 1` ;; esac done echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_SH # ------------------ # Define $install_sh. AC_DEFUN([AM_PROG_INSTALL_SH], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl install_sh=${install_sh-"$am_aux_dir/install-sh"} AC_SUBST(install_sh)]) # Copyright (C) 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # Check whether the underlying file-system supports filenames # with a leading dot. For instance MS-DOS doesn't. AC_DEFUN([AM_SET_LEADING_DOT], [rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null AC_SUBST([am__leading_dot])]) # Add --enable-maintainer-mode option to configure. -*- Autoconf -*- # From Jim Meyering # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 AC_DEFUN([AM_MAINTAINER_MODE], [AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles]) dnl maintainer-mode is disabled by default AC_ARG_ENABLE(maintainer-mode, [ --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer], USE_MAINTAINER_MODE=$enableval, USE_MAINTAINER_MODE=no) AC_MSG_RESULT([$USE_MAINTAINER_MODE]) AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes]) MAINT=$MAINTAINER_MODE_TRUE AC_SUBST(MAINT)dnl ] ) AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE]) # Check to see how 'make' treats includes. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # AM_MAKE_INCLUDE() # ----------------- # Check to see how make treats includes. AC_DEFUN([AM_MAKE_INCLUDE], [am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo done .PHONY: am__doit END # If we don't find an include directive, just comment out the code. AC_MSG_CHECKING([for style of include used by $am_make]) am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # We grep out `Entering directory' and `Leaving directory' # messages which can occur if `w' ends up in MAKEFLAGS. # In particular we don't look at `^make:' because GNU make might # be invoked under some other name (usually "gmake"), in which # case it prints its new name instead of `make'. if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then am__include=include am__quote= _am_result=GNU fi # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then am__include=.include am__quote="\"" _am_result=BSD fi fi AC_SUBST([am__include]) AC_SUBST([am__quote]) AC_MSG_RESULT([$_am_result]) rm -f confinc confmf ]) # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*- # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_MISSING_PROG(NAME, PROGRAM) # ------------------------------ AC_DEFUN([AM_MISSING_PROG], [AC_REQUIRE([AM_MISSING_HAS_RUN]) $1=${$1-"${am_missing_run}$2"} AC_SUBST($1)]) # AM_MISSING_HAS_RUN # ------------------ # Define MISSING if not defined so far and test if it supports --run. # If it does, set am_missing_run to use it, otherwise, to nothing. AC_DEFUN([AM_MISSING_HAS_RUN], [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing" # Use eval to expand $SHELL if eval "$MISSING --run true"; then am_missing_run="$MISSING --run " else am_missing_run= AC_MSG_WARN([`missing' script is too old or missing]) fi ]) # Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_MKDIR_P # --------------- # Check whether `mkdir -p' is supported, fallback to mkinstalldirs otherwise. # # Automake 1.8 used `mkdir -m 0755 -p --' to ensure that directories # created by `make install' are always world readable, even if the # installer happens to have an overly restrictive umask (e.g. 077). # This was a mistake. There are at least two reasons why we must not # use `-m 0755': # - it causes special bits like SGID to be ignored, # - it may be too restrictive (some setups expect 775 directories). # # Do not use -m 0755 and let people choose whatever they expect by # setting umask. # # We cannot accept any implementation of `mkdir' that recognizes `-p'. # Some implementations (such as Solaris 8's) are not thread-safe: if a # parallel make tries to run `mkdir -p a/b' and `mkdir -p a/c' # concurrently, both version can detect that a/ is missing, but only # one can create it and the other will error out. Consequently we # restrict ourselves to GNU make (using the --version option ensures # this.) AC_DEFUN([AM_PROG_MKDIR_P], [if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then # We used to keeping the `.' as first argument, in order to # allow $(mkdir_p) to be used without argument. As in # $(mkdir_p) $(somedir) # where $(somedir) is conditionally defined. However this is wrong # for two reasons: # 1. if the package is installed by a user who cannot write `.' # make install will fail, # 2. the above comment should most certainly read # $(mkdir_p) $(DESTDIR)$(somedir) # so it does not work when $(somedir) is undefined and # $(DESTDIR) is not. # To support the latter case, we have to write # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir), # so the `.' trick is pointless. mkdir_p='mkdir -p --' else # On NextStep and OpenStep, the `mkdir' command does not # recognize any option. It will interpret all options as # directories to create, and then abort because `.' already # exists. for d in ./-p ./--version; do test -d $d && rmdir $d done # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists. if test -f "$ac_aux_dir/mkinstalldirs"; then mkdir_p='$(mkinstalldirs)' else mkdir_p='$(install_sh) -d' fi fi AC_SUBST([mkdir_p])]) # Helper functions for option handling. -*- Autoconf -*- # Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 3 # _AM_MANGLE_OPTION(NAME) # ----------------------- AC_DEFUN([_AM_MANGLE_OPTION], [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])]) # _AM_SET_OPTION(NAME) # ------------------------------ # Set option NAME. Presently that only means defining a flag for this option. AC_DEFUN([_AM_SET_OPTION], [m4_define(_AM_MANGLE_OPTION([$1]), 1)]) # _AM_SET_OPTIONS(OPTIONS) # ---------------------------------- # OPTIONS is a space-separated list of Automake options. AC_DEFUN([_AM_SET_OPTIONS], [AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])]) # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET]) # ------------------------------------------- # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise. AC_DEFUN([_AM_IF_OPTION], [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])]) # Check to make sure that the build environment is sane. -*- Autoconf -*- # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005 # Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 4 # AM_SANITY_CHECK # --------------- AC_DEFUN([AM_SANITY_CHECK], [AC_MSG_CHECKING([whether build environment is sane]) # Just in case sleep 1 echo timestamp > conftest.file # Do `set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null` if test "$[*]" = "X"; then # -L didn't work. set X `ls -t $srcdir/configure conftest.file` fi rm -f conftest.file if test "$[*]" != "X $srcdir/configure conftest.file" \ && test "$[*]" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken alias in your environment]) fi test "$[2]" = conftest.file ) then # Ok. : else AC_MSG_ERROR([newly created file is older than distributed files! Check your system clock]) fi AC_MSG_RESULT(yes)]) # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # AM_PROG_INSTALL_STRIP # --------------------- # One issue with vendor `install' (even GNU) is that you can't # specify the program used to strip binaries. This is especially # annoying in cross-compiling environments, where the build's strip # is unlikely to handle the host's binaries. # Fortunately install-sh will honor a STRIPPROG variable, so we # always use install-sh in `make install-strip', and initialize # STRIPPROG with the value of the STRIP variable (set by the user). AC_DEFUN([AM_PROG_INSTALL_STRIP], [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl # Installed binaries are usually stripped using `strip' when the user # run `make install-strip'. However `strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the `STRIP' environment variable to overrule this program. dnl Don't test for $cross_compiling = yes, because it might be `maybe'. if test "$cross_compiling" != no; then AC_CHECK_TOOL([STRIP], [strip], :) fi INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s" AC_SUBST([INSTALL_STRIP_PROGRAM])]) # Check how to create a tarball. -*- Autoconf -*- # Copyright (C) 2004, 2005 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. # serial 2 # _AM_PROG_TAR(FORMAT) # -------------------- # Check how to create a tarball in format FORMAT. # FORMAT should be one of `v7', `ustar', or `pax'. # # Substitute a variable $(am__tar) that is a command # writing to stdout a FORMAT-tarball containing the directory # $tardir. # tardir=directory && $(am__tar) > result.tar # # Substitute a variable $(am__untar) that extract such # a tarball read from stdin. # $(am__untar) < result.tar AC_DEFUN([_AM_PROG_TAR], [# Always define AMTAR for backward compatibility. AM_MISSING_PROG([AMTAR], [tar]) m4_if([$1], [v7], [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'], [m4_case([$1], [ustar],, [pax],, [m4_fatal([Unknown tar format])]) AC_MSG_CHECKING([how to create a $1 tar archive]) # Loop over all known methods to create a tar archive until one works. _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none' _am_tools=${am_cv_prog_tar_$1-$_am_tools} # Do not fold the above two line into one, because Tru64 sh and # Solaris sh will not grok spaces in the rhs of `-'. for _am_tool in $_am_tools do case $_am_tool in gnutar) for _am_tar in tar gnutar gtar; do AM_RUN_LOG([$_am_tar --version]) && break done am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"' am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"' am__untar="$_am_tar -xf -" ;; plaintar) # Must skip GNU tar: if it does not support --format= it doesn't create # ustar tarball either. (tar --version) >/dev/null 2>&1 && continue am__tar='tar chf - "$$tardir"' am__tar_='tar chf - "$tardir"' am__untar='tar xf -' ;; pax) am__tar='pax -L -x $1 -w "$$tardir"' am__tar_='pax -L -x $1 -w "$tardir"' am__untar='pax -r' ;; cpio) am__tar='find "$$tardir" -print | cpio -o -H $1 -L' am__tar_='find "$tardir" -print | cpio -o -H $1 -L' am__untar='cpio -i -H $1 -d' ;; none) am__tar=false am__tar_=false am__untar=false ;; esac # If the value was cached, stop now. We just wanted to have am__tar # and am__untar set. test -n "${am_cv_prog_tar_$1}" && break # tar/untar a dummy directory, and stop if the command works rm -rf conftest.dir mkdir conftest.dir echo GrepMe > conftest.dir/file AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar]) rm -rf conftest.dir if test -s conftest.tar; then AM_RUN_LOG([$am__untar /dev/null 2>&1 && break fi done rm -rf conftest.dir AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) AC_MSG_RESULT([$am_cv_prog_tar_$1])]) AC_SUBST([am__tar]) AC_SUBST([am__untar]) ]) # _AM_PROG_TAR libmimedir-0.4.2/mimedir-1.0.pc.in0000644000175000017500000000036210603540671013431 00000000000000prefix=@prefix@ exec_prefix=@exec_prefix@ libdir=@libdir@ includedir=@includedir@ Name: MIMEDir Description: MIME Directory implementation Requires: glib-2.0 Version: @VERSION@ Libs: -L${libdir} -lmimedir Cflags: -I${includedir}/mimedir-1.0 libmimedir-0.4.2/TODO0000644000175000017500000000133510603540671011247 00000000000000 * Implement all functionality needed by GNOME-PIM * Should the revision be updated when a file is read and is re-written to disk? * vCard: do the decode/convert/parse steps for text, text_list, and structured_text in the same way. There's no need for multiple functions that all return INVALID_CHAR errors --- Release 0.4.0 * Localization in Profiles * String review --- Release 0.5.0 * vcal-dump and ical-dump should support all attributes * Bug fixing * FIXMEs * docs: Intro sections, examples, etc. * docs: Document object properties --- Release 0.6.0 * Check for compliance with RFCs * "Be liberal in what you accept" * FIXMEs --- Release 0.90.0 * Beta test --- Release 1.0.0 * Higher-level API libmimedir-0.4.2/NEWS0000644000175000017500000000016410603540671011255 00000000000000Changes in libmimedir 0.4.0 =========================== * CATEGORY_LIST only returned one category. (Martin Felis) libmimedir-0.4.2/po/0000777000175000017500000000000010654704037011263 500000000000000libmimedir-0.4.2/po/az.po0000644000175000017500000007702110603540671012154 00000000000000# libmimedir.HEAD.po faylının Azərbaycan dilinə tərcüməsi # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # Mətin Əmirov , 2003 # msgid "" msgstr "" "Project-Id-Version: libmimedir.HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-04 15:04+0200\n" "PO-Revision-Date: 2003-08-23 15:39+0300\n" "Last-Translator: Mətin Əmirov \n" "Language-Team: Azerbaijani \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0.1\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "İstifadə qaydası: %s ICALFILE\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" #: ../bin/ical-dump.c:61 #, fuzzy msgid "hourly" msgstr "Ölkə" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 msgid "unknown" msgstr "" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" #: ../bin/ical-dump.c:93 msgid "week number" msgstr "" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr "" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr "" #: ../bin/ical-dump.c:123 #, c-format msgid " Until: %s\n" msgstr "" #: ../bin/ical-dump.c:128 #, c-format msgid " Count: %d\n" msgstr "" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" #: ../bin/ical-dump.c:134 #, c-format msgid " Unit: %s\n" msgstr "" #: ../bin/ical-dump.c:137 #, c-format msgid " Units: %s\n" msgstr "" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr "" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr "" #: ../bin/ical-dump.c:188 msgid "high" msgstr "" #: ../bin/ical-dump.c:190 msgid "low" msgstr "" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr "" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr "" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr "" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr "" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr "" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr "" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr "" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Ad" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Qrup" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "" #: ../mimedir/mimedir-attribute.c:894 msgid "missing parameter name" msgstr "" #: ../mimedir/mimedir-attribute.c:919 msgid "missing closing quotation mark" msgstr "" #: ../mimedir/mimedir-attribute.c:1040 msgid "missing attribute name/group" msgstr "" #: ../mimedir/mimedir-attribute.c:1056 msgid "no attribute name after group" msgstr "" #: ../mimedir/mimedir-attribute.c:1072 msgid "missing value delimiter" msgstr "" #: ../mimedir/mimedir-attribute.c:1088 msgid "invalid character" msgstr "" #: ../mimedir/mimedir-attribute.c:2459 ../mimedir/mimedir-attribute.c:2468 msgid "illegal character" msgstr "" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "" #: ../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "" #: ../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 msgid "Recurrence unit" msgstr "" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 msgid "Recurrence units" msgstr "" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Başlıq" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Ölkə" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Beynəlmilləl" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Ev" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "İş" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:153 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s." msgstr "" #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:504 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "home" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:138 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Ünvan" #: ../mimedir/mimedir-vcard-email.c:139 msgid "The e-mail address" msgstr "" #: ../mimedir/mimedir-vcard-email.c:145 msgid "Type" msgstr "Növ" #: ../mimedir/mimedir-vcard-email.c:146 msgid "Type of this e-mail address" msgstr "" #: ../mimedir/mimedir-vcard-email.c:154 msgid "Whether this is the preferred e-mail address" msgstr "" #: ../mimedir/mimedir-vcard-email.c:412 #, c-format msgid "The email field is of unknown type %s." msgstr "" #: ../mimedir/mimedir-vcard-email.c:514 msgid "Internet" msgstr "İnternet" #: ../mimedir/mimedir-vcard-email.c:519 msgid "X.400" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Ədəd" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Səs" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Video" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "İsmarış" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s." msgstr "" #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "ePoçt ünvanı" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Loqo" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Kateqoriyalar" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Səs" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3554 msgid "E-mail:\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3578 #, c-format msgid "E-mail: %s (%s)\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3598 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3607 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3616 #, c-format msgid "Organization: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3621 #, c-format msgid "Job title: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3624 #, c-format msgid "Business role: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3634 #, c-format msgid "Categories: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3639 #, c-format msgid "Comment: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3642 #, c-format msgid "Homepage: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3645 #, c-format msgid "Unique string: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3655 msgid "X.509" msgstr "" #: ../mimedir/mimedir-vcard.c:3658 msgid "PGP" msgstr "" #: ../mimedir/mimedir-vcard.c:3661 msgid "yes" msgstr "bəli" #: ../mimedir/mimedir-vcard.c:3665 #, c-format msgid "Public Key: %s\n" msgstr "" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "İzahat" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "" #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "Üstünlük" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "Vəziyyət" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "İcmal" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "" #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "Əlaqə" #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "" #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "Gedişat" #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "" #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "" libmimedir-0.4.2/po/ar.po0000644000175000017500000012335510603540671012146 00000000000000# Arabic translations for PACKAGE package. # Copyright (C) 2006 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Automatically generated, 2006. # msgid "" msgstr "" "Project-Id-Version: Project\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-11-17 21:14+0000\n" "PO-Revision-Date: 2006-11-18 00:28+0100\n" "Last-Translator: Djihed Afifi \n" "Language-Team: Arabic \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n == 0 ? 0 : n == 1 ? 1 : n == 2 ? 2 : n >= 3 && n <= 10 ? 3 : n >= 11 && n <= 99 ? 4 : 5;\n" "X-Poedit-Language: Arabic\n" #: ../bin/ical-dump.c:48 #, fuzzy, c-format msgid "Usage: %s ICALFILE\n" msgstr "الاستعمال:·%s:·[-D]·[-E]·[-a·accuracy]·" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" #: ../bin/ical-dump.c:61 msgid "hourly" msgstr "" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 #: ../bin/ical-dump.c:97 #, fuzzy msgid "unknown" msgstr "مجهول" #: ../bin/ical-dump.c:81 #, fuzzy msgid "second" msgstr "الثّاني" #: ../bin/ical-dump.c:83 #, fuzzy msgid "minute" msgstr "دقيقة" #: ../bin/ical-dump.c:85 #, fuzzy msgid "hour" msgstr "ساعة" #: ../bin/ical-dump.c:87 #, fuzzy msgid "day" msgstr "اليوم" #: ../bin/ical-dump.c:89 #, fuzzy msgid "day of month" msgstr "مشهد الشّهر" #: ../bin/ical-dump.c:91 #, fuzzy msgid "day of year" msgstr "السّنة المنتقاة (%Y)" #: ../bin/ical-dump.c:93 #, fuzzy msgid "week number" msgstr "رقم ال_حساب:" #: ../bin/ical-dump.c:95 #, fuzzy msgid "month" msgstr "الشّهر" #: ../bin/ical-dump.c:118 #, fuzzy, c-format msgid " Recurrence:\n" msgstr "التّكرار" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr "" #: ../bin/ical-dump.c:123 #, fuzzy, c-format msgid " Until: %s\n" msgstr "حتّى" #: ../bin/ical-dump.c:128 #, fuzzy, c-format msgid " Count: %d\n" msgstr "عد الرموز " #: ../bin/ical-dump.c:131 #, fuzzy, c-format msgid " Interval: %d\n" msgstr "فترة ال_تحديث" #: ../bin/ical-dump.c:134 #, fuzzy, c-format msgid " Unit: %s\n" msgstr "الوحدة:" #: ../bin/ical-dump.c:137 #, fuzzy, c-format msgid " Units: %s\n" msgstr "الوحدات" #: ../bin/ical-dump.c:152 #, fuzzy, c-format msgid "" "Event:\n" "\n" msgstr "حدث" #: ../bin/ical-dump.c:154 #, fuzzy, c-format msgid "" "Todo item:\n" "\n" msgstr "عنصر _جديد" #: ../bin/ical-dump.c:156 #, fuzzy, c-format msgid "" "Unknown component:\n" "\n" msgstr "مكوّن مضمّن" #: ../bin/ical-dump.c:177 #, fuzzy, c-format msgid " Summary: %s\n" msgstr "الملخّص:" #: ../bin/ical-dump.c:182 #, fuzzy, c-format msgid " Categories: %s\n" msgstr "الفئات" #: ../bin/ical-dump.c:188 #, fuzzy msgid "high" msgstr "مرتفعة" #: ../bin/ical-dump.c:190 #, fuzzy msgid "low" msgstr "منخفضة" #: ../bin/ical-dump.c:192 #, fuzzy msgid "medium" msgstr "_متوسط" #: ../bin/ical-dump.c:193 #, fuzzy, c-format msgid " Priority: %s (%d)\n" msgstr "الأ_ولويّة:" #: ../bin/ical-dump.c:198 #, fuzzy, c-format msgid " Start date: %s\n" msgstr "تاريخ البدء:" #: ../bin/ical-dump.c:205 #, fuzzy, c-format msgid " End date: %s\n" msgstr "تاريخ الإنتهاء خاطئ" #: ../bin/ical-dump.c:213 #, fuzzy, c-format msgid " Due date: %s\n" msgstr "تاريخ الإستحقاق:" #: ../bin/ical-dump.c:222 #, fuzzy, c-format msgid " Unique ID: %s\n" msgstr "الهويّة الفريدة للمُصدر" #: ../bin/ical-dump.c:223 #, fuzzy, c-format msgid " Sequence: %u\n" msgstr "متتالية" #: ../bin/ical-dump.c:236 #, fuzzy, c-format msgid " All day event\n" msgstr "_حدث جديد يستغرق يوماً كاملاً" #: ../bin/ical-dump.c:261 #: ../bin/vcard-dump.c:84 #: ../bin/vcard-normalize.c:68 #, fuzzy, c-format msgid "%s: invalid number of arguments\n" msgstr "رقم منفذ غير صحيح: %d." #: ../bin/vcard-dump.c:43 #: ../bin/vcard-normalize.c:43 #, fuzzy, c-format msgid "Usage: %s VCARDFILE\n" msgstr "الاستعمال:·%s:·[-D]·[-E]·[-a·accuracy]·" #: ../bin/vcard-normalize.c:79 #, fuzzy, c-format msgid "%s: error reading card file: %s\n" msgstr "خطأ أثناء قراءة ملف البريد: %s" #: ../bin/vcard-normalize.c:96 #, fuzzy, c-format msgid "%s: error writing card file: %s\n" msgstr "خطأ كتابة ملف الجلسة '%s': %s\n" #: ../mimedir/mimedir-attribute.c:131 #: ../mimedir/mimedir-vcard.c:298 #, fuzzy msgid "Name" msgstr "اسم" #: ../mimedir/mimedir-attribute.c:132 #, fuzzy msgid "The attribute's name" msgstr "اسم الموصول" #: ../mimedir/mimedir-attribute.c:137 #, fuzzy msgid "Group" msgstr "مجموعة" #: ../mimedir/mimedir-attribute.c:138 #, fuzzy msgid "The attribute's group" msgstr "مجموعة الرُّزنامة" #: ../mimedir/mimedir-attribute.c:933 #, fuzzy msgid "missing parameter name" msgstr "الاسم مطلوب" #: ../mimedir/mimedir-attribute.c:958 msgid "missing closing quotation mark" msgstr "" #: ../mimedir/mimedir-attribute.c:983 #, fuzzy msgid "wrong parameter syntax" msgstr "تفعيل إبراز بناء الجملة" #: ../mimedir/mimedir-attribute.c:993 #, fuzzy msgid "no parameter value" msgstr "(لا قيمة ضبطت)" #: ../mimedir/mimedir-attribute.c:1086 #, fuzzy msgid "missing attribute name/group" msgstr "اسم المجموعة خالٍ" #: ../mimedir/mimedir-attribute.c:1102 #, fuzzy msgid "no attribute name after group" msgstr "لا صفة \"اسم\" على العنصر <%s>" #: ../mimedir/mimedir-attribute.c:1118 #, fuzzy msgid "missing value delimiter" msgstr "قيمة التكبير المحلي" #: ../mimedir/mimedir-attribute.c:1134 #, fuzzy msgid "invalid character" msgstr "محرفٌ غير سليم \"%c\" في التّعليق" #: ../mimedir/mimedir-attribute.c:2505 #: ../mimedir/mimedir-attribute.c:2514 #, fuzzy msgid "illegal character" msgstr "تشفيرة الرموز" #: ../mimedir/mimedir-attribute.h:48 #, fuzzy, c-format msgid "syntax error (%s)" msgstr "خطأ صياغي، أمر غير معروف" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "" #: ../mimedir/mimedir-attribute.h:52 #, fuzzy, c-format msgid "invalid value in attribute %s" msgstr "يو تي اف غير سليم في سلسلة القيمة عند '%s'" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "" #: ../mimedir/mimedir-attribute.h:54 #, fuzzy msgid "invalid Base64 sequence" msgstr "سلسلة غير سليمة في مُدخلات التحويل" #: ../mimedir/mimedir-attribute.h:55 #, fuzzy msgid "invalid quoted-printable sequence" msgstr "سلسلة غير سليمة في مُدخلات التحويل" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "" #: ../mimedir/mimedir-attribute.h:57 #, fuzzy, c-format msgid "attribute list of %s is too long" msgstr "اسم المجموعة طويل جدا" #: ../mimedir/mimedir-datetime.c:114 #: ../mimedir/mimedir-vcomponent.c:352 #, fuzzy msgid "Time zone identifier" msgstr "اختر منطقة زمنيّة" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, fuzzy, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "(%d:%02d:%d متبقيّة)" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, fuzzy, c-format msgid "%04d-%02d-%02d" msgstr "(%d:%02d:%d متبقيّة)" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, fuzzy, c-format msgid "%02d:%02d:%02d" msgstr "%d:%02d" #: ../mimedir/mimedir-period.c:111 #, fuzzy msgid "Free/busy type" msgstr "معلومات متوفّر/مشغول" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "" #: ../mimedir/mimedir-profile.c:114 #, fuzzy msgid "Profile name" msgstr "ا_سم اللمحة المختصرة:" #: ../mimedir/mimedir-profile.c:115 #, fuzzy msgid "The name (type) of the profile" msgstr "يجب أن يحتوي التقويم اسم" #: ../mimedir/mimedir-profile.c:121 #, fuzzy msgid "Character set" msgstr "مجموعة رموز مجهولة: %s" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" #: ../mimedir/mimedir-profile.h:40 #, fuzzy, c-format msgid "attribute %s defined twice" msgstr "الخيار \"%s\" معطى مرتّان\n" #: ../mimedir/mimedir-profile.h:41 #, fuzzy msgid "unexpected end of profile" msgstr "نهاية غير متوقّعة لبيانات صورة PNM" #: ../mimedir/mimedir-profile.h:42 #, fuzzy, c-format msgid "required attribute %s is missing" msgstr "دليل الجلسة مفقود" #: ../mimedir/mimedir-profile.h:43 #, fuzzy msgid "unmatched END attribute" msgstr "حدود قيم الصّفة" #: ../mimedir/mimedir-profile.h:44 #, fuzzy, c-format msgid "wrong profile %s; expected %s" msgstr "ترقّب اللاعب القيم" #: ../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 #, fuzzy msgid "Date of last recurrence" msgstr "تاريخ التّكرار غير صحيح" #: ../mimedir/mimedir-recurrence.c:230 #, fuzzy msgid "The date of the last recurrence of an event" msgstr "تاريخ التّكرار غير صحيح" #: ../mimedir/mimedir-recurrence.c:235 #, fuzzy msgid "Number of recurrences" msgstr "رقم ال_حساب:" #: ../mimedir/mimedir-recurrence.c:236 #, fuzzy msgid "The number of recurrences of an event" msgstr "مظهر أحداث الأشهر" #: ../mimedir/mimedir-recurrence.c:243 #, fuzzy msgid "Recurrence interval" msgstr "فترة ال_تحديث" #: ../mimedir/mimedir-recurrence.c:244 #, fuzzy msgid "The interval of recurrences of an event" msgstr "مظهر أحداث الأشهر" #: ../mimedir/mimedir-recurrence.c:251 #, fuzzy msgid "Recurrence unit" msgstr "الوحدة المؤسساتية:" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 #, fuzzy msgid "Recurrence units" msgstr "وحدات مساحة المستخدم" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, fuzzy, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "إنشاء موعد جديد" #: ../mimedir/mimedir-vcal.c:148 #, fuzzy msgid "Method" msgstr "ال_طريقة:" #: ../mimedir/mimedir-vcal.c:149 #, fuzzy msgid "The vCalendar's method" msgstr "طريقة NAT" #: ../mimedir/mimedir-vcal.c:154 #: ../mimedir/mimedir-vcard.c:505 #, fuzzy msgid "Product identifier" msgstr "مميّز الجسم (%s)" #: ../mimedir/mimedir-vcal.c:155 msgid "The product identifier of the vCalendar. In case of newly generated objects, this is LibMIMEDir's product identifier" msgstr "" #: ../mimedir/mimedir-vcal.c:384 #: ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2111 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "" #: ../mimedir/mimedir-vcal.c:387 #: ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2114 #, fuzzy, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "صفة مجهولة %s على عنصر " #: ../mimedir/mimedir-vcal.c:432 #: ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 #: ../mimedir/mimedir-vcal.c:506 #, fuzzy, c-format msgid "Error reading calendar file %s: %s!" msgstr "خطأ أثناء قراءة ملف البريد: %s" #: ../mimedir/mimedir-vcard-address.c:167 #, fuzzy msgid "Title" msgstr "العنوان" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "" #: ../mimedir/mimedir-vcard-address.c:174 #, fuzzy msgid "Freeform address" msgstr "عنوان البريد الإلكتروني" #: ../mimedir/mimedir-vcard-address.c:175 #, fuzzy msgid "A freeform address string" msgstr "سلسلة هندسة غير سليمة \"%s\"\n" #: ../mimedir/mimedir-vcard-address.c:180 #, fuzzy msgid "Post office box" msgstr "رسم حدود الصناديق" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "" #: ../mimedir/mimedir-vcard-address.c:186 #, fuzzy msgid "Extended address" msgstr "عنوان البريد الإلكتروني" #: ../mimedir/mimedir-vcard-address.c:187 #, fuzzy msgid "Extended address string" msgstr "سلسلة هندسة غير سليمة \"%s\"\n" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "" #: ../mimedir/mimedir-vcard-address.c:193 #, fuzzy msgid "Street address" msgstr "عنوان البريد الإلكتروني" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "" #: ../mimedir/mimedir-vcard-address.c:205 #, fuzzy msgid "Region (e.g. state)" msgstr "ال_ولاية/المحافظة:" #: ../mimedir/mimedir-vcard-address.c:210 #, fuzzy msgid "Postal code" msgstr "الرمز البريدي:" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 #, fuzzy msgid "Country" msgstr "كنتري" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "" #: ../mimedir/mimedir-vcard-address.c:223 #, fuzzy msgid "Whether this is a domestic address" msgstr "ما اذا يكون تركيز الإدخال ضمن GtkWindow الحالي" #: ../mimedir/mimedir-vcard-address.c:228 #, fuzzy msgid "International" msgstr "الولايات المتحدة عالمي" #: ../mimedir/mimedir-vcard-address.c:229 #, fuzzy msgid "Whether this is an international address" msgstr "ما اذا يكون تركيز الإدخال ضمن GtkWindow الحالي" #: ../mimedir/mimedir-vcard-address.c:234 #, fuzzy msgid "Postal" msgstr "الرمز البريدي:" #: ../mimedir/mimedir-vcard-address.c:235 #, fuzzy msgid "Whether this is a postal address" msgstr "ما اذا يكون تركيز الإدخال ضمن GtkWindow الحالي" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:246 #: ../mimedir/mimedir-vcard-email.c:163 #: ../mimedir/mimedir-vcard-phone.c:160 #, fuzzy msgid "Home" msgstr "المنزل" #: ../mimedir/mimedir-vcard-address.c:247 #, fuzzy msgid "Whether this is a home address" msgstr "ما اذا يكون تركيز الإدخال ضمن GtkWindow الحالي" #: ../mimedir/mimedir-vcard-address.c:252 #: ../mimedir/mimedir-vcard-email.c:169 #: ../mimedir/mimedir-vcard-phone.c:166 #, fuzzy msgid "Work" msgstr "عمل" #: ../mimedir/mimedir-vcard-address.c:253 #, fuzzy msgid "Whether this is a work address" msgstr "ما اذا يكون تركيز الإدخال ضمن GtkWindow الحالي" #: ../mimedir/mimedir-vcard-address.c:258 #: ../mimedir/mimedir-vcard-email.c:157 #: ../mimedir/mimedir-vcard-phone.c:232 #, fuzzy msgid "Preferred" msgstr "التطبيقات المفضّلة" #: ../mimedir/mimedir-vcard-address.c:259 #, fuzzy msgid "Whether this is the preferred address" msgstr "ما اذا يكون تركيز الإدخال ضمن GtkWindow الحالي" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s.\n" msgstr "" #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, fuzzy, c-format msgid "%s %s" msgstr "%s·%s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "" #: ../mimedir/mimedir-vcard-address.c:914 #: ../mimedir/mimedir-vcard-email.c:538 #: ../mimedir/mimedir-vcard-phone.c:695 #, fuzzy msgid "preferred" msgstr "التطبيقات المفضّلة" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "" #: ../mimedir/mimedir-vcard-address.c:924 #, fuzzy msgid "international" msgstr "الولايات المتحدة عالمي" #: ../mimedir/mimedir-vcard-address.c:929 #, fuzzy msgid "postal" msgstr "الرمز البريدي:" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "" #: ../mimedir/mimedir-vcard-address.c:939 #: ../mimedir/mimedir-vcard-email.c:560 #: ../mimedir/mimedir-vcard-phone.c:701 #, fuzzy msgid "home" msgstr "home" #: ../mimedir/mimedir-vcard-address.c:944 #: ../mimedir/mimedir-vcard-email.c:566 #: ../mimedir/mimedir-vcard-phone.c:706 #, fuzzy msgid "work" msgstr "عمل" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "" #: ../mimedir/mimedir-vcard-address.c:1002 #, fuzzy msgid "" msgstr "مجهول" #: ../mimedir/mimedir-vcard-email.c:142 #: ../mimedir/mimedir-vcard.c:368 #, fuzzy msgid "Address" msgstr "العنوان" #: ../mimedir/mimedir-vcard-email.c:143 #, fuzzy msgid "The e-mail address" msgstr "عنواوين ال_بريد الالكتروني:" #: ../mimedir/mimedir-vcard-email.c:149 #, fuzzy msgid "Type" msgstr "النّوع" #: ../mimedir/mimedir-vcard-email.c:150 #, fuzzy msgid "Type of this e-mail address" msgstr "أدخل عنوان بريدك الالكتروني" #: ../mimedir/mimedir-vcard-email.c:158 msgid "Whether this is the preferred e-mail address" msgstr "" #: ../mimedir/mimedir-vcard-email.c:164 msgid "Whether is a home e-mail address" msgstr "" #: ../mimedir/mimedir-vcard-email.c:170 msgid "Whether this is an e-mail address at work" msgstr "" #: ../mimedir/mimedir-vcard-email.c:442 #, c-format msgid "The email field is of unknown type %s.\n" msgstr "" #: ../mimedir/mimedir-vcard-email.c:548 #, fuzzy msgid "Internet" msgstr "إنترنت" #: ../mimedir/mimedir-vcard-email.c:553 #, fuzzy msgid "X.400" msgstr "400%" #: ../mimedir/mimedir-vcard-phone.c:153 #, fuzzy msgid "Number" msgstr "الرقم" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:172 #, fuzzy msgid "Voice" msgstr "صوت" #: ../mimedir/mimedir-vcard-phone.c:173 #, fuzzy msgid "Whether this is a voice number" msgstr "ما اذا يكون تركيز الإدخال ضمن GtkWindow الحالي" #: ../mimedir/mimedir-vcard-phone.c:178 #, fuzzy msgid "Fax" msgstr "فاكس العمل" #: ../mimedir/mimedir-vcard-phone.c:179 #, fuzzy msgid "Whether this is a facsimile number" msgstr "ما اذا يكون تركيز الإدخال ضمن GtkWindow الحالي" #: ../mimedir/mimedir-vcard-phone.c:184 #: ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:190 #, fuzzy msgid "Modem" msgstr "مودم" #: ../mimedir/mimedir-vcard-phone.c:191 #, fuzzy msgid "Whether this is a modem number" msgstr "ما اذا يكون تركيز الإدخال ضمن GtkWindow الحالي" #: ../mimedir/mimedir-vcard-phone.c:196 #, fuzzy msgid "Pager" msgstr "بيبر" #: ../mimedir/mimedir-vcard-phone.c:197 #, fuzzy msgid "Whether this is a pager number" msgstr "ما اذا يكون تركيز الإدخال ضمن GtkWindow الحالي" #: ../mimedir/mimedir-vcard-phone.c:202 #, fuzzy msgid "Video" msgstr "الفيديو" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:208 #, fuzzy msgid "Cell" msgstr "خلية" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:214 #, fuzzy msgid "Car" msgstr "هاتف السّيارة" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:220 #: ../mimedir/mimedir-vcard-phone.c:756 #, fuzzy msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 #, fuzzy msgid "Whether this is a ISDN number" msgstr "ما اذا يكون تركيز الإدخال ضمن GtkWindow الحالي" #: ../mimedir/mimedir-vcard-phone.c:226 #: ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:227 #, fuzzy msgid "Whether this is a PCS number" msgstr "ما اذا يكون تركيز الإدخال ضمن GtkWindow الحالي" #: ../mimedir/mimedir-vcard-phone.c:233 #, fuzzy msgid "Whether this is the preferred number" msgstr "ما اذا يكون تركيز الإدخال ضمن GtkWindow الحالي" #: ../mimedir/mimedir-vcard-phone.c:238 #, fuzzy msgid "Message" msgstr "رسالة" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s.\n" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:711 #, fuzzy msgid "voice" msgstr "الصوت" #: ../mimedir/mimedir-vcard-phone.c:716 #, fuzzy msgid "fax" msgstr "فاكس العمل" #: ../mimedir/mimedir-vcard-phone.c:726 #, fuzzy msgid "modem" msgstr "مودم" #: ../mimedir/mimedir-vcard-phone.c:731 #, fuzzy msgid "pager" msgstr "بيبر" #: ../mimedir/mimedir-vcard-phone.c:736 #, fuzzy msgid "video" msgstr "الفيديو" #: ../mimedir/mimedir-vcard-phone.c:741 #, fuzzy msgid "voice message" msgstr "إر_سال رسالة" #: ../mimedir/mimedir-vcard-phone.c:746 #, fuzzy msgid "cell phone" msgstr "هاتف المساعد" #: ../mimedir/mimedir-vcard-phone.c:751 #, fuzzy msgid "car phone" msgstr "هاتف السّيارة" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:304 #, fuzzy msgid "Family name" msgstr "إسم العائلة" #: ../mimedir/mimedir-vcard.c:305 #, fuzzy msgid "The family name of this person" msgstr "يجب أن تسمّي هذه المصفاة." #: ../mimedir/mimedir-vcard.c:310 #, fuzzy msgid "Given name" msgstr "الإسم المعطى" #: ../mimedir/mimedir-vcard.c:311 #, fuzzy msgid "The given name of this person" msgstr "يجب أن تسمّي هذه المصفاة." #: ../mimedir/mimedir-vcard.c:316 #, fuzzy msgid "Middle name" msgstr "اسم الموصول" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:322 #, fuzzy msgid "Prefix" msgstr "سابقة" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:328 #, fuzzy msgid "Suffix" msgstr "ال_لّاحقة:" #: ../mimedir/mimedir-vcard.c:329 #, fuzzy msgid "The name suffix of this person" msgstr "يجب أن تسمّي هذه المصفاة." #: ../mimedir/mimedir-vcard.c:334 #, fuzzy msgid "Nickname list" msgstr "قائمة الحسابات" #: ../mimedir/mimedir-vcard.c:335 msgid "List of all nick names. This is a GList *, where the elements are of type const gchar *" msgstr "" #: ../mimedir/mimedir-vcard.c:339 #, fuzzy msgid "Nick name" msgstr "اسم الموصول" #: ../mimedir/mimedir-vcard.c:340 #, fuzzy msgid "The first nick name" msgstr "أدخل اسمك الأول" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 #, fuzzy msgid "Photo" msgstr "صورة تسجيل الدخول" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "" #: ../mimedir/mimedir-vcard.c:350 #, fuzzy msgid "Photo URI" msgstr "عنوان غير صحيح" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "" #: ../mimedir/mimedir-vcard.c:357 #, fuzzy msgid "The person's birthday" msgstr "شخص مجهول" #: ../mimedir/mimedir-vcard.c:363 #, fuzzy msgid "Address list" msgstr "قائمة الحسابات" #: ../mimedir/mimedir-vcard.c:364 msgid "List of all addresses. This is a GList *, where the elements are of type MIMEDirAddress *" msgstr "" #: ../mimedir/mimedir-vcard.c:369 #, fuzzy msgid "The preferred address" msgstr "عنوان البريد الإلكتروني" #: ../mimedir/mimedir-vcard.c:375 #, fuzzy msgid "Phone number list" msgstr "لائحة كودكات الصوت" #: ../mimedir/mimedir-vcard.c:376 msgid "List of all phone numbers. This is a GList *, where the elements are of type MIMEDirPhone *" msgstr "" #: ../mimedir/mimedir-vcard.c:380 #, fuzzy msgid "Phone number" msgstr "_رقم الهاتف:" #: ../mimedir/mimedir-vcard.c:381 #, fuzzy msgid "The preferred phone number" msgstr "رقم يحدد التيمة المحبذة." #: ../mimedir/mimedir-vcard.c:386 #, fuzzy msgid "E-mail address list" msgstr "بريد (دفتر العناوين)" #: ../mimedir/mimedir-vcard.c:387 msgid "List of all e-mail addresses. This is a GList *, where the elements are of type MIMEDirEmail *" msgstr "" #: ../mimedir/mimedir-vcard.c:391 #, fuzzy msgid "E-mail address" msgstr "عنواوين ال_بريد الالكتروني:" #: ../mimedir/mimedir-vcard.c:392 #, fuzzy msgid "The preferred e-mail address" msgstr "بريد (دفتر العناوين)" #: ../mimedir/mimedir-vcard.c:397 #, fuzzy msgid "Mailer" msgstr "المرسِل" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "" #: ../mimedir/mimedir-vcard.c:404 #, fuzzy msgid "Time zone" msgstr "المنطقة الزمنيّة" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "" #: ../mimedir/mimedir-vcard.c:412 #, fuzzy msgid "Time zone string" msgstr "اختر منطقة زمنيّة" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "" #: ../mimedir/mimedir-vcard.c:435 #, fuzzy msgid "Job title" msgstr "المسمّى الوظيفي" #: ../mimedir/mimedir-vcard.c:436 #, fuzzy msgid "The person's job title" msgstr "اللقب و_ العنوان" #: ../mimedir/mimedir-vcard.c:441 #, fuzzy msgid "Role" msgstr "الدّور" #: ../mimedir/mimedir-vcard.c:442 #, fuzzy msgid "The person's job role" msgstr "لا دور متوفر" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 #, fuzzy msgid "Logo" msgstr "الشعار" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" #: ../mimedir/mimedir-vcard.c:452 #, fuzzy msgid "Logo URI" msgstr "عنوان غير صحيح" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "" #: ../mimedir/mimedir-vcard.c:458 #, fuzzy msgid "Agent" msgstr "وكيل البريد" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "" #: ../mimedir/mimedir-vcard.c:464 #, fuzzy msgid "Agent URI" msgstr "عنوان غير صحيح" #: ../mimedir/mimedir-vcard.c:465 msgid "URI to the description of a person, acting for the person described in this card" msgstr "" #: ../mimedir/mimedir-vcard.c:470 #, fuzzy msgid "Agent string" msgstr "سلسلة البحث" #: ../mimedir/mimedir-vcard.c:471 msgid "A person, acting for the person described in this card (deprecated string representation)" msgstr "" #: ../mimedir/mimedir-vcard.c:476 #, fuzzy msgid "Organization list" msgstr "قائمة الحسابات" #: ../mimedir/mimedir-vcard.c:477 msgid "List of all organization this person belongs to. This is a GList *, where the elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcard.c:481 #, fuzzy msgid "Organization" msgstr "المنظّمة" #: ../mimedir/mimedir-vcard.c:482 #, fuzzy msgid "The person's first organization" msgstr "على اﻷول أصلاً" #: ../mimedir/mimedir-vcard.c:488 #: ../mimedir/mimedir-vcomponent.c:266 #, fuzzy msgid "Category list" msgstr "قائمة الحسابات" #: ../mimedir/mimedir-vcard.c:489 msgid "List of all categories of this person. This is a GList *, where the elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcard.c:493 #, fuzzy msgid "Categories" msgstr "الفئات" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "" #: ../mimedir/mimedir-vcard.c:499 #, fuzzy msgid "Note" msgstr "ملاحظة" #: ../mimedir/mimedir-vcard.c:500 #, fuzzy msgid "Additional comments" msgstr "_تعليقات القرص:" #: ../mimedir/mimedir-vcard.c:506 msgid "The product identifier of the vCard. In case of newly generated objects, this is LibMIMEDir's product identifier" msgstr "" #: ../mimedir/mimedir-vcard.c:511 #, fuzzy msgid "Revision" msgstr "تاريخ التنقيح" #: ../mimedir/mimedir-vcard.c:512 #, fuzzy msgid "Card's revision" msgstr "تاريخ التنقيح" #: ../mimedir/mimedir-vcard.c:517 #, fuzzy msgid "Sort string" msgstr "سلسلة البحث" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 #, fuzzy msgid "Sound" msgstr "صوت" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "" #: ../mimedir/mimedir-vcard.c:528 #, fuzzy msgid "Sound URI" msgstr "عنوان غير صحيح" #: ../mimedir/mimedir-vcard.c:529 #, fuzzy msgid "URI to a sound file" msgstr "_تصدير علامات المواقع إلى ملف" #: ../mimedir/mimedir-vcard.c:534 #, fuzzy msgid "Unique Identifier" msgstr "مميّز الجسم (%s)" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "" #: ../mimedir/mimedir-vcard.c:540 #, fuzzy msgid "URL" msgstr "العنوان" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "" #: ../mimedir/mimedir-vcard.c:553 #, fuzzy msgid "Public key list" msgstr "مفتاح الموضوع العام" #: ../mimedir/mimedir-vcard.c:554 msgid "List of this person's public keys. This is a GList *, where the elements are MIMEDirVCardKeys" msgstr "" #: ../mimedir/mimedir-vcard.c:558 #, fuzzy msgid "Public key" msgstr "مفتاح الموضوع العام" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "" #: ../mimedir/mimedir-vcard.c:564 #, fuzzy msgid "Key type" msgstr "نوع _مفتاح:" #: ../mimedir/mimedir-vcard.c:565 #, fuzzy msgid "Type of the first public key" msgstr "معلومات مفتاح الموضوع العام" #: ../mimedir/mimedir-vcard.c:1474 #: ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 #: ../mimedir/mimedir-vcard.c:1548 #, fuzzy, c-format msgid "Error reading card file %s: %s!" msgstr "خطأ أثناء قراءة ملف البريد: %s" #: ../mimedir/mimedir-vcard.c:1671 #, fuzzy, c-format msgid "Error writing card file %s: %s!" msgstr "خطأ كتابة ملف الجلسة '%s': %s\n" #: ../mimedir/mimedir-vcard.c:3409 #, fuzzy, c-format msgid "Name: %s\n" msgstr "اسم" #: ../mimedir/mimedir-vcard.c:3411 #, fuzzy msgid "Name\n" msgstr "اسم" #: ../mimedir/mimedir-vcard.c:3413 #, fuzzy, c-format msgid " Prefix: %s\n" msgstr "سابقة" #: ../mimedir/mimedir-vcard.c:3415 #, fuzzy, c-format msgid " Given: %s\n" msgstr "الإسم المعطى" #: ../mimedir/mimedir-vcard.c:3417 #, fuzzy, c-format msgid " Additional: %s\n" msgstr "بروتوكولات آمنة اضافية" #: ../mimedir/mimedir-vcard.c:3419 #, fuzzy, c-format msgid " Family: %s\n" msgstr "ال_عائلة:" #: ../mimedir/mimedir-vcard.c:3421 #, fuzzy, c-format msgid " Suffix: %s\n" msgstr "ال_لّاحقة:" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3452 #, fuzzy, c-format msgid "Address label (%s):\n" msgstr "نص العلامة." #: ../mimedir/mimedir-vcard.c:3472 #, fuzzy, c-format msgid "Address (%s):\n" msgstr "العنوان" #: ../mimedir/mimedir-vcard.c:3486 #, fuzzy, c-format msgid " Postal Box: %s\n" msgstr "_صندوق البريد:" #: ../mimedir/mimedir-vcard.c:3488 #, fuzzy, c-format msgid " Extended: %s\n" msgstr "ممدّد" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3492 #, fuzzy, c-format msgid " City: %s\n" msgstr "المدينة:" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3496 #, fuzzy, c-format msgid " Postal Code: %s\n" msgstr "الرمز البريدي:" #: ../mimedir/mimedir-vcard.c:3498 #, fuzzy, c-format msgid " Country: %s\n" msgstr "كنتري" #: ../mimedir/mimedir-vcard.c:3518 #, fuzzy msgid "Telephone:\n" msgstr "الهاتف" #: ../mimedir/mimedir-vcard.c:3542 #, fuzzy, c-format msgid "Telephone: %s (%s)\n" msgstr "الهاتف" #: ../mimedir/mimedir-vcard.c:3556 #, fuzzy msgid "E-mail:\n" msgstr "بريد" #: ../mimedir/mimedir-vcard.c:3580 #, fuzzy, c-format msgid "E-mail: %s (%s)\n" msgstr "بريد" #: ../mimedir/mimedir-vcard.c:3602 #, fuzzy, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "اختر منطقة زمنيّة" #: ../mimedir/mimedir-vcard.c:3611 #, fuzzy, c-format msgid "Location: %.2f,%.2f\n" msgstr "%.2ld:%.2ld:%.2ld A:%.2f/%.2f V:%.2f/%.2f" #: ../mimedir/mimedir-vcard.c:3620 #, fuzzy, c-format msgid "Organization: %s\n" msgstr "المؤسسة:" #: ../mimedir/mimedir-vcard.c:3625 #, fuzzy, c-format msgid "Job title: %s\n" msgstr "المسمّى الوظيفي" #: ../mimedir/mimedir-vcard.c:3628 #, fuzzy, c-format msgid "Business role: %s\n" msgstr "دور التقديم" #: ../mimedir/mimedir-vcard.c:3638 #, fuzzy, c-format msgid "Categories: %s\n" msgstr "الفئات" #: ../mimedir/mimedir-vcard.c:3643 #, fuzzy, c-format msgid "Comment: %s\n" msgstr "تعليق:" #: ../mimedir/mimedir-vcard.c:3646 #, fuzzy, c-format msgid "Homepage: %s\n" msgstr "صفحة الإنترنت و التبرعات" #: ../mimedir/mimedir-vcard.c:3649 #, fuzzy, c-format msgid "Unique string: %s\n" msgstr "سلسلة البحث" #: ../mimedir/mimedir-vcard.c:3659 msgid "X.509" msgstr "" #: ../mimedir/mimedir-vcard.c:3662 #, fuzzy msgid "PGP" msgstr "تشفير باستعمال PGP" #: ../mimedir/mimedir-vcard.c:3665 #, fuzzy msgid "yes" msgstr "نعم" #: ../mimedir/mimedir-vcard.c:3669 #, fuzzy, c-format msgid "Public Key: %s\n" msgstr "مفتاح الموضوع العام" #: ../mimedir/mimedir-vcomponent.c:267 msgid "List of all categories of this component. This is a GList *, where the elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcomponent.c:271 #, fuzzy msgid "Comment list" msgstr "قائمة الحسابات" #: ../mimedir/mimedir-vcomponent.c:272 msgid "List of all additional comments for this component. This is a GList *, where the elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcomponent.c:276 #, fuzzy msgid "Description" msgstr "الوصف" #: ../mimedir/mimedir-vcomponent.c:277 #, fuzzy msgid "Full description of this component" msgstr "وصف مصدر القاموس" #: ../mimedir/mimedir-vcomponent.c:282 #, fuzzy msgid "Percent complete" msgstr "النّسبة المكتملة: %i" #: ../mimedir/mimedir-vcomponent.c:283 #, fuzzy msgid "Percentage of this task's completion" msgstr "تم حذف هذه المهمّة." #: ../mimedir/mimedir-vcomponent.c:290 #, fuzzy msgid "Priority" msgstr "الأولويّة" #: ../mimedir/mimedir-vcomponent.c:291 #, fuzzy msgid "This task's priority" msgstr "تم حذف هذه المهمّة." #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:296 #, fuzzy msgid "Resource list" msgstr "قائمة الحسابات" #: ../mimedir/mimedir-vcomponent.c:297 msgid "List of the resources assigned to this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:301 #, fuzzy msgid "Status" msgstr "الحالة" #: ../mimedir/mimedir-vcomponent.c:302 #, fuzzy msgid "This task's completion status" msgstr "تم حذف هذه المهمّة." #: ../mimedir/mimedir-vcomponent.c:309 #, fuzzy msgid "Summary" msgstr "الملخّص" #: ../mimedir/mimedir-vcomponent.c:310 #, fuzzy msgid "Component's short description" msgstr "لا وجود لوصف." #: ../mimedir/mimedir-vcomponent.c:316 #, fuzzy msgid "Date/time completed" msgstr "إدراج التاريخ/الوقت" #: ../mimedir/mimedir-vcomponent.c:317 msgid "Date/time that this task was completed" msgstr "" #: ../mimedir/mimedir-vcomponent.c:322 #, fuzzy msgid "Date/time end" msgstr "إدراج التاريخ/الوقت" #: ../mimedir/mimedir-vcomponent.c:323 msgid "End date/time of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:328 #, fuzzy msgid "Due" msgstr " (مُستحق " #: ../mimedir/mimedir-vcomponent.c:329 #, fuzzy msgid "This task's due date" msgstr "تاريخ الإستحقاق خاطئ" #: ../mimedir/mimedir-vcomponent.c:334 #, fuzzy msgid "Date/time start" msgstr "إدراج التاريخ/الوقت" #: ../mimedir/mimedir-vcomponent.c:335 msgid "Start date/time of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:340 #, fuzzy msgid "Duration" msgstr "المدّة" #: ../mimedir/mimedir-vcomponent.c:341 #, fuzzy msgid "This date's duration" msgstr "بحسب _تاريخ التعديل" #: ../mimedir/mimedir-vcomponent.c:346 #, fuzzy msgid "Free/busy" msgstr "معلومات متوفّر/مشغول" #: ../mimedir/mimedir-vcomponent.c:347 #, fuzzy msgid "GList of free/busy objects" msgstr "رسالة متوفّر/مشغول رديئة" #: ../mimedir/mimedir-vcomponent.c:353 msgid "This component's time zone identifier" msgstr "" #: ../mimedir/mimedir-vcomponent.c:358 #, fuzzy msgid "Time zone name list" msgstr "انتقِ وقتاً من القائمة" #: ../mimedir/mimedir-vcomponent.c:359 msgid "GList of time zone names" msgstr "" #: ../mimedir/mimedir-vcomponent.c:363 #: ../mimedir/mimedir-vcomponent.c:364 #, fuzzy msgid "Time zone offset from" msgstr "انتقِ وقتاً من القائمة" #: ../mimedir/mimedir-vcomponent.c:371 #: ../mimedir/mimedir-vcomponent.c:372 #, fuzzy msgid "Time zone offset to" msgstr "زمن نسبيّ للوقت الحالي" #: ../mimedir/mimedir-vcomponent.c:379 #, fuzzy msgid "Time zone URL" msgstr "اختر منطقة زمنيّة" #: ../mimedir/mimedir-vcomponent.c:380 msgid "URL to a time zone description" msgstr "" #: ../mimedir/mimedir-vcomponent.c:386 #, fuzzy msgid "Contact" msgstr "المراسَل" #: ../mimedir/mimedir-vcomponent.c:387 #, fuzzy msgid "Contact information" msgstr "عدّل معلومات الاتصال" #: ../mimedir/mimedir-vcomponent.c:393 #, fuzzy msgid "Unique identifier" msgstr "مميّز الجسم (%s)" #: ../mimedir/mimedir-vcomponent.c:394 msgid "A unique identifier for this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:400 #, fuzzy msgid "Recurrence object" msgstr "مميّز الجسم (%s)" #: ../mimedir/mimedir-vcomponent.c:401 msgid "An object representing the RRULE tag" msgstr "" #: ../mimedir/mimedir-vcomponent.c:407 #: ../mimedir/mimedir-vcomponent.c:408 #, fuzzy msgid "Action" msgstr "حدث" #: ../mimedir/mimedir-vcomponent.c:413 #: ../mimedir/mimedir-vcomponent.c:414 #, fuzzy msgid "Repeat" msgstr "إعادة" #: ../mimedir/mimedir-vcomponent.c:419 #: ../mimedir/mimedir-vcomponent.c:420 #, fuzzy msgid "Trigger" msgstr "الإجراء/المحفّز" #: ../mimedir/mimedir-vcomponent.c:425 #, fuzzy msgid "Trigger date/time" msgstr "إدراج التاريخ/الوقت" #: ../mimedir/mimedir-vcomponent.c:426 #, fuzzy msgid "Date/time of the trigger" msgstr "إدراج التاريخ/الوقت" #: ../mimedir/mimedir-vcomponent.c:431 #, fuzzy msgid "Trigger end" msgstr "نهاية الموعد" #: ../mimedir/mimedir-vcomponent.c:432 msgid "Whether the trigger is set at the end of the time interval" msgstr "" #: ../mimedir/mimedir-vcomponent.c:438 #, fuzzy msgid "Created" msgstr "تاريخ الإنشاء" #: ../mimedir/mimedir-vcomponent.c:439 #, fuzzy msgid "Date/time of the creation" msgstr "إظهار وقت الإنشاء" #: ../mimedir/mimedir-vcomponent.c:444 #, fuzzy msgid "Date/time stamp" msgstr "إدراج التاريخ/الوقت" #: ../mimedir/mimedir-vcomponent.c:445 msgid "Date/time of the creation of the iCalendar object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:450 #, fuzzy msgid "Last modified" msgstr "تاريخ التعديل:" #: ../mimedir/mimedir-vcomponent.c:451 #, fuzzy msgid "Date/time of the last modification" msgstr "اظهار وقت آخر _وصول" #: ../mimedir/mimedir-vcomponent.c:456 #, fuzzy msgid "Sequence" msgstr "متتالية" #: ../mimedir/mimedir-vcomponent.c:457 #, fuzzy msgid "Sequence number" msgstr "العدد الأول للمتتالية" libmimedir-0.4.2/po/pl.po0000644000175000017500000012056210603540671012154 00000000000000# Copyright (C) 2001-2002 Free Software Foundation, Inc. # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- # Aktualną wersję tego pliku możesz odnaleźć w repozytorium cvs.gnome.pl # (:pserver:anonymous@cvs.gnome.pl:/home/cvs, puste hasło) # Jeśli masz jakiekolwiek uwagi odnoszące się do tłumaczenia lub chcesz # pomóc w jego rozwijaniu i pielęgnowaniu, napisz do nas na adres: # translators@gnome.pl # -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- msgid "" msgstr "" "Project-Id-Version: libmimedir\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-04 15:04+0200\n" "PO-Revision-Date: 2003-07-13 08:23+0100\n" "Last-Translator: GNOME PL Team \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Użycie: %s PLIK_ICAL\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" #: ../bin/ical-dump.c:61 #, fuzzy msgid "hourly" msgstr "Kraj" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 #, fuzzy msgid "unknown" msgstr "" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" #: ../bin/ical-dump.c:93 #, fuzzy msgid "week number" msgstr "Numer telefonu" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, fuzzy, c-format msgid " Recurrence:\n" msgstr " Sekwencja: %u\n" #: ../bin/ical-dump.c:120 #, fuzzy, c-format msgid " Frequency: %s\n" msgstr " Sekwencja: %u\n" #: ../bin/ical-dump.c:123 #, fuzzy, c-format msgid " Until: %s\n" msgstr " Unikalny ID: %s\n" #: ../bin/ical-dump.c:128 #, fuzzy, c-format msgid " Count: %d\n" msgstr " Kraj: %s\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" #: ../bin/ical-dump.c:134 #, fuzzy, c-format msgid " Unit: %s\n" msgstr " Unikalny ID: %s\n" #: ../bin/ical-dump.c:137 #, fuzzy, c-format msgid " Units: %s\n" msgstr " Unikalny ID: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Zdarzenie:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Rzecz do zrobienia:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Nieznany komponent:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Zestawienie: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Kategorie: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "wysoka" #: ../bin/ical-dump.c:190 msgid "low" msgstr "niska" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "średnia" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Ważność: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Data rozpoczęcia: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Data zakończenia: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Termin zakończenia: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " Unikalny ID: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Sekwencja: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " Zdarzenie całodzienne\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: niepoprawna liczba argumentów\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Użycie: %s PLIK_VCARD\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: błąd przy odczycie pliku karty: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: błąd przy zapisie pliku karty: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Nazwa" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "Nazwa atrybutu" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Grupa" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "Grupa atrybutu" #: ../mimedir/mimedir-attribute.c:894 msgid "missing parameter name" msgstr "brakująca nazwa parametru" #: ../mimedir/mimedir-attribute.c:919 msgid "missing closing quotation mark" msgstr "brakujący znak zamykającego cudzosłowia" #: ../mimedir/mimedir-attribute.c:1040 msgid "missing attribute name/group" msgstr "brakująca grupa/nazwa atrybutu" #: ../mimedir/mimedir-attribute.c:1056 msgid "no attribute name after group" msgstr "brak nazwy atrubutu po grupie" #: ../mimedir/mimedir-attribute.c:1072 msgid "missing value delimiter" msgstr "brakujący ogranicznik wartości" #: ../mimedir/mimedir-attribute.c:1088 msgid "invalid character" msgstr "niepoprawny znak" #: ../mimedir/mimedir-attribute.c:2459 ../mimedir/mimedir-attribute.c:2468 msgid "illegal character" msgstr "niedozwolony znak" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "błąd składni (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "niepoprawny znak 0x%02x dla typu \"%s\"" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "niepoprawny format dla typu \"%s\" w atrubucie %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "nie można zdekodować atrybutu %s, gdyż kodowanie nie jest znane" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "niepoprawna wartość w atrybucie %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "parametr \"%s\" nie może być używany więcej niż raz w atrybucie %s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "niepoporawna sekwencja Base64" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "niepoprawna sekwencja drukowalna" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "lista atrybutów %s jest za krótka" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "lista atrybutów %s jest za długa" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "Identyfikator strefy czasowej" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Napis identyfikujący strefę czasową" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Typ wolny/zajęty" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Określa czy ten obiekt jest w okresie wolnym czy zajętości" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Nazwa profilu" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "Nazwa (typ) profilu" #: ../mimedir/mimedir-profile.c:121 #, fuzzy msgid "Character set" msgstr "Lista kategorii" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "atrybut %s jest zdefiniowany dwukrotnie" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "niespodziewane zakończenie profilu" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "brakuje wymaganego atrybutu %s" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "niepasujący atrybut END" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "niepoprawny profil %s: spodziewano się %s" #: ../mimedir/mimedir-recurrence.c:221 #, fuzzy msgid "Frequency" msgstr "Sekwencja" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 #, fuzzy msgid "Recurrence unit" msgstr "Lista zasobów" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 #, fuzzy msgid "Recurrence units" msgstr "Lista zasobów" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Przypomnienie twojego spotkania:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Metoda" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "Metoda vKalendarza" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Identyfikator produktu" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Identyfikator produktu vKalendarza. W przypadku nowowygenerowanych obiektów, " "jest to identyfikator produktu LibMIMEDir" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "Profil zawiera nieobsługiwany dowolny atrybut %s.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "Profil zawiera nieznany atrybut %s.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Błąd przy odczycie pliku kalendarza %s: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Tytuł" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "Jednowierszowy napis zawierający najważniejsze informacje adresowe" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Adres w dowolnej formie" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Napis adresowy w dowolnej formie" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Skrzynka pocztowa" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "Adresowa skrzynka pocztowa" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Rozszerzony adres" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Napis określający rozszerzony adres" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Ulica" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Ulica" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Położenie" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Położenie (np. miasto, śródmieście, obrzeże itd.)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Region" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Region (np. województwo)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Kod pocztowy" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Kod pocztowy (napis w dowolnej postaci)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Kraj" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Docelowy" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Określa czy jest to adres docelowy" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Międzynarodowy" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Określa czy jest to międzynarodowy adres" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Pocztowy" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Określa czy jest to adres pocztowy" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Przesyłkowy" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Określa czy przesyłki mogą być odbierane z tego adresu" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Domowy" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Określa czy jest to adres domowy" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Praca" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Określa czy jest to adres firmowy" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:153 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Preferowany" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Określa czy jest to adres preferowany" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "Atrybut %s zawiera za dużo elementów.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s." msgstr "Pole adresowe jest nieznanego typu %s." #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:504 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "preferowany" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "docelowy" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "międzynarodowy" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "pocztowy" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "przesyłkowy" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "domowy" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "praca" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:138 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Adres" #: ../mimedir/mimedir-vcard-email.c:139 msgid "The e-mail address" msgstr "Adres e-mail" #: ../mimedir/mimedir-vcard-email.c:145 msgid "Type" msgstr "Typ" #: ../mimedir/mimedir-vcard-email.c:146 msgid "Type of this e-mail address" msgstr "Typ tego adresu e-mail" #: ../mimedir/mimedir-vcard-email.c:154 msgid "Whether this is the preferred e-mail address" msgstr "Określa czy jest to preferowany adres e-mail" #: ../mimedir/mimedir-vcard-email.c:412 #, c-format msgid "The email field is of unknown type %s." msgstr "Pole e-mail jest nieznanego typu %s." #: ../mimedir/mimedir-vcard-email.c:514 msgid "Internet" msgstr "Internet" #: ../mimedir/mimedir-vcard-email.c:519 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Numer" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "Numer telefoniczny (napis w dowolnej postaci)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Określa czy jest to domowy numer telefonu)" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Określa czy jest to firmowy numer telefonu" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Głos" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Określa czy jest to numer głosowy" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Faks" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Określa czy jest to numer faksu" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Określa czy jest to numer systemu tablicy obłoszeniowej" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modem" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Określa czy jest to numer modemu" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Pager" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Określa czy jest to numer pagera" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Wideo" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Określa czy jest to numer telefonu wideo" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Komórka" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Określa czy jest to numer telefonu komórkowego (przenośnego)" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Samochód" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Określa czy jest to numer telefonu w samochodzie" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Określa czy jest to numer ISDN" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Określa czy jest to numer PCS" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Określa czy jest to preferowany numer" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Wiadomość" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Określa czy jest to numer z zapisem głosu" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s." msgstr "Pole telefonu jest nieznanego typu %s." #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "głos" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "faks" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "modem" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "pager" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "wideo" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "wiadomość głosowa" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "telefon komórkowy" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "telefon w samochodzie" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "Pełne personalia tej osoby" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Nazwisko" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "Nazwisko tej osoby" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Imię" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "Imię tej osoby" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Drugie imię" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "Drugie imię tej osoby lub jej inicjały" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Przedrostek" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "Przedrostek nazwiska (np. tytuł) tej osoby" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Przyrostek" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "Przyrostek do nazwiska tej osoby" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Lista pseudonimów" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" "Lista wszystkich pseudonimów. To jest GList *, gdzie elementy są typu const " "gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Pseudonim" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "Pierwszy pseudonim" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Fotografia" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Wskaźnik do strumienia bajtowego, reprezentującego obraz osoby" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "URI fotografii" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI do obrazu tej osoby" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Urodziny" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "Urodziny osoby" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Lista adresów" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" "Lista wszystkich adresów. To jest GList *, gdzie elementy są typu " "MIMEDirAdress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "Preferowany adres" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Lista numerów telefonów" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "Lista wszystkich numerów telefonów. To jest GList *, gdzie elementy są typu " "MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Numer telefonu" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "Preferowany numer telefonu" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Lista adresów e-mail" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Lista wszystkich adresów e-mail. To jest GList *, gdzie elementy są typu " "MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "Adres e-mail" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "Preferowany adres e-mail" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Program pocztowy" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "Program pocztowy używany przez tą osobę" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Strefa czasowa" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "Strefa czasowa, w której mieszka ta osoba" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Napis określający strefę czasową" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "" "Strefa czasowa, w której mieszka ta osoba (przestarzała reprezentacja napisu)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Szerokość geograficzna" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Szerokość geograficzna miejsca pobytu tej osoby" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Długość geograficzna" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Długość geograficzna miejsca pobytu tej osoby" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Tytuł" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "Tytuł w firmie tej osoby" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Rola" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "Rola w firmie tej osoby" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Logo" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" "Wskaźnik do strumienia bajtowego, reprezentującego logo firmy tej osoby" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "URI loga" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "Adres URI do loga firmy tej osoby" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Agent" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "Osoba, działająca dla osoby opisanej przez tą kartę" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "URI agenta" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "Adres URI do opisu osoby działającej dla osoby opisanej przez tą kartę" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Napis określający agenta" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "Osoba działająca dla osoby opisanej w tej karcie (przestarzała reprezentacja " "napisu)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Lista organizacji" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Lista wszystkich organizacji, do których należy ta osoba. To jest GList * " "gdzie elementy są typu gchar *" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Organizacja" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "Pierwsza organizacja tej osoby" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "Lista kategorii" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "Lista wszystkich kategorii tej osoby. To jest GList *, gdzie elementy są " "typu gchar *" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Kategorie" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Reprezentacja napisowa kategorii tej osoby" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Uwaga" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Dodatkowe komentarze" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Identyfikator produktu tej vKarty. W przypadku nowowygenerowanych obiektów, " "to jest identyfikator produktu LibMIMEDir" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Wydanie" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Wydanie karty" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Napis sortujący" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "Napis określający porządek sortowania kart" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Dźwięk" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Wskaźnik do strumienia bajtowego, reprezentującego plik dźwiękowy" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "URI dźwięku" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "Adres URI do pliku dźwiękowego" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Unikalny identyfikator" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Unikalny identyfikator dla tej karty" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Alternatywny URL dla tego zasobu" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Klasyfikacja" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "Klasyfikacja bezpieczeństwa tej karty" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Lista kluczy publicznych" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Lista kluczy publicznych tej osoby. To jest GList *, gdzie elementy są typu " "MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Klucz publiczny" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "Pierwszy klucz publiczny tej osoby" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Typ klucza" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Typ pierwszego klucza publicznego" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Błąd przy odczycie pliku karty %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Błąd przy zapisie pliku karty %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Nazwisko: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Nazwisko\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Przyrostek: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Imię: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Dodatkowe: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Rodzina: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Przyrostek: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Data urodzenia: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Etykieta adresowa (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Adres (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Skrzynka pocztowa: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Rozszerzenie: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Ulica: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Miasto: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Region: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Kod pocztowy: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Kraj: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Telefon:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Telefon: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3554 msgid "E-mail:\n" msgstr "E-mail:\n" #: ../mimedir/mimedir-vcard.c:3578 #, c-format msgid "E-mail: %s (%s)\n" msgstr "E-mail: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3598 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Strefa czasowa: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3607 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Położenie: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3616 #, c-format msgid "Organization: %s\n" msgstr "Organizacja: %s\n" #: ../mimedir/mimedir-vcard.c:3621 #, c-format msgid "Job title: %s\n" msgstr "Tytuł służbowy: %s\n" #: ../mimedir/mimedir-vcard.c:3624 #, c-format msgid "Business role: %s\n" msgstr "Rola służbowa: %s\n" #: ../mimedir/mimedir-vcard.c:3634 #, c-format msgid "Categories: %s\n" msgstr "Kategorie: %s\n" #: ../mimedir/mimedir-vcard.c:3639 #, c-format msgid "Comment: %s\n" msgstr "Komentarz: %s\n" #: ../mimedir/mimedir-vcard.c:3642 #, c-format msgid "Homepage: %s\n" msgstr "Strona domowa: %s\n" #: ../mimedir/mimedir-vcard.c:3645 #, c-format msgid "Unique string: %s\n" msgstr "Unikalny napis: %s\n" #: ../mimedir/mimedir-vcard.c:3655 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3658 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3661 msgid "yes" msgstr "tak" #: ../mimedir/mimedir-vcard.c:3665 #, c-format msgid "Public Key: %s\n" msgstr "Klucz publiczny: %s\n" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Lista wszystkich kategorii tego komponentu. To jest GList *, gdzie elementy " "są typu gchar *" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "Lista komentarzy" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Lista wszystkich dodatkowych komentarzy dla tego komponentu. To jest GList *," "gdzie elementy są typu gchar *" #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "Opis" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "Pełny opis tego komponentu" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "Procent wykonania" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "Procent wykonania tego zadania" #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "Ważność" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "Ważność tego zadania" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "Lista zasobów" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "Lista zasobów przypisanych do tego komponentu" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "Stan" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "Stan ukończenia tego zadania" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "Zestawienie" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "Krótki opis komponentu" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "Data/czas wykonania" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "Data/czas zakończenia wykonania tego zadania" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "Data końcowa/czas" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "Data końcowa/czas tego komponentu" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "Termin zakończenia" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "Data na zakończenie tego zadania" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "Data/czas rozpoczęcia" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "Data początkowa/czas tego komponentu" #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "Czas trwania" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "Czas trwania daty" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "Wolny/zajęty" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "GLista obiektów wolnych/zajętych" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "To jest identyfikator strefy czasowej komponentu" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "Lista nazw strefy czasowej" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "GLista nazw stref czasowych" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "Przesunięcie strefy czasowej z" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "Przesunięcie strefy czasowej do" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "URL strefy czasowej" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "Adres URL do opisu strefy czasowej" #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "Kontakt" #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "Informacje kontaktowe" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "Unikalny identyfikator" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "Unikalny identyfikator dla tego komponentu" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "" #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "Akcja" #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "Powtórzenie" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "Wyzwalacz" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "Data/czas wyzwalacza" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "Data/czas wyzwalacza" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "Zakończenie wyzwalacza" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "Określa czy wyzwalacz jest ustawiony na koniec odstępu czasowego" #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "Utworzono" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "Data/czas utworzenia" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "Znacznik daty/czasu" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "Data/czas ostatniej modyfikacji" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "Sekwencja" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "Numer sekwencji" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s: błąd podczas odczytu pliku kalendarza: %s\n" #~ msgid "Can not open temporary file %s: %s\n" #~ msgstr "Nie można otworzyć pliku tymczasowego %s: %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Błąd przy zapisie pliku kalendarza %s: %s!" libmimedir-0.4.2/po/hr.po0000644000175000017500000011641310603540671012152 00000000000000# Translation of libmimedir to Croatiann # Copyright (C) Croatiann team # Translators: Antun Krasic ,Automatski Prijevod <>,Boris Tudan ,Denis Lackovic ,Ivan Knežević ,pr pr ,Robert Sedak , msgid "" msgstr "" "Project-Id-Version: libmimedir 0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-04 15:04+0200\n" "PO-Revision-Date: 2004-03-20 14:59+CET\n" "Last-Translator: auto\n" "Language-Team: Croatian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: TransDict server\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Uporaba: %s ICALFILE\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" #: ../bin/ical-dump.c:61 #, fuzzy msgid "hourly" msgstr "Zemlja" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 #, fuzzy msgid "unknown" msgstr "" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" #: ../bin/ical-dump.c:93 #, fuzzy msgid "week number" msgstr "Broj telefona" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, fuzzy, c-format msgid " Recurrence:\n" msgstr "Poredak: %u\n" #: ../bin/ical-dump.c:120 #, fuzzy, c-format msgid " Frequency: %s\n" msgstr "Poredak: %u\n" #: ../bin/ical-dump.c:123 #, fuzzy, c-format msgid " Until: %s\n" msgstr "Jedinstveni ID: %s\n" #: ../bin/ical-dump.c:128 #, fuzzy, c-format msgid " Count: %d\n" msgstr "Država %s\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" #: ../bin/ical-dump.c:134 #, fuzzy, c-format msgid " Unit: %s\n" msgstr "Jedinstveni ID: %s\n" #: ../bin/ical-dump.c:137 #, fuzzy, c-format msgid " Units: %s\n" msgstr "Jedinstveni ID: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Događaj:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Stavka koju treba napraviti:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Nepoznata komponenta:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr "Sažetak:%s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr "Kategorije %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "visok" #: ../bin/ical-dump.c:190 msgid "low" msgstr "nisko" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "srednje" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr "Prioritet: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr "Datum poletka: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr "Datim završetka: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Do datuma: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr "Jedinstveni ID: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr "Poredak: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr "Cjelodnevni događaj\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: neispravan broj argumenata\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Uporaba: %s VCARDFILE\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: greška u čitanju datoteke s karticom: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: greška pri pisanju datoteke s karticom: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Ime" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "Ime atributa" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Grupa" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "Grupa atributa" #: ../mimedir/mimedir-attribute.c:894 msgid "missing parameter name" msgstr "nedostaje ime parametra" #: ../mimedir/mimedir-attribute.c:919 msgid "missing closing quotation mark" msgstr "nedostaje završni navodnik" #: ../mimedir/mimedir-attribute.c:1040 msgid "missing attribute name/group" msgstr "nedostaje ime/grupa atributa" #: ../mimedir/mimedir-attribute.c:1056 msgid "no attribute name after group" msgstr "nedostaje ime atributa poslije grupe" #: ../mimedir/mimedir-attribute.c:1072 msgid "missing value delimiter" msgstr "nedostaje razdvojnik vrijednosti" #: ../mimedir/mimedir-attribute.c:1088 msgid "invalid character" msgstr "neispravni znak" #: ../mimedir/mimedir-attribute.c:2459 ../mimedir/mimedir-attribute.c:2468 msgid "illegal character" msgstr "nedozvoljeni znak" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "sintaksna greška (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "nedozvoljeni znak 0x%02x za tip \"%s\"" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "neispravni za tip \"%s\" u atributu %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "attribute %s could not be decoded, since its encoding is unknownFIXME" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "neispravna vrijednost u atributu %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "parametar \"%s\" se ne smije upotrebiti više puta u atributu %s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "neispravni Base64 slijed" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "neispravni \"quoted-printable\" slijed" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "popis atributa %s je prekratak" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "popis atributa %s je predugačak" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "Identifikator vremenske zone" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Niz koji identificira vremensku zonu" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Slobodna/zauzeta klasa" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Da li ovaj objekt označava slobodno ili zauzeto razdoblje" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Ime profila" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "Naziv (vrsta) skupa postavki" #: ../mimedir/mimedir-profile.c:121 #, fuzzy msgid "Character set" msgstr "Popis kategorija" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "atribut %s je dvaputa definiran" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "neočekivani završetak skupa postavki" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "nedostaje potrebni atribut %s" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "neupareni END atribut" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "pogrešan skup postavki %s; očekuje se %s" #: ../mimedir/mimedir-recurrence.c:221 #, fuzzy msgid "Frequency" msgstr "Slijed" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 #, fuzzy msgid "Recurrence unit" msgstr "Popis izvora" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 #, fuzzy msgid "Recurrence units" msgstr "Popis izvora" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Podsjetnik za vaš sastanak:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Metoda" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "Metoda za vCalendar" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Oznaka proizvoda" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Identifikator proizvoda za vCalendar. U slučaju novostvorenih objekta " "pripada mu LibMIMEDir identifikator proizvoda." #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "Skup postavki sadrži nepodržani prilagođeni atribut %s.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "Skup postavki sadrži nepoznati atribut %s.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Greška u čitanju datoteke kalendara %s: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Naslov" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "Niz od jedne linije s najvažnijim podacima o adresi" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Adresa slobodnog oblika" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Niz adrese slobodnog oblika" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Poštanski pretinac" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "Poštanski sandučić primatelja" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Produžena adresa" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Produženi niz adrese" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Ulica" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Adresa ulice" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Lokacija" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Mjesto (npr. grad, selo itd.)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Regija" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Područje (npr. županija)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Poštanski broj" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Poštanski broj (niz slobodnog oblika)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Zemlja" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Domaće" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Je li ovo adresa kućna adresa" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Međunarodno" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Da li se radi o adresi u međunarodnoj pošti" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Poštanski" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Da li se radi o poštanskoj adresi" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Pošiljka" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Da li se pošiljke mogu primiti na ovu adresu" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Polazno" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Je li ovo kućna adresa" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Posao" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Je li ovo adresa na poslu" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:153 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Željeno" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Je li ovo preferirana adresa" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "Atribut %s sadrži previše elemenata.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s." msgstr "Nepoznata vrsta polja za adresu %s." #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:504 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "željeno" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "domaće" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "međunarodno" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "poštanski" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "pošiljka" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "home" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "posao" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:138 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Adresa" #: ../mimedir/mimedir-vcard-email.c:139 msgid "The e-mail address" msgstr "Adresa e-pošte" #: ../mimedir/mimedir-vcard-email.c:145 msgid "Type" msgstr "Tip" #: ../mimedir/mimedir-vcard-email.c:146 msgid "Type of this e-mail address" msgstr "Vrsta e-pošte" #: ../mimedir/mimedir-vcard-email.c:154 msgid "Whether this is the preferred e-mail address" msgstr "Je li ovo preferirana adresa e-pošte" #: ../mimedir/mimedir-vcard-email.c:412 #, c-format msgid "The email field is of unknown type %s." msgstr "Nepoznata vrsta polja za e-poštu %s." #: ../mimedir/mimedir-vcard-email.c:514 msgid "Internet" msgstr "Internet" #: ../mimedir/mimedir-vcard-email.c:519 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Broj" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "Telefonski broj (niz slobodnog oblika)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Je li ovo kućni telefonski broj" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Je li ovo telefonski broj na poslu" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Glas" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Je li ovo broj govorne pošte" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Fax" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Je li ovo broj faksa" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Je li ovo BBS broj" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modem" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Je li ovo broj modema" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Dojavljivač" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Je li ovo broj pagera" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Video" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Je li ovo broj videofona" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Ćelija" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Je li ovo broj mobilnog telefona" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Automobil" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Je li ovo broj telefona u automobilu" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Je li ovo ISDN broj" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Je li ovo PCS broj" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Je li ovo preferirani broj" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Poruka" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Da li ovaj broj ima uređaj za snimanje glasa" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s." msgstr "Nepoznata vrsta polja za telefon %s." #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "glas" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "fax" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "modem" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "dojavljivač" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "video" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "glasovna poruka" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "mobilni telefon" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "telefon u autu" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "Puno ime i prezime osobe" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Obiteljsko ime" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "Prezime osobe" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Dano ime" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "Ime osobe" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Srednje ime" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "Srednje ime ili srednji inicijali osobe" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Prefiks" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "Prefiks imena (npr. titula) osobe" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Sufiks" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "Sufiks imena osobe" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Popis nadimaka" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "Popis svih nadimaka. Ovo jr GPopis *, elementi su klase const gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Nadimak" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "Prvi nadimak" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Slika" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Pokazivač na bajt tok koji predstavlja sliku ove osobe" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "URI fotografije" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI za sliku osobe" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Rođendan" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "Rođendan osobe" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Popis adresa" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "Popis svih adresa. Ovo je GPopis *, elementi su klase MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "Preferirana adresa" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Popis telefonskih brojeva" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "Popis telefonskih brojeva. Ovo je GPopis *, gdje su elementi klase " "MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Broj telefona" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "Preferirani telefonski broj" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Popis adresa e-pošte" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Popis svih adresa e-pošte. ovo je GPopis *, elementi su klase MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "Adresa e-pošte" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "Preferirana e-pošta" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Program e-pošte" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "Program koji ova osoba koristi za e-poštu" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Vremenska zona" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "Vremenska zona u kojoj ososba živi" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Znakovni niz vremenske zone" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "Vremenska zona u kojoj osoba živi (zastarjeli format)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Geografska širina" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Zemljopisna širina boravišta" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Geografska dužina" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Geografska dužina mjesta prebivališta osobe" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Naziv posla" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "Zanimanje osobe" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Uloga" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "Uloga osobe na radnom mjestu" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Logotip" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "Pokazivač na bajt tok koji predstavlja logotip tvrtke ove osobe" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "URI logotipa" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI do zaštitnog logotipa tvrtke osobe" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Agent" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "Osoba koja zastupa osubu opisanu u karti" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "Agent URI" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "URI do opisa osobe koja zastupa osobu predstavljenu na ovoj kartici" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Niz agenta" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "Osoba koja zastupa osubu opisanu u karti (zastarjelo prikazivanje niza)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Popis organizacija" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Popis svih organizacija kojima osoba pripada. Ovo je GPopis *, elementi su " "gchar *" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Organizacija" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "Prva organizacija osobe" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "Popis kategorija" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "Popis svih kategorija za ovu osobu. Ovo je GPopis *, elementi su gchar *" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Kategorije" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Niz koji predstavljanje kategorije za ovu osobu" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Bilješka" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Dodatni komentari" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Identifikator proizvoda za vCard. U slučaju novostvorenih objekta pripada mu " "LibMIMEDir identifikator proizvoda." #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Revizija" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Revizija karte" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Niz za razvrstavanje" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "Niz koji određuje poredak ove kartice" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Zvuk" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Pokazivač na bajt tok koji predstavlja datoteku s zvukom" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "URI zvuka" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI do datoteke s zvukom" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Jedinstvena oznaka" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Jedinstveni označivač za ovu kartu" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Drugi URL za ovaj izvor" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Klasifikacija" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "Sigurnosno razvrstanje ove kartice" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Popis javnih ključeva" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Popis javnih ključeva ove osobe. Ovo je GPopis*, elementi su MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Javni ključ" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "Prvi javni ključ ove osobe" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Tip tipke" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Vrsta prvog javnog ključa" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Greška u čitanju datoteke karte %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Greška pri pisanju datoteke s karticom %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Ime: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Ime\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr "Prefiks %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr "Dato%s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Dodatno: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr "Obitelj %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr "Sufiks: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Datum Rođenja: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Oznaka adrese (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Adresa (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr "Poštanski sandučić %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr "Produženo: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr "Ulica: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr "Grad %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr "Regija %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr "Poštanski broj %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr "Država %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Telefon:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Telefon: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3554 msgid "E-mail:\n" msgstr "E-pošta:\n" #: ../mimedir/mimedir-vcard.c:3578 #, c-format msgid "E-mail: %s (%s)\n" msgstr "E-pošta: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3598 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Vremenska zona: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3607 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Lokacija: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3616 #, c-format msgid "Organization: %s\n" msgstr "Organizacija: %s\n" #: ../mimedir/mimedir-vcard.c:3621 #, c-format msgid "Job title: %s\n" msgstr "Posao: %s\n" #: ../mimedir/mimedir-vcard.c:3624 #, c-format msgid "Business role: %s\n" msgstr "Poslovna uloga: %s\n" #: ../mimedir/mimedir-vcard.c:3634 #, c-format msgid "Categories: %s\n" msgstr "Kategorije: %s\n" #: ../mimedir/mimedir-vcard.c:3639 #, c-format msgid "Comment: %s\n" msgstr "Komentar: %s\n" #: ../mimedir/mimedir-vcard.c:3642 #, c-format msgid "Homepage: %s\n" msgstr "Početna stranica: %s\n" #: ../mimedir/mimedir-vcard.c:3645 #, c-format msgid "Unique string: %s\n" msgstr "Jedinstveni niz: %s\n" #: ../mimedir/mimedir-vcard.c:3655 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3658 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3661 msgid "yes" msgstr "da" #: ../mimedir/mimedir-vcard.c:3665 #, c-format msgid "Public Key: %s\n" msgstr "Javni ključ: %s\n" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Popis kategorija za ovu komponentu. Ovo je GPopis *, elementi su gchar *" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "Lista komentara" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Popis dodatnih komentara za ovaj element. Ovo je GPopis *, a elementi su " "gchar *" #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "Opis" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "Potpuni opis ovog elementa" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "Postotak završenost" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "Postotak završenosti ovog zadatka" #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "Prioritet" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "Prioritet ovog zadatka" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "Popis izvora" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "Popis svih resursa dodjeljenih ovoj komponenti" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "Status" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "Stanje završenosti ovog zadatka" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "Sažetak" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "Kratki opis elementa" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "Datum/vrijeme završetka" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "Datum/vrijeme završetka zadatka" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "Datum/vrijeme završetka" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "Završni datum/vrijeme ovog elementa" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "Krajnji rok" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "Rok za ovaj zadatak" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "Datum/vrijeme početka" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "Početni datum/vrijeme ove komponente" #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "Trajanje" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "Trajanje ovog datuma" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "Slobodan/zauzet" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "GPopis slobodnih/zauzetih objekata" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "Identifikator vremenske zone ove komponente" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "Popis naziva vremenskih zona" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "GPopis imena vremenskih zona" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "Pomak vremenske zone od" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "Pomak vremenske zone do" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "URL vremenske zone" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "URL do opisa vremenske zone" #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "Kontakt" #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "Informacije o kontaktu" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "Jedinstvena oznaka" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "Jedinstveni označivač za ovaj element" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "" #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "Akcija" #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "Ponovi" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "Okidač" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "Datum/vrijeme pokretanja" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "Datum/vrijeme aktivacije" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "Završetak pokretača" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "Je li pokretač podešen na kraj vremenskog intervala" #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "Napravljeno" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "Datum/vrijeme početka" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "Datum/vrijeme štambilja" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "Datum/vrijeme zadnje promjene" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "Slijed" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "Broj slijeda" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s: greška u čitanju datoteke s kalendarom: %s\n" #~ msgid "Can not open temporary file %s: %s\n" #~ msgstr "Ne mogu otvoriti privremenu datoteku %s: %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Greška u pisanju u datoteku kalendara %s: %s!" libmimedir-0.4.2/po/ca.po0000644000175000017500000012074010603540671012122 00000000000000# libmimedir Catalan translation # Copyright (C) 2003 Free Software Foundation, Inc. # This file is under the same license as the libmimedir package. # Francesc Dorca , 2003. # msgid "" msgstr "" "Project-Id-Version: libmimedir\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-04 15:04+0200\n" "PO-Revision-Date: 2003-05-17 00:33+0200\n" "Last-Translator: Francesc Dorca \n" "Language-Team: Catalan \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Forma d'ús: %s ICALFILE\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" # #: ../bin/ical-dump.c:61 #, fuzzy msgid "hourly" msgstr "País" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 #, fuzzy msgid "unknown" msgstr "" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" #: ../bin/ical-dump.c:93 #, fuzzy msgid "week number" msgstr "Número de telèfon" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, fuzzy, c-format msgid " Recurrence:\n" msgstr " Seqüència: %u\n" #: ../bin/ical-dump.c:120 #, fuzzy, c-format msgid " Frequency: %s\n" msgstr " Seqüència: %u\n" #: ../bin/ical-dump.c:123 #, fuzzy, c-format msgid " Until: %s\n" msgstr " ID únic: %s\n" #: ../bin/ical-dump.c:128 #, fuzzy, c-format msgid " Count: %d\n" msgstr " País: %s\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" #: ../bin/ical-dump.c:134 #, fuzzy, c-format msgid " Unit: %s\n" msgstr " ID únic: %s\n" #: ../bin/ical-dump.c:137 #, fuzzy, c-format msgid " Units: %s\n" msgstr " ID únic: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Incidència:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Ítem pendent:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Component desconegut:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Sumari: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Categories: %s\n" # #: ../bin/ical-dump.c:188 msgid "high" msgstr "alt" # #: ../bin/ical-dump.c:190 msgid "low" msgstr "baix" # #: ../bin/ical-dump.c:192 msgid "medium" msgstr "mitjà" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Prioritat: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Data d'inici: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Data de finalització: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Data prevista: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " ID únic: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Seqüència: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " Incidència de tot el dia\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: nombre d'arguments invàlid\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Ús: %s VCARDFILE\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: error(s) llegint fitxer de targes: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: error(s) escrivint fitxer de targes: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Nom" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "El nom de l'atribut" # #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Grup" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "El grup de l'atribut" #: ../mimedir/mimedir-attribute.c:894 msgid "missing parameter name" msgstr "falta nom de paràmetre" #: ../mimedir/mimedir-attribute.c:919 msgid "missing closing quotation mark" msgstr "falta signe de tancament de citació" #: ../mimedir/mimedir-attribute.c:1040 msgid "missing attribute name/group" msgstr "falta atribut nom/grup" #: ../mimedir/mimedir-attribute.c:1056 msgid "no attribute name after group" msgstr "falta nom d'atribut després del grup" #: ../mimedir/mimedir-attribute.c:1072 msgid "missing value delimiter" msgstr "falta delimitador de valor" #: ../mimedir/mimedir-attribute.c:1088 msgid "invalid character" msgstr "caràcter no vàlid" #: ../mimedir/mimedir-attribute.c:2459 ../mimedir/mimedir-attribute.c:2468 msgid "illegal character" msgstr "caràcter il·legal" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "error de sintaxi (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "caràcter il·llegal 0x%02x per tipus \"%s\"" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "format invalid per tipus \"%s\" en atribut %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "" "l'atribut %s no es pot descodificar, ja que es desconeix la seva codificació" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "valor no vàlid a l'atribut %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "el paràmetre \"%s\" no pot usar-se més d'un cop en l'atribut %s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "seqüència Base64 no vàlida" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "seqüència imprimible mal referenciada" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "la llista d'atributs de %s és massa curta" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "llista d'atributs de %s és massa llarga" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "Identificador de zona horària" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Cadena d'identificació de zona horària" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Tipus lliure/ocupat" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Si aquest objecte significa un període lliure o ocupat" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Nom de perfil" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "El nom (tipus) del perfil" #: ../mimedir/mimedir-profile.c:121 #, fuzzy msgid "Character set" msgstr "Llista de categories" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "atribut %s definit dos cops" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "final de perfil inesperat" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "falta l'atribut requerit %s" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "atribut END desaparellat" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "perfil incorrecte %s; esperat %s" #: ../mimedir/mimedir-recurrence.c:221 #, fuzzy msgid "Frequency" msgstr "Seqüència" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 #, fuzzy msgid "Recurrence unit" msgstr "Llista de recursos" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 #, fuzzy msgid "Recurrence units" msgstr "Llista de recursos" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Recordatori de la vostra cita:\n" "\n" "%s\n" "%s" # #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Mètode" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "El mètode de vCalendar" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Identificador de producte" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "L'identificador de producte del vCalendar. En el cas d'objectes generats de " "nou, és l'identificador de producte LibMIMEDir" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "El perfil conté l'atribut especial no suportat %s.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "El perfil conté l'atribut desconegut %s.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Error llegint fitxer de calendari %s: %s!" # #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Títol" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "Una cadena d'una línia amb la informació més important de l'adreça" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Adreça en forma lliure" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Cadena d'adreça en forma lliure" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Apartat de correu" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "Apartat de correu de l'adreça" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Adreça ampliada" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Cadena de l'adreça ampliada" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Carrer" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Adreça de carrer" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Localitat" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Localitat (p.e. ciutat, poble, etc.)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Regió" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Regió (p.e. estat, comarca)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Codi postal" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Codi postal (cadena lliure)" # #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "País" # #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Nacional" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Si aquesta és una adreça nacional" # #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Internacional" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Si aquesta és una adreça internacional" # #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Postal" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Si aquesta és una adreça postal" # #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Paquet" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Si es poden rebre paquets a aquesta adreça" # #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Casa" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Si aquesta és una adreça de casa" # #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Treball" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Si aquesta és una adreça del treball" # #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:153 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Preferent" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Si aquesta és l'adreça preferent" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "L'atribut %s conté massa elements.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s." msgstr "El camp adreça és de tipus desconegut %s" # #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:504 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "preferent" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "nacional" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "internacional" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "postal" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "paquet" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "casa" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "treball" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" # #: ../mimedir/mimedir-vcard-email.c:138 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Adreça" #: ../mimedir/mimedir-vcard-email.c:139 msgid "The e-mail address" msgstr "Adreça de correu electrònic" # #: ../mimedir/mimedir-vcard-email.c:145 msgid "Type" msgstr "Tipus" #: ../mimedir/mimedir-vcard-email.c:146 msgid "Type of this e-mail address" msgstr "Tipus d'aquesta adreça de correu electrònic" #: ../mimedir/mimedir-vcard-email.c:154 msgid "Whether this is the preferred e-mail address" msgstr "Si aquesta és l'adreça de correu electrònic preferent" #: ../mimedir/mimedir-vcard-email.c:412 #, c-format msgid "The email field is of unknown type %s." msgstr "El camp correu electrònic és de tipus desconegut %s." # #: ../mimedir/mimedir-vcard-email.c:514 msgid "Internet" msgstr "Internet" #: ../mimedir/mimedir-vcard-email.c:519 msgid "X.400" msgstr "X.400" # #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Número" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "El número de telèfon (cadena lliure)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Si és un número de telèfon de casa" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Si és un número de telèfon del treball" # #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Veu" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Si és un número de veu" # #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Fax" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Si és un número de fax" # #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Si és un número de BBS" # #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Mòdem" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Si és un número de mòdem" # #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Buscapersones" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Si és un número de buscapersones" # #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Vídeo" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Si és un número de videotelèfon" # #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Mòbil" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Si és un número de telèfon mòbil" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Cotxe" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Si és un número de telèfon de cotxe" # #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "XDSI" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Si és un número d'XDSI" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Si aquest és un número de PCS" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Si aquest és el número preferent" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Missatge" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Si aquest número té una gravadora de veu" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s." msgstr "El camp telèfon és de tipus desconegut %s." #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "veu" # #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "fax" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "mòdem" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "buscapersones" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "vídeo" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "missatge de veu" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "telèfon mòbil" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "telèfon de cotxe" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "El nom complet d'aquesta persona" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Cognom" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "El cognom d'aquesta persona" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Nom de pila" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "El nom de pila d'aquesta persona" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Segon cognom" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "El segon cognom d'aquesta persona" # #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Prefix" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "El prefix (p.e. prefix honorífic) d'aquesta persona" # #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Sufix" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "El sufix del nom d'aquesta persona" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Llista de sobrenoms" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" "Llista de tots els sobrenoms. És una GList *, on els elements són del tipus " "const gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Sobrenom" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "El primer sobrenom" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Foto" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "" "Apuntador a un corrent de bytes, que representa la imatge d'aquesta persona" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "URI de foto" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI a una imatge d'aquesta persona" # #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Data de naixement" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "La data de naixement de la persona" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Llista d'adreces" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" "Llista de totes les adreces. És una GList *, on els elements són del tipus " "MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "Adreça preferent" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Llista de números de telèfon" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "Llista de tots els números de telèfon. És una GList *, on els elements són " "del tipus MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Número de telèfon" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "Número de telèfon preferent" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Llista d'adreces de correu electrònic" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Llista de totes les adreces de correu electrònic. És una GList *, on els " "compoenets són del tipus MIMEDirEmail *" # #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "Adreça de correu electrònic" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "Adreça preferent de correu electrònic" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Programa de correu" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "Programa de mailing usat per aquesta persona" # #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Fus horari" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "Zona horària on viu aquesta persona" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Cadena de zona horària" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "" "Zona horària on viu aquesta persona (representació de cadena no acceptada)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Latitud" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Latitud de la residència d'aquesta persona" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Longitud" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Longitud de la residència d'aquesta persona" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Càrrec" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "Càrrec d'aquesta persona" # #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Funció" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "Funció d'aquesta persona" # #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Logo" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" "Apuntador a un corrent de bytes, que representa el logo de la companyia " "d'aquesta persona" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "URI del logo" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI al logo de la companyia d'aquesta persona" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Representant" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "" "Una persona, que actúa en nom de la persona descrita en aquesta targeta" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "URI de representant" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "" "URI a la descripció d'una persona que actua en nom de la persona descrita en " "aquesta targeta " #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Cadena del representant" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "Una persona que actúa en nom de la persona d'aquesta targeta (representació " "de cadena no acceptada)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Llista d'organitzacions" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Llista de totes les organitzacions a que pertany aquesta persona. És una " "GList *, on els elements són gchar *'s" # #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Organització" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "Primera organització de la persona" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "Llista de categories" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "Llista de totes les categories d'aquesta persona. És una GList *, on els " "elements són gchar *'s" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Categories" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Representació en forma de cadena de les categories d'aquesta persona" # #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Nota" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Comentaris addicionals" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "L'identificador de producte de la vCard. En cas d'objectes generats de nou, " "és l'identificador de producte de LibMIMEDir" # #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Revisió" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Revisió de la targeta" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Cadena d'ordenació" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "Cadena que defineix la forma d'ordenació d'aquesta targeta" # #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "So" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Apuntador a un corrent de bytes que representa un fitxer de so" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "URI de so" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI a un fitxer de so" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Identificador únic" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Un identificador únic per aquesta targeta" # #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Una URL alternativa per aquest recurs" # #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Classificació" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "La classificació de seguretat d'aquesta targeta" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Llista de claus públiques" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Llista de claus públiques d'aquesta persona. És una GList *, on els elements " "són MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Clau pública" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "Primera clau pública d'aquesta persona" # #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Tipus de clau" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Tipus de la primera clau pública" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Error llegint fitxer de targes %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Error escrivint fitxer de targes %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Nom: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Nom\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Prefix: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Nom: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Addicional: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Cognom: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Sufix: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Data de naixement: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Etiqueta d'Adreça (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Adreça (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Apartat de Correus: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Ampliada: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Carrer: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Ciutat: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Comarca: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Codi Postal: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " País: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Telèfon:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Telèfon: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3554 msgid "E-mail:\n" msgstr "Correu electrònic:\n" #: ../mimedir/mimedir-vcard.c:3578 #, c-format msgid "E-mail: %s (%s)\n" msgstr "Correu electrònic: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3598 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Zona horària: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3607 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Adreça: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3616 #, c-format msgid "Organization: %s\n" msgstr "Organització: %s\n" #: ../mimedir/mimedir-vcard.c:3621 #, c-format msgid "Job title: %s\n" msgstr "Càrrec: %s\n" #: ../mimedir/mimedir-vcard.c:3624 #, c-format msgid "Business role: %s\n" msgstr "Funció: %s\n" #: ../mimedir/mimedir-vcard.c:3634 #, c-format msgid "Categories: %s\n" msgstr "Categories: %s\n" #: ../mimedir/mimedir-vcard.c:3639 #, c-format msgid "Comment: %s\n" msgstr "Comentari: %s\n" #: ../mimedir/mimedir-vcard.c:3642 #, c-format msgid "Homepage: %s\n" msgstr "Pàgina web inicial: %s\n" #: ../mimedir/mimedir-vcard.c:3645 #, c-format msgid "Unique string: %s\n" msgstr "Cadena única: %s\n" #: ../mimedir/mimedir-vcard.c:3655 msgid "X.509" msgstr "X.509" # #: ../mimedir/mimedir-vcard.c:3658 msgid "PGP" msgstr "PGP" # #: ../mimedir/mimedir-vcard.c:3661 msgid "yes" msgstr "sí" #: ../mimedir/mimedir-vcard.c:3665 #, c-format msgid "Public Key: %s\n" msgstr "Clau pública: %s\n" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Llista de totes les categories d'aquest component. És una GList *, on els " "elements són gchar *'s" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "Llista de comentaris" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Llista de tots els comentaris addicionals per a aquest component. És una " "GList *, on els elements són gchar *'s" # #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "Descripció" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "Descripció completa d'aquest component" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "Percentatge complet" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "Percentatge d'acabament d'aquesta tasca" # #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "Prioritat" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "Prioritat d'aquesta tasca" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "Llista de recursos" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "Llista dels recursos assignats a aquest component" # #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "Estat" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "Estat d'acabament d'aquesta tasca" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "Sumari" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "Breu descripció del component" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "Dia/hora acabament" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "Dia/hora d'acabament d'aquesta tasca" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "Dia/hora final" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "Dia/hora final d'aquest component" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "Previst(a)" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "Data prevista d'aquesta tasca" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "Dia/hora inici" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "Dia/hora d'inici d'aquest component" #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "Durada" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "Durada d'aquesta cita" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "Lliure/ocupat" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "GList d'objectes lliures/ocupats" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "Identificador de zona horària d'aquest component" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "Llista de noms de zona horària" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "GList de noms de zona horària" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "Diferència de zona horària des de" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "Diferència de zona horària fins a" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "URL de zona horària" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "URL a una descripció de zona horària" # #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "Contacte" # #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "Per a informació contacteu" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "Identificador únic" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "Un identificador únic per aquest component" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "" # #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "Acció" # #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "Repetir" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "Activador" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "Activador dia/hora" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "Dia/hora de l'activador" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "Fi de l'activador" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "Si l'activador és habilitat al final de l'interval de temps" # #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "Creació" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "Dia/hora de creació" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "Segell dia/hora" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "Dia/hora de l'última modificació" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "Seqüència" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "Nombre de seqüència" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s: error(s) llegint el fitxer de calendari: %s\n" #~ msgid "Can not open temporary file %s: %s\n" #~ msgstr "No es pot obrir fitxer temporal %s: %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Error escrivint fitxer de calendari %s: %s!" libmimedir-0.4.2/po/Makevars0000644000175000017500000000206510603540671012672 00000000000000# Makefile variables for PO directory in any package using GNU gettext. # Usually the message domain is the same as the package name. DOMAIN = $(GETTEXT_PACKAGE) # These two variables depend on the location of this directory. subdir = po top_builddir = .. # These options get passed to xgettext. XGETTEXT_OPTIONS = --keyword=_ --keyword=N_ # This is the copyright holder that gets inserted into the header of the # $(DOMAIN).pot file. Set this to the copyright holder of the surrounding # package. (Note that the msgstr strings, extracted from the package's # sources, belong to the copyright holder of the package.) Translators are # expected to transfer the copyright for their translations to this person # or entity, or to disclaim their copyright. The empty string stands for # the public domain; in this case the translators are expected to disclaim # their copyright. COPYRIGHT_HOLDER = Sebastian Rittau # This is the list of locale categories, beyond LC_MESSAGES, for which the # message catalogs shall be used. It is usually empty. EXTRA_LOCALE_CATEGORIES = libmimedir-0.4.2/po/sr.po0000644000175000017500000013235610603540671012171 00000000000000# Serbian translation of libmimedir # Courtesy of Prevod.org team (http://www.prevod.org/) -- 2003. # # This file is distributed under the same license as the libmimedir package. # # Maintainer: Вељко М. Станојевић # msgid "" msgstr "" "Project-Id-Version: libmimedir\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-04 15:04+0200\n" "PO-Revision-Date: 2003-06-22 17:19+0200\n" "Last-Translator: Veljko M. Stanojevic \n" "Language-Team: Serbian (sr) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Употреба: %s ICALFILE\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" #: ../bin/ical-dump.c:61 #, fuzzy msgid "hourly" msgstr "Држава" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 #, fuzzy msgid "unknown" msgstr "<непознат>" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" #: ../bin/ical-dump.c:93 #, fuzzy msgid "week number" msgstr "Телефонски број" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, fuzzy, c-format msgid " Recurrence:\n" msgstr " След: %u\n" #: ../bin/ical-dump.c:120 #, fuzzy, c-format msgid " Frequency: %s\n" msgstr " След: %u\n" #: ../bin/ical-dump.c:123 #, fuzzy, c-format msgid " Until: %s\n" msgstr " Јединствен ознака (ID): %s\n" #: ../bin/ical-dump.c:128 #, fuzzy, c-format msgid " Count: %d\n" msgstr " Држава: %s\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" #: ../bin/ical-dump.c:134 #, fuzzy, c-format msgid " Unit: %s\n" msgstr " Јединствен ознака (ID): %s\n" #: ../bin/ical-dump.c:137 #, fuzzy, c-format msgid " Units: %s\n" msgstr " Јединствен ознака (ID): %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Догађај:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Ставка коју треба урадити:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Непознат састојак:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Садржај: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Категорије: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "висок" #: ../bin/ical-dump.c:190 msgid "low" msgstr "низак" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "средњи" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Првенство: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Датум почетка: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Датум завршетка: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Крајњи рок: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " Јединствен ознака (ID): %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " След: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " Целодневни догађај\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: погрешан број аргумената\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Употреба: %s VCARDFILE\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: грешка при читању датотеке за картицу: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: грешка при писању датотеке за картицу: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Име" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "Име придева" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Група" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "Група придева" #: ../mimedir/mimedir-attribute.c:894 msgid "missing parameter name" msgstr "недостаје име параметра" #: ../mimedir/mimedir-attribute.c:919 msgid "missing closing quotation mark" msgstr "недостаје завршни наводник" #: ../mimedir/mimedir-attribute.c:1040 msgid "missing attribute name/group" msgstr "недостаје име/група придева" #: ../mimedir/mimedir-attribute.c:1056 msgid "no attribute name after group" msgstr "недостаје име придева после групе" #: ../mimedir/mimedir-attribute.c:1072 msgid "missing value delimiter" msgstr "недостаје раздвајач вредности" #: ../mimedir/mimedir-attribute.c:1088 msgid "invalid character" msgstr "погрешан знак" #: ../mimedir/mimedir-attribute.c:2459 ../mimedir/mimedir-attribute.c:2468 msgid "illegal character" msgstr "недозвољени знак" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "синтактичка грешка (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "недозвољени знак 0x%02x за врсту „%s“" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "погрешан формат за врсту „%s“ у придеву %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "придев %s није протумачен због непознате врсте записа" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "погрешна вредност у придеву %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "параметар „%s“ се не сме употребити више пута у придеву %s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "неважећи Base64 след" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "неважећи „quoted-printable“ след" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "списак придева за %s је прекратак" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "списак придева за %s је предуг" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "Означивач временске зоне" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Низ означивања временске зоне" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Врста „слободно/заузето“" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Да ли овај објекат означава слободан или заузет период" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Назив скупа поставки" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "Назив (врста) скупа поставки" #: ../mimedir/mimedir-profile.c:121 #, fuzzy msgid "Character set" msgstr "Списак категорија" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "придев %s је двапута дефинисан" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "неочекивани свршетак скупа поставки" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "недостаје неопходни придев %s" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "неупарени END придев" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "погрешан скуп поставки %s; очекиван је %s" #: ../mimedir/mimedir-recurrence.c:221 #, fuzzy msgid "Frequency" msgstr "След" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 #, fuzzy msgid "Recurrence unit" msgstr "Списак извора" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 #, fuzzy msgid "Recurrence units" msgstr "Списак извора" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Подсетник за ваш састанак:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Метод" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "Метод за vCalendar" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Означивач продукта" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Означивач продукта за vCalendar. У случају новостворених објеката припада му " "LibMIMEDir означивач продукта." #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "Скуп поставки садржи неподржани прилагођени придев %s.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "Скуп поставки садржи непознати придев %s.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Грешка при читању датотеке календара %s: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Наслов" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "Једноредни низ са најбитнијим подацима о адреси" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Слободан облик адресе" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Низ слободног облика адресе" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Поштански фах" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "Поштански фах примаоца" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Опширна адреса" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Низ опширне адресе" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Улица" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Улична адреса" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Место" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Место (нпр. град, место итд.)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Област" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Област (нпр. република)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Поштански број" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Поштански број (низ слободног облика)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Држава" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Домаћа пошта" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Да ли се ради о адреси у домаћој пошти" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Међународна пошта" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Да ли се ради о адреси у међународној пошти" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Пошта" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Да ли се ради о поштанској адреси" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Пошиљка" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Да ли се пошиљке могу примити на ову адресу" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Кућа" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Да ли је ово кућна адреса" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Посао" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Да ли је ово адреса на послу" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:153 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Првенствено" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Да ли је ово првенствена адреса" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "Придев %s садржи превише елемената.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s." msgstr "Непозната врста поља за адресу %s." #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:504 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "првенствено" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "домаћа пошта" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "међународна пошта" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "пошта" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "пошиљка" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "кућа" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "посао" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "<непознат>" #: ../mimedir/mimedir-vcard-email.c:138 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Адреса" #: ../mimedir/mimedir-vcard-email.c:139 msgid "The e-mail address" msgstr "Е-пошта" #: ../mimedir/mimedir-vcard-email.c:145 msgid "Type" msgstr "Врста" #: ../mimedir/mimedir-vcard-email.c:146 msgid "Type of this e-mail address" msgstr "Врста е-поште" #: ../mimedir/mimedir-vcard-email.c:154 msgid "Whether this is the preferred e-mail address" msgstr "Да ли је ово првенствена е-пошта" #: ../mimedir/mimedir-vcard-email.c:412 #, c-format msgid "The email field is of unknown type %s." msgstr "Непозната врста поља за е-пошту %s." #: ../mimedir/mimedir-vcard-email.c:514 msgid "Internet" msgstr "Интернет" #: ../mimedir/mimedir-vcard-email.c:519 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Број" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "Телефонски број (низ слободног облика)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Да ли је ово кућни телефонски број" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Да ли је ово телефонски број на послу" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Говор" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Да ли је ово број говорне поште" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Факс" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Да ли је ово број факса" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Да ли је ово BBS број" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Модем" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Да ли је ово број модема" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Пејџер" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Да ли је ово број пејџера" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Видео" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Да ли је ово број видеофона" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Мобилни" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Да ли је ово број мобилног телефона" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Аутомобил" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Да ли је ово број телефона у аутомобилу" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Да ли је ово ISDN број" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Да ли је ово PCS број" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Да ли је ово првенствени број" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Порука" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Да ли овај број има уређај за снимање гласа" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s." msgstr "Непозната врста поља за телефон %s." #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "глас" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "факс" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "модем" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "пејџер" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "видеофон" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "гласовна порука" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "мобилни телефон" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "телефон у ауту" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "Пуно име и презиме ове особе" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Презиме" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "Презиме ове особе" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Име" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "Име ове особе" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Средње име" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "Средње име или средњи иницијал ове особе" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Титула" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "Префикс имена (нпр. титула) ове особе" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Суфикс" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "Суфикс имена ове особе" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Списак надимака" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" "Списак свих надимака. Ово је GList * где су сви елементи типа const gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Надимак" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "Први надимак" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Фотографија" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Показивач ка бајт-току који представља слику ове особе" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "URI фотографије" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI за слику ове особе" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Рођендан" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "Рођендан особе" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Списак адреса" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" "Списак свих адреса. Ово је GList * где су сви елементи типа MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "Првенствена адреса" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Списак телефонских бројева" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "Списак свих телефонских бројева. Ово је GList * где су сви елементи типа " "MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Телефонски број" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "Првенствени телефонски број" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Списак е-пошта" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Списак свих е-пошта. Ово је GList * где су сви елементи типа MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "Е-пошта" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "Првенствена е-пошта" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Програм за е-пошту" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "Програм који ова особа користи за е-пошту" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Временска зона" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "Временска зона у којој ова ососба живи" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Низ временске зоне" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "Временска зона у којој ова особа живи (превазиђени формат)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Географска ширина" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Географска ширина места пребивалишта ове особе" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Географска дужина" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Географска дужина места пребивалишта ове особе" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Занимање" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "Занимање ове особе" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Улога" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "Улога ове особе на радном месту" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Заштитни знак предузећа" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" "Показивач ка бајт-току који представља заштитни знак предузећа ове особе" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "URI заштитног знака" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI до заштитног занака предузећа ове особе" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Заступник" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "Особа која заступа особу представљену на овој картици" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "URI заступника" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "URI до описа особе која заступа особу представљену на овој картици" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Низ за заступника" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "Особа која заступа особу представљену на овој картици (превазиђени формат)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Списак организација" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Списак свих организација којима ова особа припада. Ово је GList * где су сви " "елементи gchar * -ови" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Организација" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "Прва организација ове особе" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "Списак категорија" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "Списак свих категорија за ову особу. Ово је GList * где су сви елементи " "gchar * -ови" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Категорије" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Низно представљање категорија за ову особу" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Белешка" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Додатни коментари" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Означивач продукта за vCard. У случају новостворених објеката припада му " "LibMIMEDir означивач продукта." #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Преглед" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Преглед картице" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Низ за редослед" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "Низ који одређује редослед ове картице" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Звук" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Показивач ка бајт-току који представља датотеку са звуком" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "URI звука" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI до датотеке са звуком" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Јединствени означивач" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Јединствени означивач за ову картицу" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Алтернативни URL за овај извор" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Разврстање" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "Безбедносно разврстање ове картице" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Списак јавних кључева" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Списак јавних кључева ове особе. Ово је GList * где су сви елементи " "MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Јавни кључ" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "Први јавни кључ ове особе" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Врста кључа" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Врста првог јавног кључа" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Грешка при читању датотеке картице %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Грешка при писању датотеке картице %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Име: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Име\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Титула: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Име: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Додатно: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Презиме: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Суфикс: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Датум рођења: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Ознака адресе (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Адреса (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Поштански фах: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Опширно: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Улица: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Град: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Област: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Поштански број: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Држава: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Телефон:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Телефон: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3554 msgid "E-mail:\n" msgstr "Е-пошта:\n" #: ../mimedir/mimedir-vcard.c:3578 #, c-format msgid "E-mail: %s (%s)\n" msgstr "Е-пошта: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3598 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Временска зона: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3607 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Локација: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3616 #, c-format msgid "Organization: %s\n" msgstr "Организација: %s\n" #: ../mimedir/mimedir-vcard.c:3621 #, c-format msgid "Job title: %s\n" msgstr "Занимање: %s\n" #: ../mimedir/mimedir-vcard.c:3624 #, c-format msgid "Business role: %s\n" msgstr "Пословна улога: %s\n" #: ../mimedir/mimedir-vcard.c:3634 #, c-format msgid "Categories: %s\n" msgstr "Категорије: %s\n" #: ../mimedir/mimedir-vcard.c:3639 #, c-format msgid "Comment: %s\n" msgstr "Коментар: %s\n" #: ../mimedir/mimedir-vcard.c:3642 #, c-format msgid "Homepage: %s\n" msgstr "Домаћа страна: %s\n" #: ../mimedir/mimedir-vcard.c:3645 #, c-format msgid "Unique string: %s\n" msgstr "Јединствени низ: %s\n" #: ../mimedir/mimedir-vcard.c:3655 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3658 msgid "PGP" msgstr "ПГП" #: ../mimedir/mimedir-vcard.c:3661 msgid "yes" msgstr "да" #: ../mimedir/mimedir-vcard.c:3665 #, c-format msgid "Public Key: %s\n" msgstr "Јавни кључ: %s\n" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Списак свих категорија овог састојка. Ово је is a GList * где су сви " "елементи gchar * -ови" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "Списак коментара" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Списак додатних коментара за овај састојак. Ово је is a GList * где су сви " "елементи gchar * -ови" #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "Опис" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "Потпун опис овог састојка" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "Процент употуњености" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "Процент употпуњености овог задатка" #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "Првенство" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "Првенство овог задатка" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "Списак извора" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "Списак извора одређених овом састојку" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "Стање" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "Стање употпуњености овог задатка" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "Садржај" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "Кратак опис састојка" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "Датум/време завршетка" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "Датум/време кад је овај задатак завршен" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "Датум/време краја" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "Завршни датум/време овог састојка" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "Рок" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "Рок за овај задатак" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "Датум/време почетка" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "Почетни датум/време овог састојка" #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "Трајање" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "Трајање овог датума" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "Слободан/заузет" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "GList слободних/заузетих објеката" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "Означивач временске зоне овог састојка" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "Списак назива временских зона" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "GList назива временских зона" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "Распон временске зоне од" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "Распон временске зоне до" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "URL временске зоне" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "URL до описа временске зоне" #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "Контакт" #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "Информације за контакт" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "Јединствени означивач" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "Јединствени означивач за овај састојак" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "" #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "Радња" #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "Понови" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "Покретач" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "Датум/време покретања" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "Датум/време покретача" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "Завршетак покретача" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "Да ли је покретач подешен на крај временског интервала" #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "Направљено" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "Датум/време када је направљено" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "Печат за датум/време" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "Датум/време последње измене" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "След" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "Број следа" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s: грешка при читању датотеке календара: %s\n" #~ msgid "Can not open temporary file %s: %s\n" #~ msgstr "Не могу да отворим привремену датотеку %s: %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Грешка при писању датотеке календара %s: %s!" libmimedir-0.4.2/po/nl.po0000644000175000017500000012303010603540671012143 00000000000000# Dutch translation of libmimedir. # Copyright (C) 2003 Free Software Foundation, Inc. # This file is distributed under the same license as the libmimedir package. # Vincent van Adrighem , 2003. # Taco Witte , 2003, 2005. # Tino Meinen , 2005, 2006 # msgid "" msgstr "" "Project-Id-Version: libmimedir HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-09-05 14:41+0200\n" "PO-Revision-Date: 2006-09-05 16:08+0200\n" "Last-Translator: Tino Meinen \n" "Language-Team: Dutch \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Gebruik: %s ICALBESTAND\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "per seconde" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "per minuut" #: ../bin/ical-dump.c:61 msgid "hourly" msgstr "per uur" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "dagelijks" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "wekelijks" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "maandelijks" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "jaarlijks" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 msgid "unknown" msgstr "onbekend" #: ../bin/ical-dump.c:81 msgid "second" msgstr "seconde" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "minute" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "uur" #: ../bin/ical-dump.c:87 msgid "day" msgstr "dag" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "dag van de maand" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "dag van het jaar" #: ../bin/ical-dump.c:93 msgid "week number" msgstr "weeknummer" #: ../bin/ical-dump.c:95 msgid "month" msgstr "maand" #: ../bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr " Herhaling:\n" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr " Frequentie: %s\n" #: ../bin/ical-dump.c:123 #, c-format msgid " Until: %s\n" msgstr " Tot: %s\n" #: ../bin/ical-dump.c:128 #, c-format msgid " Count: %d\n" msgstr " Aantal keer: %d\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr " Interval: %d\n" #: ../bin/ical-dump.c:134 #, c-format msgid " Unit: %s\n" msgstr " Eenheid: %s\n" #: ../bin/ical-dump.c:137 #, c-format msgid " Units: %s\n" msgstr " Eenheden: %s\n" # actie/gebeurtenis #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Gebeurtenis:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Te-doen item:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Onbekend component:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Samenvatting: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Categorieen: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "hoog" #: ../bin/ical-dump.c:190 msgid "low" msgstr "laag" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "midden" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Prioriteit: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Start datum: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Eind datum: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Verwacht op: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " Unieke ID: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Rij: %u\n" # daglange gebeurtenis/actie #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " Gebeurtenis gehele dag\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:84 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: ongeldig aantal argumenten\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Gebruik: %s VKAARTBESTAND\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: fout bij lezen kaartbestand: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: fout bij schrijven kaartbestand: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Naam" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "Naam van kenmerk" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Groep" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "Groep van kenmerk" #: ../mimedir/mimedir-attribute.c:933 msgid "missing parameter name" msgstr "ontbrekende parameternaam" #: ../mimedir/mimedir-attribute.c:958 msgid "missing closing quotation mark" msgstr "ontbrekend afsluitend aanhalingsteken" #: ../mimedir/mimedir-attribute.c:983 msgid "wrong parameter syntax" msgstr "verkeerde parametersyntax" # ontbrekende/geen #: ../mimedir/mimedir-attribute.c:993 msgid "no parameter value" msgstr "ontbrekende parameterwaarde" #: ../mimedir/mimedir-attribute.c:1086 msgid "missing attribute name/group" msgstr "ontbrekende naam/groep kenmerk" # ontbrekende/geen #: ../mimedir/mimedir-attribute.c:1102 msgid "no attribute name after group" msgstr "geen kenmerknaam na groep" #: ../mimedir/mimedir-attribute.c:1118 msgid "missing value delimiter" msgstr "ontbrekende waarde-begrenzer" #: ../mimedir/mimedir-attribute.c:1134 msgid "invalid character" msgstr "ongeldig teken" #: ../mimedir/mimedir-attribute.c:2505 ../mimedir/mimedir-attribute.c:2514 msgid "illegal character" msgstr "niet-toegestaan teken" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "syntaxis fout (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "niet-toegestaan teken 0x%02x voor soort \"%s\"" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "ongeldig formaat voor soort \"%s\" in kenmerk %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "kenmerk %s kon niet worden gedecodeerd, omdat de codering onbekend is" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "ongeldige waarde in kenmerk %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "parameter \"%s\" mag niet meerdere keren worden gebruikt in kenmerk %s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "ongeldige Base64 rij" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "ongeldige aangehaald-weergeefbaar rij" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "kenmerklijst van %s is te kort" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "kenmerklijst van %s is te lang" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:352 msgid "Time zone identifier" msgstr "Tijdzone identificeerder" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Identificerende tekst tijdzone" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Vrij/bezig soort" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Of dit object een vrije of bezige periode aangeeft" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Profielnaam" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "De naam (soort) van het profiel" #: ../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "Tekenset" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "Tekenset voor (de)coderen van dit profiel" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "kenmerk %s tweemaal gedefinieerd" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "onverwacht einde van profiel" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "vereiste kenmerk %s ontbreekt" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "niet-overeenkomend END kenmerk" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "verkeerd profiel %s; verwacht: %s" #: ../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "Frequentie" # herhalende/terugkerende #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "Frequentietype van deze terugkerende regel" # BUG: occurence ipv recurrence? #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "Datum van laatste herhaling" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "De datum van de laatste herhaling van een gebeurtenis" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "Aantal herhalingen" #: ../mimedir/mimedir-recurrence.c:236 msgid "The number of recurrences of an event" msgstr "Het aantal herhalingen van een gebeurtenis" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "Herhalingsinterval" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "Het interval tussen herhalingen van een gebeurtenis" # dag/week/maand etc #: ../mimedir/mimedir-recurrence.c:251 msgid "Recurrence unit" msgstr "Herhalingseenheid" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "Met welke eenheid een herhaling terugkeert" #: ../mimedir/mimedir-recurrence.c:259 msgid "Recurrence units" msgstr "Herhalingseenheden" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "Lijst met eenheden waarmee herhalingen terugkeren" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Herinnering van uw afspraak:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Methode" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "De methode van vCalendar" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Produkt identificeerder" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "De produkt identificeerder van de vCalendar. In geval van nieuw gegenereerde " "objecten is dit de produkt identificeerder van LibMIMEDir" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2111 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "Het profiel bevat het niet-ondersteunde aangepaste kenmerk %s.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2114 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "Het profiel bevat het onbekende kenmerk %s.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Fout bij lezen kalenderbestand %s: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Titel" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "Een één-tegel tekst met de belangrijkste adresinformatie" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Vrije-vorm adres" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Tekst van een vrije-vorm adres" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Postbus" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "De adresgegevens van de postbus" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Uitgebreid adres" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Tekst uitgebreid adres" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Straat" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Huisnummer" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Plaats" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Plaats (bijv. stad, dorp, enz.)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Gebied" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Regio (bijv. provincie)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Postcode" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Postcode (vrije-vorm tekst)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Country" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Binnenlands" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Of dit een binnenlands adres is" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Internationaal" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Of dit een buitenlands adres is" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Postadres" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Of dit een postadres is" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Pakket" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Of pakketten op dit adres kunnen worden ontvangen" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-email.c:163 #: ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Startpagina" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Of dit een thuisadres is" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-email.c:169 #: ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Werk" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Of dit een werkadres is" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:157 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Voorkeur" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Of dit het voorkeursadres is" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "Het %s kenmerk bevat teveel elementen.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s.\n" msgstr "Het adresveld %s is van onbekende soort.\n" #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" # bij voorkeur/voorkeur #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:538 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "voorkeur" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "binnenlands" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "buitenlands" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "postadres" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "pakket" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-email.c:560 #: ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "thuisadres" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-email.c:566 #: ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "werkadres" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:142 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Adres" #: ../mimedir/mimedir-vcard-email.c:143 msgid "The e-mail address" msgstr "Het e-mail adres" #: ../mimedir/mimedir-vcard-email.c:149 msgid "Type" msgstr "Type" #: ../mimedir/mimedir-vcard-email.c:150 msgid "Type of this e-mail address" msgstr "Soort e-mail adres" #: ../mimedir/mimedir-vcard-email.c:158 msgid "Whether this is the preferred e-mail address" msgstr "Of dit het voorkeurs-e-mail adres is" # BUG: engels: Whether is a home e-mail address #: ../mimedir/mimedir-vcard-email.c:164 msgid "Whether is a home e-mail address" msgstr "Of dit een e-mailadres voor thuis is" #: ../mimedir/mimedir-vcard-email.c:170 msgid "Whether this is an e-mail address at work" msgstr "Of dit een e-mailadres voor werk is" #: ../mimedir/mimedir-vcard-email.c:442 #, c-format msgid "The email field is of unknown type %s.\n" msgstr "Het e-mailveld %s is van onbekende soort.\n" #: ../mimedir/mimedir-vcard-email.c:548 msgid "Internet" msgstr "Internet" #: ../mimedir/mimedir-vcard-email.c:553 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Nummer" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "Het telefoonnummer (vrije-vorm tekst)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Of dit een thuis-telefoonnummer is" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Of dit een telefoonnummer op het werk is" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Spraak" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Of dit een spraaknummer is" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Fax" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Of dit een faxnummer is" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Of dit een bulletin board system nummer is" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modem" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Of dit een modemnummer is" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Werkbladwisselaar" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Of dit een semafoonnummer is" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Video" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Of dit een beeldtelefoonnummer is" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Cel" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Of dit een mobiel telefoonnummer is" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Auto" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Of dit een auto-telefoonnummer is" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Of dit een ISDN nummer is" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Of dit een PCS nummer is" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Of dit het voorkeursnummer is" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Bericht" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Of dit nummer een spraakopnemer heeft" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s.\n" msgstr "Het telefoonveld %s is van onbekende soort.\n" #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "spraak" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "fax" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "modem" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "semafoon" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "beeld" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "spraakbericht" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "mobiel" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "auto" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "De volledige naam van deze persoon" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Achternaam" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "De achternaam van deze persoon" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Roep/voornaam" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "De roep/voornaam van deze persoon" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Tweede naam" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "De tweede naam of midden-initialen van deze persoon" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Prefix" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "Het naam voorvoegsel (bijv. eretitel) van deze persoon" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Achtervoegsel" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "Het naam achtervoegsel van deze persoon" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Bijnamen lijst" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" "Lijst van alle bijnamen. Dit is een GList *, waarin de elementen van soort " "const gchar * zijn" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Bijnaam" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "De eerste bijnaam" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Foto" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Pointer naar byte-stroom, die een afbeelding van de persoon voorstelt" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "Foto URI" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI naar een afbeelding van deze persoon" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Verjaardag" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "De verjaardag van deze persoon" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Adreslijst" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" "Lijst van alle adressen. Dit is een GList *, waarin de elementen zijn van " "soort MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "Het voorkeursadres" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Telefoonnummer lijst" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "Lijst van alle telefoonnummers. Dit is een GList *, waarin de elementen zijn " "van soort MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Telefoonnummer" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "Het voorkeurs-telefoonnummer" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "E-mail adreslijst" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Lijst van alle e-mail adressen. Dit is een GList *, waarin de elementen zijn " "van soort MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "E-mailadres" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "Het voorkeurs-e-mail adres" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "E-mailprogramma" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "Het e-mail programma gebruikt door deze persoon" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Tijdzone" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "De tijdzone waarin deze persoon woont" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Tijdzone tekst" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "De tijdzone waarin deze persoon woont (afgeraden tekstrepresentatie)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Breedtegraad" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Breedtegraad van woonplaats van persoon" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Lengtegraad" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Lengtegraad van woonplaats van persoon" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Titel baan" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "De titel van de baan van deze persoon" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Rol" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "De rol die deze persoon heeft bij baan" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Logo" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" "Pointer naar een byte-stroom, die het logo van het bedrijf van de persoon " "voorstelt" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "Logo URI" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI naar logo van bedrijf van deze persoon" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Contactpersoon" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "Een persoon die optreedt voor de persoon beschreven in deze kaart" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "Contactpersoon URI" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "" "URI naar een beschrijving van een persoon, die optreedt voor de persoon " "beschreven in deze kaart" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Contactpersoon tekst" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "Een persoon die optreedt voor de persoon beschreven in deze kaart (afgeraden " "tekstrepresentatie)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Organisatie lijst" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Lijst van alle organisaties waartoe deze persoon behoort. Dit is een GList " "*, waarin de elementen gchar * zijn" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Organisatie" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "Eerste organisatie van persoon" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:266 msgid "Category list" msgstr "Categorie lijst" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "Lijst van alle categorieen van deze persoon. Dit is een GList *, waarin de " "elementen gchar * zijn" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Categorieën" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Tekstrepresentatie van de categorieen van deze persoon" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Opmerking" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Extra opmerkingen" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "De produkt identficeerrder van de vCard. In geval van nieuw gegenereerde " "objecten is dit de produkt identificeerder van LibMIMEDir" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Herziening" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Herziening van kaart" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Sorteertekst" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "Tekst die de sorteervolgorde aangeeft van deze kaart" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Geluid" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Pointer naar een byte-stroom, die een geluidsbestand voorstelt" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "Geluid URI" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI naar een geluidsbestand" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Unieke identificeerder" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Een unieke identificeerde voor deze kaart" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Een alternatieve URL voor deze bron" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Classificatie" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "De veiligheidsaanduiding van deze kaart" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Openbare sleutel lijst" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Lijst van openbare sleutels van deze persoon. Dit is een GList *, waarin de " "elementen MIMEDirVCardKeys zijn" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Openbare sleutel" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "De eerste openbare sleutel van deze persoon" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Soort sleutel" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Soort van eerste openbare sleutel" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Fout bij lezen kaartbestand %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Fout bij schrijven kaartbestand %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Naam: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Naam\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Voorvoegsel: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Voornaam: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Extra: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Achternaam: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Achtervoegsel: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Geboorte datum: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Adreslabel (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Adres (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Postbus: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Uitgebreid: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Straat: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Plaatsnaam: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Regio: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Postcode: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Land: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Telefoon:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Telefoon: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3556 msgid "E-mail:\n" msgstr "E-mail:\n" #: ../mimedir/mimedir-vcard.c:3580 #, c-format msgid "E-mail: %s (%s)\n" msgstr "E-mail: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3602 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Tijdzone: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3611 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Locatie: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3620 #, c-format msgid "Organization: %s\n" msgstr "Organisatie: %s\n" #: ../mimedir/mimedir-vcard.c:3625 #, c-format msgid "Job title: %s\n" msgstr "Titel baan: %s\n" #: ../mimedir/mimedir-vcard.c:3628 #, c-format msgid "Business role: %s\n" msgstr "Rol in bedrijf: %s\n" #: ../mimedir/mimedir-vcard.c:3638 #, c-format msgid "Categories: %s\n" msgstr "Categorieen: %s\n" #: ../mimedir/mimedir-vcard.c:3643 #, c-format msgid "Comment: %s\n" msgstr "Opmerking: %s\n" #: ../mimedir/mimedir-vcard.c:3646 #, c-format msgid "Homepage: %s\n" msgstr "Homepage: %s\n" #: ../mimedir/mimedir-vcard.c:3649 #, c-format msgid "Unique string: %s\n" msgstr "Unieke tekst: %s\n" #: ../mimedir/mimedir-vcard.c:3659 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3662 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3665 msgid "yes" msgstr "ja" #: ../mimedir/mimedir-vcard.c:3669 #, c-format msgid "Public Key: %s\n" msgstr "Openbare sleutel: %s\n" #: ../mimedir/mimedir-vcomponent.c:267 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Lijst van alle categorieen van dit component. Dit is een GList *, waarin de " "elementen gchar * zijn" #: ../mimedir/mimedir-vcomponent.c:271 msgid "Comment list" msgstr "Lijst opmerkingen" #: ../mimedir/mimedir-vcomponent.c:272 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Lijst van extra opmerkingen voor dit component. Dit is een GList *, waarin " "de elementen gchar * zijn" #: ../mimedir/mimedir-vcomponent.c:276 msgid "Description" msgstr "Beschrijving" #: ../mimedir/mimedir-vcomponent.c:277 msgid "Full description of this component" msgstr "Volledige beschrijving van dit component" #: ../mimedir/mimedir-vcomponent.c:282 msgid "Percent complete" msgstr "Procent voltooid" #: ../mimedir/mimedir-vcomponent.c:283 msgid "Percentage of this task's completion" msgstr "Percentage voltooid voor deze taak" #: ../mimedir/mimedir-vcomponent.c:290 msgid "Priority" msgstr "Prioriteit" #: ../mimedir/mimedir-vcomponent.c:291 msgid "This task's priority" msgstr "Prioriteit van taak" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:296 msgid "Resource list" msgstr "Bronnenlijst" #: ../mimedir/mimedir-vcomponent.c:297 msgid "List of the resources assigned to this component" msgstr "Lijst van bronnen toegewezen aan dit component" #: ../mimedir/mimedir-vcomponent.c:301 msgid "Status" msgstr "Status" #: ../mimedir/mimedir-vcomponent.c:302 msgid "This task's completion status" msgstr "Status van deze taak" #: ../mimedir/mimedir-vcomponent.c:309 msgid "Summary" msgstr "Samenvatting" #: ../mimedir/mimedir-vcomponent.c:310 msgid "Component's short description" msgstr "Korte omschrijving component" #: ../mimedir/mimedir-vcomponent.c:316 msgid "Date/time completed" msgstr "Datum/tijd voltooid" #: ../mimedir/mimedir-vcomponent.c:317 msgid "Date/time that this task was completed" msgstr "Datum/tijd dat deze taak voltooid werd" #: ../mimedir/mimedir-vcomponent.c:322 msgid "Date/time end" msgstr "Datum/tijd einde" #: ../mimedir/mimedir-vcomponent.c:323 msgid "End date/time of this component" msgstr "Eind datum/tijd van dit component" #: ../mimedir/mimedir-vcomponent.c:328 msgid "Due" msgstr "Verwacht op" #: ../mimedir/mimedir-vcomponent.c:329 msgid "This task's due date" msgstr "Datum waarop taak klaar moet zijn" #: ../mimedir/mimedir-vcomponent.c:334 msgid "Date/time start" msgstr "Datum/tijd begin" #: ../mimedir/mimedir-vcomponent.c:335 msgid "Start date/time of this component" msgstr "Begin datum/tijd van dit component" #: ../mimedir/mimedir-vcomponent.c:340 msgid "Duration" msgstr "Tijdsduur" #: ../mimedir/mimedir-vcomponent.c:341 msgid "This date's duration" msgstr "Duur van deze datum" #: ../mimedir/mimedir-vcomponent.c:346 msgid "Free/busy" msgstr "Vrij/bezig" #: ../mimedir/mimedir-vcomponent.c:347 msgid "GList of free/busy objects" msgstr "GList van vrij/bezig objecten" #: ../mimedir/mimedir-vcomponent.c:353 msgid "This component's time zone identifier" msgstr "Tijdzone identificeerder van dit component" #: ../mimedir/mimedir-vcomponent.c:358 msgid "Time zone name list" msgstr "Tijdzone namenlijst" #: ../mimedir/mimedir-vcomponent.c:359 msgid "GList of time zone names" msgstr "GList van tijdzone namen" #: ../mimedir/mimedir-vcomponent.c:363 ../mimedir/mimedir-vcomponent.c:364 msgid "Time zone offset from" msgstr "Tijdzone verschuiving van" #: ../mimedir/mimedir-vcomponent.c:371 ../mimedir/mimedir-vcomponent.c:372 msgid "Time zone offset to" msgstr "Tijdzone verschuiving naar" #: ../mimedir/mimedir-vcomponent.c:379 msgid "Time zone URL" msgstr "Tijdzone URL" #: ../mimedir/mimedir-vcomponent.c:380 msgid "URL to a time zone description" msgstr "URL naar een tijdzone beschrijving" #: ../mimedir/mimedir-vcomponent.c:386 msgid "Contact" msgstr "Contact" #: ../mimedir/mimedir-vcomponent.c:387 msgid "Contact information" msgstr "Contact informatie" #: ../mimedir/mimedir-vcomponent.c:393 msgid "Unique identifier" msgstr "Unieke identificeerder" #: ../mimedir/mimedir-vcomponent.c:394 msgid "A unique identifier for this component" msgstr "Een unieke identificeerder voor dit component" #: ../mimedir/mimedir-vcomponent.c:400 msgid "Recurrence object" msgstr "Herhalingsobject" #: ../mimedir/mimedir-vcomponent.c:401 msgid "An object representing the RRULE tag" msgstr "Een object dat de RRULE-tag voorstelt" #: ../mimedir/mimedir-vcomponent.c:407 ../mimedir/mimedir-vcomponent.c:408 msgid "Action" msgstr "Actie" #: ../mimedir/mimedir-vcomponent.c:413 ../mimedir/mimedir-vcomponent.c:414 msgid "Repeat" msgstr "Herhalen" #: ../mimedir/mimedir-vcomponent.c:419 ../mimedir/mimedir-vcomponent.c:420 msgid "Trigger" msgstr "Trigger" #: ../mimedir/mimedir-vcomponent.c:425 msgid "Trigger date/time" msgstr "Trigger datum/tijd" #: ../mimedir/mimedir-vcomponent.c:426 msgid "Date/time of the trigger" msgstr "Datum/tijd van de trigger" #: ../mimedir/mimedir-vcomponent.c:431 msgid "Trigger end" msgstr "Trigger einde" #: ../mimedir/mimedir-vcomponent.c:432 msgid "Whether the trigger is set at the end of the time interval" msgstr "Of de trigger op het einde van het tijdsinterval moet worden ingesteld" #: ../mimedir/mimedir-vcomponent.c:438 msgid "Created" msgstr "Aangemaakt" #: ../mimedir/mimedir-vcomponent.c:439 msgid "Date/time of the creation" msgstr "Datum/tijd van aanmaak" #: ../mimedir/mimedir-vcomponent.c:444 msgid "Date/time stamp" msgstr "Datum/tijd stempel" #: ../mimedir/mimedir-vcomponent.c:445 msgid "Date/time of the creation of the iCalendar object" msgstr "Datum/tijd van aanmaak van het iCalendar-object" # laatst gewijzigd op #: ../mimedir/mimedir-vcomponent.c:450 msgid "Last modified" msgstr "Laatste wijziging" #: ../mimedir/mimedir-vcomponent.c:451 msgid "Date/time of the last modification" msgstr "Datum/tijd van laatste wijziging" #: ../mimedir/mimedir-vcomponent.c:456 msgid "Sequence" msgstr "Rij" #: ../mimedir/mimedir-vcomponent.c:457 msgid "Sequence number" msgstr "Volgnummer" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s: fout bij lezen kalender bestand: %s\n" #~ msgid "Can not open temporary file %s: %s\n" #~ msgstr "Kon tijdelijk bestand %s niet openen: %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Fout bij schrijven kalenderbestand %s: %s!" libmimedir-0.4.2/po/zh_CN.po0000644000175000017500000007741310603540671012550 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Funda Wang , 2004. # msgid "" msgstr "" "Project-Id-Version: libmimedir HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-04 15:04+0200\n" "PO-Revision-Date: 2004-12-05 00:24+0800\n" "Last-Translator: Funda Wang \n" "Language-Team: zh_CN \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "用法:%s ICALFILE\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" #: ../bin/ical-dump.c:61 msgid "hourly" msgstr "" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 msgid "unknown" msgstr "" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" #: ../bin/ical-dump.c:93 #, fuzzy msgid "week number" msgstr "电话号码" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr "" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr "" #: ../bin/ical-dump.c:123 #, c-format msgid " Until: %s\n" msgstr "" #: ../bin/ical-dump.c:128 #, fuzzy, c-format msgid " Count: %d\n" msgstr "国家:%s\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" #: ../bin/ical-dump.c:134 #, c-format msgid " Unit: %s\n" msgstr "" #: ../bin/ical-dump.c:137 #, c-format msgid " Units: %s\n" msgstr "" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr "" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr "" #: ../bin/ical-dump.c:188 msgid "high" msgstr "" #: ../bin/ical-dump.c:190 msgid "low" msgstr "" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr "" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr "" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr "" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr "" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr "" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr "" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr "" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "" #: ../mimedir/mimedir-attribute.c:894 msgid "missing parameter name" msgstr "" #: ../mimedir/mimedir-attribute.c:919 msgid "missing closing quotation mark" msgstr "" #: ../mimedir/mimedir-attribute.c:1040 msgid "missing attribute name/group" msgstr "" #: ../mimedir/mimedir-attribute.c:1056 msgid "no attribute name after group" msgstr "" #: ../mimedir/mimedir-attribute.c:1072 msgid "missing value delimiter" msgstr "" #: ../mimedir/mimedir-attribute.c:1088 msgid "invalid character" msgstr "" #: ../mimedir/mimedir-attribute.c:2459 ../mimedir/mimedir-attribute.c:2468 msgid "illegal character" msgstr "" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "" #: ../mimedir/mimedir-profile.c:121 #, fuzzy msgid "Character set" msgstr "类别列表" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "" #: ../mimedir/mimedir-recurrence.c:221 #, fuzzy msgid "Frequency" msgstr "序列" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 #, fuzzy msgid "Recurrence unit" msgstr "资源列表" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 #, fuzzy msgid "Recurrence units" msgstr "资源列表" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:153 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s." msgstr "" #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:504 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:138 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "" #: ../mimedir/mimedir-vcard-email.c:139 msgid "The e-mail address" msgstr "" #: ../mimedir/mimedir-vcard-email.c:145 msgid "Type" msgstr "" #: ../mimedir/mimedir-vcard-email.c:146 msgid "Type of this e-mail address" msgstr "" #: ../mimedir/mimedir-vcard-email.c:154 msgid "Whether this is the preferred e-mail address" msgstr "" #: ../mimedir/mimedir-vcard-email.c:412 #, c-format msgid "The email field is of unknown type %s." msgstr "" #: ../mimedir/mimedir-vcard-email.c:514 msgid "Internet" msgstr "" #: ../mimedir/mimedir-vcard-email.c:519 msgid "X.400" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s." msgstr "" #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "照片" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "生日" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "电话号码" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "电子邮件地址" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "角色" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "标志" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "代理" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "代理字符串" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "组织" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "类别列表" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "类别" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "附加注释" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "排序字符串" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr "地区:%s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr "邮政编码:%s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr "国家:%s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "电话:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3554 msgid "E-mail:\n" msgstr "电子邮件:\n" #: ../mimedir/mimedir-vcard.c:3578 #, c-format msgid "E-mail: %s (%s)\n" msgstr "电子邮件:%s(%s)\n" #: ../mimedir/mimedir-vcard.c:3598 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "时区:%c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3607 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3616 #, c-format msgid "Organization: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3621 #, c-format msgid "Job title: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3624 #, c-format msgid "Business role: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3634 #, c-format msgid "Categories: %s\n" msgstr "类别:%s\n" #: ../mimedir/mimedir-vcard.c:3639 #, c-format msgid "Comment: %s\n" msgstr "注释:%s\n" #: ../mimedir/mimedir-vcard.c:3642 #, c-format msgid "Homepage: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3645 #, c-format msgid "Unique string: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3655 msgid "X.509" msgstr "" #: ../mimedir/mimedir-vcard.c:3658 msgid "PGP" msgstr "" #: ../mimedir/mimedir-vcard.c:3661 msgid "yes" msgstr "" #: ../mimedir/mimedir-vcard.c:3665 #, c-format msgid "Public Key: %s\n" msgstr "公钥:%s\n" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "完成百分比" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "" #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "优先级" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "任务的优先级" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "资源列表" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "忙/闲" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "" #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "" #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "" #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "" #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "" #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "日期/时间戳" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "上次修改的日期/时间" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "序列" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "序列号码" libmimedir-0.4.2/po/sr@Latn.po0000644000175000017500000011715310603540671013106 00000000000000# Serbian translation of libmimedir # Courtesy of Prevod.org team (http://www.prevod.org/) -- 2003. # # This file is distributed under the same license as the libmimedir package. # # Maintainer: Veljko M. Stanojević # msgid "" msgstr "" "Project-Id-Version: libmimedir\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-04 15:04+0200\n" "PO-Revision-Date: 2003-06-22 17:19+0200\n" "Last-Translator: Veljko M. Stanojevic \n" "Language-Team: Serbian (sr) \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.0\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Upotreba: %s ICALFILE\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" #: ../bin/ical-dump.c:61 #, fuzzy msgid "hourly" msgstr "Država" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 #, fuzzy msgid "unknown" msgstr "" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" #: ../bin/ical-dump.c:93 #, fuzzy msgid "week number" msgstr "Telefonski broj" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, fuzzy, c-format msgid " Recurrence:\n" msgstr " Sled: %u\n" #: ../bin/ical-dump.c:120 #, fuzzy, c-format msgid " Frequency: %s\n" msgstr " Sled: %u\n" #: ../bin/ical-dump.c:123 #, fuzzy, c-format msgid " Until: %s\n" msgstr " Jedinstven oznaka (ID): %s\n" #: ../bin/ical-dump.c:128 #, fuzzy, c-format msgid " Count: %d\n" msgstr " Država: %s\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" #: ../bin/ical-dump.c:134 #, fuzzy, c-format msgid " Unit: %s\n" msgstr " Jedinstven oznaka (ID): %s\n" #: ../bin/ical-dump.c:137 #, fuzzy, c-format msgid " Units: %s\n" msgstr " Jedinstven oznaka (ID): %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Događaj:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Stavka koju treba uraditi:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Nepoznat sastojak:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Sadržaj: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Kategorije: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "visok" #: ../bin/ical-dump.c:190 msgid "low" msgstr "nizak" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "srednji" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Prvenstvo: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Datum početka: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Datum završetka: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Krajnji rok: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " Jedinstven oznaka (ID): %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Sled: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " Celodnevni događaj\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: pogrešan broj argumenata\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Upotreba: %s VCARDFILE\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: greška pri čitanju datoteke za karticu: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: greška pri pisanju datoteke za karticu: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Ime" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "Ime prideva" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Grupa" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "Grupa prideva" #: ../mimedir/mimedir-attribute.c:894 msgid "missing parameter name" msgstr "nedostaje ime parametra" #: ../mimedir/mimedir-attribute.c:919 msgid "missing closing quotation mark" msgstr "nedostaje završni navodnik" #: ../mimedir/mimedir-attribute.c:1040 msgid "missing attribute name/group" msgstr "nedostaje ime/grupa prideva" #: ../mimedir/mimedir-attribute.c:1056 msgid "no attribute name after group" msgstr "nedostaje ime prideva posle grupe" #: ../mimedir/mimedir-attribute.c:1072 msgid "missing value delimiter" msgstr "nedostaje razdvajač vrednosti" #: ../mimedir/mimedir-attribute.c:1088 msgid "invalid character" msgstr "pogrešan znak" #: ../mimedir/mimedir-attribute.c:2459 ../mimedir/mimedir-attribute.c:2468 msgid "illegal character" msgstr "nedozvoljeni znak" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "sintaktička greška (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "nedozvoljeni znak 0x%02x za vrstu „%s“" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "pogrešan format za vrstu „%s“ u pridevu %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "pridev %s nije protumačen zbog nepoznate vrste zapisa" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "pogrešna vrednost u pridevu %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "parametar „%s“ se ne sme upotrebiti više puta u pridevu %s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "nevažeći Base64 sled" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "nevažeći „quoted-printable“ sled" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "spisak prideva za %s je prekratak" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "spisak prideva za %s je predug" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "Označivač vremenske zone" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Niz označivanja vremenske zone" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Vrsta „slobodno/zauzeto“" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Da li ovaj objekat označava slobodan ili zauzet period" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Naziv skupa postavki" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "Naziv (vrsta) skupa postavki" #: ../mimedir/mimedir-profile.c:121 #, fuzzy msgid "Character set" msgstr "Spisak kategorija" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "pridev %s je dvaputa definisan" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "neočekivani svršetak skupa postavki" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "nedostaje neophodni pridev %s" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "neupareni END pridev" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "pogrešan skup postavki %s; očekivan je %s" #: ../mimedir/mimedir-recurrence.c:221 #, fuzzy msgid "Frequency" msgstr "Sled" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 #, fuzzy msgid "Recurrence unit" msgstr "Spisak izvora" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 #, fuzzy msgid "Recurrence units" msgstr "Spisak izvora" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Podsetnik za vaš sastanak:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Metod" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "Metod za vCalendar" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Označivač produkta" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Označivač produkta za vCalendar. U slučaju novostvorenih objekata pripada mu " "LibMIMEDir označivač produkta." #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "Skup postavki sadrži nepodržani prilagođeni pridev %s.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "Skup postavki sadrži nepoznati pridev %s.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Greška pri čitanju datoteke kalendara %s: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Naslov" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "Jednoredni niz sa najbitnijim podacima o adresi" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Slobodan oblik adrese" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Niz slobodnog oblika adrese" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Poštanski fah" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "Poštanski fah primaoca" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Opširna adresa" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Niz opširne adrese" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Ulica" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Ulična adresa" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Mesto" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Mesto (npr. grad, mesto itd.)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Oblast" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Oblast (npr. republika)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Poštanski broj" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Poštanski broj (niz slobodnog oblika)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Država" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Domaća pošta" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Da li se radi o adresi u domaćoj pošti" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Međunarodna pošta" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Da li se radi o adresi u međunarodnoj pošti" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Pošta" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Da li se radi o poštanskoj adresi" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Pošiljka" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Da li se pošiljke mogu primiti na ovu adresu" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Kuća" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Da li je ovo kućna adresa" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Posao" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Da li je ovo adresa na poslu" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:153 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Prvenstveno" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Da li je ovo prvenstvena adresa" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "Pridev %s sadrži previše elemenata.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s." msgstr "Nepoznata vrsta polja za adresu %s." #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:504 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "prvenstveno" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "domaća pošta" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "međunarodna pošta" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "pošta" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "pošiljka" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "kuća" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "posao" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:138 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Adresa" #: ../mimedir/mimedir-vcard-email.c:139 msgid "The e-mail address" msgstr "E-pošta" #: ../mimedir/mimedir-vcard-email.c:145 msgid "Type" msgstr "Vrsta" #: ../mimedir/mimedir-vcard-email.c:146 msgid "Type of this e-mail address" msgstr "Vrsta e-pošte" #: ../mimedir/mimedir-vcard-email.c:154 msgid "Whether this is the preferred e-mail address" msgstr "Da li je ovo prvenstvena e-pošta" #: ../mimedir/mimedir-vcard-email.c:412 #, c-format msgid "The email field is of unknown type %s." msgstr "Nepoznata vrsta polja za e-poštu %s." #: ../mimedir/mimedir-vcard-email.c:514 msgid "Internet" msgstr "Internet" #: ../mimedir/mimedir-vcard-email.c:519 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Broj" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "Telefonski broj (niz slobodnog oblika)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Da li je ovo kućni telefonski broj" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Da li je ovo telefonski broj na poslu" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Govor" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Da li je ovo broj govorne pošte" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Faks" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Da li je ovo broj faksa" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Da li je ovo BBS broj" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modem" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Da li je ovo broj modema" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Pejdžer" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Da li je ovo broj pejdžera" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Video" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Da li je ovo broj videofona" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Mobilni" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Da li je ovo broj mobilnog telefona" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Automobil" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Da li je ovo broj telefona u automobilu" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Da li je ovo ISDN broj" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Da li je ovo PCS broj" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Da li je ovo prvenstveni broj" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Poruka" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Da li ovaj broj ima uređaj za snimanje glasa" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s." msgstr "Nepoznata vrsta polja za telefon %s." #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "glas" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "faks" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "modem" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "pejdžer" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "videofon" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "glasovna poruka" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "mobilni telefon" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "telefon u autu" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "Puno ime i prezime ove osobe" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Prezime" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "Prezime ove osobe" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Ime" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "Ime ove osobe" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Srednje ime" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "Srednje ime ili srednji inicijal ove osobe" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Titula" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "Prefiks imena (npr. titula) ove osobe" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Sufiks" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "Sufiks imena ove osobe" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Spisak nadimaka" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" "Spisak svih nadimaka. Ovo je GList * gde su svi elementi tipa const gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Nadimak" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "Prvi nadimak" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Fotografija" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Pokazivač ka bajt-toku koji predstavlja sliku ove osobe" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "URI fotografije" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI za sliku ove osobe" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Rođendan" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "Rođendan osobe" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Spisak adresa" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" "Spisak svih adresa. Ovo je GList * gde su svi elementi tipa MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "Prvenstvena adresa" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Spisak telefonskih brojeva" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "Spisak svih telefonskih brojeva. Ovo je GList * gde su svi elementi tipa " "MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Telefonski broj" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "Prvenstveni telefonski broj" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Spisak e-pošta" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Spisak svih e-pošta. Ovo je GList * gde su svi elementi tipa MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "E-pošta" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "Prvenstvena e-pošta" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Program za e-poštu" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "Program koji ova osoba koristi za e-poštu" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Vremenska zona" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "Vremenska zona u kojoj ova ososba živi" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Niz vremenske zone" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "Vremenska zona u kojoj ova osoba živi (prevaziđeni format)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Geografska širina" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Geografska širina mesta prebivališta ove osobe" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Geografska dužina" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Geografska dužina mesta prebivališta ove osobe" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Zanimanje" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "Zanimanje ove osobe" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Uloga" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "Uloga ove osobe na radnom mestu" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Zaštitni znak preduzeća" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" "Pokazivač ka bajt-toku koji predstavlja zaštitni znak preduzeća ove osobe" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "URI zaštitnog znaka" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI do zaštitnog zanaka preduzeća ove osobe" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Zastupnik" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "Osoba koja zastupa osobu predstavljenu na ovoj kartici" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "URI zastupnika" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "URI do opisa osobe koja zastupa osobu predstavljenu na ovoj kartici" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Niz za zastupnika" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "Osoba koja zastupa osobu predstavljenu na ovoj kartici (prevaziđeni format)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Spisak organizacija" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Spisak svih organizacija kojima ova osoba pripada. Ovo je GList * gde su svi " "elementi gchar * -ovi" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Organizacija" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "Prva organizacija ove osobe" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "Spisak kategorija" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "Spisak svih kategorija za ovu osobu. Ovo je GList * gde su svi elementi " "gchar * -ovi" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Kategorije" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Nizno predstavljanje kategorija za ovu osobu" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Beleška" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Dodatni komentari" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Označivač produkta za vCard. U slučaju novostvorenih objekata pripada mu " "LibMIMEDir označivač produkta." #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Pregled" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Pregled kartice" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Niz za redosled" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "Niz koji određuje redosled ove kartice" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Zvuk" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Pokazivač ka bajt-toku koji predstavlja datoteku sa zvukom" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "URI zvuka" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI do datoteke sa zvukom" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Jedinstveni označivač" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Jedinstveni označivač za ovu karticu" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Alternativni URL za ovaj izvor" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Razvrstanje" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "Bezbednosno razvrstanje ove kartice" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Spisak javnih ključeva" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Spisak javnih ključeva ove osobe. Ovo je GList * gde su svi elementi " "MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Javni ključ" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "Prvi javni ključ ove osobe" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Vrsta ključa" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Vrsta prvog javnog ključa" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Greška pri čitanju datoteke kartice %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Greška pri pisanju datoteke kartice %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Ime: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Ime\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Titula: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Ime: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Dodatno: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Prezime: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Sufiks: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Datum rođenja: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Oznaka adrese (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Adresa (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Poštanski fah: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Opširno: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Ulica: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Grad: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Oblast: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Poštanski broj: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Država: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Telefon:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Telefon: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3554 msgid "E-mail:\n" msgstr "E-pošta:\n" #: ../mimedir/mimedir-vcard.c:3578 #, c-format msgid "E-mail: %s (%s)\n" msgstr "E-pošta: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3598 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Vremenska zona: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3607 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Lokacija: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3616 #, c-format msgid "Organization: %s\n" msgstr "Organizacija: %s\n" #: ../mimedir/mimedir-vcard.c:3621 #, c-format msgid "Job title: %s\n" msgstr "Zanimanje: %s\n" #: ../mimedir/mimedir-vcard.c:3624 #, c-format msgid "Business role: %s\n" msgstr "Poslovna uloga: %s\n" #: ../mimedir/mimedir-vcard.c:3634 #, c-format msgid "Categories: %s\n" msgstr "Kategorije: %s\n" #: ../mimedir/mimedir-vcard.c:3639 #, c-format msgid "Comment: %s\n" msgstr "Komentar: %s\n" #: ../mimedir/mimedir-vcard.c:3642 #, c-format msgid "Homepage: %s\n" msgstr "Domaća strana: %s\n" #: ../mimedir/mimedir-vcard.c:3645 #, c-format msgid "Unique string: %s\n" msgstr "Jedinstveni niz: %s\n" #: ../mimedir/mimedir-vcard.c:3655 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3658 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3661 msgid "yes" msgstr "da" #: ../mimedir/mimedir-vcard.c:3665 #, c-format msgid "Public Key: %s\n" msgstr "Javni ključ: %s\n" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Spisak svih kategorija ovog sastojka. Ovo je is a GList * gde su svi " "elementi gchar * -ovi" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "Spisak komentara" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Spisak dodatnih komentara za ovaj sastojak. Ovo je is a GList * gde su svi " "elementi gchar * -ovi" #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "Opis" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "Potpun opis ovog sastojka" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "Procent upotunjenosti" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "Procent upotpunjenosti ovog zadatka" #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "Prvenstvo" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "Prvenstvo ovog zadatka" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "Spisak izvora" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "Spisak izvora određenih ovom sastojku" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "Stanje" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "Stanje upotpunjenosti ovog zadatka" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "Sadržaj" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "Kratak opis sastojka" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "Datum/vreme završetka" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "Datum/vreme kad je ovaj zadatak završen" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "Datum/vreme kraja" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "Završni datum/vreme ovog sastojka" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "Rok" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "Rok za ovaj zadatak" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "Datum/vreme početka" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "Početni datum/vreme ovog sastojka" #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "Trajanje" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "Trajanje ovog datuma" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "Slobodan/zauzet" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "GList slobodnih/zauzetih objekata" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "Označivač vremenske zone ovog sastojka" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "Spisak naziva vremenskih zona" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "GList naziva vremenskih zona" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "Raspon vremenske zone od" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "Raspon vremenske zone do" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "URL vremenske zone" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "URL do opisa vremenske zone" #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "Kontakt" #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "Informacije za kontakt" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "Jedinstveni označivač" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "Jedinstveni označivač za ovaj sastojak" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "" #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "Radnja" #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "Ponovi" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "Pokretač" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "Datum/vreme pokretanja" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "Datum/vreme pokretača" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "Završetak pokretača" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "Da li je pokretač podešen na kraj vremenskog intervala" #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "Napravljeno" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "Datum/vreme kada je napravljeno" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "Pečat za datum/vreme" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "Datum/vreme poslednje izmene" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "Sled" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "Broj sleda" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s: greška pri čitanju datoteke kalendara: %s\n" #~ msgid "Can not open temporary file %s: %s\n" #~ msgstr "Ne mogu da otvorim privremenu datoteku %s: %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Greška pri pisanju datoteke kalendara %s: %s!" libmimedir-0.4.2/po/en_CA.po0000644000175000017500000011622010603540671012502 00000000000000# English/Canada translation of libmimedir. # Copyright (C) 2004-2005 Adam Weinberger and the GNOME Foundation # This file is distributed under the same licence as the libmimedir package. # Adam Weinberger , 2004, 2005. # # msgid "" msgstr "" "Project-Id-Version: libmimedir\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-11-04 15:32-0500\n" "PO-Revision-Date: 2005-09-06 02:01-0400\n" "Last-Translator: Adam Weinberger \n" "Language-Team: Canadian English \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Usage: %s ICALFILE\n" #: bin/ical-dump.c:57 msgid "secondly" msgstr "secondly" #: bin/ical-dump.c:59 msgid "minutely" msgstr "minutely" #: bin/ical-dump.c:61 msgid "hourly" msgstr "hourly" #: bin/ical-dump.c:63 msgid "daily" msgstr "daily" #: bin/ical-dump.c:65 msgid "weekly" msgstr "weekly" #: bin/ical-dump.c:67 msgid "monthly" msgstr "monthly" #: bin/ical-dump.c:69 msgid "yearly" msgstr "yearly" #: bin/ical-dump.c:71 bin/ical-dump.c:97 msgid "unknown" msgstr "unknown" #: bin/ical-dump.c:81 msgid "second" msgstr "second" #: bin/ical-dump.c:83 msgid "minute" msgstr "minute" #: bin/ical-dump.c:85 msgid "hour" msgstr "hour" #: bin/ical-dump.c:87 msgid "day" msgstr "day" #: bin/ical-dump.c:89 msgid "day of month" msgstr "day of month" #: bin/ical-dump.c:91 msgid "day of year" msgstr "day of year" #: bin/ical-dump.c:93 msgid "week number" msgstr "week number" #: bin/ical-dump.c:95 msgid "month" msgstr "month" #: bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr " Recurrence:\n" #: bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr " Frequency: %s\n" #: bin/ical-dump.c:123 #, c-format msgid " Until: %s\n" msgstr " Until: %s\n" #: bin/ical-dump.c:128 #, c-format msgid " Count: %d\n" msgstr " Count: %d\n" #: bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr " Interval: %d\n" #: bin/ical-dump.c:134 #, c-format msgid " Unit: %s\n" msgstr " Unit: %s\n" #: bin/ical-dump.c:137 #, c-format msgid " Units: %s\n" msgstr " Units: %s\n" #: bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Event:\n" "\n" #: bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Todo item:\n" "\n" #: bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Unknown component:\n" "\n" #: bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Summary: %s\n" #: bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Categories: %s\n" #: bin/ical-dump.c:188 msgid "high" msgstr "high" #: bin/ical-dump.c:190 msgid "low" msgstr "low" #: bin/ical-dump.c:192 msgid "medium" msgstr "medium" #: bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Priority: %s (%d)\n" #: bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Start date: %s\n" #: bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " End date: %s\n" #: bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Due date: %s\n" #: bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " Unique ID: %s\n" #: bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Sequence: %u\n" #: bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " All day event\n" #: bin/ical-dump.c:261 bin/vcard-dump.c:84 bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: invalid number of arguments\n" #: bin/vcard-dump.c:43 bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Usage: %s VCARDFILE\n" #: bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: error reading card file: %s\n" #: bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: error writing card file: %s\n" #: mimedir/mimedir-attribute.c:131 mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Name" #: mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "The attribute's name" #: mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Group" #: mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "The attribute's group" #: mimedir/mimedir-attribute.c:896 msgid "missing parameter name" msgstr "missing parameter name" #: mimedir/mimedir-attribute.c:921 msgid "missing closing quotation mark" msgstr "missing closing quotation mark" #: mimedir/mimedir-attribute.c:946 msgid "wrong parameter syntax" msgstr "wrong parameter syntax" #: mimedir/mimedir-attribute.c:956 msgid "no parameter value" msgstr "no parameter value" #: mimedir/mimedir-attribute.c:1049 msgid "missing attribute name/group" msgstr "missing attribute name/group" #: mimedir/mimedir-attribute.c:1065 msgid "no attribute name after group" msgstr "no attribute name after group" #: mimedir/mimedir-attribute.c:1081 msgid "missing value delimiter" msgstr "missing value delimiter" #: mimedir/mimedir-attribute.c:1097 msgid "invalid character" msgstr "invalid character" #: mimedir/mimedir-attribute.c:2468 mimedir/mimedir-attribute.c:2477 msgid "illegal character" msgstr "illegal character" #: mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "syntax error (%s)" #: mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "illegal character 0x%02x for type \"%s\"" #: mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "invalid format for type \"%s\" in attribute %s" #: mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "attribute %s could not be decoded, since its encoding is unknown" #: mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "invalid value in attribute %s" #: mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "parameter \"%s\" must not be used more than once in attribute %s" #: mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "invalid Base64 sequence" #: mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "invalid quoted-printable sequence" #: mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "attribute list of %s is too short" #: mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "attribute list of %s is too long" #: mimedir/mimedir-datetime.c:114 mimedir/mimedir-vcomponent.c:352 msgid "Time zone identifier" msgstr "Time zone identifier" #: mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Time zone identifying string" #. Translators: YYYY-MM-DD HH:MM:SS #: mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Free/busy type" #: mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Whether this object signifies a free or a busy period" #: mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Profile name" #: mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "The name (type) of the profile" #: mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "Character set" #: mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "Character set used to encode/decode this profile" #: mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "attribute %s defined twice" #: mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "unexpected end of profile" #: mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "required attribute %s is missing" #: mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "unmatched END attribute" #: mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "wrong profile %s; expected %s" #: mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "Frequency" #: mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "Frequency type of this recurrency rule" #: mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "Date of last recurrence" #: mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "The date of the last recurrence of an event" #: mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "Number of recurrences" #: mimedir/mimedir-recurrence.c:236 msgid "The number of recurrences of an event" msgstr "The number of recurrences of an event" #: mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "Recurrence interval" #: mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "The interval of recurrences of an event" #: mimedir/mimedir-recurrence.c:251 msgid "Recurrence unit" msgstr "Recurrence unit" #: mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "By which unit a recurrence should be repeated" #: mimedir/mimedir-recurrence.c:259 msgid "Recurrence units" msgstr "Recurrence units" #: mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "List of units by which a recurrence should be repeated" #: mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" #: mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Method" #: mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "The vCalendar's method" #: mimedir/mimedir-vcal.c:154 mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Product identifier" #: mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" #: mimedir/mimedir-vcal.c:384 mimedir/mimedir-vcard.c:2411 #: mimedir/mimedir-vcomponent.c:2109 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "The profile contains the unsupported custom attribute %s.\n" #: mimedir/mimedir-vcal.c:387 mimedir/mimedir-vcard.c:2414 #: mimedir/mimedir-vcomponent.c:2112 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "The profile contains the unknown attribute %s.\n" #: mimedir/mimedir-vcal.c:432 mimedir/mimedir-vcal.c:454 #: mimedir/mimedir-vcal.c:482 mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Error reading calendar file %s: %s!" #: mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Title" #: mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "A one-line string with the most important address information" #: mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Freeform address" #: mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "A freeform address string" #: mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Post office box" #: mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "The addresses post office box" #: mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Extended address" #: mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Extended address string" #: mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Street" #: mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Street address" #: mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Locality" #: mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Locality (e.g. city, town, etc.)" #: mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Region" #: mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Region (e.g. state)" #: mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Postal code" #: mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Postal code (freeform string)" #: mimedir/mimedir-vcard-address.c:216 mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Country" #: mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Domestic" #: mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Whether this is a domestic address" #: mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "International" #: mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Whether this is an international address" #: mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Postal" #: mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Whether this is a postal address" #: mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Parcel" #: mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Whether parcels can be received at this address" #: mimedir/mimedir-vcard-address.c:246 mimedir/mimedir-vcard-email.c:163 #: mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Home" #: mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Whether this is a home address" #: mimedir/mimedir-vcard-address.c:252 mimedir/mimedir-vcard-email.c:169 #: mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Work" #: mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Whether this is a work address" #: mimedir/mimedir-vcard-address.c:258 mimedir/mimedir-vcard-email.c:157 #: mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Preferred" #: mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Whether this is the preferred address" #: mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "The %s attribute contains too many elements.\n" #: mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s.\n" msgstr "The address field is of unknown type %s.\n" #. Translators: pcode city #: mimedir/mimedir-vcard-address.c:864 mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: mimedir/mimedir-vcard-address.c:914 mimedir/mimedir-vcard-email.c:538 #: mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "preferred" #: mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "domestic" #: mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "international" #: mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "postal" #: mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "parcel" #: mimedir/mimedir-vcard-address.c:939 mimedir/mimedir-vcard-email.c:560 #: mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "home" #: mimedir/mimedir-vcard-address.c:944 mimedir/mimedir-vcard-email.c:566 #: mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "work" #. Translators: Short address format: "locality/street" #: mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: mimedir/mimedir-vcard-email.c:142 mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Address" #: mimedir/mimedir-vcard-email.c:143 msgid "The e-mail address" msgstr "The e-mail address" #: mimedir/mimedir-vcard-email.c:149 msgid "Type" msgstr "Type" #: mimedir/mimedir-vcard-email.c:150 msgid "Type of this e-mail address" msgstr "Type of this e-mail address" #: mimedir/mimedir-vcard-email.c:158 msgid "Whether this is the preferred e-mail address" msgstr "Whether this is the preferred e-mail address" #: mimedir/mimedir-vcard-email.c:164 msgid "Whether is a home e-mail address" msgstr "Whether this is a home e-mail address" #: mimedir/mimedir-vcard-email.c:170 msgid "Whether this is an e-mail address at work" msgstr "Whether this is an e-mail address at work" #: mimedir/mimedir-vcard-email.c:442 #, c-format msgid "The email field is of unknown type %s.\n" msgstr "The email field is of unknown type %s.\n" #: mimedir/mimedir-vcard-email.c:548 msgid "Internet" msgstr "Internet" #: mimedir/mimedir-vcard-email.c:553 msgid "X.400" msgstr "X.400" #: mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Number" #: mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "The telephone number (freeform string)" #: mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Whether this is a home phone number" #: mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Whether this is a phone number at work" #: mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Voice" #: mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Whether this is a voice number" #: mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Fax" #: mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Whether this is a facsimile number" #: mimedir/mimedir-vcard-phone.c:184 mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Whether this is a bulletin board system number" #: mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modem" #: mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Whether this is a modem number" #: mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Pager" #: mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Whether this is a pager number" #: mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Video" #: mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Whether this is a video phone number" #: mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Cell" #: mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Whether this is a cell (mobile) phone number" #: mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Car" #: mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Whether this is car phone number" #: mimedir/mimedir-vcard-phone.c:220 mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Whether this is a ISDN number" #: mimedir/mimedir-vcard-phone.c:226 mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Whether this is a PCS number" #: mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Whether this is the preferred number" #: mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Message" #: mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Whether this number has a voice recorder" #: mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s.\n" msgstr "The phone field is of unknown type %s.\n" #: mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "voice" #: mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "fax" #: mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "modem" #: mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "pager" #: mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "video" #: mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "voice message" #: mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "cell phone" #: mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "car phone" #: mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "The spelled out name full name of this person" #: mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Family name" #: mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "The family name of this person" #: mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Given name" #: mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "The given name of this person" #: mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Middle name" #: mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "The middle name or middle initials of this person" #: mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Prefix" #: mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "The name prefix (e.g. honorific prefix) of this person" #: mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Suffix" #: mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "The name suffix of this person" #: mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Nickname list" #: mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" #: mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Nick name" #: mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "The first nick name" #. FIXME: this is useless #: mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Photo" #: mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Pointer to a byte stream, representing an image of the person" #: mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "Photo URI" #: mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI to an image of this person" #: mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Birthday" #: mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "The person's birthday" #: mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Address list" #: mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" #: mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "The preferred address" #: mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Phone number list" #: mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" #: mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Phone number" #: mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "The preferred phone number" #: mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "E-mail address list" #: mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" #: mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "E-mail address" #: mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "The preferred e-mail address" #: mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Mailer" #: mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "The mailing program used by this person" #: mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Time zone" #: mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "The time zone this person lives in" #: mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Time zone string" #: mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "The time zone this person lives in (deprecated string representation)" #: mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Latitude" #: mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Latitude of this person's residence" #: mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Longitude" #: mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Longitude of this person's residence" #: mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Job title" #: mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "The person's job title" #: mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Role" #: mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "The person's job role" #. FIXME: useless #: mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Logo" #: mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" "Pointer to a byte stream, representing the logo of the person's company" #: mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "Logo URI" #: mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI to the logo of this person's company" #: mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Agent" #: mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "A person, acting for the person described in this card" #: mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "Agent URI" #: mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "" "URI to the description of a person, acting for the person described in this " "card" #: mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Agent string" #: mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "A person, acting for the person described in this card (deprecated string " "representation)" #: mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Organization list" #: mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" #: mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Organization" #: mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "The person's first organization" #: mimedir/mimedir-vcard.c:488 mimedir/mimedir-vcomponent.c:266 msgid "Category list" msgstr "Category list" #: mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" #: mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Categories" #: mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "String representation of this person's categories" #: mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Note" #: mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Additional comments" #: mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" #: mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Revision" #: mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Card's revision" #: mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Sort string" #: mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "String that defines this card's sort order" #. FIXME: useless #: mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Sound" #: mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Pointer to a byte stream, representing a sound file" #: mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "Sound URI" #: mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI to a sound file" #: mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Unique Identifier" #: mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "A unique identifier for this card" #: mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "An alternate URL for this resource" #: mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Classification" #: mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "The security classfication of this card" #: mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Public key list" #: mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" #: mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Public key" #: mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "This person's first public key" #: mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Key type" #: mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Type of the first public key" #: mimedir/mimedir-vcard.c:1474 mimedir/mimedir-vcard.c:1496 #: mimedir/mimedir-vcard.c:1524 mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Error reading card file %s: %s!" #: mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Error writing card file %s: %s!" #: mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Name: %s\n" #: mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Name\n" #: mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Prefix: %s\n" #: mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Given: %s\n" #: mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Additional: %s\n" #: mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Family: %s\n" #: mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Suffix: %s\n" #: mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Birth Date: %04d-%02d-%02d\n" #: mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Address label (%s):\n" #: mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Address (%s):\n" #: mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Postal Box: %s\n" #: mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Extended: %s\n" #: mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Street: %s\n" #: mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " City: %s\n" #: mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Region: %s\n" #: mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Postal Code: %s\n" #: mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Country: %s\n" #: mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Telephone:\n" #: mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Telephone: %s (%s)\n" #: mimedir/mimedir-vcard.c:3556 msgid "E-mail:\n" msgstr "E-mail:\n" #: mimedir/mimedir-vcard.c:3580 #, c-format msgid "E-mail: %s (%s)\n" msgstr "E-mail: %s (%s)\n" #: mimedir/mimedir-vcard.c:3602 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Time zone: %c%02d:%02d\n" #: mimedir/mimedir-vcard.c:3611 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Location: %.2f,%.2f\n" #: mimedir/mimedir-vcard.c:3620 #, c-format msgid "Organization: %s\n" msgstr "Organization: %s\n" #: mimedir/mimedir-vcard.c:3625 #, c-format msgid "Job title: %s\n" msgstr "Job title: %s\n" #: mimedir/mimedir-vcard.c:3628 #, c-format msgid "Business role: %s\n" msgstr "Business role: %s\n" #: mimedir/mimedir-vcard.c:3638 #, c-format msgid "Categories: %s\n" msgstr "Categories: %s\n" #: mimedir/mimedir-vcard.c:3643 #, c-format msgid "Comment: %s\n" msgstr "Comment: %s\n" #: mimedir/mimedir-vcard.c:3646 #, c-format msgid "Homepage: %s\n" msgstr "Homepage: %s\n" #: mimedir/mimedir-vcard.c:3649 #, c-format msgid "Unique string: %s\n" msgstr "Unique string: %s\n" #: mimedir/mimedir-vcard.c:3659 msgid "X.509" msgstr "X.509" #: mimedir/mimedir-vcard.c:3662 msgid "PGP" msgstr "PGP" #: mimedir/mimedir-vcard.c:3665 msgid "yes" msgstr "yes" #: mimedir/mimedir-vcard.c:3669 #, c-format msgid "Public Key: %s\n" msgstr "Public Key: %s\n" #: mimedir/mimedir-vcomponent.c:267 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" #: mimedir/mimedir-vcomponent.c:271 msgid "Comment list" msgstr "Comment list" #: mimedir/mimedir-vcomponent.c:272 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" #: mimedir/mimedir-vcomponent.c:276 msgid "Description" msgstr "Description" #: mimedir/mimedir-vcomponent.c:277 msgid "Full description of this component" msgstr "Full description of this component" #: mimedir/mimedir-vcomponent.c:282 msgid "Percent complete" msgstr "Percent complete" #: mimedir/mimedir-vcomponent.c:283 msgid "Percentage of this task's completion" msgstr "Percentage of this task's completion" #: mimedir/mimedir-vcomponent.c:290 msgid "Priority" msgstr "Priority" #: mimedir/mimedir-vcomponent.c:291 msgid "This task's priority" msgstr "This task's priority" #. FIXME: whoops, this isn't handled #: mimedir/mimedir-vcomponent.c:296 msgid "Resource list" msgstr "Resource list" #: mimedir/mimedir-vcomponent.c:297 msgid "List of the resources assigned to this component" msgstr "List of the resources assigned to this component" #: mimedir/mimedir-vcomponent.c:301 msgid "Status" msgstr "Status" #: mimedir/mimedir-vcomponent.c:302 msgid "This task's completion status" msgstr "This task's completion status" #: mimedir/mimedir-vcomponent.c:309 msgid "Summary" msgstr "Summary" #: mimedir/mimedir-vcomponent.c:310 msgid "Component's short description" msgstr "Component's short description" #: mimedir/mimedir-vcomponent.c:316 msgid "Date/time completed" msgstr "Date/time completed" #: mimedir/mimedir-vcomponent.c:317 msgid "Date/time that this task was completed" msgstr "Date/time that this task was completed" #: mimedir/mimedir-vcomponent.c:322 msgid "Date/time end" msgstr "Date/time end" #: mimedir/mimedir-vcomponent.c:323 msgid "End date/time of this component" msgstr "End date/time of this component" #: mimedir/mimedir-vcomponent.c:328 msgid "Due" msgstr "Due" #: mimedir/mimedir-vcomponent.c:329 msgid "This task's due date" msgstr "This task's due date" #: mimedir/mimedir-vcomponent.c:334 msgid "Date/time start" msgstr "Date/time start" #: mimedir/mimedir-vcomponent.c:335 msgid "Start date/time of this component" msgstr "Start date/time of this component" #: mimedir/mimedir-vcomponent.c:340 msgid "Duration" msgstr "Duration" #: mimedir/mimedir-vcomponent.c:341 msgid "This date's duration" msgstr "This date's duration" #: mimedir/mimedir-vcomponent.c:346 msgid "Free/busy" msgstr "Free/busy" #: mimedir/mimedir-vcomponent.c:347 msgid "GList of free/busy objects" msgstr "GList of free/busy objects" #: mimedir/mimedir-vcomponent.c:353 msgid "This component's time zone identifier" msgstr "This component's time zone identifier" #: mimedir/mimedir-vcomponent.c:358 msgid "Time zone name list" msgstr "Time zone name list" #: mimedir/mimedir-vcomponent.c:359 msgid "GList of time zone names" msgstr "GList of time zone names" #: mimedir/mimedir-vcomponent.c:363 mimedir/mimedir-vcomponent.c:364 msgid "Time zone offset from" msgstr "Time zone offset from" #: mimedir/mimedir-vcomponent.c:371 mimedir/mimedir-vcomponent.c:372 msgid "Time zone offset to" msgstr "Time zone offset to" #: mimedir/mimedir-vcomponent.c:379 msgid "Time zone URL" msgstr "Time zone URL" #: mimedir/mimedir-vcomponent.c:380 msgid "URL to a time zone description" msgstr "URL to a time zone description" #: mimedir/mimedir-vcomponent.c:386 msgid "Contact" msgstr "Contact" #: mimedir/mimedir-vcomponent.c:387 msgid "Contact information" msgstr "Contact information" #: mimedir/mimedir-vcomponent.c:393 msgid "Unique identifier" msgstr "Unique identifier" #: mimedir/mimedir-vcomponent.c:394 msgid "A unique identifier for this component" msgstr "A unique identifier for this component" #: mimedir/mimedir-vcomponent.c:400 msgid "Recurrence object" msgstr "Recurrence object" #: mimedir/mimedir-vcomponent.c:401 msgid "An object representing the RRULE tag" msgstr "An object representing the RRULE tag" #: mimedir/mimedir-vcomponent.c:407 mimedir/mimedir-vcomponent.c:408 msgid "Action" msgstr "Action" #: mimedir/mimedir-vcomponent.c:413 mimedir/mimedir-vcomponent.c:414 msgid "Repeat" msgstr "Repeat" #: mimedir/mimedir-vcomponent.c:419 mimedir/mimedir-vcomponent.c:420 msgid "Trigger" msgstr "Trigger" #: mimedir/mimedir-vcomponent.c:425 msgid "Trigger date/time" msgstr "Trigger date/time" #: mimedir/mimedir-vcomponent.c:426 msgid "Date/time of the trigger" msgstr "Date/time of the trigger" #: mimedir/mimedir-vcomponent.c:431 msgid "Trigger end" msgstr "Trigger end" #: mimedir/mimedir-vcomponent.c:432 msgid "Whether the trigger is set at the end of the time interval" msgstr "Whether the trigger is set at the end of the time interval" #: mimedir/mimedir-vcomponent.c:438 msgid "Created" msgstr "Created" #: mimedir/mimedir-vcomponent.c:439 msgid "Date/time of the creation" msgstr "Date/time of the creation" #: mimedir/mimedir-vcomponent.c:444 msgid "Date/time stamp" msgstr "Date/time stamp" #: mimedir/mimedir-vcomponent.c:445 msgid "Date/time of the creation of the iCalendar object" msgstr "Date/time of the creation of the iCalendar object" #: mimedir/mimedir-vcomponent.c:450 msgid "Last modified" msgstr "Last modified" #: mimedir/mimedir-vcomponent.c:451 msgid "Date/time of the last modification" msgstr "Date/time of the last modification" #: mimedir/mimedir-vcomponent.c:456 msgid "Sequence" msgstr "Sequence" #: mimedir/mimedir-vcomponent.c:457 msgid "Sequence number" msgstr "Sequence number" libmimedir-0.4.2/po/de.po0000644000175000017500000012242210603540671012126 00000000000000# German message file for libmimedir. # Copyright (C) 2002-2005 Sebastian Rittau # Sebastian Rittau , 2002 # Hendrik Richter , 2005. # msgid "" msgstr "" "Project-Id-Version: libmimedir\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-11 23:10+0200\n" "PO-Revision-Date: 2005-09-11 23:10+0200\n" "Last-Translator: Sebastian Rittau \n" "Language-Team: German \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Verwendung: %s KALENDARDATEI\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "sekündlich" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "minütlich" #: ../bin/ical-dump.c:61 msgid "hourly" msgstr "stündlich" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "täglich" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "wöchentlich" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "monatlich" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "jährlich" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 msgid "unknown" msgstr "unbekannt" #: ../bin/ical-dump.c:81 msgid "second" msgstr "Sekunde" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "Minute" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "Stunde" #: ../bin/ical-dump.c:87 msgid "day" msgstr "Tag" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "Tag im Monat" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "Tag im Jahr" #: ../bin/ical-dump.c:93 msgid "week number" msgstr "Wochennummer" #: ../bin/ical-dump.c:95 msgid "month" msgstr "Monat" #: ../bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr " Wiederholung:\n" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr " Frequenz: %s\n" #: ../bin/ical-dump.c:123 #, c-format msgid " Until: %s\n" msgstr " Bis: %s\n" #: ../bin/ical-dump.c:128 #, c-format msgid " Count: %d\n" msgstr " Anzahl: %d\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr " Interval: %d\n" #: ../bin/ical-dump.c:134 #, c-format msgid " Unit: %s\n" msgstr " Einheit: %s\n" #: ../bin/ical-dump.c:137 #, c-format msgid " Units: %s\n" msgstr " Einheiten: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Ereignis:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Todo-Eintrag:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Unbekannte Komponente:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Zusammenfassung: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Kategorien: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "hoch" #: ../bin/ical-dump.c:190 msgid "low" msgstr "niedrig" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "mittel" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Priorität: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Startdatum: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Enddatum: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Fälligkeitsdatum: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " Eindeutige Kennung: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Sequenz: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " Ganztägiges Ereignis\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:84 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: ungültige Anzahl an Argumenten\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Verwendung: %s KARTENDATEI\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: Fehler beim Lesen der Kartendatei: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: Fehler beim Schreiben der Kartendatei: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Name" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "Der Name des Attributs" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Gruppe" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "Die Gruppe des Attributs" #: ../mimedir/mimedir-attribute.c:896 msgid "missing parameter name" msgstr "Parameter-Name fehlt" #: ../mimedir/mimedir-attribute.c:921 msgid "missing closing quotation mark" msgstr "schließendes Anführungszeichen fehlt" #: ../mimedir/mimedir-attribute.c:946 msgid "wrong parameter syntax" msgstr "fehlerhafte Parameter-Syntax" #: ../mimedir/mimedir-attribute.c:956 msgid "no parameter value" msgstr "Parameter-Wert fehlt" #: ../mimedir/mimedir-attribute.c:1049 msgid "missing attribute name/group" msgstr "Attribut-Name/-Gruppe fehlt" #: ../mimedir/mimedir-attribute.c:1065 msgid "no attribute name after group" msgstr "dem Attributsnamen folgt keine Gruppe" #: ../mimedir/mimedir-attribute.c:1081 msgid "missing value delimiter" msgstr "fehlender Wert-Trenner" #: ../mimedir/mimedir-attribute.c:1097 msgid "invalid character" msgstr "ungültiges Zeichen" #: ../mimedir/mimedir-attribute.c:2468 ../mimedir/mimedir-attribute.c:2477 msgid "illegal character" msgstr "ungültiger Buchstabe" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "Syntax-Fehler (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "ungültiges Wertzeichen 0x%02x für Typ »%s«" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "ungültiges Format für Typ %s in Attribut %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "" "das Attribut %s konnte nicht dekodiert werden, da die Zeichenkodierung " "unbekannt ist" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "ungültiger Wert in Attribut %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "der Parameter »%s« darf in Attribut %s nicht mehrmals verwendet werden" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "ungültige Base64-Zeichenfolge" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "ungültige Quoted-Printable-Zeichenfolge" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "die Attribut-Liste von %s ist zu kurz" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "die Attribut-Liste von %s ist zu lang" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "Zeitzonen-Kennung" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Zeitzonen-Zeichenkette" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%3$02d.%2$02d.%1$04d %4$02d:%5$02d:%6$02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%3$02d.%2$02d.%1$04d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Free/Busy-Typ" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Ob dieses Objekt eine freie oder eine beschäftigte Periode ist" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Profilname" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "Der Name (Typ) des Profils" #: ../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "Zeichensatz" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "Zeichensatz, der zum (de-)kodieren dieses Profils verwendet wird" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "Das Attribut %s wurde mehrfach verwendet" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "unerwartetes Ende des Profils" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "das benötigtes Attribut %s fehlt" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "unpassendes END-Attribute" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "falsches Profil %s; %s erwartet" #: ../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "Frequenz" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "Frequenztyp dieser Wiederholungsregel" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "Datum der letzten Wiederholung" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "Das Datum der letzten Wiederholung eines Ereignisses" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "Anzahl der Wiederholungen" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "Die Anzahl der Wiederholungen eines Ereignisses" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "Wiederholungsintervall" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "Das Intervall der Wiederholungen eines Events" #: ../mimedir/mimedir-recurrence.c:251 msgid "Recurrence unit" msgstr "Wiederholungseinheit" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "In welchen Einheiten die Wiederholung stattfinden soll" #: ../mimedir/mimedir-recurrence.c:259 msgid "Recurrence units" msgstr "Wiederholungseinheiten" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "Liste der Einheiten, in denen die Wiederholung stattfinden soll" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Erinnerung an Ihren Termin:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Methode" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "The Methode des vCalendars" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Produkt-Kennung" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Die Produkt-Kennung des vCalendars. Bei neu erzeugten Objekten ist dies die " "Produktkennung von LibMIMEDir" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "Das benutzerdefinierte Profil-Attribut %s ist unbekannt.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "Das Profil-Attribut %s ist unbekannt.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Fehler beim Lesen der Kalendardatei %s: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Titel" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "Eine einzeilige Zeichenkette mit den wichtigsten Adress-Informationen" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Frei gestaltete Adresse" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Eine frei gestaltete Zeichenkette für die Adresse" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Postfach" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "Das Postfach der Adresse" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Erweiterte Adresse" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Erweiterte Zeichenkette für die Adresse" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Straße" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Straßenanschrift" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Lokalität" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Lokalität (z.B. Stadt, Ort etc.)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Region" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Region (z.B. Bundesstaat oder Bundesland)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Postleitzahl" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Postleitzahl (beliebige Zeichenkette)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Land" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Inland" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Ob dies eine Inlandsadresse ist" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "International" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Ob dies eine internationale Adresse ist" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Post" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Ob dies eine Post-Adresse ist" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Pakete" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Ob Pakete an dieser Adresse empfangen werden können" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-email.c:163 #: ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Privat" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Ob dies eine Privatadresse ist" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-email.c:169 #: ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Arbeit" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Ob dies eine Arbeitsadresse ist" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:157 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Bevorzugt" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Ob dies die bevorzugte Adresse ist" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "Das Attribut %s enthält zu viele Elemente.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s.\n" msgstr "Der Typ %s des Adressfeldes ist unbekannt.\n" #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:538 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "bevorzugt" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "inland" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "international" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "Post" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "Pakete" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-email.c:560 #: ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "privat" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-email.c:566 #: ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "Arbeit" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:142 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Adresse" #: ../mimedir/mimedir-vcard-email.c:143 msgid "The e-mail address" msgstr "Die E-Mail-Adresse" #: ../mimedir/mimedir-vcard-email.c:149 msgid "Type" msgstr "Typ" #: ../mimedir/mimedir-vcard-email.c:150 msgid "Type of this e-mail address" msgstr "Typ dieser E-Mail-Adresse" #: ../mimedir/mimedir-vcard-email.c:158 msgid "Whether this is the preferred e-mail address" msgstr "Ob es sich um die bevorzugte E-Mail-Adresse handelt" #: ../mimedir/mimedir-vcard-email.c:164 msgid "Whether is a home e-mail address" msgstr "Ob dies eine private E-Mail-Adresse ist" #: ../mimedir/mimedir-vcard-email.c:170 msgid "Whether this is an e-mail address at work" msgstr "Ob dies eine E-Mail-Adresse auf Arbeit ist" #: ../mimedir/mimedir-vcard-email.c:442 #, c-format msgid "The email field is of unknown type %s.\n" msgstr "Der Typ %s des E-Mail-Feldes ist unbekannt.\n" #: ../mimedir/mimedir-vcard-email.c:548 msgid "Internet" msgstr "Internet" #: ../mimedir/mimedir-vcard-email.c:553 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Nummer" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "Die Telefonnummer (beliebiger Text)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Ob dies eine private Telefonnummer ist" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Ob dies eine Telefonnummer auf Arbeit ist" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Telefon" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Ob dies eine Telefonnummer ist" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Fax" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Ob dies eine Telefax-Nummer ist" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Ob dies eine BBS-Nummer ist" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modem" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Ob dies eine Modem-Nummer ist" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Pager" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Ob dies eine Pager-Nummer ist" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Video" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Ob dies eine Video-Telefonnummer ist" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Mobil" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Ob dies eine Mobil-Nummer ist" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Auto" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Ob dies eine Auto-Telefonnummer ist" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Ob dies eine ISDN-Nummer ist" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Ob dies eine PCS-Nummer ist" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Ob dies die bevorzugte Nummer ist" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Anrufbeantworter" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Ob diese Nummer über einen Anrufbeantworter verfügt" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s.\n" msgstr "Der Typ %s des Telefon-Feldes ist unbekannt.\n" #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "Telefon" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "Fax" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "Modem" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "Pager" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "Video" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "Anrufbeantworter" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "Handy" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "Autotelefon" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "Der ausgeschriebene Name der Person" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Familienname" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "Der Familienname der Person" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Vorname" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "Der Vorname der Person" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Mittlerer Name" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "Der mittlere Name oder die Mittelinitialen dieser Person" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Präfix" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "Der Namenspräfix (z.B. der Titel) dieser Person" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Suffix" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "Der Namenssuffix dieser Person" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Liste der Spitznamen" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" "Liste aller Spitznamen. Dies ist ein GList *, wobei die Elemente vom Typ " "const gchar * sind" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Spitzname" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "Der erste Spitzname" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Foto" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Zeiger auf einen Byte-Strom, der ein Bild dieser Person darstellt" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "Foto-URI" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI auf ein Bild dieser Person" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Geburtstag" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "Der Geburtstag der Person" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Adressliste" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" "Liste aller Adressen. This ist ein GList *, wobei die einzelnen Elemente von " "Typ MIMEDirAddress * sind" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "Die bevorzugte Adresse" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Telefonnummernliste" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "Liste aller Telefonnummern. Dies ist ein GList *, wobei die Elemente von Typ " "MIMEDirPhone * sind" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Telefonnummer" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "Die bevorzugte Telefonnummer" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "E-Mail-Adressenliste" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Liste aller E-Mail-Adressen. Dies ist ein GList *, wobei die Elemente vom " "Typ MIMEDirEmail * sind" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "E-Mail-Adresse" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "Die bevorzugte E-Mail-Adresse" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Mail-Programm" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "Das von dieser Person benutzte E-Mail-Programm" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Zeitzone" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "Die Zeitzone, in der diese Person lebt" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Zeitzonen-Zeichenkette" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "" "Die Zeitzone, in der diese Person lebt (veraltete Zeichenketten-Darstellung)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Breitengrad" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Breitengrad des Wohnorts dieser Person" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Längengrad" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Längengrad des Wohnorts dieser Person" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Position" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "Die Position dieser Person" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Rolle" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "Die Rolle dieser Person auf der Arbeit" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Logo" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" "Zeiger auf einen Byte-Strom, der das Logo der Firma der Person darstellt" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "Logo-URI" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI des Logos der Firma dieser Person" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Agent" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "Bevollmächtigter der Person in dieser Karte" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "Agenten-URI" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "URI auf die Beschreibung eines Bevollmächtigten dieser Person" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Agenten-Zeichenkette" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "Ein Bevollmächtigter der in dieser Karte beschriebenen Person (veraltete " "Zeichenketten-Darstellung)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Organisationsliste" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Liste aller Organisationen, der die Person angehört. Es handelt sich um " "einen GList *, wobei die Element gchar * sind" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Organisation" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "Die erste Organisation der Person" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "Kategorienliste" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "Liste aller Kategorien dieser Person. Dies ist ein GList *, wobei die " "Element gchar * sind" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Kategorien" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Zeichenketten-Darstellung der Kategorien dieser Person" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Anmerkung" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Zusätzliche Kommentare" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Die Produkt-Kennung der vCard. Bei neu erzeugten Objekten ist dies die " "Produkt-Kennung von LibMIMEDir" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Revision" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Die Revision der Karte" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Sortier-Zeichenkette" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "Zeichenkette, die die Sortier-Reihenfolge der Karte angibt" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Klang" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Zeiger auf einen Byte-Strom, der eine Klang-Datei darstellt" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "Klang-URI" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI einer Klang-Datei" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Eindeutige Kennung" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Eine eindeutige Kennung dieser Karte" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Eine alternative URL für diese Ressource" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Klassifikation" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "Die Sicherheitseinstufung dieser Karte" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Liste öffentlicher Schlüssel" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Liste der öffentlichen Schlüssel dieser Person. Dies ist ein GList *, wobei " "die Elemente MIMEDirVCardKeys sind" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Öffentlicher Schlüssel" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "Der erste öffentliche Schlüssel dieser Person" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Schlüssel-Typ" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Art des ersten öffentlichen Schlüssels" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Fehler beim Lesen der Kartendatei %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Fehler beim Schreiben der Kartendatei %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Name: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Name\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Präfix: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Vorname: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Zusätzlich: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Nachname: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Suffix: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Geburtstag: %3$02d.%2$02d.%1$04d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Anschrift (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Adresse (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Postfach: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Erweitert: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Straße: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Stadt: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Region: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Postleitzahl: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Land: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Telefon:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Telefon: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3556 msgid "E-mail:\n" msgstr "E-Mail:\n" #: ../mimedir/mimedir-vcard.c:3580 #, c-format msgid "E-mail: %s (%s)\n" msgstr "E-Mail: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3602 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Zeitzone: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3611 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Ort: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3620 #, c-format msgid "Organization: %s\n" msgstr "Organisation: %s\n" #: ../mimedir/mimedir-vcard.c:3625 #, c-format msgid "Job title: %s\n" msgstr "Position: %s\n" #: ../mimedir/mimedir-vcard.c:3628 #, c-format msgid "Business role: %s\n" msgstr "Berufsbezeichnung: %s\n" #: ../mimedir/mimedir-vcard.c:3638 #, c-format msgid "Categories: %s\n" msgstr "Kategorien: %s\n" #: ../mimedir/mimedir-vcard.c:3643 #, c-format msgid "Comment: %s\n" msgstr "Kommentar: %s\n" #: ../mimedir/mimedir-vcard.c:3646 #, c-format msgid "Homepage: %s\n" msgstr "Homepage: %s\n" #: ../mimedir/mimedir-vcard.c:3649 #, c-format msgid "Unique string: %s\n" msgstr "Eindeutige Zeichenkette: %s\n" #: ../mimedir/mimedir-vcard.c:3659 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3662 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3665 msgid "yes" msgstr "ja" #: ../mimedir/mimedir-vcard.c:3669 #, c-format msgid "Public Key: %s\n" msgstr "Öffentlicher Schlüssel: %s\n" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Liste aller Kategorien dieser Komponente. Dies ist ein GList *, wobei die " "Elemente gchar * sind" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "Kommentarliste" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Liste aller zusätzlichen Kommentare dieser Komponente. Dies ist ein GList *, " "wobei die Element gchar * sind" #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "Beschreibung" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "Vollständige Beschreibung dieser Komponente" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "Prozentuale Vollständigkeit" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "Prozentsatz der Fertigstellung dieser Aufgabe" #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "Priorität" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "Die Priorität dieser Aufgabe" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "Ressourcen-Liste" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "Liste der Ressourcen, die dieser Komponente zugeordnet wurden" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "Status" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "Der Fertigstellungs-Status dieser Aufgabe" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "Zusammenfassung" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "Kurzbeschreibung der Komponente" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "Datum/Zeit der Fertigstellung" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "Datum/Zeit, zu der diese Aufgabe fertig gestellt wurde" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "Enddatum/-zeit" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "Enddatum/-zeit dieser Komponente" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "Fälligkeit" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "Das Fälligkeitsdatum dieser Aufgabe" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "Startdatum/-zeit" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "Startdatum/-zeit dieser Komponente" #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "Dauer" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "Die Dauer dieses Datums" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "Free/Busy" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "GList der Free/Busy-Objekte" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "Zeitzonen-Kennung dieser Komponente" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "Zeitzonen-Namensliste" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "GList der Namen der Zeitzone" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "Zeitzonen-Versatz von" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "Zeitzonen-Versatz nach" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "Zeitzonen-URL" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "URL einer Zeitzonen-Beschreibung" #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "Kontakt" #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "Kontakt-Informationen" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "Eindeutige Kennung" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "Eine eindeutige Kennung dieser Komponente" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "Wiederholungsobjekt" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "Ein Objekt, das den RRULE-Tag repräsentiert" #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "Aktion" #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "Wiederholung" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "Auslöser" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "Auslöse-Datum/-Zeit" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "Datum/Zeit des Auslösers" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "Auslöser-Ende" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "Ob der Auslöser an den Ende des Zeitintervalls gesetzt wurde" #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "Erzeugt" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "Datum/Zeit der Erzeugung" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "Datums-/Zeitstempel" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "Datum/Zeit der letzten Änderung" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "Sequenz" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "Sequenznummer" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s: Fehler beim Lesen der Kalendardatei: %s\n" #~ msgid "Can not open temporary file %s: %s\n" #~ msgstr "Temporäre Datei %s konnte nicht geöffnet werden: %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Fehler beim Schreiben der Kalendardatei %s: %s!" libmimedir-0.4.2/po/ChangeLog0000644000175000017500000002141510603540671012750 000000000000002006-12-19 Pema Geyleg * dz.po: Added Dzongkha Translation. 2006-11-18 Djihed Afifi * ar.po: Added Arabic Translation. * LINGUAS: Added ar. 2006-09-25 Pawan Chitrakar * ne.po: Updated Nepali Translation 2006-09-12 Kostas Papadimas * el.po: Fixed typos by Dimitris Glezos 2006-09-12 David Lodge * en_GB.po: British (English) translation updated. 2006-09-06 Vincent van Adrighem * nl.po: Translation updated by Tino Meinen. 2006-04-16 Daniel Nylander * sv.po: Updated Swedish translation. 2006-02-09 Clytie Siddall * vi.po: Added Vietnamese translation. 2005-12-11 Kjartan Maraas * nb.po: Add Norwegian bokmål translation. 2005-11-20 Ilkka Tuohela * fi.po: Updated Finnish translation. 2005-11-11 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2005-11-04 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2005-10-12 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2005-10-12 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2005-09-24 Vincent van Adrighem * nl.po: Translation updated by Tino Meinen. 2005-09-23 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2005-09-21 Miloslav Trmac * cs.po: Updated Czech translation. 2005-09-11 Sebastian Rittau * de.po: Updated German translation. 2005-09-06 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2005-09-04 Sebastian Rittau * POTFILES.in: Added mimedir/mimedir-recurrence.c. * *.po: Ran "make update-po". * de.po: Updated German translation. 2005-09-04 Miloslav Trmac * cs.po: Updated Czech translation. 2005-09-02 Ilkka Tuohela * fi.po: Updated Finnish translation. 2005-08-16 Ilkka Tuohela * fi.po: Added Finnish translation. 2005-08-07 Maxim Dziumanenko * uk.po: Added Ukrainian translation. 2005-08-01 Vincent van Adrighem * nl.po: Translation updated. 2005-07-19 Pawan Chitrakar * ne.po: Added Nepali Translation 2005-07-04 Hendrik Richter * de.po: Fixed German translation by Jens Seidel . 2005-04-30 Francisco Javier F. Serrador * es.po: Updated Spanish translation. 2005-04-01 Steve Murphy * rw.po: Added Kinyarwanda translation. 2005-03-16 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2005-03-07 Vincent van Adrighem * nl.po: Translation updated by Taco Witte. 2005-03-03 Miloslav Trmac * cs.po: Updated Czech translation. 2005-02-27 Adam Weinberger * en_CA.po: Updated Canadian English translation. 2005-01-12 Frank Arnold * de.po: Updated German translation. 2004-12-04 Funda Wang * zh_CN.po: Added Simplified Chinese translation. 2004-05-01 Adam Weinberger * en_CA.po: Added Canadian English translation. 2004-04-12 Gareth Owen * en_GB.po: Added British English translation 2004-03-20 Robert Sedak * hr.po: Updated Croatian translation. 2004-03-08 Alastair McKinstry * ga.po: Updated Irish translation. 2004-02-07 Robert Sedak * hr.po: Updated Croatian translation. 2004-02-02 Alastair McKinstry * ga.po: Updated Irish translation. 2004-02-02 Alastair McKinstry * ga.po: Added Irish translation. 2003-09-26 Vincent van Adrighem * nl.po: Dutch translation updated by Elros Cyriatan. 2003-09-01 Metin Amiroff * az.po: Added Azerbaijani translation. 2003-08-19 Artur Flinta * pl.po: Updated Polish translation. 2003-08-04 Pablo Gonzalo del Campo * es.po: Updated Spanish translation by Francisco Javier F. Serrador . 2003-07-25 Artur Flinta * pl.po: Updated Polish translation. 2003-07-19 Duarte Loreto * pt.po: Fixed some typos and spelling errors. 2003-07-17 Vincent van Adrighem * nl.po: Dutch translation updated. 2003-07-07 Vincent van Adrighem * nl.po: Dutch translation added. 2003-06-23 Danilo Šegan * sr.po, sr@Latn.po: Added Serbian translation by Serbian team (Prevod.org). 2003-05-17 Jordi Mallach * ca.po: Updated Catalan translation by Francesc Dorca. 2003-05-15 Michal Bukovjan * cs.po: Added Czech translation. 2003-05-07 Pablo Saratxaga * ca.po: Updated Catalan file 2003-05-02 Abel Cheung * el.po: Fix header (msgfmt check failed). 2003-05-01 Evandro Fernandes Giovanini * pt_BR.po: Added Brazilian Portuguese translation from Alexandre Folle de Menezes . 2003-04-17 Kostas Papadimas * el.po: Added Greek translation. 2003-04-17 Christian Rose * sv.po: Updated Swedish translation. 2003-04-16 Duarte Loreto * pt.po: New Portuguese translation. 2003-02-27 Pablo Gonzalo del Campo * es.po: Added Spanish file 2003-02-21 Pablo Saratxaga * ca.po: Added Catalan file 2003-02-09 Christophe Merlet * fr.po: Updated French translation from Baptiste Mille-Mathias . 2003-01-26 Christian Rose * sv.po: Updated Swedish translation. 2003-01-17 Sebastian Rittau * POTFILES.in: Added mimedir/mimedir-period.c. * de.po: Updated German translation. 2003-01-15 Christian Rose * sv.po: Updated Swedish translation. 2003-01-13 Sebastian Rittau * de.po: Updates German translation. 2002-12-15 Sebastian Rittau * de.po: Updated German translation. 2002-12-15 Christian Rose * sv.po: Updated Swedish translation. 2002-12-09 Christophe Merlet * fr.po: Added French translation from Baptiste Mille-Mathias . 2002-11-20 Christian Neumair * de.po: Updated German translation. 2002-11-05 Christian Rose * sv.po: Updated Swedish translation. 2002-11-03 Christian Rose * .cvsignore: Added some entries. * POTFILES.in: Sorted and added missing file. * sv.po: Added Swedish translation. 2002-08-25 Sebastian Rittau * POTFILES.in: Added mimedir/mimedir-datetime.c. * de.po: Updated. 2002-08-25 Sebastian Rittau * POTFILES.in: mimedir/mimedir-vtodo.c -> mimedir/mimedir-vcomponent.c * de.po: Updated. 2002-07-30 Sebastian Rittau * de.po: Updated. 2002-07-26 Sebastian Rittau * POTFILES.in: Added bin/vcard-normalize.c. * de.po: Updated. 2002-07-20 Sebastian Rittau * de.po: Final update for 0.1.0. 2002-07-19 Sebastian Rittau * POTFILES.in: Added mimedir-vcard-email.c and mimedir-vcard-phone.c. * de.po: Updated. 2002-07-14 Sebastian Rittau * POTFILES.in: Added mimedir-profile.h and mimedir-attribute.h * de.po: Updated. 2002-07-05 Sebastian Rittau * de.po: Updated. 2002-07-04 gettextize * Makefile.in.in: New file, from gettext-0.11.2. * Rules-quot: New file, from gettext-0.11.2. * boldquot.sed: New file, from gettext-0.11.2. * en@boldquot.header: New file, from gettext-0.11.2. * en@quot.header: New file, from gettext-0.11.2. * insert-header.sin: New file, from gettext-0.11.2. * quot.sed: New file, from gettext-0.11.2. * remove-potcdate.sin: New file, from gettext-0.11.2. libmimedir-0.4.2/po/ga.po0000644000175000017500000010164110603540671012125 00000000000000# Gaeilge (Irish) translations for libmimedir # Copyright (C) 2004 Alastair McKinstry # This file is distributed under the same license as the libmimedir package. # Alastair McKinstry , 2004. # msgid "" msgstr "" "Project-Id-Version: libmimedir HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-04 15:04+0200\n" "PO-Revision-Date: 2004-03-08 21:54+0000\n" "Last-Translator: Alastair McKinstry \n" "Language-Team: Gaeilge \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Úsáid: %s COMHAD-ICAL\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" #: ../bin/ical-dump.c:61 #, fuzzy msgid "hourly" msgstr "Tír" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 #, fuzzy msgid "unknown" msgstr "" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" #: ../bin/ical-dump.c:93 #, fuzzy msgid "week number" msgstr "Uimhir Guthán" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr "" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr "" #: ../bin/ical-dump.c:123 #, c-format msgid " Until: %s\n" msgstr "" #: ../bin/ical-dump.c:128 #, fuzzy, c-format msgid " Count: %d\n" msgstr " Tír: %s\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" #: ../bin/ical-dump.c:134 #, c-format msgid " Unit: %s\n" msgstr "" #: ../bin/ical-dump.c:137 #, c-format msgid " Units: %s\n" msgstr "" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Coimriú: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Catagóire: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "ard" #: ../bin/ical-dump.c:190 msgid "low" msgstr "iseal" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "gnáth" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Tosaíocht: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr "" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr "" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr "" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr "" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr "" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr "" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Úsáid: %s COMHAD-VCARD\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: earraidh ag leámh comhad carta: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: earraidh ag scríobh comhad carta: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Ainm" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Grupa" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "" #: ../mimedir/mimedir-attribute.c:894 msgid "missing parameter name" msgstr "" #: ../mimedir/mimedir-attribute.c:919 msgid "missing closing quotation mark" msgstr "" #: ../mimedir/mimedir-attribute.c:1040 msgid "missing attribute name/group" msgstr "" #: ../mimedir/mimedir-attribute.c:1056 msgid "no attribute name after group" msgstr "" #: ../mimedir/mimedir-attribute.c:1072 msgid "missing value delimiter" msgstr "" #: ../mimedir/mimedir-attribute.c:1088 msgid "invalid character" msgstr "caractar neamhbháili" #: ../mimedir/mimedir-attribute.c:2459 ../mimedir/mimedir-attribute.c:2468 msgid "illegal character" msgstr "" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "" #: ../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "" #: ../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 msgid "Recurrence unit" msgstr "" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 msgid "Recurrence units" msgstr "" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Earraidh ag leámh comhaid fhéilire: %s: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Tidéal" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Seoladh Fhada" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Stráid" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Seoladh Stráid" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Ceantar" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Áit (mar sampla cathair, baile, srl.)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Ceantar" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Ceantar (m.s. stád)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Cód Phoist" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Tír" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Idirnáisiúnta" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Baile" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Obair" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:153 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s." msgstr "" #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s, %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:504 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "idirnáisiúnta" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "baile" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "obair" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:138 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Seoladh" #: ../mimedir/mimedir-vcard-email.c:139 msgid "The e-mail address" msgstr "An sheoladh r-post" #: ../mimedir/mimedir-vcard-email.c:145 msgid "Type" msgstr "Saghas" #: ../mimedir/mimedir-vcard-email.c:146 msgid "Type of this e-mail address" msgstr "" #: ../mimedir/mimedir-vcard-email.c:154 msgid "Whether this is the preferred e-mail address" msgstr "" #: ../mimedir/mimedir-vcard-email.c:412 #, c-format msgid "The email field is of unknown type %s." msgstr "" #: ../mimedir/mimedir-vcard-email.c:514 msgid "Internet" msgstr "Idirlíon" #: ../mimedir/mimedir-vcard-email.c:519 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Uimhir" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Guth" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Facs" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modéim" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Pager" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Fís" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Guthán Poca" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Car" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Scéal" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s." msgstr "" #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "guth" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "faics" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "modéim" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "Pager" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "fís" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "scéal glóir" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "guthán poca" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "guthán car" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Leasainm" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "URI Pictiúr" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Lá Breithe" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Líosta Sheoladh" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Uimhir Guthán" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Líosta sheoladh R-post" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "Seoladh R-post" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Am Críos" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Post" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Siombail" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "URI do Siombail" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Eagrú" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Nota" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Fuaim" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Eochar Poiblí" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Saghas Eochar" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Earraidh ag leámh comhad carta %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Earraidh ag scríobh comhad carta %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Ainm: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Ainm\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Clann: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Lá Breithe: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Seoladh (%s)\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Bosca Phoist: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Stráid: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Cathair %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Cuige: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Cód Phoist: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Tír: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Guthán:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Guthán: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3554 msgid "E-mail:\n" msgstr "R-post:\n" #: ../mimedir/mimedir-vcard.c:3578 #, c-format msgid "E-mail: %s (%s)\n" msgstr "R-post: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3598 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3607 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Áit: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3616 #, c-format msgid "Organization: %s\n" msgstr "Eagrú: %s\n" #: ../mimedir/mimedir-vcard.c:3621 #, c-format msgid "Job title: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3624 #, c-format msgid "Business role: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3634 #, c-format msgid "Categories: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3639 #, c-format msgid "Comment: %s\n" msgstr "Nota: %s\n" #: ../mimedir/mimedir-vcard.c:3642 #, c-format msgid "Homepage: %s\n" msgstr "Leathanach Lín: %s\n" #: ../mimedir/mimedir-vcard.c:3645 #, c-format msgid "Unique string: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3655 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3658 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3661 msgid "yes" msgstr "tá" #: ../mimedir/mimedir-vcard.c:3665 #, c-format msgid "Public Key: %s\n" msgstr "Eochar Poiblí: %s\n" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "Tuarascail" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "" #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "Tosaíocht" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "Stádas" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "Coimriú" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "" #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "Tadhall" #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "" #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "Gníomh" #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "" #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "Cruthaithe" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s: earraidh ag leámh comhad fhéilire: %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Earriadh ag scríobh comhad fheilire %s: %s!" libmimedir-0.4.2/po/POTFILES.skip0000644000175000017500000000000010603540671013276 00000000000000libmimedir-0.4.2/po/vi.po0000644000175000017500000012523210603540671012156 00000000000000# Vietnamese translation for LibMIMEDir. # Copyright © 2006 Gnome i18n Project for Vietnamese. # Clytie Siddall , 2006. # msgid "" "" msgstr "Project-Id-Version: libmimedir HEADn" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-02-06 12:35+0100\n" "PO-Revision-Date: 2006-02-09 22:58+1030\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0\n" "X-Generator: LocFactoryEditor 1.6b36\n" #:../bin/ical-dump.c:48 #,c-format msgid "Usage: %s ICALFILE\n" msgstr "Cách sử dụng: %s TẬP_TIN_ICAL\n" #:../bin/ical-dump.c:57 msgid "secondly" msgstr "từng giây" #:../bin/ical-dump.c:59 msgid "minutely" msgstr "từng phút" #:../bin/ical-dump.c:61 msgid "hourly" msgstr "từng giờ" #:../bin/ical-dump.c:63 msgid "daily" msgstr "từng ngày" #:../bin/ical-dump.c:65 msgid "weekly" msgstr "từng tuần" #:../bin/ical-dump.c:67 msgid "monthly" msgstr "từng tháng" #:../bin/ical-dump.c:69 msgid "yearly" msgstr "từng năm" #:../bin/ical-dump.c:71 ../bin/ical-dump.c:97 msgid "unknown" msgstr "không rõ" #:../bin/ical-dump.c:81 msgid "second" msgstr "giây" #:../bin/ical-dump.c:83 msgid "minute" msgstr "phút" #:../bin/ical-dump.c:85 msgid "hour" msgstr "giờ" #:../bin/ical-dump.c:87 msgid "day" msgstr "ngày" #:../bin/ical-dump.c:89 msgid "day of month" msgstr "ngày trong tháng" #:../bin/ical-dump.c:91 msgid "day of year" msgstr "ngày trong năm" #:../bin/ical-dump.c:93 msgid "week number" msgstr "số thứ tự tuần" #:../bin/ical-dump.c:95 msgid "month" msgstr "tháng" #:../bin/ical-dump.c:118 #,c-format msgid " Recurrence:\n" msgstr " Lặp:\n" #:../bin/ical-dump.c:120 #,c-format msgid " Frequency: %s\n" msgstr " Tần số : %s\n" #:../bin/ical-dump.c:123 #,c-format msgid " Until: %s\n" msgstr " Đến: %s\n" #:../bin/ical-dump.c:128 #,c-format msgid " Count: %d\n" msgstr " Số : %d\n" #:../bin/ical-dump.c:131 #,c-format msgid " Interval: %d\n" msgstr " Khoảng: %d\n" #:../bin/ical-dump.c:134 #,c-format msgid " Unit: %s\n" msgstr " Đơn vị: %s\n" #:../bin/ical-dump.c:137 #,c-format msgid " Units: %s\n" msgstr " Đơn vị: %s\n" #:../bin/ical-dump.c:152 #,c-format msgid "" "Event:\n" "\n" msgstr "Sự kiện:\n" "\n" #:../bin/ical-dump.c:154 #,c-format msgid "" "Todo item:\n" "\n" msgstr "Mục Cần làm:\n" "\n" #:../bin/ical-dump.c:156 #,c-format msgid "" "Unknown component:\n" "\n" msgstr "Không biết thành phần:\n" "\n" #:../bin/ical-dump.c:177 #,c-format msgid " Summary: %s\n" msgstr " Tóm tắt: %s\n" #:../bin/ical-dump.c:182 #,c-format msgid " Categories: %s\n" msgstr " Phân loại: %s\n" #:../bin/ical-dump.c:188 msgid "high" msgstr "cao" #:../bin/ical-dump.c:190 msgid "low" msgstr "thấp" #:../bin/ical-dump.c:192 msgid "medium" msgstr "vừa" #:../bin/ical-dump.c:193 #,c-format msgid " Priority: %s (%d)\n" msgstr " Ưu tiên: %s (%d)\n" #:../bin/ical-dump.c:198 #,c-format msgid " Start date: %s\n" msgstr " Ngày đầu : %s\n" #:../bin/ical-dump.c:205 #,c-format msgid " End date: %s\n" msgstr " Ngày cuối : %s\n" #:../bin/ical-dump.c:213 #,c-format msgid " Due date: %s\n" msgstr " Ngày tới hạn : %s\n" #:../bin/ical-dump.c:222 #,c-format msgid " Unique ID: %s\n" msgstr " ID duy nhất: %s\n" #:../bin/ical-dump.c:223 #,c-format msgid " Sequence: %u\n" msgstr " Dây: %u\n" #:../bin/ical-dump.c:236 #,c-format msgid " All day event\n" msgstr " Sự kiện nguyên ngày\n" #:../bin/ical-dump.c:261 ../bin/vcard-dump.c:84 ../bin/vcard-normalize.c:68 #,c-format msgid "%s: invalid number of arguments\n" msgstr "%s: số đối số không hợp lệ\n" #:../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #,c-format msgid "Usage: %s VCARDFILE\n" msgstr "Cách sử dụng: %s TẬP_TIN_VCARD\n" #:../bin/vcard-normalize.c:79 #,c-format msgid "%s: error reading card file: %s\n" msgstr "%s: gặp lỗi khi đọc tập tin thẻ: %s\n" #:../bin/vcard-normalize.c:96 #,c-format msgid "%s: error writing card file: %s\n" msgstr "%s: gặp lỗi khi ghi tập tin thẻ: %s\n" #:../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Tên" #:../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "Tên thuộc tính" #:../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Nhóm" #:../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "Nhóm thuộc tính" #:../mimedir/mimedir-attribute.c:933 msgid "missing parameter name" msgstr "thiếu tên tham số" #:../mimedir/mimedir-attribute.c:958 msgid "missing closing quotation mark" msgstr "thiếu dấu trích dẫn đóng" #:../mimedir/mimedir-attribute.c:983 msgid "wrong parameter syntax" msgstr "cú pháp tham số không đúng" #:../mimedir/mimedir-attribute.c:993 msgid "no parameter value" msgstr "không có giá trị tham số" #:../mimedir/mimedir-attribute.c:1086 msgid "missing attribute name/group" msgstr "thiếu tên/nhóm thuộc tính" #:../mimedir/mimedir-attribute.c:1102 msgid "no attribute name after group" msgstr "không có tên thuộc tính đằng sau nhóm" #:../mimedir/mimedir-attribute.c:1118 msgid "missing value delimiter" msgstr "thiếu dấu giới hạn giá trị" #:../mimedir/mimedir-attribute.c:1134 msgid "invalid character" msgstr "ký tự không hợp lệ" #:../mimedir/mimedir-attribute.c:2505 ../mimedir/mimedir-attribute.c:2514 msgid "illegal character" msgstr "ký tự không được phép" #:../mimedir/mimedir-attribute.h:48 #,c-format msgid "syntax error (%s)" msgstr "lỗi cú pháp (%s)" #:../mimedir/mimedir-attribute.h:49 #,c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "ký tự không được phép 0x%02x cho kiểu « %s »" #:../mimedir/mimedir-attribute.h:50 #,c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "dạng thức không hợp lệ cho kiểu « %s » trong thuộc tính %s" #:../mimedir/mimedir-attribute.h:51 #,c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "không thể giải mã thuộc tính %s vì không biết cách mã hoá nó" #:../mimedir/mimedir-attribute.h:52 #,c-format msgid "invalid value in attribute %s" msgstr "giá trị không hợp lệ trong thuộc tính %s" #:../mimedir/mimedir-attribute.h:53 #,c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "không cho phép sử dụng tham số « %s » nhiều lần trong thuộc tính %s" #:../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "dây Base64 không hợp lệ" #:../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "dây quoted-printable (đã trích dẫn - có thể in) không hợp lệ" #:../mimedir/mimedir-attribute.h:56 #,c-format msgid "attribute list of %s is too short" msgstr "danh sách thuộc tính của %s quá ngắn" #:../mimedir/mimedir-attribute.h:57 #,c-format msgid "attribute list of %s is too long" msgstr "danh sách thuộc tính của %s quá dài" #:../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:352 msgid "Time zone identifier" msgstr "Bộ nhận diện múi giờ" #:../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Chuỗi nhận diện múi giờ" #.Translators: YYYY-MM-DD HH:MM:SS #:../mimedir/mimedir-datetime.c:1081 #,c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #.Translators: YYYY-MM-DD #:../mimedir/mimedir-datetime.c:1086 #,c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #.Translators: HH:MM:SS #:../mimedir/mimedir-datetime.c:1090 #,c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #:../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Kiểu Rảnh/Bận" #:../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Đối tượng này ngụ ý thời gian rảnh hay bận" #:../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Tên hồ sơ" #:../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "Tên (kiểu) của hồ sơ" #:../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "Bộ ký tự" #:../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "Bộ ký tự dùng để mã hoá/giải mã hồ sơ này" #:../mimedir/mimedir-profile.h:40 #,c-format msgid "attribute %s defined twice" msgstr "định nghĩa thuộc tính %s hai lần" #:../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "gặp kết thúc hồ sơ bất thường" #:../mimedir/mimedir-profile.h:42 #,c-format msgid "required attribute %s is missing" msgstr "thiếu thuộc tính %s bắt buộc" #:../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "chưa khớp thuộc tính END (cuối)" #:../mimedir/mimedir-profile.h:44 #,c-format msgid "wrong profile %s; expected %s" msgstr "hồ sơ không đúng %s, còn ngờ %s" #:../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "Tần số" #:../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "Kiểu tần số của quy tắc lặp này" #:../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "Ngày lặp cuối cùng" #:../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "Ngày sự kiện lặp cuối cùng" #:../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "Số lần lặp" #:../mimedir/mimedir-recurrence.c:236 msgid "The number of recurrences of an event" msgstr "Số lần sự kiện lặp" #:../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "Khoảng lặp" #:../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "Khoảng giữa hai lần sự kiện lặp" #:../mimedir/mimedir-recurrence.c:251 msgid "Recurrence unit" msgstr "Đơn vị lặp" #:../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "Lặp theo đơn vị này" #:../mimedir/mimedir-recurrence.c:259 msgid "Recurrence units" msgstr "Đơn vị lặp" #:../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "Danh sách các đơn vị sự kiện lặp" #:../mimedir/mimedir-valarm.c:548 #,c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "Nhắc nhở bạn có cuộc hẹn:\n" "\n" "%s\n" "%s" #:../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Phương pháp" #:../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "Phương pháp của vCalendar (lịch ảo)" #:../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Bộ nhận diện sản phẩm" #:../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "Bộ nhận diện sản phẩm của vCalendar (lịch ảo). Cho đối tượng mới tạo ra, giá trị này là bộ nhận diện sản phẩm của trình LibMIMEDir." #:../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #:../mimedir/mimedir-vcomponent.c:2111 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "Hồ sơ chứa thuộc tính riêng không được hỗ trợ %s.\n" #:../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #:../mimedir/mimedir-vcomponent.c:2114 #,c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "Hồ sơ chứa thuộc tính không rõ %s.\n" #:../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #:../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #,c-format msgid "Error reading calendar file %s: %s!" msgstr "Gặp lỗi khi đọc tập tin lịch %s: %s !" #:../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Tựa" #:../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "Chuỗi đơn dòng chứa thông tin địa chỉ quan trọng nhất" #:../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Địa chỉ dạng tự do" #:../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Chuỗi địa chỉ dạng tự do" #:../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Hộp bưu điện" #:../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "Hộp bưu điện của địa chỉ" #:../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Địa chỉ đã mở rộng" #:../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Chuỗi địa chỉ đã mở rộng" #:../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Đường" #:../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Địa chỉ đường" #:../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Phố" #:../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Thành phố" #:../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Tỉnh" #:../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Tỉnh / tiểu bang" #:../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Mã bưu điện" #:../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Mã bưu điện (chuỗi dạng tự do)" #:../mimedir/mimedir-vcard-address.c:216 #:../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Quốc gia" #:../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Trong nước" #:../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Có nên nó là địa chỉ trong nước hay không." #:../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Quốc tế" #:../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Có nên nó là địa chỉ quốc tế hay không." #:../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Bưu điện" #:../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Có nên nó là địa chỉ bưu điện hay không." #:../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Bưu kiện" #:../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Có nên địa chỉ này nhận được bưu kiện hay không" #:../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-email.c:163 #:../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Nhà" #:../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Có nên nó là địa chỉ nhà hay không." #:../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-email.c:169 #:../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Chỗ làm" #:../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Có nên nó là địa chỉ việc làm hay không." #:../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:157 #:../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Ưa thích" #:../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Có nên nó là địa chỉ ưa thích hay không." #:../mimedir/mimedir-vcard-address.c:572 #,c-format msgid "The %s attribute contains too many elements.\n" msgstr "Thuộc tính %s chứa quá nhiều yếu tố.\n" #:../mimedir/mimedir-vcard-address.c:772 #,c-format msgid "The address field is of unknown type %s.\n" msgstr "Trường địa chỉ có kiểu không rõ %s.\n" #.Translators: pcode city #:../mimedir/mimedir-vcard-address.c:864 #:../mimedir/mimedir-vcard-address.c:873 #,c-format msgid "%s %s" msgstr "%s %s" #.Translators: city, region #:../mimedir/mimedir-vcard-address.c:871 #,c-format msgid "%s, %s" msgstr "%s, %s" #:../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:538 #:../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "ưa thích" #:../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "trong nước" #:../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "quốc tế" #:../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "bưu điện" #:../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "bưu kiện" #:../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-email.c:560 #:../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "nhà" #:../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-email.c:566 #:../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "chỗ làm" #.Translators: Short address format: "locality/street" #:../mimedir/mimedir-vcard-address.c:996 #,c-format msgid "%s/%s" msgstr "%s/%s" #:../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #:../mimedir/mimedir-vcard-email.c:142 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Địa chỉ" #:../mimedir/mimedir-vcard-email.c:143 msgid "The e-mail address" msgstr "Địa chỉ thư điện tử" #:../mimedir/mimedir-vcard-email.c:149 msgid "Type" msgstr "Kiểu" #:../mimedir/mimedir-vcard-email.c:150 msgid "Type of this e-mail address" msgstr "Kiểu của địa chỉ thư điện tử" #:../mimedir/mimedir-vcard-email.c:158 msgid "Whether this is the preferred e-mail address" msgstr "Nó là địa chỉ thư điện tử ưa thích hay không." #:../mimedir/mimedir-vcard-email.c:164 msgid "Whether is a home e-mail address" msgstr "Nó là địa chỉ thư điện tử ở nhà hay không." #:../mimedir/mimedir-vcard-email.c:170 msgid "Whether this is an e-mail address at work" msgstr "Nó là địa chỉ thư điện tử ở chỗ làm hay không." #:../mimedir/mimedir-vcard-email.c:442 #,c-format msgid "The email field is of unknown type %s.\n" msgstr "Trường địa chỉ thư điện tử có kiểu không rõ %s.\n" #:../mimedir/mimedir-vcard-email.c:548 msgid "Internet" msgstr "Mạng" #:../mimedir/mimedir-vcard-email.c:553 msgid "X.400" msgstr "X.400" #:../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Số" #:../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "Số điện thoại (chuỗi dạng tự do)" #:../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Nó là số điện thoại ở nhà hay không." #:../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Nó là số điện thoại ở chỗ làm hay không." #:../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Tiếng nói" #:../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Nó là số điện thoại tiếng nói hay không." #:../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Điện thư" #:../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Nó là số điện thoại điện thư (fax) hay không." #:../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #:../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Nó là số điện thoại hệ thống bảng công báo hay không." #:../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Bộ điều giải" #:../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Nó là số điện thoại bộ điều giải hay không." #:../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Máy nhắn tin" #:../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Nó là số điện thoại máy nhắn tin hay không." #:../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Ảnh động" #:../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Nó là số điện thoại ảnh động hay không." #:../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Di động" #:../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Nó là số điện thoại di động hay không." #:../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Xe" #:../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Nó là số điện thoại xe hay không." #:../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #:../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Nó là số điện thoại ISDN hay không." #:../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #:../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Nó là số điện thoại PCS hay không." #:../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Nó là số điện thoại ưa thích hay không." #:../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Tin nhẳn" #:../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Số điện thoại này có bộ thu tiếng nói hay không" #:../mimedir/mimedir-vcard-phone.c:588 #,c-format msgid "The phone field is of unknown type %s.\n" msgstr "Trường số điện thoại có kiểu không rõ %s.\n" #:../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "tiếng nói" #:../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "điện thư" #:../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "bộ điều giải" #:../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "máy nhắn tin" #:../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "ảnh động" #:../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "tin nhẳn nói" #:../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "điện thoại di động" #:../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "điện thoại xe" #:../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "Họ tên của người này, được nói từng chữ" #:../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Họ" #:../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "Họ của người này" #:../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Tên được cho" #:../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "Tên được cho của người này" #:../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Tên đệm" #:../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "Tên đệm hoặc tên đệm tắt của người này" #:../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Tiền tố" #:../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "Tiền tố lẽ phép của người này" #:../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Hậu tố" #:../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "Hậu tố lẽ phép của người này" #:../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Danh sách tên hiệu" #:../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "Danh sách các tên hiệu. Đây là một GLIst*, mà các yếu tố có kiểu « const gchar * »." #:../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Tên hiệu" #:../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "Tên hiệu thứ nhất" #.FIXME: this is useless #:../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Ảnh" #:../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Bộ trỏ tới luồng byte, miêu tả ảnh của người này" #:../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "URI ảnh" #:../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "Địa điểm URI tới ảnh của người này" #:../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Ngày sinh" #:../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "Ngày sinh nhật của người này" #:../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Danh sách địa chỉ" #:../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "Danh sách các địa chỉ. Đây là một GLIst*, mà các yếu tố có kiểu « MIMEDirAddress * »." #:../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "Địa chỉ ưa thích" #:../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Danh sách số điện thoại:" #:../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "Danh sách các địa chỉ. Đây là một GLIst*, mà các yếu tố có kiểu « MIMEDirPhone * »." #:../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Số điện thoại" #:../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "Số điện thoại ưa thích" #:../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Danh sách địa chỉ thư điện tử" #:../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "Danh sách các địa chỉ. Đây là một GLIst*, mà các yếu tố có kiểu « MIMEDirEmail * »." #:../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "Địa chỉ thư điện tử" #:../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "Địa chỉ thư điện tử ưa thích" #:../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Trình thư" #:../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "Chương trình được dùng bởi người này" #:../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Múi giờ" #:../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "Múi giờ nơi người này ở" #:../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Chuỗi múi giờ" #:../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "Múi giờ nơi người này ở (cách miêu tả chuỗi bị phản đối)" #:../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Độ vĩ" #:../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Độ vĩ của nhà người này" #:../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Độ kinh:" #:../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Độ kinh của nhà người này" #:../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Chức vụ" #:../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "Chức vụ của người này" #:../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Vai trò" #:../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "Vai trò việc làm của người này" #.FIXME: useless #:../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Biểu hình" #:../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "Bộ trỏ tới luồng byte miêu tả biểu hình của công ty của người này" #:../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "URI biểu hình" #:../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "Địa điểm URI tới công ty của người này" #:../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Đại lý" #:../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "Đại lý đại diện cho người được diễn tả trên thẻ này" #:../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "URI đại lý" #:../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "Địa điểm URI tới mô tả người đại diện cho người được diễn tả trên thẻ này" #:../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Chuỗi đại lý" #:../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "Đại lý đại diện cho người được diễn tả trên thẻ này (cách miêu tả chuỗi bị phản đối)" #:../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Danh sách tổ chức" #:../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "Danh sách các tổ chức của người này. Đây là một GLIst*, mà các yếu tố có kiểu nhiều « gchar * »." #:../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Tổ chức" #:../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "Tổ chức chính của người này" #:../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:266 msgid "Category list" msgstr "Danh sách phân loại" #:../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "Danh sách các phân loại của người này. Đây là một GLIst*, mà các yếu tố có kiểu nhiều « gchar * »." #:../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Phân loại" #:../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Chuỗi miêu tả các phân loại của người này" #:../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Ghi chú" #:../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Chú thích thêm" #:../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "Bộ nhận diện sản phẩm của vCard (thẻ ảo). Đối với đối tượng mới tạo ra, nó là bộ nhận diện sản phẩm của LibMIMEDir." #:../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Bản sửa đổi" #:../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Bản sửa đổi thẻ" #:../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Chuỗi sắp xếp" #:../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "Chuỗi định nghĩa thứ tự sắp xếp của thẻ này" #.FIXME: useless #:../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Âm thanh" #:../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Bộ trỏ tới luồng byte miêu tả tập tin âm thanh" #:../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "URI âm thanh" #:../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "Địa điểm URI tới tập tin âm thanh" #:../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Bộ nhận diện duy nhất" #:../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Bộ nhận diện duy nhất cho thẻ này" #:../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #:../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Địa chỉ Mạng (URL) xen kẽ cho tài nguyên này" #:../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Sự phân loại" #:../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "Cách phân loại bảo mật của thẻ này" #:../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Danh sách khoá công" #:../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "Danh sách các khoá công cộng của người này. Đây là một GLIst*, mà các yếu tố có kiểu « MIMEDirVCardKeys »." #:../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Khoá công" #:../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "Khoá công chính của người này" #:../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Kiểu khoá" #:../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Kiểu cũa khoá công chính" #:../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #:../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #,c-format msgid "Error reading card file %s: %s!" msgstr "Gặp lỗi khi đọc tập tin thẻ %s: %s !" #:../mimedir/mimedir-vcard.c:1671 #,c-format msgid "Error writing card file %s: %s!" msgstr "Gặp lỗi khi ghi tập tin thẻ %s: %s !" #:../mimedir/mimedir-vcard.c:3409 #,c-format msgid "Name: %s\n" msgstr "Tên: %s\n" #:../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Tên\n" #:../mimedir/mimedir-vcard.c:3413 #,c-format msgid " Prefix: %s\n" msgstr " Tiền tố : %s\n" #:../mimedir/mimedir-vcard.c:3415 #,c-format msgid " Given: %s\n" msgstr " Đã cho : %s\n" #:../mimedir/mimedir-vcard.c:3417 #,c-format msgid " Additional: %s\n" msgstr " Thêm: %s\n" #:../mimedir/mimedir-vcard.c:3419 #,c-format msgid " Family: %s\n" msgstr " Họ : %s\n" #:../mimedir/mimedir-vcard.c:3421 #,c-format msgid " Suffix: %s\n" msgstr " Hệu tố : %s\n" #:../mimedir/mimedir-vcard.c:3427 #,c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Ngày sinh: %04d-%02d-%02d\n" #:../mimedir/mimedir-vcard.c:3452 #,c-format msgid "Address label (%s):\n" msgstr "Nhãn địa chỉ (%s):\n" #:../mimedir/mimedir-vcard.c:3472 #,c-format msgid "Address (%s):\n" msgstr "Địa chỉ (%s):\n" #:../mimedir/mimedir-vcard.c:3486 #,c-format msgid " Postal Box: %s\n" msgstr " Hộp bưu điện: %s\n" #:../mimedir/mimedir-vcard.c:3488 #,c-format msgid " Extended: %s\n" msgstr " Đã mở rộng: %s\n" #:../mimedir/mimedir-vcard.c:3490 #,c-format msgid " Street: %s\n" msgstr " Đường: %s\n" #:../mimedir/mimedir-vcard.c:3492 #,c-format msgid " City: %s\n" msgstr " Phố : %s\n" #:../mimedir/mimedir-vcard.c:3494 #,c-format msgid " Region: %s\n" msgstr " Tỉnh: %s\n" #:../mimedir/mimedir-vcard.c:3496 #,c-format msgid " Postal Code: %s\n" msgstr " Mã bưu điện: %s\n" #:../mimedir/mimedir-vcard.c:3498 #,c-format msgid " Country: %s\n" msgstr " Quốc gia: %s\n" #:../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Điện thoại:\n" #:../mimedir/mimedir-vcard.c:3542 #,c-format msgid "Telephone: %s (%s)\n" msgstr "Điện thoại: %s (%s)\n" #:../mimedir/mimedir-vcard.c:3556 msgid "E-mail:\n" msgstr "Thư điện tử :\n" #:../mimedir/mimedir-vcard.c:3580 #,c-format msgid "E-mail: %s (%s)\n" msgstr "Thư điện tử : %s (%s)\n" #:../mimedir/mimedir-vcard.c:3602 #,c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Múi giờ: %c%02d:%02d\n" #:../mimedir/mimedir-vcard.c:3611 #,c-format msgid "Location: %.2f,%.2f\n" msgstr "Địa điểm: %.2f,%.2f\n" #:../mimedir/mimedir-vcard.c:3620 #,c-format msgid "Organization: %s\n" msgstr "Tổ chức: %s\n" #:../mimedir/mimedir-vcard.c:3625 #,c-format msgid "Job title: %s\n" msgstr "Chức vụ : %s\n" #:../mimedir/mimedir-vcard.c:3628 #,c-format msgid "Business role: %s\n" msgstr "Vai trò kinh doanh: %s\n" #:../mimedir/mimedir-vcard.c:3638 #,c-format msgid "Categories: %s\n" msgstr "Phân loại: %s\n" #:../mimedir/mimedir-vcard.c:3643 #,c-format msgid "Comment: %s\n" msgstr "Ghi chú : %s\n" #:../mimedir/mimedir-vcard.c:3646 #,c-format msgid "Homepage: %s\n" msgstr "Trang chủ : %s\n" #:../mimedir/mimedir-vcard.c:3649 #,c-format msgid "Unique string: %s\n" msgstr "Chuỗi duy nhất: %s\n" #:../mimedir/mimedir-vcard.c:3659 msgid "X.509" msgstr "X.509" # Name: don't translate / Tên: đừng dịch #:../mimedir/mimedir-vcard.c:3662 msgid "PGP" msgstr "PGP" #:../mimedir/mimedir-vcard.c:3665 msgid "yes" msgstr "có" #:../mimedir/mimedir-vcard.c:3669 #,c-format msgid "Public Key: %s\n" msgstr "Khoá công: %s\n" #:../mimedir/mimedir-vcomponent.c:267 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "Danh sách các phân loại của thành phần này. Đây là một GLIst*, mà các yếu tố có kiểu nhiều « gchar * »." #:../mimedir/mimedir-vcomponent.c:271 msgid "Comment list" msgstr "Danh sách chú thích" #:../mimedir/mimedir-vcomponent.c:272 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "Danh sách các chú thích thêm về thành phần này. Đây là một GLIst*, mà các yếu tố có kiểu nhiều « gchar * »." #:../mimedir/mimedir-vcomponent.c:276 msgid "Description" msgstr "Mô tả" #:../mimedir/mimedir-vcomponent.c:277 msgid "Full description of this component" msgstr "Mô tả đầy đủ của thành phần này" #:../mimedir/mimedir-vcomponent.c:282 msgid "Percent complete" msgstr "Phần trăm hoàn tất" #:../mimedir/mimedir-vcomponent.c:283 msgid "Percentage of this task's completion" msgstr "Phần trăm tác vụ đã hoàn tất" #:../mimedir/mimedir-vcomponent.c:290 msgid "Priority" msgstr "Ưu tiên" #:../mimedir/mimedir-vcomponent.c:291 msgid "This task's priority" msgstr "Ưu tiên của tác vụ này" #.FIXME: whoops, this isn't handled #:../mimedir/mimedir-vcomponent.c:296 msgid "Resource list" msgstr "Danh sách tài nguyên" #:../mimedir/mimedir-vcomponent.c:297 msgid "List of the resources assigned to this component" msgstr "Danh sách các tài nguyên được gán cho thành phần này" #:../mimedir/mimedir-vcomponent.c:301 msgid "Status" msgstr "Trạng thái" #:../mimedir/mimedir-vcomponent.c:302 msgid "This task's completion status" msgstr "Trạng thái hoàn tất của tác vụ này" #:../mimedir/mimedir-vcomponent.c:309 msgid "Summary" msgstr "Tóm tắt" #:../mimedir/mimedir-vcomponent.c:310 msgid "Component's short description" msgstr "Mô tả ngắn cũa thành phần" #:../mimedir/mimedir-vcomponent.c:316 msgid "Date/time completed" msgstr "Ngày/giờ hoàn tất" #:../mimedir/mimedir-vcomponent.c:317 msgid "Date/time that this task was completed" msgstr "Ngày/giờ tác vụ đã hoàn tất" #:../mimedir/mimedir-vcomponent.c:322 msgid "Date/time end" msgstr "Ngày/giờ cuối" #:../mimedir/mimedir-vcomponent.c:323 msgid "End date/time of this component" msgstr "Ngày/giờ cuối cùng của thành phần này" #:../mimedir/mimedir-vcomponent.c:328 msgid "Due" msgstr "Tới hạn" #:../mimedir/mimedir-vcomponent.c:329 msgid "This task's due date" msgstr "Ngày tới hạn của tác vụ này" #:../mimedir/mimedir-vcomponent.c:334 msgid "Date/time start" msgstr "Ngày/giờ đầu" #:../mimedir/mimedir-vcomponent.c:335 msgid "Start date/time of this component" msgstr "Ngày/giờ bắt đầu của thành phần này" #:../mimedir/mimedir-vcomponent.c:340 msgid "Duration" msgstr "Thời lượng" #:../mimedir/mimedir-vcomponent.c:341 msgid "This date's duration" msgstr "Thời lượng của ngày này" #:../mimedir/mimedir-vcomponent.c:346 msgid "Free/busy" msgstr "Rảnh/Bận" #:../mimedir/mimedir-vcomponent.c:347 msgid "GList of free/busy objects" msgstr "Danh sách GList của các đối tượng Rảnh/Bận" #:../mimedir/mimedir-vcomponent.c:353 msgid "This component's time zone identifier" msgstr "Bộ nhận diện múi giờ của thành phần này" #:../mimedir/mimedir-vcomponent.c:358 msgid "Time zone name list" msgstr "Danh sách tên múi giờ" #:../mimedir/mimedir-vcomponent.c:359 msgid "GList of time zone names" msgstr "Danh sách các tên múi giờ" #:../mimedir/mimedir-vcomponent.c:363 ../mimedir/mimedir-vcomponent.c:364 msgid "Time zone offset from" msgstr "Hiệu số múi giờ cộng" #:../mimedir/mimedir-vcomponent.c:371 ../mimedir/mimedir-vcomponent.c:372 msgid "Time zone offset to" msgstr "Hiệu số múi giờ trừ" #:../mimedir/mimedir-vcomponent.c:379 msgid "Time zone URL" msgstr "URL múi giờ" #:../mimedir/mimedir-vcomponent.c:380 msgid "URL to a time zone description" msgstr "Địa chỉ Mạng (URL) tới mô tả múi giờ" #:../mimedir/mimedir-vcomponent.c:386 msgid "Contact" msgstr "Liên lạc" #:../mimedir/mimedir-vcomponent.c:387 msgid "Contact information" msgstr "Thông tin lien lạc" #:../mimedir/mimedir-vcomponent.c:393 msgid "Unique identifier" msgstr "Bộ nhận diện duy nhất" #:../mimedir/mimedir-vcomponent.c:394 msgid "A unique identifier for this component" msgstr "Bộ nhận diện duy nhất cho thành phần này" #:../mimedir/mimedir-vcomponent.c:400 msgid "Recurrence object" msgstr "Đối tượng lặp" #:../mimedir/mimedir-vcomponent.c:401 msgid "An object representing the RRULE tag" msgstr "Một đối tượng miêu tả thẻ RRULE" #:../mimedir/mimedir-vcomponent.c:407 ../mimedir/mimedir-vcomponent.c:408 msgid "Action" msgstr "Hành động" #:../mimedir/mimedir-vcomponent.c:413 ../mimedir/mimedir-vcomponent.c:414 msgid "Repeat" msgstr "Lặp lại" #:../mimedir/mimedir-vcomponent.c:419 ../mimedir/mimedir-vcomponent.c:420 msgid "Trigger" msgstr "Bộ gây nên" #:../mimedir/mimedir-vcomponent.c:425 msgid "Trigger date/time" msgstr "Ngày/giờ bộ gây nên" #:../mimedir/mimedir-vcomponent.c:426 msgid "Date/time of the trigger" msgstr "Ngày/giờ của bộ gây nên" #:../mimedir/mimedir-vcomponent.c:431 msgid "Trigger end" msgstr "Bộ gây nên cuối" #:../mimedir/mimedir-vcomponent.c:432 msgid "Whether the trigger is set at the end of the time interval" msgstr "Có nên đặt bộ tây nên tại cuối khoảng thời gian hay không" #:../mimedir/mimedir-vcomponent.c:438 msgid "Created" msgstr "Đã tạo" #:../mimedir/mimedir-vcomponent.c:439 msgid "Date/time of the creation" msgstr "Ngày/giờ tạo" #:../mimedir/mimedir-vcomponent.c:444 msgid "Date/time stamp" msgstr "Nhãn ngày/giờ" #:../mimedir/mimedir-vcomponent.c:445 msgid "Date/time of the creation of the iCalendar object" msgstr "Ngày/giờ tạo đối tượng iCalendar" #:../mimedir/mimedir-vcomponent.c:450 msgid "Last modified" msgstr "Sửa đổi cuối cùng" #:../mimedir/mimedir-vcomponent.c:451 msgid "Date/time of the last modification" msgstr "Ngày/giờ sửa đổi cuối cùng" #:../mimedir/mimedir-vcomponent.c:456 msgid "Sequence" msgstr "Dãy" #:../mimedir/mimedir-vcomponent.c:457 msgid "Sequence number" msgstr "Số dây" libmimedir-0.4.2/po/POTFILES.in0000644000175000017500000000103410603540671012746 00000000000000# List of source files containing translatable strings. # Please keep this file sorted alphabetically. bin/ical-dump.c bin/vcard-dump.c bin/vcard-normalize.c mimedir/mimedir-attribute.c mimedir/mimedir-attribute.h mimedir/mimedir-datetime.c mimedir/mimedir-period.c mimedir/mimedir-profile.c mimedir/mimedir-profile.h mimedir/mimedir-recurrence.c mimedir/mimedir-valarm.c mimedir/mimedir-vcal.c mimedir/mimedir-vcard-address.c mimedir/mimedir-vcard-email.c mimedir/mimedir-vcard-phone.c mimedir/mimedir-vcard.c mimedir/mimedir-vcomponent.c libmimedir-0.4.2/po/fr.po0000644000175000017500000011377510603540671012160 00000000000000# French translation of libmimedir. # Copyright (C) 2002 Free Software Foundation, Inc. # maintainer: Baptiste MILLE-MATHIAS , 2002-2003. # Christophe Merlet (RedFox) , 2002. # msgid "" msgstr "" "Project-Id-Version: libmimedir 0.2.1\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-04 15:04+0200\n" "PO-Revision-Date: 2003-02-09 02:06+0100\n" "Last-Translator: Baptiste MILLE-MATHIAS \n" "Language-Team: GNOME French Team \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Usage : %s FICHIER_ICAL\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" #: ../bin/ical-dump.c:61 #, fuzzy msgid "hourly" msgstr "Pays" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 #, fuzzy msgid "unknown" msgstr "" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" #: ../bin/ical-dump.c:93 #, fuzzy msgid "week number" msgstr "Numéro de téléphone" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, fuzzy, c-format msgid " Recurrence:\n" msgstr " Séquence : %u\n" #: ../bin/ical-dump.c:120 #, fuzzy, c-format msgid " Frequency: %s\n" msgstr " Séquence : %u\n" #: ../bin/ical-dump.c:123 #, fuzzy, c-format msgid " Until: %s\n" msgstr " Identifiant unique : %s\n" #: ../bin/ical-dump.c:128 #, fuzzy, c-format msgid " Count: %d\n" msgstr " Pays : %s\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" #: ../bin/ical-dump.c:134 #, fuzzy, c-format msgid " Unit: %s\n" msgstr " Identifiant unique : %s\n" #: ../bin/ical-dump.c:137 #, fuzzy, c-format msgid " Units: %s\n" msgstr " Identifiant unique : %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Événement :\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Choses à faire :\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Composant inconnu:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Résumé : %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Catégories : %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "haut" #: ../bin/ical-dump.c:190 msgid "low" msgstr "bas" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "moyen" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Priorité : %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Date de début : %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Date de fin : %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Date d'échéance : %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " Identifiant unique : %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Séquence : %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " Tous les événements du jour\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s : nombre incorrecte d'arguments\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "usage : %s FICHIER_VCARD\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s : erreur de lecture de la carte de visite : %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s : erreur d'écriture de la carte de visite : %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Nom" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "L'attribut du nom" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Groupe" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "L'attribut du groupe" #: ../mimedir/mimedir-attribute.c:894 msgid "missing parameter name" msgstr "nom du paramètre manquant" #: ../mimedir/mimedir-attribute.c:919 msgid "missing closing quotation mark" msgstr "marque de fermeture de guillmemet manquant" #: ../mimedir/mimedir-attribute.c:1040 msgid "missing attribute name/group" msgstr "attrbut de nom/groupe manquant" #: ../mimedir/mimedir-attribute.c:1056 msgid "no attribute name after group" msgstr "pas de nom d'attribut après un groupe" #: ../mimedir/mimedir-attribute.c:1072 msgid "missing value delimiter" msgstr "valeur du délimiteur manquant" #: ../mimedir/mimedir-attribute.c:1088 msgid "invalid character" msgstr "caractère non-valide" #: ../mimedir/mimedir-attribute.c:2459 ../mimedir/mimedir-attribute.c:2468 msgid "illegal character" msgstr "caractère interdit" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "erreur de syntaxe (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "caractère interdit 0x%02x pour le type \"%s\"" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "format non-valide pour le type \"%s\" dans l'attribut %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "l'attribut %s n'a put être décodé, car son ecodage est inconnu" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "valeur incorrecte dans l'attribut %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "" "le paramètre \"%s\" ne doit pas être utilisé plus d'une fois dans l'attribut " "%s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "séquence Base64 invalide" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "séquence de guillemets non-valide" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "la liste d'attributs de %s est trop courte" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "la liste d'attributs de %s est trop longue" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "Identifiant du fuseau horaire" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Chaîne identifiant du fuseau horaire" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%02d-%02d-%04d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%02d-%02d-%04d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Nom du profil" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "Le nom (type) du profil" #: ../mimedir/mimedir-profile.c:121 #, fuzzy msgid "Character set" msgstr "Liste des catégories" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "attribut %s défini deux fois" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "fin inattendue du profile" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "l'attribut requis %s est manquant" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "Attribut END non-correspondant" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "mauvais profile %s; attendu %s" #: ../mimedir/mimedir-recurrence.c:221 #, fuzzy msgid "Frequency" msgstr "Séquence" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 #, fuzzy msgid "Recurrence unit" msgstr "Liste des ressources" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 #, fuzzy msgid "Recurrence units" msgstr "Liste des ressources" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Rappel de votre rendez-vous :\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Méthode" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "La méthode VCalendar" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Identifiant du produit" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "Le profil contient l'attribut personnalisé %s non-supporté.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "Le profil contient l'attribut inconnu %s.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Erreur de lecture du fichier calendrier %s : %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Titre" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Rue" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Localité" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Localité (ex: agglomération, ville, etc...)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Région" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Code postal" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Pays" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Domicile" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Si c'est l'adresse du domicile" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "International" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Si c'est une adresse internationale" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Postal" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Si c'est une adresse postale" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Colis" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "maison" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Travail" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Si c'est l'adresse du travail" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:153 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Préféré" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Si c'est l'adresse favorite" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "L'attributs %s contient trop d'éléments.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s." msgstr "Le champ adresse est du type inconnu %s." #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:504 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "préféré" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "domestique" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "international" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "postal" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "colis" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "maison" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "travail" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:138 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Adresse" #: ../mimedir/mimedir-vcard-email.c:139 msgid "The e-mail address" msgstr "L'adresse e-mail" #: ../mimedir/mimedir-vcard-email.c:145 msgid "Type" msgstr "Type" #: ../mimedir/mimedir-vcard-email.c:146 msgid "Type of this e-mail address" msgstr "Type de l'adresse e-mail" #: ../mimedir/mimedir-vcard-email.c:154 msgid "Whether this is the preferred e-mail address" msgstr "Si c'est l'adresse e-mail favorite" #: ../mimedir/mimedir-vcard-email.c:412 #, c-format msgid "The email field is of unknown type %s." msgstr "Le champ email est du type inconnu %s." #: ../mimedir/mimedir-vcard-email.c:514 msgid "Internet" msgstr "Internet" #: ../mimedir/mimedir-vcard-email.c:519 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Numéro" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Voix" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Télécopie" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Si c'est un numéro de BBS" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modem" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Si c'est un numéro de modem" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Pager" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Si c'est un numéro de pager" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Vidéo" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Si c'est un numéro de téléphone vidéo" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Cellulaire" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Si c'est un numéro de téléphone cellulaire (mobile)" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Voiture" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Si c'est un numéro de téléphone de voiture" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "RNIS" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Si c'est une numéro RNIS" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Si c'est numéro PCS" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Si c'est le numéro favoris" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Message" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s." msgstr "Le champ téléphone est du type inconnu %s." #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "téléphone" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "télécopie" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "modem" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "pager" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "vidéo" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "répondeur" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "téléphone cellulaire" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "téléphone de voiture" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Nom de Famille" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "Le nom de famille de la personne" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Liste des surnoms" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" "Liste de tous les surnoms. C'est une GList *, où les éléments sont du type " "const gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Surnom" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "Le premier surnom" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Photo" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "URI de la photo" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI d'une image de la personne" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Date d'anniversaire" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "La date anniversaire de la personne" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Liste d'adresse" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" "Liste de toutes les adresses. C'est une GList *, où les éléments sont du " "type MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "L'adresse favorite" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Liste des numéros de téléphone" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "Liste de tous les numéros de téléphone. C'est une GList *, où les éléments " "sont du type MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Numéro de téléphone" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "Le numéro de téléphone favori" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Liste des adresse e-mail" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Liste de toutes les adresses e-mail. C'est une Glist *, où les éléments sont " "du type MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "Adresse e-mail" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "L'adresse e-mail préférée" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Fuseau horaire" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Latitude" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Longitude" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Intitulé de l'emploi" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "L'intitulé de l'emploi de cette personne" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Rôle" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Logo" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI du logo de la société de cette personne" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Liste des organisations" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Liste de toutes les organisations auxquelles cette personne appartient. " "C'est une GList *, où les éléments sont du type gchar *" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Société" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "Liste des catégories" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "Liste de toutes les catégories de cette personne. C'est une GList *, où les " "éléments sont du type gchar *" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Catégories" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Note" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Commentaires Additionnels" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Révision" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Son" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "URI du son" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI vers un fichier son" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Identifiant unique" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Un identifiant unique pour cette carte" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "une URL alternative pour cette ressource" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "List de clé publique" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Liste des clés publics de cette personne. C'est une Glist *, où les éléments " "sont du type MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Clé publique" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "La clé publique principale de cette personne" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Type de clé" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Type de la clé publique principale" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Erreur de lecture de la carte de visite %s : %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Erreur d'écriture de la carte de visite %s : %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Nom : %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Nom\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Préfixe : %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Donné : %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Additionnel : %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Famille : %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Suffixe : %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Date de naissance : %02d-%02d-%04d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "label de l'adresse (%s) :\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Adresse (%s) :\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Boîte postale : %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Étendu : %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Rue : %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Ville : %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Région : %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Code postal : %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Pays : %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Téléphone :\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Téléphone : %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3554 msgid "E-mail:\n" msgstr "E-mail :\n" #: ../mimedir/mimedir-vcard.c:3578 #, c-format msgid "E-mail: %s (%s)\n" msgstr "E-mail : %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3598 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Fuseau horaire : %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3607 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Position géo. : %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3616 #, c-format msgid "Organization: %s\n" msgstr "Société : %s\n" #: ../mimedir/mimedir-vcard.c:3621 #, c-format msgid "Job title: %s\n" msgstr "Dénomination de l'emploi : %s\n" #: ../mimedir/mimedir-vcard.c:3624 #, c-format msgid "Business role: %s\n" msgstr "Rôle dans l'entreprise : %s\n" #: ../mimedir/mimedir-vcard.c:3634 #, c-format msgid "Categories: %s\n" msgstr "Catégories : %s\n" #: ../mimedir/mimedir-vcard.c:3639 #, c-format msgid "Comment: %s\n" msgstr "Commentaire : %s\n" #: ../mimedir/mimedir-vcard.c:3642 #, c-format msgid "Homepage: %s\n" msgstr "Homepage : %s\n" #: ../mimedir/mimedir-vcard.c:3645 #, c-format msgid "Unique string: %s\n" msgstr "Chaîne unique : %s\n" #: ../mimedir/mimedir-vcard.c:3655 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3658 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3661 msgid "yes" msgstr "oui" #: ../mimedir/mimedir-vcard.c:3665 #, c-format msgid "Public Key: %s\n" msgstr "Clé publique : %s\n" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Liste de toutes les catégories de ce composant. C'est une Glist *, où les " "éléments sont du type gchar *" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "Liste des commentaire" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Liste de tous les commentaires additionnels pour ce composant. C'est une " "GList *, où les éléments sont du type gchar *" #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "Description" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "Description complète du composant" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "Pourcentage terminé" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "Percentage d'accomplissement de cette tâche" #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "Priorité" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "Priorité de cette tâche" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "Liste des ressources" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "Liste des ressources assigné à ce composant" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "Status" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "Résumé" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "Courte description du composant" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "Echéance" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "Date d'échéance de cette date" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "Durée" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "libre / occupé" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "Glist des objets libre / occupé" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "Liste des noms des fuseaux horaires" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "Glist des noms des fuseaux horaires" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "URL du fuseau horaire" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "URL de la description du fuseau horaire" #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "Contact" #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "Information sur le contact" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "" #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "Action" #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "Déclechement" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "fin de déclenchement" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "" #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "Créé" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "Date/heure de création" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "Date/heure de dernière modification" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "Séquence" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "Numéro de séquence" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s : erreur de lecture du fichier calandrier : %s\n" #~ msgid "Can not open temporary file %s: %s\n" #~ msgstr "Impossible d'ouvrir le fichier temporaire %s : %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Erreur d''écriture du fichier calendrier %s : %s!" libmimedir-0.4.2/po/el.po0000644000175000017500000014037110603540671012141 00000000000000# Libmimedir Greek Translation. # Free Software Foundation Inc, 2003 # This file is distributed under the same license as the PACKAGE package. # Kostas Papadimas , 2003. # msgid "" msgstr "" "Project-Id-Version: libmimedir\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-09-12 12:05+0300\n" "PO-Revision-Date: 2003-04-17 22:39+0300\n" "Last-Translator: Kostas Papadimas \n" "Language-Team: Greek \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 0.9.6\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Χρήση: %s ICALFILE\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" #: ../bin/ical-dump.c:61 #, fuzzy msgid "hourly" msgstr "Χώρα" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 #, fuzzy msgid "unknown" msgstr "<άγνωστο>" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" #: ../bin/ical-dump.c:93 #, fuzzy msgid "week number" msgstr "Αριθμός τηλεφώνου" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, fuzzy, c-format msgid " Recurrence:\n" msgstr "..Σειρά: %u\n" #: ../bin/ical-dump.c:120 #, fuzzy, c-format msgid " Frequency: %s\n" msgstr "..Σειρά: %u\n" #: ../bin/ical-dump.c:123 #, fuzzy, c-format msgid " Until: %s\n" msgstr " Μοναδική ID: %s\n" #: ../bin/ical-dump.c:128 #, fuzzy, c-format msgid " Count: %d\n" msgstr " Χώρα: %s\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" #: ../bin/ical-dump.c:134 #, fuzzy, c-format msgid " Unit: %s\n" msgstr " Μοναδική ID: %s\n" #: ../bin/ical-dump.c:137 #, fuzzy, c-format msgid " Units: %s\n" msgstr " Μοναδική ID: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Συμβάν:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Αντικείμενο προς ενέργεια:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Άγνωστο συστατικό:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Περίληψη: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Κατηγορίες %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "υψηλή" #: ../bin/ical-dump.c:190 msgid "low" msgstr "χαμηλή" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "Μεσαία" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Προτεραιότητα: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Ημερομηνία έναρξης: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Ημερομηνία τέλους: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Ημερομηνία λήξης: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " Μοναδική ID: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr "..Σειρά: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr "..Ολοήμερο γεγονός\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:84 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: μη έγκυρος αριθμός παραμέτρων\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Χρήση: %s VCARDFILE\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: σφάλμα στην ανάγνωση αρχείου καρτέλας: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: σφάλμα εγγραφής αρχείου καρτέλας: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Όνομα" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "Το όνομα γνωρίσματος" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Ομάδα" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "Η ομάδα γνωρίσματος" #: ../mimedir/mimedir-attribute.c:933 msgid "missing parameter name" msgstr "ελλιπές όνομα παραμέτρου" #: ../mimedir/mimedir-attribute.c:958 msgid "missing closing quotation mark" msgstr "το παρενθετικό σημείο κλεισίματος λείπει" #: ../mimedir/mimedir-attribute.c:983 #, fuzzy msgid "wrong parameter syntax" msgstr "ελλιπές όνομα παραμέτρου" #: ../mimedir/mimedir-attribute.c:993 #, fuzzy msgid "no parameter value" msgstr "ελλιπές όνομα παραμέτρου" #: ../mimedir/mimedir-attribute.c:1086 msgid "missing attribute name/group" msgstr "ελλειπές όνομα γνωρίσματος/ομάδας" #: ../mimedir/mimedir-attribute.c:1102 msgid "no attribute name after group" msgstr "δεν υπάτχει όνομα γνωρίσματος μετά την ομα" #: ../mimedir/mimedir-attribute.c:1118 msgid "missing value delimiter" msgstr "οριοθέτης τιμής που λείπει" #: ../mimedir/mimedir-attribute.c:1134 msgid "invalid character" msgstr "μη έγκυρος χαρακτήρας" #: ../mimedir/mimedir-attribute.c:2505 ../mimedir/mimedir-attribute.c:2514 msgid "illegal character" msgstr "μη έγκυρος χαρακτήρας" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "Συντακτικό σφάλμα (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "μη έγκυρος χαρακτήρας 0x%02x για τύπο \"%s\"" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "μη έγκυρη μορφή για τύπο \"%s\" σε γνώρισμα %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "" "το γνώρισμα %s δεν μπορεί να αποκωδικοποιηθεί, μιας και η κωδικοποίηση του " "είναι άγνωστη" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "μη έγκυρη τιμή στο γνώρισμα %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "" "η παράμετρος \"%s\" δεν πρέπει να χρησιμοποιηθεί περισσότερο από μια φορά " "στο γνώρισμα %s " #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "μη έγκυρη σειρά Base64 " #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "μη έγκυρη σειρά quoted-printable" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "η λίστα γνωρισμάτων του %s είναι πολύ μικρή" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "η λίστα γνωρισμάτων του %s είναι πολύ μεγάλη" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:352 msgid "Time zone identifier" msgstr "Πιστοποίηση ζώνης ώρας" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Αλφαριθμητικό πιστοποίησης ζώνης ώρας" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Τύπος ελεύθερου/κατειλημμένου " #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Αν αυτό το αντικείμενο σηματοδοτεί μια ελεύθερη ή κατειλημμένη περίοδο" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Όνομα προφίλ" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "Το όνομα (τύπος) του προφίλ" #: ../mimedir/mimedir-profile.c:121 #, fuzzy msgid "Character set" msgstr "Λίστα κατηγορίας" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "το γνώρισμα %s έχει ορισθεί δυό φορές" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "απρόσμενος τερματισμός του προφίλ" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "το απιτούμενο γνώρισμα %s λείπει" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "αταίριαστο ΤΕΛΟΣ γνωρίσματος" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "εσφαλμένο προφίλ %s; αναμένεται %s" #: ../mimedir/mimedir-recurrence.c:221 #, fuzzy msgid "Frequency" msgstr "Ακολουθία" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The number of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 #, fuzzy msgid "Recurrence unit" msgstr "Λίστα πόρων" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 #, fuzzy msgid "Recurrence units" msgstr "Λίστα πόρων" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Υπενθύμιση του ραντεβού σας:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Μέθοδος" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "Η μέθοδος vCalendar" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Αναγνωριστικό προϊόντος" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Το αναγνωριστικό προϊόντος του vCalendar. Σε περίπτωση αντικειμένων που " "δημιουργήθηκαν πρόσφατα, αυτό είναι το αναγνωριστικό προϊόντος του " "LibMIMEDir" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2111 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "Το προφίλ περιέχει το μη υποστηριζόμενο προσαρμοσμένο γνώρισμα %s.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2114 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "Το προφίλ περιέχει το άγνωστο γνώρισμα %s.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Σφάλμα ανάγνωσης αρχείου ημερολογίου %s: %s! " #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Τίτλος" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "" "Ένα αλφαριθμητικό μιας γραμμής με τις πιό σημαντικές πληροφορίες διεύθυνσης" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Διεύθυνση χωρίς φόρμα" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Ένα αλφαριθμητικό διεύθυνσης χωρίς φόρμα" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Ταχυδρομική θυρίδα" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "Οι διευθύνσεις ταχυδρομικών θυρίδων" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Εκτεταμένη διεύθυνση" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Αλφαριθμητικό εκτεταμένης διεύθυνσης" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Δρόμος" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Διεύθυνση δρόμου" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Τόπος" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Τόπος (π,χ πόλη, κωμόπολη κτλ)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Περιοχή" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Περιοχή (π.χ νομός, πολιτεία)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Ταχυδρομικός κώδικας" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Ταχυδρομικός κώδικας (αλφαριθμητικό χωρίς φόρμα)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Χώρα" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Εγχώρια" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Αν αυτή είναι μια εγχώρια διεύθυνση" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Διεθνή" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Αν αυτή είναι μια διεθνής διεύθυνση" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Ταχυδρομική διεύθυνση" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Αν αυτή είναι μια ταχυδρομική διεύθυνση" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Πακέτο" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Αν είναι δυνατή η λήψη πακέτων σε αυτήν τη διεύθυνση" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-email.c:163 #: ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Οικία" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Αν αυτή είναι διεύθυνση οικίας" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-email.c:169 #: ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Εργασία" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Αν αυτή είναι διεύθυνση εργασίας" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:157 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Επιθυμητή" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Αν αυτή είναι η επιθυμητή διεύθυνση" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "Το γνώρισμα %s περιέχει παρα πολλά στοιχεία.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, fuzzy, c-format msgid "The address field is of unknown type %s.\n" msgstr "Το πεδίο διεύθυνσης είναι αγνώστου τύπου %s." #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:538 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "Επιθυμητή" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "εγχώρια" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "διεθνής" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "ταχυδρομική" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "πακέτο" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-email.c:560 #: ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "οικία" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-email.c:566 #: ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "εργασίας" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "<άγνωστο>" #: ../mimedir/mimedir-vcard-email.c:142 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Διεύθυνση" #: ../mimedir/mimedir-vcard-email.c:143 msgid "The e-mail address" msgstr "Η ηλεκτρονική διεύθυνση e-mail" #: ../mimedir/mimedir-vcard-email.c:149 msgid "Type" msgstr "Τύπος" #: ../mimedir/mimedir-vcard-email.c:150 msgid "Type of this e-mail address" msgstr "Τύπος της διεύθυνσης e-mail " #: ../mimedir/mimedir-vcard-email.c:158 msgid "Whether this is the preferred e-mail address" msgstr "Αν αυτή είναι η επιθυμητή διεύθυνση e-mail" #: ../mimedir/mimedir-vcard-email.c:164 #, fuzzy msgid "Whether is a home e-mail address" msgstr "Αν αυτή είναι διεύθυνση οικίας" #: ../mimedir/mimedir-vcard-email.c:170 #, fuzzy msgid "Whether this is an e-mail address at work" msgstr "Αν αυτή είναι μια ταχυδρομική διεύθυνση" #: ../mimedir/mimedir-vcard-email.c:442 #, fuzzy, c-format msgid "The email field is of unknown type %s.\n" msgstr "Το πεδίο διεύθυνσης email είναι άγνωστου τύπου %s." #: ../mimedir/mimedir-vcard-email.c:548 msgid "Internet" msgstr "Διαδίκτυο" #: ../mimedir/mimedir-vcard-email.c:553 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Αριθμός" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "Ο αριθμός τηλεφώνου (αλφαριθμητικό χωρίς φόρμα)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Αν αυτό είναι αριθμός τηλεφώνου οικίας" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Αν αυτό είναι αριθμός τηλεφώνου στην εργασία" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Φωνητικός" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Αν αυτός είναι φωνητικός αριθμός" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Φαξ" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Αν αυτός είναι ένας αριθμός τηλεμοιοτυπίας" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Αν αυτός είναι ένας αριθμός BBS" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Μόντεμ" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Αν αυτός είναι ένας αριθμός μόντεμ" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Βομβητής" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Αν αυτός είναι ένας αριθμός βομβητή" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Βίντεο" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Αν αυτός είναι ένας αριθμός βιντεόφωνου" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Κινητό" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Αν αυτός είναι ένας αριθμός κινητού τηλεφώνου" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Αυτοκίνητο" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Αν αυτός είναι ένας αριθμός τηλεφώνου αυτοκινήτου" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Αν αυτός είναι ένας αριθμός ISDN" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Αν αυτός είναι ένας αριθμός PCS" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Αν αυτός είναι o προτιμώμενος αριθμός" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Μήνυμα" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Αν αυτός ο αριθμός έχει αυτόματο τηλεφωνητή" #: ../mimedir/mimedir-vcard-phone.c:588 #, fuzzy, c-format msgid "The phone field is of unknown type %s.\n" msgstr "Το πεδίο τηλεφώνου είναι άγνωστου τύπου %s." #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "φωνή" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "φαξ" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "μόντεμ" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "βομβητής" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "βίντεο" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "φωνητικό μήνυμα" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "κινητό τηλέφωνο" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "τηλέφωνο αυτοκινήτου" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "Το πλήρες όνομα αυτού του προσώπου" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Πατρικό όνομα" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "Το πατρικό όνομα αυτού του προσώπου" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Βαπτιστικό" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "Το βαπτιστικό όνομα του προσώπου" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Μεσαίο όνομα" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "Το μεσαίο όνομα ή τα μεσαία αρχικά αυτού του προσώπου" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Πρόθεμα" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "Το πρόθεμα ονοματος (π.χ τιμητικός τίτλος) αυτού του προσώπου" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Επίθεμα" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "Το επίοεμα ονόματος αυτού του προσώπου" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Λίστα ψευδωνύμων" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" "Λίστα όλων των ψευδωνύμων.This is a GList *, where the elements are of type " "const gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Ψευδώνυμο" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "Το πρώτο ψευδώνυμο" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Φωτογραφία" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Pointer to a byte stream, representing an image of the person" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "URI Εικόνας" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI για μια εικόνα αυτού του προσώπου" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Γενέθλια" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "Τα γενέθλια αυτού του προσώπου" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Λίστα διεύθυνσης" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" "Λίστα όλων των διευθύνσεων. This is a GList *, where the elements are of " "type MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "Η προτιμώμενη διεύθυνση" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Λίστα αριθμών τηλεφώνου" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "Λίσταολων των αριθμών τηλεφώνου. This is a GList *, where the elements are " "of type MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Αριθμός τηλεφώνου" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "Ο προτιμώμενος αριθμός τηλεφώνου" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Λίστα διευθύνσεων E-mail " #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Λίστα όλων των διευθύνσεων E-mail . This is a GList *, where the elements " "are of type MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "Διεύθυνση E-mail " #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "Η προτιμώμενη διεύθυνση E-mail " #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Πρόγραμμα ηλεκτρονικής αλληλογραφίας" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "" "Το πρόγραμμα ηλεκτρονικής αλληλογραφίας που χρησιμποιείται από αυτό το " "πρόσωπο" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Ζώνη ώρας" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "Η ζώνη ώρας στην οποία ζεί αυτό το πρόσωπο" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Αλφαριθμητικό ζώνης ώρας" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "" "Η ζώνη ώρας στην οποία ζεί αυτό το πρόσωπο (deprecated string representation)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Γεωγραφικό πλάτος" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Γεωγραφικό πλάτος της κατοικίας του προσώπου" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Γεωγραφικό μήκος " #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Γεωγραφικό μήκος της κατοικίας του προσώπου" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Τίτλος εργασίας" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "Ο τίτλος εργασίας του προσώπου" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Ρόλος" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "Η ρόλος της εργασίας του προσώπου" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Λογότυπο" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" "Δεικτικό σε byte stream, που αναπαριστά το λογότυπο της εταιρίας του " "προσώπου" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "URI λογοτύπου" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI για το λογότυπο της εταιρίας του προσώπου" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Ατζέντης" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "Ένα άτομο που αντιπροσωπεύει το πρόσωπο σε αυτήν την καρτέλα" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "URI ατζέντη" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "" "URI για την περιγραφή ενός ατόμου που αντιπροσωπεύει το πρόσωπο σε αυτήν την " "καρτέλα" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Αλφαριθμητικό ατζέντη" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "Ένα άτομο που αντιπροσωπεύει το πρόσωπο σε αυτήν την καρτέλα (deprecated " "string representation)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Λίστα οργανισμών" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Μια λίστα όλων των οργανισμών που ανήκει αυτό το πρόσωπο.This is a GList *, " "where the elements are gchar *'s" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Οργανισμός" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "Ο πρώτος οργανισμός αυτού του προσώπου" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:266 msgid "Category list" msgstr "Λίστα κατηγορίας" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "Λίστα όλων των κατηγοριών αυτού του προσώπου. This is a GList *, where the " "elements are gchar *'s" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Κατηγορίες" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Αλφαριθμητική αναπαράσταση των κατηγοριών αυτού του προσώπου" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Σημείωση" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Επιπλέον σχόλια" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Το αναγνωριστικό προϊόντος της vCard.Σε περίπτωση αντικειμένων που " "δημιουργήθηκαν πρόσφατα, αυτό είναι το αναγνωριστικό προϊόντος του " "LibMIMEDir" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Αναθεώρηση" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Αναθεώρηση καρτέλας" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Αλφαριθμητικό ταξινόμησης" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "Αλφαριθμητικό που καθορίζει τη σειρά ταξινόμησης της καρτέλας" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Ήχος" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Δεικτικό σε ένα byte stream, που αναπαριστά ένα αρχείο ήχου" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "URI ήχου" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URL σε ένα αρχείο ήχου" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Μοναδικό αναγνωριστικό" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Ένα μοναδικό αναγνωριστικό για αυτήν την καρτέλα" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Ένα εναλλακτικό URL για αυτήν την πηγή" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Κατάταξη" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "Η κατάταξη ασφάλειας αυτής της καρτέλας" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Λίστα δημοσίου κλειδιού" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Λίστα των δημοσίων κλειδιών αυτού του προσώπου. This is a GList *, where the " "elements are MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Δημόσιο κλειδί" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "Το πρώτο δημόσιο κλειδί αυτού του προσώπου" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Τύπος κλειδιού" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Τύπος του πρώτου δημόσιου κλειδιού" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Σφάλμα ανάγνωσης αρχείου καρτέλας %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Σφάλμα εγγραφής αρχείου καρτέλας %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Όνομα: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Όνομα\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Πρόθεμα: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Βαπτιστικό: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Πρόσθετο: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Πατρικό: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Επίθεμα: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Ημερομηνία Γεννήσεως: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Ετικέτα διεύθυνσης (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Διεύθυνση (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Ταχυδρομική Θυρίδα: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Εκτεταμένη: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Δρόμος: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Πόλη: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Περιοχή: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Ταχυδρομικός Κώδικας: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Χώρα: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Τηλέφωνο:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Τηλέφωνο: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3556 msgid "E-mail:\n" msgstr "E-mail:\n" #: ../mimedir/mimedir-vcard.c:3580 #, c-format msgid "E-mail: %s (%s)\n" msgstr "E-mail: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3602 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Ζώνη ώρας: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3611 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Τοποθεσία: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3620 #, c-format msgid "Organization: %s\n" msgstr "Οργανισμός: %s\n" #: ../mimedir/mimedir-vcard.c:3625 #, c-format msgid "Job title: %s\n" msgstr "Τίτλος εργασίας: %s\n" #: ../mimedir/mimedir-vcard.c:3628 #, c-format msgid "Business role: %s\n" msgstr "Ρόλος εργασίας: %s\n" #: ../mimedir/mimedir-vcard.c:3638 #, c-format msgid "Categories: %s\n" msgstr "Κατηγορίες: %s\n" #: ../mimedir/mimedir-vcard.c:3643 #, c-format msgid "Comment: %s\n" msgstr "Σχόλιο: %s\n" #: ../mimedir/mimedir-vcard.c:3646 #, c-format msgid "Homepage: %s\n" msgstr "Αρχική σελίδα: %s\n" #: ../mimedir/mimedir-vcard.c:3649 #, c-format msgid "Unique string: %s\n" msgstr "Μοναδικό αλφαριθμητικό: %s\n" #: ../mimedir/mimedir-vcard.c:3659 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3662 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3665 msgid "yes" msgstr "ναι" #: ../mimedir/mimedir-vcard.c:3669 #, c-format msgid "Public Key: %s\n" msgstr "Δημόσιο κλειδί: %s\n" #: ../mimedir/mimedir-vcomponent.c:267 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Λίστα όλων των κατηγοριών αυτού του συστατικού This is a GList *, where the " "elements are gchar *'s" #: ../mimedir/mimedir-vcomponent.c:271 msgid "Comment list" msgstr "Λίστα σχολίων" #: ../mimedir/mimedir-vcomponent.c:272 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Λίστα όλων των πρόσθετων σχολίων για αυτό το συστατικό.This is a GList *, " "where the elements are gchar *'s" #: ../mimedir/mimedir-vcomponent.c:276 msgid "Description" msgstr "Περιγραφή" #: ../mimedir/mimedir-vcomponent.c:277 msgid "Full description of this component" msgstr "Πλήρης περιγραφή αυτού του συστατικού" #: ../mimedir/mimedir-vcomponent.c:282 msgid "Percent complete" msgstr "Ποσοστό που ολοκληρώθηκε" #: ../mimedir/mimedir-vcomponent.c:283 msgid "Percentage of this task's completion" msgstr "Ποσοστό της ολοκλήρωσης της εργασίας" #: ../mimedir/mimedir-vcomponent.c:290 msgid "Priority" msgstr "Προτεραιότητα" #: ../mimedir/mimedir-vcomponent.c:291 msgid "This task's priority" msgstr "Η προτεραιότητα της εργασίας" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:296 msgid "Resource list" msgstr "Λίστα πόρων" #: ../mimedir/mimedir-vcomponent.c:297 msgid "List of the resources assigned to this component" msgstr "Λίστα όλων των πηγών που έχουν ανατεθεί σε αυτό το συστατικό" #: ../mimedir/mimedir-vcomponent.c:301 msgid "Status" msgstr "Κατάσταση" #: ../mimedir/mimedir-vcomponent.c:302 msgid "This task's completion status" msgstr "Η κατάσταση της ολοκλήρωσης της εργασίας" #: ../mimedir/mimedir-vcomponent.c:309 msgid "Summary" msgstr "Περίληψη" #: ../mimedir/mimedir-vcomponent.c:310 msgid "Component's short description" msgstr "Σύντομη περιγραφή συστατικού" #: ../mimedir/mimedir-vcomponent.c:316 msgid "Date/time completed" msgstr "Ημερομηνία που ολοκληρώθηκε" #: ../mimedir/mimedir-vcomponent.c:317 msgid "Date/time that this task was completed" msgstr "Ημερομηνία που ολοκληρώθηκε η εργασία" #: ../mimedir/mimedir-vcomponent.c:322 msgid "Date/time end" msgstr "Ημερομηνία/ώρα λήξης " #: ../mimedir/mimedir-vcomponent.c:323 msgid "End date/time of this component" msgstr "Ημερομηνία/ώρα λήξης αυτού του συστατικού" #: ../mimedir/mimedir-vcomponent.c:328 msgid "Due" msgstr "Λήγει" #: ../mimedir/mimedir-vcomponent.c:329 msgid "This task's due date" msgstr "Η ημερομηνία λήξης αυτής της εργασίας" #: ../mimedir/mimedir-vcomponent.c:334 msgid "Date/time start" msgstr "Ημερομηνία/ώρα έναρξης" #: ../mimedir/mimedir-vcomponent.c:335 msgid "Start date/time of this component" msgstr "Η ημερομηνία/ώρα έναρξης αυτού του συστατικού" #: ../mimedir/mimedir-vcomponent.c:340 msgid "Duration" msgstr "Διάρκεια" #: ../mimedir/mimedir-vcomponent.c:341 msgid "This date's duration" msgstr "Η διάρκεια" #: ../mimedir/mimedir-vcomponent.c:346 msgid "Free/busy" msgstr "Ελευθερο/κατειλημμένο" #: ../mimedir/mimedir-vcomponent.c:347 msgid "GList of free/busy objects" msgstr "GList των ελεύθερων/κατειλημμένων αντικειμένων" #: ../mimedir/mimedir-vcomponent.c:353 msgid "This component's time zone identifier" msgstr "Το αναγνωριστικό ζώνης ώρας του συστατικού" #: ../mimedir/mimedir-vcomponent.c:358 msgid "Time zone name list" msgstr "Λίστα ονομάτων ζώνης ώρας" #: ../mimedir/mimedir-vcomponent.c:359 msgid "GList of time zone names" msgstr "Λίστα ονομάτων ζώνης ώρας" #: ../mimedir/mimedir-vcomponent.c:363 ../mimedir/mimedir-vcomponent.c:364 msgid "Time zone offset from" msgstr "Time zone offset from" #: ../mimedir/mimedir-vcomponent.c:371 ../mimedir/mimedir-vcomponent.c:372 msgid "Time zone offset to" msgstr "Time zone offset to" #: ../mimedir/mimedir-vcomponent.c:379 msgid "Time zone URL" msgstr "URL ζώνης ώρας" #: ../mimedir/mimedir-vcomponent.c:380 msgid "URL to a time zone description" msgstr "URL σε μια περιγραφή ζώνης ώρας" #: ../mimedir/mimedir-vcomponent.c:386 msgid "Contact" msgstr "Επαφή" #: ../mimedir/mimedir-vcomponent.c:387 msgid "Contact information" msgstr "Πληροφορίες επαφής" #: ../mimedir/mimedir-vcomponent.c:393 msgid "Unique identifier" msgstr "Μοναδικό αναγνωριστικό" #: ../mimedir/mimedir-vcomponent.c:394 msgid "A unique identifier for this component" msgstr "Ένα μοναδικό αναγνωριστικό για αυτό το συστατικό" #: ../mimedir/mimedir-vcomponent.c:400 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:401 msgid "An object representing the RRULE tag" msgstr "" #: ../mimedir/mimedir-vcomponent.c:407 ../mimedir/mimedir-vcomponent.c:408 msgid "Action" msgstr "Ενέργεια" #: ../mimedir/mimedir-vcomponent.c:413 ../mimedir/mimedir-vcomponent.c:414 msgid "Repeat" msgstr "Επανάληψη" #: ../mimedir/mimedir-vcomponent.c:419 ../mimedir/mimedir-vcomponent.c:420 msgid "Trigger" msgstr "Trigger" #: ../mimedir/mimedir-vcomponent.c:425 msgid "Trigger date/time" msgstr "Trigger date/time" #: ../mimedir/mimedir-vcomponent.c:426 msgid "Date/time of the trigger" msgstr "Date/time of the trigger" #: ../mimedir/mimedir-vcomponent.c:431 msgid "Trigger end" msgstr "Trigger end" #: ../mimedir/mimedir-vcomponent.c:432 msgid "Whether the trigger is set at the end of the time interval" msgstr "Whether the trigger is set at the end of the time interval" #: ../mimedir/mimedir-vcomponent.c:438 msgid "Created" msgstr "Δημιουργήθηκε" #: ../mimedir/mimedir-vcomponent.c:439 msgid "Date/time of the creation" msgstr "Ημερομηνία/Ώρα της δημιουργίας" #: ../mimedir/mimedir-vcomponent.c:444 msgid "Date/time stamp" msgstr "Αποτύπωμα ημερομηνίας/ώρας" #: ../mimedir/mimedir-vcomponent.c:445 #, fuzzy msgid "Date/time of the creation of the iCalendar object" msgstr "Ημερομηνία/Ώρα της δημιουργίας" #: ../mimedir/mimedir-vcomponent.c:450 msgid "Last modified" msgstr "" #: ../mimedir/mimedir-vcomponent.c:451 msgid "Date/time of the last modification" msgstr "Ημερομηνία τελευταίας τροποποίησης" #: ../mimedir/mimedir-vcomponent.c:456 msgid "Sequence" msgstr "Ακολουθία" #: ../mimedir/mimedir-vcomponent.c:457 msgid "Sequence number" msgstr "Αριθμός ακολουθίας" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s: σφάλμα στην ανάγνωση αρχείου ημερολογίου: %s\n" #~ msgid "Can not open temporary file %s: %s\n" #~ msgstr "Αδυναμία ανοίγματος προσωρινού αρχείου '%s': %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Σφάλμα εγγραφής αρχείου ημερολογίου %s: %s!" libmimedir-0.4.2/po/fi.po0000644000175000017500000012212210603540671012131 00000000000000# Finnish messages for libmimedir # Copyright (C) 2005 Ilkka Tuohela # This file is distributed under the same license as the /ibmimedir package. # Ilkka Tuohela , 2005. # msgid "" msgstr "" "Project-Id-Version: libmimedir\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-11-20 11:35+0200\n" "PO-Revision-Date: 2005-09-02 21:20+0300\n" "Last-Translator: Ilkka Tuohela \n" "Language-Team: Finnish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Käyttö %s ICAL-tiedosto\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "sekunneittain" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "minuuteittain" #: ../bin/ical-dump.c:61 msgid "hourly" msgstr "tunneittain" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "päivittäin" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "viikoittain" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "kuukausittain" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "vuosittain" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 msgid "unknown" msgstr "tuntematon" #: ../bin/ical-dump.c:81 msgid "second" msgstr "sekunti" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "minuutti" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "tunti" #: ../bin/ical-dump.c:87 msgid "day" msgstr "päivä" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "kuukauden päivä" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "vuoden päivä" #: ../bin/ical-dump.c:93 msgid "week number" msgstr "viikon numero" #: ../bin/ical-dump.c:95 msgid "month" msgstr "kuukausi" #: ../bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr " Toistuvuus:\n" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr " Taajuus: %s\n" #: ../bin/ical-dump.c:123 #, c-format msgid " Until: %s\n" msgstr " Kunnes: %s\n" #: ../bin/ical-dump.c:128 #, c-format msgid " Count: %d\n" msgstr " Kerrat: %d\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr " Aikaväli: %d\n" #: ../bin/ical-dump.c:134 #, c-format msgid " Unit: %s\n" msgstr " Yksikkö: %s\n" #: ../bin/ical-dump.c:137 #, c-format msgid " Units: %s\n" msgstr " Yksiköt: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Tapahtuma:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Tehtävä:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Tuntematon komponentti:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Yhteenveto: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr "Luokat: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "korkea" #: ../bin/ical-dump.c:190 msgid "low" msgstr "matala" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "tavallinen" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Kiireellisyys: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Aloituspäivä: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Lopetuspäivä: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Eräpäivä: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " Yksilöllinen tunniste: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Järjestys: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " Koko päivän tapahtuma\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:84 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: virheellinen määrä argumentteja\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Käyttö: %s VCARD-tiedosto\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: virhe luettaessa korttia: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: virhe kirjoitettaessa korttia: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Nimi" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "ominaisuuden nimi" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Ryhmä" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "ominaisuuden ryhmä" #: ../mimedir/mimedir-attribute.c:896 msgid "missing parameter name" msgstr "puuttuva parametrin nimi" #: ../mimedir/mimedir-attribute.c:921 msgid "missing closing quotation mark" msgstr "puuttuva lainausmerkki lopusta" #: ../mimedir/mimedir-attribute.c:946 msgid "wrong parameter syntax" msgstr "virheellinen parametrin syntaksi" #: ../mimedir/mimedir-attribute.c:956 msgid "no parameter value" msgstr "parametrilla ei ole arvoa" #: ../mimedir/mimedir-attribute.c:1049 msgid "missing attribute name/group" msgstr "puuttuva ominaisuuden nimi tai ryhmä" #: ../mimedir/mimedir-attribute.c:1065 msgid "no attribute name after group" msgstr "puuttuva ominaisuuden nimi ryhmän jälkeen" #: ../mimedir/mimedir-attribute.c:1081 msgid "missing value delimiter" msgstr "puuttuva arvojen erotin" #: ../mimedir/mimedir-attribute.c:1097 msgid "invalid character" msgstr "virheellinen merkki" #: ../mimedir/mimedir-attribute.c:2468 ../mimedir/mimedir-attribute.c:2477 msgid "illegal character" msgstr "virheellinen merkki" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "syntaksivirhe (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "virheellinen merkki 0x%02x tyypille \"%s\"" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "virheellinen muoto \"%s\" ominaisuudessa %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "ominaisuutta %s ei voitu dekoodata, koska koodaus on tuntematon" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "virheellinen arvo ominaisuudessa %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "" "parametria \"%s\" ei voida käyttää useammin kuin kerran ominaisuudelle %s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "virheellinen Base64-sekvenssi" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "virheellinen \"qouted-printable\"-sekvenssi" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "kohteen %s ominaisuuslista on liian lyhyt" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "kohteen %s ominaisuuslista on liian pitkä" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:352 msgid "Time zone identifier" msgstr "Aikavyöhyke" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Aikavyöhykkeen esittävä merkkijono" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Vapaa/varattu-tyyppi" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Määritteleekö tämä kohde vapaata tai varattua aikaa" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Profiilin nimi" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "Profiilin nimi (tyyppi)" #: ../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "Merkistö" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "Profiilin koodauksessa käytetty merkistö" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "ominaisuus %s määritelty kahdesti" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "odottamaton profiilin loppu" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "vaadittu ominaisuus %s puuttuu" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "END-ominaisuudella ei ole alkua" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "väärä profiili %s; oletettiin %s" #: ../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "Esiintymistiheys" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "Tämän toistuvuus-säännön esiintymistiheyden tyyppi" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "Viimeisimmän toiston päivämäärä" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "Tapahtuman viimeisimmän toistumisen päivämäärä" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "Toistumisten lukumäärä" #: ../mimedir/mimedir-recurrence.c:236 msgid "The number of recurrences of an event" msgstr "Tapahtuman toistumiskertojen lukumäärä" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "Toistumisten aikaväli" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "Tapahtuman Toistumiskertojen kertojen aikaväli" #: ../mimedir/mimedir-recurrence.c:251 msgid "Recurrence unit" msgstr "Toistuvuuden yksikkö" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "Minkä yksikön mukaan toistuminen tapahtuu" #: ../mimedir/mimedir-recurrence.c:259 msgid "Recurrence units" msgstr "Toistuvuuden yksiköt" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "Lista yksiköistä, joiden mukaan toistuvuus tapahtuu" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Muistutus tapaamisestasi:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Menetelmä" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "vCalendarin menetelmä" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Tuotteen tunniste" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "vCalendarin tuotetunniste. Uusien olioiden tapauksessa arvoksi asetetaan " "libMIMEDir:in tuotetunniste" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2109 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "Profiili sisältää itse määritellyn, tukemattoman attribuutin %s.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2112 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "Profiili sisältää tuntemattoman attribuutin %s.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Virhe luettaessa kalenteritiedostoa %s: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Otsikko" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "Yksirivinen merkkijono, joka sisältää tärkeimmät osoitetiedot" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Vapaamuotoinen osoite" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Vapaamuotoinen osoite" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Postilaatikko" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "Postilaatikon osoite" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Laajennettu osoite" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Laajennetun osoitteen merkkijono" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Katuosoite" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Katuosoite" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Sijainti" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Sijainti (esim, kaupunki, kylä)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Alue" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Alue (esim. osavaltio)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Postinumero" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Postinumero (vapaamuotoinen merkkijono)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Maa" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Kotimainen" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Onko tämä kotimainen osoite" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Kansainvälinen" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Onko tämä kansainvälinen osoite" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Postitusosoite" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Onko tämä postitusosoite" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Paketti" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Voidaanko tähän osoitteeseen toimittaa paketteja" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-email.c:163 #: ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Koti" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Onko tämä kotiosoite" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-email.c:169 #: ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Työ" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Onko tämä työosoite" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:157 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Suositeltu" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Onko tämä suositeltu osoite" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "Attribuutissa %s on liian monta osaa.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s.\n" msgstr "Osoitekenttä on tuntematonta tyyppiä %s.\n" #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:538 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "suositeltu" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "kotimainen" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "kansainvälinen" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "postitusosoite" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "paketti" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-email.c:560 #: ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "koti" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-email.c:566 #: ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "työ" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:142 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Osoite" #: ../mimedir/mimedir-vcard-email.c:143 msgid "The e-mail address" msgstr "Sähköpostiosoite" #: ../mimedir/mimedir-vcard-email.c:149 msgid "Type" msgstr "Tyyppi" #: ../mimedir/mimedir-vcard-email.c:150 msgid "Type of this e-mail address" msgstr "Sähköpostiosoitteen tyyppi" #: ../mimedir/mimedir-vcard-email.c:158 msgid "Whether this is the preferred e-mail address" msgstr "Onko tämä suositeltu sähköpostiosoite" #: ../mimedir/mimedir-vcard-email.c:164 msgid "Whether is a home e-mail address" msgstr "Onko sähköpostiosoite kotiosoite" #: ../mimedir/mimedir-vcard-email.c:170 msgid "Whether this is an e-mail address at work" msgstr "Onko sähköpostiosoite työosoite" #: ../mimedir/mimedir-vcard-email.c:442 #, c-format msgid "The email field is of unknown type %s.\n" msgstr "Sähköpostikenttä on tuntematonta tyyppiä %s.\n" #: ../mimedir/mimedir-vcard-email.c:548 msgid "Internet" msgstr "Internet" #: ../mimedir/mimedir-vcard-email.c:553 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Numero" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "Puhelinnumero (vapaamuotoinen merkkijono)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Onko tämä kotipuhelinnumero" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Onko tämä työpuhelinnumero" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Puhe" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Voiko tähän numeroon puhua" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Faksi" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Onko tämä faksinumero" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Onko tämä BBS-järjestelmän numero" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modeemi" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Onko tämä modeeminumero" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Hakulaite" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Onko tämä hakulaitteen numero" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Video" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Onko tämä numero videopuhelimen numero" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Matkapuhelin" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Onko tämä matkapuhelimen numero" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Autopuhelin" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Onko tämä puhelin autopuhelimen numero" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Onko tämä numero ISDN-numero" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Onko tämä PCS-numero" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Onko tämä suositeltu numero" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Viesti" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Onko tässä numerossa puhelinvastaaja" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s.\n" msgstr "Puhelinnumeron kenttä on tuntematonta tyyppiä %s.\n" #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "puhe" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "fax" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "modeemi" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "hakulaite" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "video" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "ääniviesti" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "matkapuhelin" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "autopuhelin" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "Henkilön koko nimi" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Sukunimi" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "Henkilön sukunimi" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Etunimi" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "Henkilön etunimi" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Muut etunimet" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "Nimen välikirjaimet tai muut etunimet" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Etuliite" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "Nimeen liitettävä etuliite (esimerkiksi kunnioittava nimitys)" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Jälkiliite" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "Nimeen liitettävä jälkiliite" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Lista lempinimistä" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" "Lista lempinimistä. Tämä on GList *-tietorakenne, jossa osat ovat tyyppiä " "const gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Lempinimi" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "Ensimmäinen lempinimi" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Valokuva" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Osoitin tavuvirtaan, joka sisältää kuvan henkilöstä" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "Valokuvan URI" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI kuvaan tästä henkilöstä" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Syntymäpäivä" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "Henkilön syntymäpäivä" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Osoitelista" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" "Lista osoitteista. Tämä on GList *-tietorakenne, jossa osat ovat tyyppiä " "MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "Ensisijainen osoite" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Lista puhelinnumeroista" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "Lista puhelinnumeroista. Tämä on GList *-tietorakenne, jossa osat ovat " "tyyppiä MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Puhelinnumero" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "Ensisijainen puhelinnumero" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Lista sähköpostiosoitteista" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Lista kaikista sähöpostiosoitteista. Tämä on GList *-tietorakenne, jossa " "osat ovat tyyppiä MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "Sähköpostiosoite" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "Ensisijainen sähköpostiosoite" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Sähköpostiohjelma" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "Henkilön käyttämä sähköpostiohjelma" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Aikavyöhyke" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "Aikavyöhyke, jossa henkilö asuu" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Aikavyöhykkeen merkkijono" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "Aikavyöhyke, jossa henkilö asuu (käytöstä poistettu esitysmuoto)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Leveyspiiri" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Henkilön asuinpaikan leveyspiiri" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Pituuspiiri" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Henkilön asuinpaikan pituuspiiri" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Työnimike" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "Henkilö työnimike" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Asema" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "Henkilön asema työssä" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Logo" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "Osoitin tavuvirtaan, joka sisältää kuvan henkilön yrityksen logosta" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "Logon URI" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI henkilön yrityksen logon sisältävään kuvaan" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Edustaja" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "Kortissa kuvatun henkilön edustaja" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "Edustajan URI" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "" "URI kuvaukseen henkilöstä, joka toimii tässä kortissa kuvatun henkilön " "edustajana" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Edustajan merkkijono" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "Kuvaus henkilöstä, joka toimii tässä kortissa kuvatun henkilön edustajana " "(käytöstä poistunut esitysmuoto)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Lista organisaatioista" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Lista kaikista organisaatiosta, joihin tämä henkilö kuuluu. Tämä on " "GList *-tietorakenne, jossa osat ovat tyyppiä gchar *" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Organisaatio" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "Henkilön ensimmäinen organisaatio" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:266 msgid "Category list" msgstr "Luokka" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "Lista kaikista tämän henkilön luokista. Tämä on GList *-tietorakenne, jossa " "osat ovat tyyppiä gchar *" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Luokat" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Merkkijonoesitys tämän käyttäjän luokista" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Huomautus" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Lisähuomautukset" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "VCardin tuotetuniste. Uusille korteille arvo on LibMIMEDir-kirjaston " "tuetetunniste." #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Revisio" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Kortin revisio" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Järjestysmerkkijono" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "Merkkijono, joka määrittelee tämän kortin järjestyksen" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Ääni" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Osoitin tavuvirtaan, josta löytyy äänitiedosto" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "Äänen URI" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI äänitiedostoon" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Yksilöllinen tunniste" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Tämän kortin yksilöllinen tunniste" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Vaihtoehtoinen URL näille tiedoille" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Luokittelu" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "Tämän osoitekortin turvaluokitus" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Lista julkisista avaimista" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Lista tämän henkilön julkisista avaimista. Tämä on GList *-tietorakenne, " "jossa ovat tyyppiä MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Julkinen avain" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "Henkilön ensimmäinen julkinen avain" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Avaimen tyyppi" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Ensimmäisen julkisen avaimen tyyppi" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Virhe luettaessa korttitiedostoa %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Virhe kirjoitettaessa korttitiedostoa %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Nimi: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Nimi\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Etuliite: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Etunimi: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Lisätiedot: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Sukunimi: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Jälkiliite: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Syntymäaika: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Osoitemerkintä (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Osoite (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Postilaatikko: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Laajennettu: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Katuosoite: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Kaupunki: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Alue: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Postinumero: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Maa: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Puhelinnumero:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Puhelin: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3556 msgid "E-mail:\n" msgstr "Sähköpostiosoite:\n" #: ../mimedir/mimedir-vcard.c:3580 #, c-format msgid "E-mail: %s (%s)\n" msgstr "Sähköpostiosoite: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3602 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Aikavyöhyke %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3611 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Sijainti: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3620 #, c-format msgid "Organization: %s\n" msgstr "Organisaatio: %s\n" #: ../mimedir/mimedir-vcard.c:3625 #, c-format msgid "Job title: %s\n" msgstr "Työnimike: %s\n" #: ../mimedir/mimedir-vcard.c:3628 #, c-format msgid "Business role: %s\n" msgstr "Asema työssä: %s\n" #: ../mimedir/mimedir-vcard.c:3638 #, c-format msgid "Categories: %s\n" msgstr "Luokat: %s\n" #: ../mimedir/mimedir-vcard.c:3643 #, c-format msgid "Comment: %s\n" msgstr "Huomautus: %s\n" #: ../mimedir/mimedir-vcard.c:3646 #, c-format msgid "Homepage: %s\n" msgstr "Kotisivu: %s\n" #: ../mimedir/mimedir-vcard.c:3649 #, c-format msgid "Unique string: %s\n" msgstr "Yksilöllinen tunniste: %s\n" #: ../mimedir/mimedir-vcard.c:3659 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3662 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3665 msgid "yes" msgstr "kyllä" #: ../mimedir/mimedir-vcard.c:3669 #, c-format msgid "Public Key: %s\n" msgstr "Julkinen avain: %s\n" #: ../mimedir/mimedir-vcomponent.c:267 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Lista tämän komponentin kaikista luokista. Tämä GList *-tietorakenne, " "jossa osat ovat tyyppiä gchar *" #: ../mimedir/mimedir-vcomponent.c:271 msgid "Comment list" msgstr "Lista kommenteista" #: ../mimedir/mimedir-vcomponent.c:272 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Lista kaikista tämän komponentin lisäkommenteista. Tämä on GList " "*-tietorakenne, jossa osat ovat tyyppiä gchar *" #: ../mimedir/mimedir-vcomponent.c:276 msgid "Description" msgstr "Kuvaus" #: ../mimedir/mimedir-vcomponent.c:277 msgid "Full description of this component" msgstr "Koko kuvaus tästä komponentista" #: ../mimedir/mimedir-vcomponent.c:282 msgid "Percent complete" msgstr "Prosenttia valmiina" #: ../mimedir/mimedir-vcomponent.c:283 msgid "Percentage of this task's completion" msgstr "Kuinka monta prosenttia tehtävästä on valmiina" #: ../mimedir/mimedir-vcomponent.c:290 msgid "Priority" msgstr "Kiireellisyys" #: ../mimedir/mimedir-vcomponent.c:291 msgid "This task's priority" msgstr "Tehtävän kiireellisyys" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:296 msgid "Resource list" msgstr "Lista resursseista" #: ../mimedir/mimedir-vcomponent.c:297 msgid "List of the resources assigned to this component" msgstr "Lista tähän komponenttiin liittyvistä resursseista" #: ../mimedir/mimedir-vcomponent.c:301 msgid "Status" msgstr "Tila" #: ../mimedir/mimedir-vcomponent.c:302 msgid "This task's completion status" msgstr "Tehtävän valmistumisen tila" #: ../mimedir/mimedir-vcomponent.c:309 msgid "Summary" msgstr "Yhteenveto" #: ../mimedir/mimedir-vcomponent.c:310 msgid "Component's short description" msgstr "Lyhyt kuvaus komponentista" #: ../mimedir/mimedir-vcomponent.c:316 msgid "Date/time completed" msgstr "Valmistumispäivä" #: ../mimedir/mimedir-vcomponent.c:317 msgid "Date/time that this task was completed" msgstr "Päivä ja aika, jolloin tehtävä valmistuu" #: ../mimedir/mimedir-vcomponent.c:322 msgid "Date/time end" msgstr "Päättymispäivä" #: ../mimedir/mimedir-vcomponent.c:323 msgid "End date/time of this component" msgstr "Päivä ja aika, jolloin komponentti päättyy" #: ../mimedir/mimedir-vcomponent.c:328 msgid "Due" msgstr "Erääntyy" #: ../mimedir/mimedir-vcomponent.c:329 msgid "This task's due date" msgstr "Tehtävän erpäivä" #: ../mimedir/mimedir-vcomponent.c:334 msgid "Date/time start" msgstr "Alkamisen päiväys ja aika" #: ../mimedir/mimedir-vcomponent.c:335 msgid "Start date/time of this component" msgstr "Komponentin alkamispäivä ja aika" #: ../mimedir/mimedir-vcomponent.c:340 msgid "Duration" msgstr "Kesto" #: ../mimedir/mimedir-vcomponent.c:341 msgid "This date's duration" msgstr "Päiväyksen kesto" #: ../mimedir/mimedir-vcomponent.c:346 msgid "Free/busy" msgstr "Vapaa/Varattu" #: ../mimedir/mimedir-vcomponent.c:347 msgid "GList of free/busy objects" msgstr "GList vapaa/varattu-olioista" #: ../mimedir/mimedir-vcomponent.c:353 msgid "This component's time zone identifier" msgstr "Komponentin aikavyöhyketunniste" #: ../mimedir/mimedir-vcomponent.c:358 msgid "Time zone name list" msgstr "Lista aikavyöhykkeiden nimistä" #: ../mimedir/mimedir-vcomponent.c:359 msgid "GList of time zone names" msgstr "GList aikavyöhykkeiden nimistä" #: ../mimedir/mimedir-vcomponent.c:363 ../mimedir/mimedir-vcomponent.c:364 msgid "Time zone offset from" msgstr "Aikavyöhykkeen siirtymä kohteesta" #: ../mimedir/mimedir-vcomponent.c:371 ../mimedir/mimedir-vcomponent.c:372 msgid "Time zone offset to" msgstr "Aikavyöhykkeen siirtymä kohteeseen" #: ../mimedir/mimedir-vcomponent.c:379 msgid "Time zone URL" msgstr "Aikavyöhykkeen URL" #: ../mimedir/mimedir-vcomponent.c:380 msgid "URL to a time zone description" msgstr "URL aikavyöhykkeen kuvaukseen" #: ../mimedir/mimedir-vcomponent.c:386 msgid "Contact" msgstr "Yhteystiedot" #: ../mimedir/mimedir-vcomponent.c:387 msgid "Contact information" msgstr "Yhteystiedot" #: ../mimedir/mimedir-vcomponent.c:393 msgid "Unique identifier" msgstr "Yksilöllinen tunniste" #: ../mimedir/mimedir-vcomponent.c:394 msgid "A unique identifier for this component" msgstr "Komponentin yksilöllinen tunniste" #: ../mimedir/mimedir-vcomponent.c:400 msgid "Recurrence object" msgstr "Toistuva kohde" #: ../mimedir/mimedir-vcomponent.c:401 msgid "An object representing the RRULE tag" msgstr "RRULE-tagia esittävä kohde" #: ../mimedir/mimedir-vcomponent.c:407 ../mimedir/mimedir-vcomponent.c:408 msgid "Action" msgstr "Toiminto" #: ../mimedir/mimedir-vcomponent.c:413 ../mimedir/mimedir-vcomponent.c:414 msgid "Repeat" msgstr "Toisto" #: ../mimedir/mimedir-vcomponent.c:419 ../mimedir/mimedir-vcomponent.c:420 msgid "Trigger" msgstr "Liipasin" #: ../mimedir/mimedir-vcomponent.c:425 msgid "Trigger date/time" msgstr "Liipaisupäiväys/aika" #: ../mimedir/mimedir-vcomponent.c:426 msgid "Date/time of the trigger" msgstr "Liipaisun päivämäärä ja aika" #: ../mimedir/mimedir-vcomponent.c:431 msgid "Trigger end" msgstr "Liipaisun päättyminen" #: ../mimedir/mimedir-vcomponent.c:432 msgid "Whether the trigger is set at the end of the time interval" msgstr "Onko liipaisu asetettu aikavälin loppuun" #: ../mimedir/mimedir-vcomponent.c:438 msgid "Created" msgstr "Luotu" #: ../mimedir/mimedir-vcomponent.c:439 msgid "Date/time of the creation" msgstr "Luonnin aikaleima" #: ../mimedir/mimedir-vcomponent.c:444 msgid "Date/time stamp" msgstr "Aikaleima" #: ../mimedir/mimedir-vcomponent.c:445 msgid "Date/time of the creation of the iCalendar object" msgstr "iCalendar-olion luonnin aikaleima" #: ../mimedir/mimedir-vcomponent.c:450 msgid "Last modified" msgstr "Viimeksi muokattu" #: ../mimedir/mimedir-vcomponent.c:451 msgid "Date/time of the last modification" msgstr "Viimeisen muokkauksen aikaleima" #: ../mimedir/mimedir-vcomponent.c:456 msgid "Sequence" msgstr "Sekvenssi" #: ../mimedir/mimedir-vcomponent.c:457 msgid "Sequence number" msgstr "Sekvenssinumero" libmimedir-0.4.2/po/Makefile.in.in0000644000175000017500000001530410654703046013653 00000000000000# 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. 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: libmimedir-0.4.2/po/ml.po0000644000175000017500000007775710603540671012172 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FSF-India , 2003. # msgid "" msgstr "" "Project-Id-Version:libmimedir\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-04 15:04+0200\n" "PO-Revision-Date: 2003-07-05 10:29+0530\n" "Last-Translator: FSF-India \n" "Language-Team: Malayalam \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" #: ../bin/ical-dump.c:61 #, fuzzy msgid "hourly" msgstr "രാജ്യം" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 msgid "unknown" msgstr "" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" #: ../bin/ical-dump.c:93 msgid "week number" msgstr "" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr "" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr "" #: ../bin/ical-dump.c:123 #, c-format msgid " Until: %s\n" msgstr "" #: ../bin/ical-dump.c:128 #, c-format msgid " Count: %d\n" msgstr "" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" #: ../bin/ical-dump.c:134 #, c-format msgid " Unit: %s\n" msgstr "" #: ../bin/ical-dump.c:137 #, c-format msgid " Units: %s\n" msgstr "" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr "" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr "" #: ../bin/ical-dump.c:188 msgid "high" msgstr "" #: ../bin/ical-dump.c:190 msgid "low" msgstr "" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr "" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr "" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr "" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr "" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr "" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr "" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr "" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "പേര‍്" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "കൂട്ടം" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "" #: ../mimedir/mimedir-attribute.c:894 msgid "missing parameter name" msgstr "" #: ../mimedir/mimedir-attribute.c:919 msgid "missing closing quotation mark" msgstr "" #: ../mimedir/mimedir-attribute.c:1040 msgid "missing attribute name/group" msgstr "" #: ../mimedir/mimedir-attribute.c:1056 msgid "no attribute name after group" msgstr "" #: ../mimedir/mimedir-attribute.c:1072 msgid "missing value delimiter" msgstr "" #: ../mimedir/mimedir-attribute.c:1088 msgid "invalid character" msgstr "" #: ../mimedir/mimedir-attribute.c:2459 ../mimedir/mimedir-attribute.c:2468 msgid "illegal character" msgstr "" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "" #: ../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "" #: ../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 msgid "Recurrence unit" msgstr "" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 msgid "Recurrence units" msgstr "" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "തലക്കെട്ട്" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:198 #, fuzzy msgid "Locality" msgstr "പ്രാദേശിക" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "" #: ../mimedir/mimedir-vcard-address.c:204 #, fuzzy msgid "Region" msgstr "റീയൂണിയന്‌" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "രാജ്യം" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "അന്തര്‌രാഷ്ട്രം" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "ആസ്ഥാനം" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "പ്രവ‌ര്ത്തി" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:153 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s." msgstr "" #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:504 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:138 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "വിലാസം" #: ../mimedir/mimedir-vcard-email.c:139 msgid "The e-mail address" msgstr "" #: ../mimedir/mimedir-vcard-email.c:145 msgid "Type" msgstr "തരം" #: ../mimedir/mimedir-vcard-email.c:146 msgid "Type of this e-mail address" msgstr "" #: ../mimedir/mimedir-vcard-email.c:154 msgid "Whether this is the preferred e-mail address" msgstr "" #: ../mimedir/mimedir-vcard-email.c:412 #, c-format msgid "The email field is of unknown type %s." msgstr "" #: ../mimedir/mimedir-vcard-email.c:514 msgid "Internet" msgstr "വിവരമണ്ഡലം" #: ../mimedir/mimedir-vcard-email.c:519 msgid "X.400" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "സംഖ്യകള്‌" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:172 #, fuzzy msgid "Voice" msgstr "ശ്രദ്ദിക്കുക" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "ഫാക്സ്" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "ചലനചിത്രം" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "അറ" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "കാര്" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "സന്ദേശം" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s." msgstr "" #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "പാദാങ്കം" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "" #: ../mimedir/mimedir-vcard.c:356 #, fuzzy msgid "Birthday" msgstr "ഇന്ന്" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "ലോഗോ" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "വ‍ര്ഗ്ഗങ്ങള്" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "ശബ്ദം" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "വ‍ര്ഗ്ഗീകരണം" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3554 msgid "E-mail:\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3578 #, c-format msgid "E-mail: %s (%s)\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3598 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3607 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3616 #, c-format msgid "Organization: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3621 #, c-format msgid "Job title: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3624 #, c-format msgid "Business role: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3634 #, c-format msgid "Categories: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3639 #, c-format msgid "Comment: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3642 #, c-format msgid "Homepage: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3645 #, c-format msgid "Unique string: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3655 msgid "X.509" msgstr "" #: ../mimedir/mimedir-vcard.c:3658 msgid "PGP" msgstr "" #: ../mimedir/mimedir-vcard.c:3661 msgid "yes" msgstr "ശരി" #: ../mimedir/mimedir-vcard.c:3665 #, c-format msgid "Public Key: %s\n" msgstr "" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "വിവരണം" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "" #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "അവസ്ഥ" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "രത്നച്ചുരുക്കം" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:338 #, fuzzy msgid "Duration" msgstr "ചെറുഭാഗം" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "" #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "" #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "" #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "പ്ര‌വ‍ര്ത്തനം" #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "" #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "" libmimedir-0.4.2/po/dz.po0000644000175000017500000017020210603540671012152 00000000000000# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: libmimedir.HEAD.pot\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-12-13 22:09+0100\n" "PO-Revision-Date: 2006-12-18 15:48+0530\n" "Last-Translator: sonam pelden \n" "Language-Team: Dzongkha \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n" "X-Poedit-Language: Dzongkha\n" "X-Poedit-Country: Bhutan\n" "X-Poedit-SourceCharset: utf-8\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "བེད་སྤྱོད: %s ICALFILE\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "སྐར་ཆ་རེར་" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "སྐར་མ་རེར་" #: ../bin/ical-dump.c:61 msgid "hourly" msgstr "ཆུ་ཚོད་རེར་" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "ཉིནམ་རེར་" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "བདུན་རིམ་བཞིན་གྱི་" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "ཟླ་རིམ་བཞིན་" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "ལོ་བསྟར་" #: ../bin/ical-dump.c:71 #: ../bin/ical-dump.c:97 msgid "unknown" msgstr "མ་ཤེསཔ་" #: ../bin/ical-dump.c:81 msgid "second" msgstr "སྐར་ཆ་" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "སྐར་མ་" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "ཆུ་ཚོད་" #: ../bin/ical-dump.c:87 msgid "day" msgstr "ཉིནམ་" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "ཟླཝ་གི་ཉིནམ་" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "ལོའི་ཉིནམ་" #: ../bin/ical-dump.c:93 msgid "week number" msgstr "བདུན་ཕྲག་གི་ཨང་གྲངས་" #: ../bin/ical-dump.c:95 msgid "month" msgstr "ཟླཝ་" #: ../bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr "སླར་འབྱུང་:\n" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr " འབྱུང་ཐེངས: %s\n" #: ../bin/ical-dump.c:123 #, c-format msgid " Until: %s\n" msgstr " ཚུན་ཚོད: %s\n" #: ../bin/ical-dump.c:128 #, c-format msgid " Count: %d\n" msgstr " གྱངས་ཁ་བརྐྱབ: %d\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr " བར་མཚམས: %d\n" #: ../bin/ical-dump.c:134 #, c-format msgid " Unit: %s\n" msgstr " ཆ་ཕྲན: %s\n" #: ../bin/ical-dump.c:137 #, c-format msgid " Units: %s\n" msgstr " ཆ་ཕྲན་ཚུ: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "བྱུང་ལས:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "འབད་ནིའི་རྣམ་གྲངས:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "མ་ཤེས་པའི་ཆ་ཅན:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " བཅུད་དོན: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " དབྱེ་རིམ་ཚུ: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "མཐོ་" #: ../bin/ical-dump.c:190 msgid "low" msgstr "དམའ་" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "འབྲིང་མ་" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " གཙོ་བོ་རིམ: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " ཚེས་གྲངས་འགོ་བཙུག: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " ཚེས་གྲངས་མཇུག་བསྡུ: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " རན་པའི་ཚེས་གྲངས: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " ཨའི་ཌི་མཐུན་མོང་མ་ཡིན་པ: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " འབྱུང་རིམ: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " ཉིནམ་ཆ་མཉམ་གྱི་འབྱུང་རིམ\n" #: ../bin/ical-dump.c:261 #: ../bin/vcard-dump.c:84 #: ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: སྒྲུབ་རྟགས་ཚུ་གི་ནུས་ཅན་མེད་པའི་ཨང་གྲངས\n" #: ../bin/vcard-dump.c:43 #: ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "བེད་སྤྱོད: %s VCARDFILE\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: ཤོག་བྱང་ཡིག་སྣོད་ལྷག་པའི་བསྒང་འཛོལ་བ: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: ཤོག་བྱང་ཡིག་སྣོད་འབྲི་བའི་བསྒང་འཛོལ་བ: %s\n" #: ../mimedir/mimedir-attribute.c:131 #: ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "མིང་" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "ཁྱད་ཆོས་ཀྱི་མིང་" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "སྡེ་ཚན་" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "ཁྱད་ཆོས་ཀྱི་སྡེ་ཚན་" #: ../mimedir/mimedir-attribute.c:933 msgid "missing parameter name" msgstr "ཚད་བཟུང་མིང་བརླག་སྟོར་ཞུགས་ནུག" #: ../mimedir/mimedir-attribute.c:958 msgid "missing closing quotation mark" msgstr "ཁ་བསྡམ་པའི་འདྲེན་ཚིག་རྟགས་འདི་བརླག་སྟོར་ཞུགས་ནུག" #: ../mimedir/mimedir-attribute.c:983 msgid "wrong parameter syntax" msgstr "ཚད་བཟུང་ཚིག་སྦྱོར་ཕྱི་འགྱུར་" #: ../mimedir/mimedir-attribute.c:993 msgid "no parameter value" msgstr "ཚད་བཟུང་གནས་གོང་མེད་" #: ../mimedir/mimedir-attribute.c:1086 msgid "missing attribute name/group" msgstr "ཁྱད་ཆོས་མིང་/སྡེ་ཚན་བརླག་སྟོར་ཞུགས་ནུག" #: ../mimedir/mimedir-attribute.c:1102 msgid "no attribute name after group" msgstr "སྡེ་ཚན་གྱི་ཤུལ་ལས་ཁྱད་ཆོས་ཀྱི་མིང་མེད་" #: ../mimedir/mimedir-attribute.c:1118 msgid "missing value delimiter" msgstr "གནས་གོང་དབྱེ་རྟགས་བརླག་སྟོར་ཞུགས་ནུག" #: ../mimedir/mimedir-attribute.c:1134 msgid "invalid character" msgstr "ནུས་ཅན་མེད་པའི་ཡིག་འབྲུ་" #: ../mimedir/mimedir-attribute.c:2505 #: ../mimedir/mimedir-attribute.c:2514 msgid "illegal character" msgstr "ཁྲིམས་འགལ་ཡིག་འབྲུ་" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "ཚིག་སྦྱོར་འཛོལ་བ་ (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr " ཁྲིམས་འགལ་ཡིག་འབྲུ་ 0x%02x འདི་དབྱེ་བ་ \"%s\" དོན་ལུ་" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "ཁྱད་ཆོས་ %s ནང་གི་ དབྱེ་བ་ \"%s\" གི་དོན་ལུ་ ནུས་ཅན་མེད་པའི་རྩ་སྒྲིག་" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "ཨིན་ཀོ་ཌིང་འདི་མ་ཤེས་པར་ཡོདཔ་ལས་ ཁྱད་ཆོས་ %s འདི་ཌི་ཀོ་ཌེཊི་འབད་མ་ཚུགས་" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "ཁྱད་ཆོས་ %s ནང་ནུས་ཅན་མེད་པའི་གནས་གོང་" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "ཚད་བཟུང་ \"%s\" འདི་ ཁྱད་ཆོས་ %s ནང་ཚར་གཅིག་ལས་ལྷག་སྟེ་ལག་ལེན་འཐབ་ནི་མི་འོང་" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "ནུས་ཅན་མེད་པའི་ Base64 འབྱུང་རིམ་" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "ནུས་ཅན་མེད་པའི་འདྲེན་རྟགས་ནང་བཙུག་ཡོད་པའི་ དཔར་བསྐྲུན་འབད་བཏུབ་པའི་འབྱུང་རིམ་" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr " %sགི་ཁྱད་ཆོས་ཐོ་ཡིག་འདི་སྣ་མེད་ས་མེད་ཐུང་ཀུ་ཨིན་མས་" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr " %sགི་ཐོ་ཡིག་འདི་སྣ་མེད་ས་མེད་རིངམ་ཨིན་མས་" #: ../mimedir/mimedir-datetime.c:114 #: ../mimedir/mimedir-vcomponent.c:352 msgid "Time zone identifier" msgstr "ཆུ་ཚོད་གླིང་སྡེ་ངོས་འཛིན་འབད་མི་" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "ཆུ་ཚོད་གླིང་སྡེ་ངོས་འཛིན་འབད་མིའི་ཡིག་རྒྱུན་" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "དལཝ་/ཁོམ་མེད་དབྱེ་བ" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "དངོས་པོ་དེ་གིས་དུས་ཡུན་འདི་དལཝ་ ཡང་ན་ ཁོམ་མེད་བརྡ་སྟོན་རུང་མ་སྟོན་རུང་" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "གསལ་སྡུད་མིང་" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "གསལ་སྡུད་ཀྱི་མིང་ (དབྱེ་བ་) " #: ../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "ཡིག་འབྲུ་གཞི་སྒྲིག་" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "གསལ་སྡུད་འདི་ ཨིན་-/ཌི་ཀོཌི་ལག་ལེན་འཐབ་ནི་ལུ་ ཡིག་འབྲུ་གཞི་སྒྲིག་" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "ཁྱད་ཆོས་ %s འདི་ཚར་གཉིས་ངེས་འཛིན་འབད་ནུག་" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "གསལ་སྡུད་ཀྱི་ རེ་བ་མེད་པའི་མཇུག་" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "དགོས་མཁོ་ཡོད་པའི་ཁྱད་ཆོས་ %s འདི་བརླག་སྟོར་ཞུགས་ནུག" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "མཇུག་གི་ཁྱད་ཆོས་མཐུན་སྒྲིག་མིན་འདུག" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "གསལ་སྡུད་འཛོལ་བ་ %s; རེ་བ་བསྐྱེད་ནུག %s" #: ../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "འབྱུང་ཐེངས་" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "བསྐྱོར་ལོག་འབད་བའི་ལམ་ལུགས་འདི་གི་ འབྱུང་ཐེངས་དབྱེ་བ་" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "བསྐྱར་ལོག་མཇུག་གི་ཚེས་གྲངས་" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "བྱུང་ལས་ཀྱི་བསྐྱར་ལོག་མཇུག་གི་ཚེས་གྲངས་" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "བསྐྱར་ལོག་ཚུ་གི་ཨང་གྲངས་" #: ../mimedir/mimedir-recurrence.c:236 msgid "The number of recurrences of an event" msgstr "བྱུང་ལས་ཀྱི་བསྐྱར་ལོག་ཚུ་གི་ཨང་གྲངས་" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "བསྐྱར་ལོག་གི་བར་མཚམས་" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "བྱུང་ལས་ཅིག་གི་བསྐྱར་ལོག་གི་བར་མཚམས་" #: ../mimedir/mimedir-recurrence.c:251 msgid "Recurrence unit" msgstr "བསྐྱར་ལོག་གི་ཆ་ཕྲན་" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "བསྐྱར་ལོག་འདི་ ཆ་ཕྲན་ག་གིས་ཡང་བསྐྱར་འབད་ནི་" #: ../mimedir/mimedir-recurrence.c:259 msgid "Recurrence units" msgstr "བསྐྱར་ལོག་གི་ཆ་ཕྲན་ཚུ་" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "བསྐྱར་ལོག་འབད་མི་འདི་ཡང་བསྐྱར་འབད་ནི་ལུ་ ཆ་ཕྲན་ཚུ་གི་ཐོ་ཡིག་" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "ཁྱོད་རའི་བསྐོ་བཞག་གི་དྲན་བསྐུལ:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "ཐབས་ལམ་" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "vCalendar'sགི་ཐབས་ལམ་" #: ../mimedir/mimedir-vcal.c:154 #: ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "ཐོན་སྐྱེད་ངོས་འཛིན་འབད་མི་" #: ../mimedir/mimedir-vcal.c:155 msgid "The product identifier of the vCalendar. In case of newly generated objects, this is LibMIMEDir's product identifier" msgstr "vCalendar གི་ཐོན་སྐྱེད་ངོས་འཛིན་འབད་མི། བཟོ་བཏོན་འབད་ཡོད་པའི་དངོས་པོ་གསརཔ་ཚུ་འབད་བ་ཅིན་ འདི་LibMIMEDir'sཐོན་སྐྱེད་ངོས་འཛིན་འབད་མི་ཨིན་" #: ../mimedir/mimedir-vcal.c:384 #: ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2111 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "གསལ་སྡུད་དེ་གིས་ རྒྱབ་སྐྱོར་མེད་པའི་སྲོལ་སྒྲིག་ཁྱད་ཆོས་ %s འདི་ཡོདཔ་ཨིན། \n" #: ../mimedir/mimedir-vcal.c:387 #: ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2114 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "གསལ་སྡུད་དེ་ལུ་མ་ཤེས་པའི་ཁྱད་ཆོས་ %s འདི་གནས་ཏེ་འདུག། \n" #: ../mimedir/mimedir-vcal.c:432 #: ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 #: ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "ཟླ་ཐོའི་ཡིག་སྣོད་ %s ལྷག་པའི་བསྒང་འཛོལ་བ: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "མགོ་མིང་" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "གལ་ཅན་ཁ་བྱང་བརྡ་དོན་དང་ཅིག་ཁར་ ཡིག་རྒྱུན་གྲལ་ཐིག་གཅིག" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "འབྲི་ཤོག་སྟོང་པའི་ཁ་བྱང་" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "འབྲི་ཤོག་སྟོངམ་གྱི་ཁ་བྱང་ཡིག་རྒྱུན་" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "འགྲེམ་ཁང་གི་སྒྲོམ་" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "ཁ་བྱང་གི་འགྲེམ་ཁང་སྒྲོམ་" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "རྒྱ་བསྐྱེད་ཅན་གྱི་ཁ་བྱང་" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "རྒྱ་བསྐྱེད་ཅན་གྱི་ཁ་བྱང་ཡིག་རྒྱུན་" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "ཁྲོམ་ལམ་" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "ཁྲོམ་ལམ་ཁ་བྱང་" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "ས་ཁོངས་" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "ས་ཁོངས་ (དཔེར་ན་ གྲོང་སྡེ་, ཁྲོམ་, ལ་སོགས་པ་ཚུ༌ཨིན།)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "ལུང་ཕྱོགས་" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "ལུང་ཕྱོགས་(དཔེར་ན་ མངའ་སྡེ་)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "འགྲེམ་ཨང་" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "འགྲེམ་ཨང་ (འབྲི་ཤོག་སྟོང་པའི་ཡིག་རྒྱུན་)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "རྒྱལ་ཁབ་" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "རྒྱལ་ཁབ་ནང་འཁོད་ཀྱི་" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "རྒྱལ་ཁབ་ནང་འཁོད་ཀྱི་ཁ་བྱང་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "རྒྱལ་སྤྱི་" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "རྒྱལ་སྤྱིའི་ཁ་བྱང་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "འགྲེམ་དང་འབྲེལ་བའི་" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "འགྲེམ་དང་འབྲེལ་བའི་ཁ་བྱང་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "ལག་རྟགས་" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "ལག་རྟགས་དེ་ཚུ་ཁ་བྱང་འདི་གི་ཐོག་ལུ་འཐོབ་རུང་མ་འཐོབ་རུང་" #: ../mimedir/mimedir-vcard-address.c:246 #: ../mimedir/mimedir-vcard-email.c:163 #: ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "ཁྱིམ་" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "འདི་ཁྱིམ་གྱི་ཁ་བྱང་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-address.c:252 #: ../mimedir/mimedir-vcard-email.c:169 #: ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "ལཱ་" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "འདི་ལཱ་གི་ཁ་བྱང་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-address.c:258 #: ../mimedir/mimedir-vcard-email.c:157 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "དགའ་གདམ་བརྐྱབ་ཡོདཔ་" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "གདའ་གདམ་བརྐྱབ་ཡོད་པའི་ཁ་བྱང་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "%sཁྱད་ཆོས་དེ་གིས་ ཆ་ཤས་ལས་ཤ་ཡོད། \n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s.\n" msgstr "ཁ་བྱང་ས་སྒོ་འདི་ མ་ཤེས་པའི་དབྱེ་བ་ %s འདི་ཨིན། \n" #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 #: ../mimedir/mimedir-vcard-email.c:538 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "དགའ་གདམ་བརྐྱབ་ཡོདཔ་" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "རྒྱལ་ཁབ་ནང་འཁོད་" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "རྒྱལ་སྤྱིའི་" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "འགྲེམ་དང་འབྲེལ་བའི་" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "ལག་རྟགས་" #: ../mimedir/mimedir-vcard-address.c:939 #: ../mimedir/mimedir-vcard-email.c:560 #: ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "ཁྱིམ་" #: ../mimedir/mimedir-vcard-address.c:944 #: ../mimedir/mimedir-vcard-email.c:566 #: ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "ལཱ་" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:142 #: ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "ཁ་བྱང་" #: ../mimedir/mimedir-vcard-email.c:143 msgid "The e-mail address" msgstr "གློག་འཕྲིན་ཁ་བྱང་" #: ../mimedir/mimedir-vcard-email.c:149 msgid "Type" msgstr "དབྱེ་བ་" #: ../mimedir/mimedir-vcard-email.c:150 msgid "Type of this e-mail address" msgstr "གློག་འཕྲིན་ཁ་བྱང་འདི་གི་དབྱེ་བ་" #: ../mimedir/mimedir-vcard-email.c:158 msgid "Whether this is the preferred e-mail address" msgstr "འདི་དགའ་གདམ་བརྐྱབ་ཡོད་པའི་གློག་འཕྲིན་ཁ་བྱང་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-email.c:164 msgid "Whether is a home e-mail address" msgstr "ཁྱིམ་གྱི་གློག་འཕྲིན་ཁ་བྱང་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-email.c:170 msgid "Whether this is an e-mail address at work" msgstr "ལཱ་འབད་སར་གློག་འཕྲིན་ཁ་བྱང་འདི་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-email.c:442 #, c-format msgid "The email field is of unknown type %s.\n" msgstr "གློག་འཕྲིན་ས་སྒོ་འདི་ མ་ཤེས་པའི་དབྱེ་བ་ %s འདི་ཨིན། \n" #: ../mimedir/mimedir-vcard-email.c:548 msgid "Internet" msgstr "ཨིན་ཊར་ནེཊི་" #: ../mimedir/mimedir-vcard-email.c:553 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "ཨང་གྲངས་" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "བརྒྱུད་འཕྲིན་ཨང་ (འབྲི་ཤོག་སྟོང་པའི་ཡིག་རྒྱུན་)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "ཁྱིམ་ནའི་བརྒྱུད་འཕྲིན་གྱི་ཨང་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "ལཱ་འབད་སའི་བརྒྱུད་འཕྲིན་ཨང་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "སྐད་" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "འདི་སྐད་ཀྱི་ཨང་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "དཔར་འཕྲིན་" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "འདི་པར་འཕྲིན་ཨང་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-phone.c:184 #: ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "བི་བི་ཨེསི་" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "གནས་ཚུལ་སྙན་ཞུའི་རྩེད་པང་རིམ་ལུགས་ཀྱི་ཨང་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "མོ་ཌེམ་" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "འདི་མོ་ཌེམ་གྱི་ཨང་ཨིན་ན་མེན་ན་" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "བརྡ་འཕྲུལ་" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "འདི་བརྡ་འཕྲུལ་ཨང་ཨིན་ན་མེན་ན་" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "ཝི་ཌིའོ་" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "འདི་ཝི་ཌིའོ་བརྒྱུད་འཕྲིན་ཨང་ཨིན་ན་མེན་ན་" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "འགྲུལ་འཕྲིན་" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "འདི་(འགྲུལ་འཕྲིན་)ཨང་ཨིན་ན་མེན་ན་" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "ཀཱར་" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "འདི་ཀཱར་བརྒྱུན་འཕྲིན་ཨང་ཨིན་རུང་མེན་རུང་" #: ../mimedir/mimedir-vcard-phone.c:220 #: ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ཨའི་ཨེསི་ཌི་ཨེན་" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "འདི་ཨའི་ཨེསི་ཌི་ཨེན་ཨང་ཨིན་ན་མེན་ན་" #: ../mimedir/mimedir-vcard-phone.c:226 #: ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "པི་སི་ཨེསི་" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "འདི་པི་སི་ཨེསི་ཨང་ཨིན་ན་མེན་ན་" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "འདི་དགའ་གདམ་བརྐྱབ་ཡོད་པའི་ཨང་ཨིན་ན་མེན་ན་" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "འཕྲིན་དོན་" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "ཨང་གྲངས་འདི་ལུ་སྐད་ཀྱི་བཟུང་འཕྲུལ་ཅིག་ཡོད་རུང་མེད་རུང་" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s.\n" msgstr "བརྒྱུད་འཕྲིན་ས་སྒོའི་དབྱེ་བ་འདི་ མ་ཤེས་པའི་%s ཨིན། \n" #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "སྐད་" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "དཔར་འཕྲིན་" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "མོ་ཌེམ་" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "བརྡ་འཕྲུལ་" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "ཝི་ཌིའོ་" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "སྐད་ཀྱི་འཕྲིན་དོན་" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "འགྲུལ་འཕྲིན་" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "ཀཱར་བརྒྱུད་འཕྲིན་" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "གང་ཟག་འདི་གི་མིང་ཆ་ཚང་ཁ་གསལ་བརྐྱབ་སྟེ་སླབ་པའི་མིང་" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "རིགས་ཚན་གྱི་མིང་" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "གང་ཟག་འདི་གི་རིགས་ཚན་མིང་" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "བྱིན་ཡོད་པའི་མིང་" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "གང་ཟག་འདི་ལུ་བྱིན་ཡོད་པའི་མིང་" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "མིང་བར་མ་" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "གང་ཟག་འདི་གི་མིང་བར་མ་ཡང་ན་འགོ་ཐོག་བར་མ་" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "སྔོན་ཚིག་" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "གང་ཟག་འདི་གི་ མིང་གི་སྔོན་ཚིག་ (དཔེར་ན་ ཞེས་སའི་སྔོན་ཚིག)" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "རྗེས་ཚིག་" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "གང་ཟག་འདི་གི་རྗེས་ཚིག་མིང་" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "སྐྱོན་མིང་གི་ཐོ་ཡིག་" #: ../mimedir/mimedir-vcard.c:335 msgid "List of all nick names. This is a GList *, where the elements are of type const gchar *" msgstr "སྐྱོན་མིང་ཆ་མཉམ་གྱི་ཐོ་ཡིག། ཆ་ཤས་ཚུ་const gchar * གི་དབྱེ་བ་ཨིན་པའི་ GList * ཅིག་ཨིན་ " #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "སྐྱོན་མིང་" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "ཧེ་མའི་སྐྱོན་མིང་" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "དཔར་" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "གང་ཟག་གི་གཟུགས་བརྙན་ཁྱད་ཚབ་འབད་ བཱའིཊི་རྒྱུན་རིམ་ཅིག་ལུ་དཔག་བྱེད་" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "ཡུ་ཨར་ཨའི་གི་དཔར་" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "གང་ཟག་འདི་གི་གཟུགས་བརྙན་ལུ་ཡུ་ཨར་ཨའི་" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "སྐྱེ་བའི་ཉིནམ་" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "གང་ཟག་འདི་གི་སྐྱེ་བའི་ཉིནམ་" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "ཁ་བྱང་གི་ཐོ་ཡིག་" #: ../mimedir/mimedir-vcard.c:364 msgid "List of all addresses. This is a GList *, where the elements are of type MIMEDirAddress *" msgstr "ཁ་བྱང་ཆ་མཉམ་གྱི་ཐོ་ཡིག། ཆ་ཤས་ཚུ་ MIMEDirAddress * དབྱེ་བ་ཨིན་པའི་ GList * ཅིག་ཨིན་" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "དགའ་གདམ་བརྐྱབ་ཡོད་པའི་ཁ་བྱང་" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "བརྒྱུད་འཕྲིན་ཨང་གྲངས་ཀྱི་ཐོ་ཡིག་" #: ../mimedir/mimedir-vcard.c:376 msgid "List of all phone numbers. This is a GList *, where the elements are of type MIMEDirPhone *" msgstr "བརྒྱུད་འཕྲིན་ཨང་གྲངས་ཆ་མཉམ་གྱི་ཐོ་ཡིག། ཆ་ཤས་ཚུ་ MIMEDirPhone * གི་དབྱེ་བ་ཨིན་པའི་ GList * ཅིག་ཨིན་" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "བརྒྱུད་འཕྲིན་གྱི་ཨང་གྲངས་" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "དགའ་གདམ་བརྐྱབ་ཡོད་པའི་བརྒྱུད་འཕྲིན་གྱི་ཨང་གྲངས་" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "གློག་འཕྲིན་ཁ་བྱང་གི་ཐོ་ཡིག་" #: ../mimedir/mimedir-vcard.c:387 msgid "List of all e-mail addresses. This is a GList *, where the elements are of type MIMEDirEmail *" msgstr "གློག་འཕྲིན་ཁ་བྱང་ཆ་མཉམ་གྱི་ཐོ་ཡིག། ཆ་ཤས་ཚུ་ MIMEDirEmail * ཨིན་པའི་ GList * ཅིག་ཨིན་" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "གློག་འཕྲིན་" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "དགའ་གདམ་བརྐྱབ་ཡོད་པའི་གློག་འཕྲིན་ཁ་བྱང་" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "སྦྲག་སྣོད་" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "གང་ཟག་འདི་གིས་ལག་ལེན་འཐབ་ཡོད་པའི་སྦྲག་སྣོད་ལས་རིམ་" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "ཆུ་ཚོད་གླིང་སྡེ་" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "གང་ཟག་འདི་སྡོད་སའི་ཆུ་ཚོད་གླིང་སྡེ་" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "ཆུ་ཚོད་གླིང་སྡེ་གི་ཡིག་རྒྱུན་" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "གང་ཟག་འདི་སྡོད་སའི་ཆུ་ཚོད་གླིང་སྡེ་ (ངོས་ལེན་མེད་པའི་ཡིག་རྒྱུན་ཁྱད་ཚབ)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "སྐེད་ཐིག་" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "གང་ཟག་འདི་གི་སྡོད་ཁྱིམ་གྱི་སྐེད་ཐིག་" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "གཞིང་ཐིག་" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "གང་ཟག་འདི་གི་སྡོད་ཁྱིམ་གྱི་གཞུང་ཐིག་" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "ལས་གཡོག་གི་འགོ་མིང་" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "གང་ཟག་འདི་གི་ལས་གཡོག་གི་འགོ་མིང་" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "ལས་འགན་" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "གང་ཟག་འདི་གི་ལས་གཡོག་གི་ལས་འགན་" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "ལས་རྟགས་" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "གང་ཟག་འདི་གི་ཚོང་སྡེའི་ལས་རྟགས་ཀྱི་ཁྱད་ཚབ་འབད་ བཱའིཊི་རྒྱུན་རིམ་ཅིག་ལུ་དཔག་བྱེད་" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "ཡུ་ཨར་ཨའི་ལས་རྟགས་" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "གང་ཟག་འདི་གི་ཚོང་སྡེའི་ལས་རྟགས་ལུ་ཡུ་ཨར་ཨའི་" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "ལས་ཚབ་" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "ཤོག་བྱང་འདི་ནང་འགྲེལ་བཤད་བརྐྱབ་ཡོད་པའི་གང་ཟག་འདི་གི་དོན་ལུ་ ངོ་ཚབ་འབད་མི་ གང་ཟག་ཅིག་" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "ཡུ་ཨར་ཨའི་ལས་ཚབ་" #: ../mimedir/mimedir-vcard.c:465 msgid "URI to the description of a person, acting for the person described in this card" msgstr "ཤོག་བྱང་འདི་ནང་འགྲེལ་བཤད་བརྐྱབ་ཡོད་པའི་གང་ཟག་འདི་གི་དོན་ལུ་ ལས་ཚབ་འབད་མི་ གང་ཟག་ཅིག་གི་འགྲེལ་བཤད་ལུ་ཡུ་ཨར་ཨའི་" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "ལས་ཚབ་ཡིག་རྒྱུན་" #: ../mimedir/mimedir-vcard.c:471 msgid "A person, acting for the person described in this card (deprecated string representation)" msgstr "ཤོག་བྱང་ (ངོས་ལེན་མེད་པའི་ཡིག་རྒྱུན་གྱི་ལས་ཚབ་) འདི་ནང་འགྲེལ་བཤད་བརྐྱབ་ཡོད་པའི་གང་ཟག་གི་དོན་ལུ་ ལས་ཚབ་འབད་མི་གང་ཟག་ཅིག་" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "ཚོགས་སྡེའི་ཐོ་ཡིག་" #: ../mimedir/mimedir-vcard.c:477 msgid "List of all organization this person belongs to. This is a GList *, where the elements are gchar *'s" msgstr "གང་ཟག་འདི་གྲངས་ལུ་གཏོགས་མི་ཚོགས་སྡེའི་ཐོ་ཡིག། ཆ་ཤས་ཚུ་ཆ་མཉམ་ gchar *'s ཨིན་པའི་ GList * ཅིག་ཨིན་" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "ཚོགས་སྡེ་" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "གང་ཟག་འདི་གི་ཚོགས་སྡེ་དང་པ་" #: ../mimedir/mimedir-vcard.c:488 #: ../mimedir/mimedir-vcomponent.c:266 msgid "Category list" msgstr "དབྱེ་རིམ་ཐོ་ཡིག་" #: ../mimedir/mimedir-vcard.c:489 msgid "List of all categories of this person. This is a GList *, where the elements are gchar *'s" msgstr "གང་ཟག་འདི་གི་དབྱེ་རིམ་ཚུ་གི་ཐོ་ཡིག། ཆ་ཤས་ཚུ་ gchar *'s ཨིན་པའི་ GList *ཅིག་ཨིན་" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "དབྱེ་རིམ་ཚུ་" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "གང་ཟག་འདི་གི་དབྱེ་རིམ་ཚུ་གི་ ཡིག་རྒྱུན་ཁྱད་ཚབ་" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "དྲན་འཛིན་" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "ཁ་སྐོང་བརྡ་བཀོད་ཚུ་" #: ../mimedir/mimedir-vcard.c:506 msgid "The product identifier of the vCard. In case of newly generated objects, this is LibMIMEDir's product identifier" msgstr "vCard གི་ཐོན་སྐྱེད་ངོས་འཛིན་འབད་མི། བཟོ་བཏོན་གསརཔ་འབད་ཡོད་པའི་དངོས་པོ་ཚུ་གི་གནད་དོན་ལུ་འབད་བ་ཅིན་ འདི་ LibMIMEDir's གི་ཐོན་སྐྱེད་ངོས་འཛིན་འབད་མི་ཅིག་ཨིན། " #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "བསྐྱར་སྦྱོང་" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "ཤོག་བྱང་གི་བསྐྱར་སྦྱོང་" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "ཡིག་རྒྱུན་དབྱེ་སེལ་འབད་" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "ཤོག་བྱང་དེ་གི་དབྱེ་སེལ་རིམ་པ་ངེས་འཛིན་འབད་མིའི་ཡིག་རྒྱུན་" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "སྒྲ་སྐད་" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "སྒྲ་སྐད་ཡིག་སྣོད་ཅིག་ཁྱད་ཚབ་འབད་ བཱའིཊི་རྒྱུན་རིམ་ཅིག་ལུ་དཔག་བྱེད་" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "ཡུ་ཨར་ཨའི་སྒྲ་སྐད་" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "སྒྲ་སྐད་ཡིག་སྣོད་ཅིག་ལུ་ཡུ་ཨར་ཨའི་" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "ངོས་འཛིན་མཐུན་མོང་མ་ཡིན་པ་" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "ཤོག་བྱང་འདི་གི་དོན་ལུ་ མཐུན་མོང་མ་ཡིན་པའི་ངོས་འཛིན་པ་" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "ཡུ་ཨར་ཨེལ་" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "ཐོན་ཁུངས་འདི་གི་དོན་ལུ་ ཡུ་ཨར་ཨེལ་ཐབས་གཞན་" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "དབྱེ་བཟོ་" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "ཤོག་བྱང་འདི་གི་སྲུང་སྐྱོབ་དབྱེ་བཟོ་" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "མི་མང་ལྡེ་མིག་གི་ཐོ་ཡིག་" #: ../mimedir/mimedir-vcard.c:554 msgid "List of this person's public keys. This is a GList *, where the elements are MIMEDirVCardKeys" msgstr "གང་ཟག་འདི་གི་མི་མང་ལྡེ་མིག་གི་ཐོ་ཡིག། ཆ་ཤས་ཚུ་ MIMEDirVCardKeys ཨིན་པའི་ GList * ཅིག་ཨིན།" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "མི་མང་ལྡེ་མིག་" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "གང་ཟག་འདི་གི་མགོའི་མི་མང་ལྡེ་མིག་" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "ལྡེ་མིག་དབྱེ་བ་" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "མི་མང་ལྡེ་མིག་དང་པའི་དབྱེ་བ་" #: ../mimedir/mimedir-vcard.c:1474 #: ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 #: ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "འཛོལ་བ་ལྷག་པའི་ཤོག་བྱང་ཡིག་སྣོད་%s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "འཛོལ་བ་འབྲི་བའི་ཤོག་བྱང་ཡིག་སྣོད་%s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "མིང་: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "མིང་\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " སྔོན་ཚིག: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " བྱིན་ཡོདཔ: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " ཁ་སྐོང་: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " རིགས་ཚན: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " རྗེས་ཚིག: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "སྐྱེས་ཚེས: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "ཁ་བྱང་ཁ་ཡིག(%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "ཁ་བྱང་ (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " འགྲེམ་དང་འབྲེལ་བའི་སྒྲོམ: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " རྒྱ་སྐྱེད་ཅན: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " ཁྲོམ་ལམ: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " གྲོང་སྡེ: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " ལུང་ཕྱོགས: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " འགྲེམ་ཨང་: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " རྒྱལ་ཁབ: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "བརྒྱུད་འཕྲིན:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "བརྒྱུད་འཕྲིན: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3556 msgid "E-mail:\n" msgstr "གློག་འཕྲིན:\n" #: ../mimedir/mimedir-vcard.c:3580 #, c-format msgid "E-mail: %s (%s)\n" msgstr "གློག་འཕྲིན: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3602 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "ཆུ་ཚོད་གླིང་: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3611 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "གནས་ཁོངས: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3620 #, c-format msgid "Organization: %s\n" msgstr "ཚོགས་སྡེ: %s\n" #: ../mimedir/mimedir-vcard.c:3625 #, c-format msgid "Job title: %s\n" msgstr "ལས་གཡོག་གི་མགོ་མིང་: %s\n" #: ../mimedir/mimedir-vcard.c:3628 #, c-format msgid "Business role: %s\n" msgstr "ཚོང་འབྲེལ་གྱི་ལས་འགན: %s\n" #: ../mimedir/mimedir-vcard.c:3638 #, c-format msgid "Categories: %s\n" msgstr "དབྱེ་རིམ་ཚུ: %s\n" #: ../mimedir/mimedir-vcard.c:3643 #, c-format msgid "Comment: %s\n" msgstr "བསམ་བཀོད: %s\n" #: ../mimedir/mimedir-vcard.c:3646 #, c-format msgid "Homepage: %s\n" msgstr "ཁྱིམ་གྱི་ཤོག་ལེབ: %s\n" #: ../mimedir/mimedir-vcard.c:3649 #, c-format msgid "Unique string: %s\n" msgstr "མཐུན་མོང་མ་ཡིན་པའི་རྒྱུན: %s\n" #: ../mimedir/mimedir-vcard.c:3659 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3662 msgid "PGP" msgstr "པི་ཇི་པི་" #: ../mimedir/mimedir-vcard.c:3665 msgid "yes" msgstr "ཨིན་" #: ../mimedir/mimedir-vcard.c:3669 #, c-format msgid "Public Key: %s\n" msgstr "མི་མང་ལྡེ་མིག: %s\n" #: ../mimedir/mimedir-vcomponent.c:267 msgid "List of all categories of this component. This is a GList *, where the elements are gchar *'s" msgstr "ཆ་ཤས་འདི་གི་དབྱེ་རིམ་ཚུ་གི་ཐོ་ཡིག། ཆ་ཤས་ཚུ་ gchar *'s ཨིན་པའི་ GList * ཅིག་ཨིན་" #: ../mimedir/mimedir-vcomponent.c:271 msgid "Comment list" msgstr "བསམ་བཀོད་ཐོ་ཡིག་" #: ../mimedir/mimedir-vcomponent.c:272 msgid "List of all additional comments for this component. This is a GList *, where the elements are gchar *'s" msgstr "ཆ་ཤས་འདི་གི་དོན་ལུ་ ཁ་སྐོང་བརྐྱབ་ཡོད་པའི་བསམ་བཀོད་ཚུ་གི་ཐོ་ཡིག། ཆ་ཤས་ཚུ་ gchar *'s ཨིན་པའི་ GList * ཅིག་ཨིན་" #: ../mimedir/mimedir-vcomponent.c:276 msgid "Description" msgstr "འགྲེལ་བཤད་" #: ../mimedir/mimedir-vcomponent.c:277 msgid "Full description of this component" msgstr "ཆ་ཤས་འདི་གི་འགྲེལ་བཤད་ཆ་ཚང་" #: ../mimedir/mimedir-vcomponent.c:282 msgid "Percent complete" msgstr "བརྒྱ་ཆ་མཇུག་བསྡུ་" #: ../mimedir/mimedir-vcomponent.c:283 msgid "Percentage of this task's completion" msgstr "ལས་ཀ་འདི་གི་མཇུག་བསྡུའི་བརྒྱ་ཆ་" #: ../mimedir/mimedir-vcomponent.c:290 msgid "Priority" msgstr "གཙོ་བོ་རིམ་" #: ../mimedir/mimedir-vcomponent.c:291 msgid "This task's priority" msgstr "ལས་ཀ་འདི་གི་གཙོ་རིམ་" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:296 msgid "Resource list" msgstr "ཐོན་ཁུངས་ཀྱི་ཐོ་ཡིག་" #: ../mimedir/mimedir-vcomponent.c:297 msgid "List of the resources assigned to this component" msgstr "ཆ་ཤས་འདི་ལུ་འགན་སྤྲོད་ཡོད་པའི་ཐོན་ཁུངས་ཀྱི་ཐོ་ཡིག་" #: ../mimedir/mimedir-vcomponent.c:301 msgid "Status" msgstr "གནས་ཚད་" #: ../mimedir/mimedir-vcomponent.c:302 msgid "This task's completion status" msgstr "ལས་ཀ་འདི་གི་གནས་ཚད་མཇུག་བསྡུ་" #: ../mimedir/mimedir-vcomponent.c:309 msgid "Summary" msgstr "བཅུད་དོན་" #: ../mimedir/mimedir-vcomponent.c:310 msgid "Component's short description" msgstr "ཆ་ཤས་ཀྱི་འགྲེལ་བཤད་ཐུང་ཀུ" #: ../mimedir/mimedir-vcomponent.c:316 msgid "Date/time completed" msgstr "ཚེས་གྲངས་/ཆུ་ཚོད་མཇུག་བསྡུ་" #: ../mimedir/mimedir-vcomponent.c:317 msgid "Date/time that this task was completed" msgstr "ལས་ཀ་འདི་མཇུག་བསྡུ་ཡོད་པའི་ཚེས་གྲངས་/ཆུ་ཚོད་" #: ../mimedir/mimedir-vcomponent.c:322 msgid "Date/time end" msgstr "ཚེས་གྲངས/ཆུ་ཚོད་ཀྱི་མཇུག་" #: ../mimedir/mimedir-vcomponent.c:323 msgid "End date/time of this component" msgstr "ཆ་ཤས་འདི་གི་ ཚེས་གྲངས་མཇུག་/ཆུ་ཚོད་" #: ../mimedir/mimedir-vcomponent.c:328 msgid "Due" msgstr "རན་པ་" #: ../mimedir/mimedir-vcomponent.c:329 msgid "This task's due date" msgstr "ལས་ཀ་འདི་གི་རན་པའི་ཚེས་གྲངས་" #: ../mimedir/mimedir-vcomponent.c:334 msgid "Date/time start" msgstr "ཚེས་གྲངས་/ཆུ་ཚོད་འགོ་བཙུག་" #: ../mimedir/mimedir-vcomponent.c:335 msgid "Start date/time of this component" msgstr "ཆ་ཤས་འདི་གི་ཚེས་གྲངས་/ཆུ་ཚོད་འགོ་བཙུག་" #: ../mimedir/mimedir-vcomponent.c:340 msgid "Duration" msgstr "དུས་ཡུན་" #: ../mimedir/mimedir-vcomponent.c:341 msgid "This date's duration" msgstr "ཚེས་གྲངས་འདི་གི་དུས་ཡུན་" #: ../mimedir/mimedir-vcomponent.c:346 msgid "Free/busy" msgstr "བར་སྟོང་/ཁོམ་མེད་" #: ../mimedir/mimedir-vcomponent.c:347 msgid "GList of free/busy objects" msgstr "བར་སྟོང་/ཁོམ་མེད་དངོས་པོ་ཚུ་གི་ GList " #: ../mimedir/mimedir-vcomponent.c:353 msgid "This component's time zone identifier" msgstr "ཆ་ཤས་འདི་གི་ཆུ་ཚོད་གླིང་སྡེའི་ངོས་འཛིན་པ་" #: ../mimedir/mimedir-vcomponent.c:358 msgid "Time zone name list" msgstr "ཆུ་ཚོད་གླིང་སྡེའི་ཐོ་ཡིག་" #: ../mimedir/mimedir-vcomponent.c:359 msgid "GList of time zone names" msgstr "ཆུ་ཚོད་གླིང་སྡེའི་མིང་ཚུ་གི་ GList " #: ../mimedir/mimedir-vcomponent.c:363 #: ../mimedir/mimedir-vcomponent.c:364 msgid "Time zone offset from" msgstr "ཆུ་ཚོད་གླིང་སྡེའི་པར་ལེན་ལས་" #: ../mimedir/mimedir-vcomponent.c:371 #: ../mimedir/mimedir-vcomponent.c:372 msgid "Time zone offset to" msgstr "ཆུ་ཚོད་གླིང་སྡེའི་པར་ལེན་ལུ་" #: ../mimedir/mimedir-vcomponent.c:379 msgid "Time zone URL" msgstr "ཆུ་ཚོད་གླིང་སྡེའི་ཡུ་ཨར་ཨེལ་" #: ../mimedir/mimedir-vcomponent.c:380 msgid "URL to a time zone description" msgstr "ཆུ་ཚོད་འགྲེལ་བཤད་ཅིག་ལུ་ཡུ་ཨར་ཨེལ་" #: ../mimedir/mimedir-vcomponent.c:386 msgid "Contact" msgstr "འབྲེལ་ས་" #: ../mimedir/mimedir-vcomponent.c:387 msgid "Contact information" msgstr "འབྲེལ་སའི་བརྡ་དོན་" #: ../mimedir/mimedir-vcomponent.c:393 msgid "Unique identifier" msgstr "མཐུན་མོང་མ་ཡིན་པའི་ངོས་འཛིན་པ་" #: ../mimedir/mimedir-vcomponent.c:394 msgid "A unique identifier for this component" msgstr "ཆ་ཤས་འདི་གི་དོན་ལུ་ མཐུན་མོང་མ་ཡིན་པའི་ངོས་འཛིན་པ་" #: ../mimedir/mimedir-vcomponent.c:400 msgid "Recurrence object" msgstr "སླར་འབྱུང་བའི་དངོས་པོ་" #: ../mimedir/mimedir-vcomponent.c:401 msgid "An object representing the RRULE tag" msgstr "RRULEངོ་རྟགས་ཁྱད་ཚབ་འབད་བའི་དངོས་པོ་" #: ../mimedir/mimedir-vcomponent.c:407 #: ../mimedir/mimedir-vcomponent.c:408 msgid "Action" msgstr "བྱ་བ་" #: ../mimedir/mimedir-vcomponent.c:413 #: ../mimedir/mimedir-vcomponent.c:414 msgid "Repeat" msgstr "ཡང་བསྐྱར་" #: ../mimedir/mimedir-vcomponent.c:419 #: ../mimedir/mimedir-vcomponent.c:420 msgid "Trigger" msgstr "ཐར་བ་" #: ../mimedir/mimedir-vcomponent.c:425 msgid "Trigger date/time" msgstr "ཐར་བའི་ཚེས་གྲངས་/དུས་" #: ../mimedir/mimedir-vcomponent.c:426 msgid "Date/time of the trigger" msgstr "ཐར་བའི་ཚེས་གྲངས་/དུས་" #: ../mimedir/mimedir-vcomponent.c:431 msgid "Trigger end" msgstr "ཐར་བའི་མཇུག་" #: ../mimedir/mimedir-vcomponent.c:432 msgid "Whether the trigger is set at the end of the time interval" msgstr "དུས་ཡུན་བར་མཚམས་ཀྱི་མཇུག་ལུ་ ཐར་བ་འདི་གཞི་སྒྲིག་འབད་ཡོདཔ་ཨིན་ན་མེན་ན་" #: ../mimedir/mimedir-vcomponent.c:438 msgid "Created" msgstr "གསར་བསྐྲུན་འབད་ཡོདཔ་" #: ../mimedir/mimedir-vcomponent.c:439 msgid "Date/time of the creation" msgstr "གསར་བསྐྲུན་འབད་བའི་ཚེས་གྲངས་/ཆུ་ཚོད་" #: ../mimedir/mimedir-vcomponent.c:444 msgid "Date/time stamp" msgstr "ཚེས་གྲངས་/དུས་བཀོད་" #: ../mimedir/mimedir-vcomponent.c:445 msgid "Date/time of the creation of the iCalendar object" msgstr " iCalendarདངོས་པོ་གསར་བསྐྲུན་གྱི་ ཚེས་གྲངས་/ཆུ་ཚོད་" #: ../mimedir/mimedir-vcomponent.c:450 msgid "Last modified" msgstr "མཇུག་ལུ་ལེགས་བཅོས་འབད་ཡོདཔ་" #: ../mimedir/mimedir-vcomponent.c:451 msgid "Date/time of the last modification" msgstr "ལེགས་བཅོས་མཇུག་གི་ཚེས་གྲངས་/དུས་" #: ../mimedir/mimedir-vcomponent.c:456 msgid "Sequence" msgstr "འབྱུང་རིམ་" #: ../mimedir/mimedir-vcomponent.c:457 msgid "Sequence number" msgstr "འབྱུང་རིམ་གྱི་ཨང་གྲངས་" libmimedir-0.4.2/po/es.po0000644000175000017500000012540210603540671012146 00000000000000# translation of libmimedir.HEAD.es.po to Spanish # Spanish translation for libmimedir. # Copyright © 2003 Free Software Foundation, Inc. # This file is distributed under the same license as the libmimedir package. # Pablo Gonzalo del Campo , 2003. # Francisco Javier F. Serrador , 2005. # msgid "" msgstr "" "Project-Id-Version: libmimedir\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-11-11 20:49+0100\n" "PO-Revision-Date: 2005-11-11 20:50+0100\n" "Last-Translator: Francisco Javier F. Serrador \n" "Language-Team: Spanish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.10.2\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Uso: %s ARCHIVOICAL\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "cada segundo" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "cada minuto" #: ../bin/ical-dump.c:61 msgid "hourly" msgstr "cada horaPaís" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "diariamente" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "semanalmente" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "mensualmente" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "anualmente" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 msgid "unknown" msgstr "desconocido" #: ../bin/ical-dump.c:81 msgid "second" msgstr "segundo" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "minuto" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "hora" #: ../bin/ical-dump.c:87 msgid "day" msgstr "día" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "día del mes" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "día del año" #: ../bin/ical-dump.c:93 msgid "week number" msgstr "número de semana" #: ../bin/ical-dump.c:95 msgid "month" msgstr "mes" #: ../bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr " Repetición:\n" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr " Frecuencia: %s\n" #: ../bin/ical-dump.c:123 #, c-format msgid " Until: %s\n" msgstr " Hasta: %s\n" #: ../bin/ical-dump.c:128 #, c-format msgid " Count: %d\n" msgstr " Contador: %d\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr " Intervalo: %d\n" #: ../bin/ical-dump.c:134 #, c-format msgid " Unit: %s\n" msgstr " Unidad: %s\n" #: ../bin/ical-dump.c:137 #, c-format msgid " Units: %s\n" msgstr " Unidades: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Acontecimiento:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Elemento pendiente:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Componente desconocido:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Resumen: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Categorías: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "alta" #: ../bin/ical-dump.c:190 msgid "low" msgstr "baja" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "media" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Prioridad: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Fecha de inicio: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Fecha de finalización: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Fecha de vencimiento: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " ID único: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Secuencia: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " Evento de día completo\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:84 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: número de argumentos inválido\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Uso: %s ARCHIVOVCARD\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: ocurrió un error al leer el archivo de tarjeta: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: ocurrió un error al escribir el archivo de tarjeta: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Nombre" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "El nombre del atributo" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Grupo" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "El grupo del atributo" #: ../mimedir/mimedir-attribute.c:896 msgid "missing parameter name" msgstr "nombre del parámetro inexistente" #: ../mimedir/mimedir-attribute.c:921 msgid "missing closing quotation mark" msgstr "cierre de marca de citación inexistente" #: ../mimedir/mimedir-attribute.c:946 msgid "wrong parameter syntax" msgstr "sintaxis del parámetro errónea" #: ../mimedir/mimedir-attribute.c:956 msgid "no parameter value" msgstr "valor del parámetro inexistente" #: ../mimedir/mimedir-attribute.c:1049 msgid "missing attribute name/group" msgstr "atributo nombre/grupo inexistente" #: ../mimedir/mimedir-attribute.c:1065 msgid "no attribute name after group" msgstr "no hay un nombre de atributo después del grupo" #: ../mimedir/mimedir-attribute.c:1081 msgid "missing value delimiter" msgstr "delimitador de valor inexistente" #: ../mimedir/mimedir-attribute.c:1097 msgid "invalid character" msgstr "caracter inválido" #: ../mimedir/mimedir-attribute.c:2468 ../mimedir/mimedir-attribute.c:2477 msgid "illegal character" msgstr "caracter ilegal" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "error de sintaxis (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "caracter ilegal 0x%02x para el tipo «%s»" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "formato inválido para el tipo «%s» en el atributo %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "" "el atributo %s no ha podido ser decodificado, dado que su codificación es " "desconocida" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "valor inválido en el atributo %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "" "el parámetro «%s» no debe ser utilizado más de una vez en el atributo %s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "secuencia Base64 inválida" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "secuencia de «quoted-printable» inválida" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "la lista de atributos de %s es demasiado corta" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "la lista de atributos de %s es demasiado larga" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:352 msgid "Time zone identifier" msgstr "Identificador de zona horaria" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Cadena de identificación de la zona horaria" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Tipo libre/ocupado" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Define si este objeto significa un período libre o ocupado" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Nombre del perfil" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "El nombre (tipo) del perfil" #: ../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "Conjunto de caracteres" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "Conjunto de caracteres usado para codificar este perfil" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "El atributo %s está definido dos veces" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "fin inesperado del perfil" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "el atributo obligatorio %s es inexistente" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "Atributo «END» sin coincidencia" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "perfil incorrecto %s; se esperaba %s" #: ../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "Frecuencia" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "Tipo de frecuencia de esta regla de recurrencia" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "Fecha de la última repetición" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "La fecha de la última repetición de un evento" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "Número de repeticiones" #: ../mimedir/mimedir-recurrence.c:236 msgid "The number of recurrences of an event" msgstr "El número de repeticiones de un evento" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "Intervalo de repetición" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "El intervalo de repeticiones de un acontecimiento" #: ../mimedir/mimedir-recurrence.c:251 msgid "Recurrence unit" msgstr "Unidad de repetición" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "Por cuántas unidades debe repetirse una repetición" #: ../mimedir/mimedir-recurrence.c:259 msgid "Recurrence units" msgstr "Unidades de repetición" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "Lista de unidades por las cuales debe repetirse una repetición" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Recordatorio de su cita:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Método" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "El método de vCalendar" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Identificador del producto" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "El identificador del producto de vCalendar. En caso de objetos generados " "recientemente, esto es el identificador de producto LibMIMEDir" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2109 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "El perfil contiene el atributo personalizado no soportado %s.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2112 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "El perfil contiene el atributo desconocido %s.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Ocurrió un error al leer el archivo calendario %s: %s" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Título" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "" "Una cadena de una línea con la información más importante acerca de la " "dirección" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Formato de dirección libre" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Una cadena de dirección con formato libre" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Buzón de oficina de correos" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "La dirección del buzón de correos" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Dirección extendida" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Cadena de dirección extendida" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Calle" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Dirección de la calle" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Localidad" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Localidad (ej.: ciudad, municipio, etc.)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Región" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Región (ej.: estado)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Código postal" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Código postal (cadena de formato libre)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "País" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Nacional" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Define si esta es una dirección nacional" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Internacional" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Define si esta es una dirección internacional" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Correo" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Define si es una dirección de correo" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Paquete" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Define si puede recibir paquetes en esta dirección" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-email.c:163 #: ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Domicilio" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Define si es una dirección de domicilio particular" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-email.c:169 #: ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Trabajo" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Define si es una dirección del trabajo" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:157 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Preferida" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Define si es ésta es la dirección preferida" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "El atributo %s contiene demasiados elementos.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s.\n" msgstr "El campo de dirección es de un tipo desconocido %s.\n" #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:538 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "preferida" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "nacional" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "internacional" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "correo" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "paquete" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-email.c:560 #: ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "domicilio" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-email.c:566 #: ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "trabajo" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:142 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Dirección" #: ../mimedir/mimedir-vcard-email.c:143 msgid "The e-mail address" msgstr "La dirección de correo-e" #: ../mimedir/mimedir-vcard-email.c:149 msgid "Type" msgstr "Tipo" #: ../mimedir/mimedir-vcard-email.c:150 msgid "Type of this e-mail address" msgstr "El tipo de dirección de correo-e" #: ../mimedir/mimedir-vcard-email.c:158 msgid "Whether this is the preferred e-mail address" msgstr "Define si ésta es la dirección de correo-e preferida" #: ../mimedir/mimedir-vcard-email.c:164 msgid "Whether is a home e-mail address" msgstr "define si es una dirección de correo-e de domicilio particular" #: ../mimedir/mimedir-vcard-email.c:170 msgid "Whether this is an e-mail address at work" msgstr "Define si es una dirección de correo-e del trabajo" #: ../mimedir/mimedir-vcard-email.c:442 #, c-format msgid "The email field is of unknown type %s.\n" msgstr "El campo de correo-e es de un tipo desconocido %s.\n" #: ../mimedir/mimedir-vcard-email.c:548 msgid "Internet" msgstr "Internet" #: ../mimedir/mimedir-vcard-email.c:553 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Número" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "El número de teléfono (cadena de formato libre)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Define si éste es un número de teléfono particular" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Define si éste es un número de teléfono del trabajo" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Voz" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Define si éste es un número de voz" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Fax" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Define si éste es un número de fax" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Define si éste es un número de un sistema de publicación de noticias" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Módem" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Define si éste un número de módem" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Buscapersonas" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Define si éste es un número de buscapersonas" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Vídeo" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Define si éste es un número de vídeo teléfono" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Móvil" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Define si este es un número de teléfono móvil (celular)" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Coche" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Define si éste es un número de teléfono de automóvil" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "RDSI" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Define si éste es un número de RDSI" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Define si éste es un número de PCS" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Define si éste es el número preferido" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Mensaje" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Define si este número tiene un contestador automático" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s.\n" msgstr "El campo de teléfono es de un tipo desconocido %s.\n" #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "voz" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "fax" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "módem" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "buscapersonas" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "vídeo" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "mensaje de voz" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "teléfono móvil" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "teléfono de coche" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "El nombre completo de esta persona" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Apellidos" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "Los apellidos de esta persona" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Nombre" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "El nombre de esta persona" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Segundo nombre" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "El nombre medio o las iniciales medias de esta persona" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Prefijo" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "El prefijo del nombre (ej.: un prefijo honorífico) de esta persona" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Sufijo" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "El sufijo del nombre de esta persona" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Lista de apodos" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" "La lista de todos los apodos. Esta es una GList *, donde los elementos son " "del tipo const gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Apodo" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "El primer apodo de esta persona" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Fotografía" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "" "Puntero hacia un flujo de bytes que representan un imagen de la persona" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "URI de la fotografía" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI hacia una imagen de esta persona" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Cumpleaños" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "La fecha del cumpleaños" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Lista de direcciones" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" "Lista de todas las direcciones, Esta es una GList *, donde los elementos son " "del tipo MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "Las direcciones preferidas" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Lista de números de teléfonos" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "Lista de todos los números de teléfono. Esta es una GList * donde los " "elementos son del tipo MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Número de teléfono" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "El número de teléfono preferido" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Lista de direcciones de correo-e" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Lista de todas las direcciones de correo-e. Esta es una GList *, donde los " "elementos son del tipo MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "Dirección de correo-e" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "La dirección de correo-e preferida" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Programa de correo-e" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "El programa de correo electrónico utilizado por esta persona" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Zona horaria" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "La zona horaria del lugar adonde vive esta persona" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Cadena de zona horaria" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "" "La zona horaria del lugar adonde vive esta persona (representación de cadena " "obsoleta)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Latitud" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Latitud de la residencia de esta persona" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Longitud" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Longitud de la residencia de esta persona" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Cargo" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "El puesto laboral de esta persona" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Rol" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "El rol laboral de esta persona" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Logotipo" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" "Puntero hacia un flujo de bytes que representan el logotipo de la compañía " "de la persona" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "Dirección del logotipo" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI hacia el logotipo de la compañía de esta persona" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Representante" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "Una persona actuando en nombre de la persona descrita en esta tarjeta" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "Dirección del representante" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "" "URI hacia la descripción de una persona actuando en nombre de la persona " "descrita en esta tarjeta" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Cadena de representante" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "Una persona actuando en nombre de la persona descrita en esa tarjeta " "(representación de cadena obsoleta)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Lista de organizaciones" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Lista de todas las organizaciones a las que pertenece esta persona. Esta es " "una lista GList *, donde los elementos son gchar *" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Organización" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "La primera organización de esta persona" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:266 msgid "Category list" msgstr "Lista de categorías" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "Lista de todas las categorías de esta persona. Esta es una GList *, donde " "los elementos son del tipo gchar *" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Categorías" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Representación de cadena de las categorías de esta persona" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Nota" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Comentarios adicionales" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "El identificador de producto de la vCard. En caso de los objetos generados " "recientemente éste es el identificador de producto LibMIMEDir" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Revisión" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Revisión de la tarjeta" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Cadena de orden" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "Cadena que define el criterio de ordenamiento de esta tarjeta" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Sonido" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Puntero hacia un flujo de bytes que representan un archivo de sonido" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "Dirección del sonido" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI hacia un archivo de sonido" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Identificador único" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Un identificador único para esta tarjeta" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Una URL alternativa para este recurso" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Clasificación" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "La clasificación de seguridad para esta tarjeta" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Lista de claves públicas" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Lista de las claves públicas de esta persona. Esta es una GList * donde los " "elementos son MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Clave pública" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "La primera clave pública de esta persona" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Tipo de clave" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "El tipo de la primera clave pública" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Ocurrió un error al leer el archivo de tarjeta %s: %s" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Ocurrió un error al escribir el archivo de tarjeta %s: %s" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Nombre: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Nombre\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Prefijo: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Primer nombre: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Adicional: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Apellido: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Sufijo: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Fecha de nacimiento: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Etiqueta de dirección (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Dirección (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Buzón postal: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Extendida: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Calle: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Ciudad: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Región: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Código postal: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " País: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Teléfono:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Teléfono: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3556 msgid "E-mail:\n" msgstr "Correo-e:\n" #: ../mimedir/mimedir-vcard.c:3580 #, c-format msgid "E-mail: %s (%s)\n" msgstr "Correo-e: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3602 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Zona horaria: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3611 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Localidad: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3620 #, c-format msgid "Organization: %s\n" msgstr "Organización: %s\n" #: ../mimedir/mimedir-vcard.c:3625 #, c-format msgid "Job title: %s\n" msgstr "Puesto laboral: %s\n" #: ../mimedir/mimedir-vcard.c:3628 #, c-format msgid "Business role: %s\n" msgstr "Rol laboral: %s\n" #: ../mimedir/mimedir-vcard.c:3638 #, c-format msgid "Categories: %s\n" msgstr "Categorías: %s\n" #: ../mimedir/mimedir-vcard.c:3643 #, c-format msgid "Comment: %s\n" msgstr "Comentario: %s\n" #: ../mimedir/mimedir-vcard.c:3646 #, c-format msgid "Homepage: %s\n" msgstr "Página personal: %s\n" #: ../mimedir/mimedir-vcard.c:3649 #, c-format msgid "Unique string: %s\n" msgstr "Cadena única: %s\n" #: ../mimedir/mimedir-vcard.c:3659 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3662 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3665 msgid "yes" msgstr "sí" #: ../mimedir/mimedir-vcard.c:3669 #, c-format msgid "Public Key: %s\n" msgstr "Clave pública: %s\n" #: ../mimedir/mimedir-vcomponent.c:267 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Lista de todas las categorías de este componente. Esta es una GList * donde " "los elementos son del tipo gchar *" #: ../mimedir/mimedir-vcomponent.c:271 msgid "Comment list" msgstr "Lista de comentarios" #: ../mimedir/mimedir-vcomponent.c:272 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Lista de todos los comentarios adicionales para este componente. Esta es una " "GList * donde los elementos son del tipo gchar *" #: ../mimedir/mimedir-vcomponent.c:276 msgid "Description" msgstr "Descripción" #: ../mimedir/mimedir-vcomponent.c:277 msgid "Full description of this component" msgstr "Descripción completa de este componente" #: ../mimedir/mimedir-vcomponent.c:282 msgid "Percent complete" msgstr "Porcentaje completado" #: ../mimedir/mimedir-vcomponent.c:283 msgid "Percentage of this task's completion" msgstr "Porcentaje de terminación de esta tarea" #: ../mimedir/mimedir-vcomponent.c:290 msgid "Priority" msgstr "Prioridad" #: ../mimedir/mimedir-vcomponent.c:291 msgid "This task's priority" msgstr "La prioridad de esta tarea" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:296 msgid "Resource list" msgstr "Lista de recursos" #: ../mimedir/mimedir-vcomponent.c:297 msgid "List of the resources assigned to this component" msgstr "Lista de los recursos asignados a este componente" #: ../mimedir/mimedir-vcomponent.c:301 msgid "Status" msgstr "Estado" #: ../mimedir/mimedir-vcomponent.c:302 msgid "This task's completion status" msgstr "El estado de terminación de esta tarea" #: ../mimedir/mimedir-vcomponent.c:309 msgid "Summary" msgstr "Resumen" #: ../mimedir/mimedir-vcomponent.c:310 msgid "Component's short description" msgstr "Descripción corta del componente" #: ../mimedir/mimedir-vcomponent.c:316 msgid "Date/time completed" msgstr "Fecha/hora de terminación" #: ../mimedir/mimedir-vcomponent.c:317 msgid "Date/time that this task was completed" msgstr "Fecha/hora en la que esta tarea fue terminada" #: ../mimedir/mimedir-vcomponent.c:322 msgid "Date/time end" msgstr "Fecha/hora de finalización" #: ../mimedir/mimedir-vcomponent.c:323 msgid "End date/time of this component" msgstr "Fecha/hora final de este componente" #: ../mimedir/mimedir-vcomponent.c:328 msgid "Due" msgstr "Vencimiento" #: ../mimedir/mimedir-vcomponent.c:329 msgid "This task's due date" msgstr "La fecha de vencimiento de esta tarea" #: ../mimedir/mimedir-vcomponent.c:334 msgid "Date/time start" msgstr "Fecha/hora de inicio" #: ../mimedir/mimedir-vcomponent.c:335 msgid "Start date/time of this component" msgstr "Fecha/hora de inicio de este componente" #: ../mimedir/mimedir-vcomponent.c:340 msgid "Duration" msgstr "Duración" #: ../mimedir/mimedir-vcomponent.c:341 msgid "This date's duration" msgstr "La duración de esta fecha" #: ../mimedir/mimedir-vcomponent.c:346 msgid "Free/busy" msgstr "Libre/ocupado" #: ../mimedir/mimedir-vcomponent.c:347 msgid "GList of free/busy objects" msgstr "GList de objetos libre/ocupado" #: ../mimedir/mimedir-vcomponent.c:353 msgid "This component's time zone identifier" msgstr "El identificador de la zona horario de este componente" #: ../mimedir/mimedir-vcomponent.c:358 msgid "Time zone name list" msgstr "Lista de nombres de zonas horarias" #: ../mimedir/mimedir-vcomponent.c:359 msgid "GList of time zone names" msgstr "GList de nombres de zonas horarias" #: ../mimedir/mimedir-vcomponent.c:363 ../mimedir/mimedir-vcomponent.c:364 msgid "Time zone offset from" msgstr "Desplazamiento de la zona horaria desde" #: ../mimedir/mimedir-vcomponent.c:371 ../mimedir/mimedir-vcomponent.c:372 msgid "Time zone offset to" msgstr "Desplazamiento de la zona horaria hacia" #: ../mimedir/mimedir-vcomponent.c:379 msgid "Time zone URL" msgstr "URL de la zona horaria" #: ../mimedir/mimedir-vcomponent.c:380 msgid "URL to a time zone description" msgstr "URL hacia la descripción de la zona horaria" #: ../mimedir/mimedir-vcomponent.c:386 msgid "Contact" msgstr "Contacto" #: ../mimedir/mimedir-vcomponent.c:387 msgid "Contact information" msgstr "Información del contacto" #: ../mimedir/mimedir-vcomponent.c:393 msgid "Unique identifier" msgstr "Identificador único" #: ../mimedir/mimedir-vcomponent.c:394 msgid "A unique identifier for this component" msgstr "Un identificador único para este componente" #: ../mimedir/mimedir-vcomponent.c:400 msgid "Recurrence object" msgstr "Objeto recurrente" #: ../mimedir/mimedir-vcomponent.c:401 msgid "An object representing the RRULE tag" msgstr "Un objeto representando la etiquete RRULE" #: ../mimedir/mimedir-vcomponent.c:407 ../mimedir/mimedir-vcomponent.c:408 msgid "Action" msgstr "Acción" #: ../mimedir/mimedir-vcomponent.c:413 ../mimedir/mimedir-vcomponent.c:414 msgid "Repeat" msgstr "Repetir" #: ../mimedir/mimedir-vcomponent.c:419 ../mimedir/mimedir-vcomponent.c:420 msgid "Trigger" msgstr "Disparador" #: ../mimedir/mimedir-vcomponent.c:425 msgid "Trigger date/time" msgstr "Fecha/hora del disparador" #: ../mimedir/mimedir-vcomponent.c:426 msgid "Date/time of the trigger" msgstr "Fecha/hora del disparador" #: ../mimedir/mimedir-vcomponent.c:431 msgid "Trigger end" msgstr "Fin del disparador" #: ../mimedir/mimedir-vcomponent.c:432 msgid "Whether the trigger is set at the end of the time interval" msgstr "Define si el disparador está definido al final del intervalo de tiempo" #: ../mimedir/mimedir-vcomponent.c:438 msgid "Created" msgstr "Creado" #: ../mimedir/mimedir-vcomponent.c:439 msgid "Date/time of the creation" msgstr "Fecha/hora de creación" #: ../mimedir/mimedir-vcomponent.c:444 msgid "Date/time stamp" msgstr "Impresión de fecha/hora" #: ../mimedir/mimedir-vcomponent.c:445 msgid "Date/time of the creation of the iCalendar object" msgstr "Fecha/hora de creación del objeto iCalendar" #: ../mimedir/mimedir-vcomponent.c:450 msgid "Last modified" msgstr "Última modificación" #: ../mimedir/mimedir-vcomponent.c:451 msgid "Date/time of the last modification" msgstr "Fecha/hora de la última modificación" #: ../mimedir/mimedir-vcomponent.c:456 msgid "Sequence" msgstr "Secuencia" #: ../mimedir/mimedir-vcomponent.c:457 msgid "Sequence number" msgstr "Número de secuencia" libmimedir-0.4.2/po/en_GB.po0000644000175000017500000012100210603540671012501 00000000000000# English (British) translation. # Copyright (C) 2004 THE libmimedir's COPYRIGHT HOLDER # This file is distributed under the same license as the libmimedir package. # Gareth Owen , 2004. # msgid "" msgstr "" "Project-Id-Version: libmimedir\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-09-12 07:24+0100\n" "PO-Revision-Date: 2006-09-12 07:25-0000\n" "Last-Translator: David Lodge \n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Usage: %s ICALFILE\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "every second" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "every minute" #: ../bin/ical-dump.c:61 msgid "hourly" msgstr "hourly" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "daily" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "weekly" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "monthly" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "yearly" #: ../bin/ical-dump.c:71 #: ../bin/ical-dump.c:97 msgid "unknown" msgstr "unknown" #: ../bin/ical-dump.c:81 msgid "second" msgstr "second" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "minute" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "hour" #: ../bin/ical-dump.c:87 msgid "day" msgstr "day" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "day of month" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "day of year" #: ../bin/ical-dump.c:93 msgid "week number" msgstr "week number" #: ../bin/ical-dump.c:95 msgid "month" msgstr "month" #: ../bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr " Recurrence:\n" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr " Frequency: %s\n" #: ../bin/ical-dump.c:123 #, c-format msgid " Until: %s\n" msgstr " Until: %s\n" #: ../bin/ical-dump.c:128 #, c-format msgid " Count: %d\n" msgstr " Count: %d\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr " Interval: %d\n" #: ../bin/ical-dump.c:134 #, c-format msgid " Unit: %s\n" msgstr " Unit: %s\n" #: ../bin/ical-dump.c:137 #, c-format msgid " Units: %s\n" msgstr " Units: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Event:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Todo item:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Unknown component:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Summary: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Categories: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "high" #: ../bin/ical-dump.c:190 msgid "low" msgstr "low" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "medium" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Priority: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Start date: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " End date: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Due date: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " Unique ID: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Sequence: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " All day event\n" #: ../bin/ical-dump.c:261 #: ../bin/vcard-dump.c:84 #: ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: invalid number of arguments\n" #: ../bin/vcard-dump.c:43 #: ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Usage: %s VCARDFILE\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: error reading card file: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: error writing card file: %s\n" #: ../mimedir/mimedir-attribute.c:131 #: ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Name" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "The attribute's name" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Group" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "The attribute's group" #: ../mimedir/mimedir-attribute.c:933 msgid "missing parameter name" msgstr "missing parameter name" #: ../mimedir/mimedir-attribute.c:958 msgid "missing closing quotation mark" msgstr "missing closing quotation mark" #: ../mimedir/mimedir-attribute.c:983 msgid "wrong parameter syntax" msgstr "wrong parameter syntax" #: ../mimedir/mimedir-attribute.c:993 msgid "no parameter value" msgstr "no parameter value" #: ../mimedir/mimedir-attribute.c:1086 msgid "missing attribute name/group" msgstr "missing attribute name/group" #: ../mimedir/mimedir-attribute.c:1102 msgid "no attribute name after group" msgstr "no attribute name after group" #: ../mimedir/mimedir-attribute.c:1118 msgid "missing value delimiter" msgstr "missing value delimiter" #: ../mimedir/mimedir-attribute.c:1134 msgid "invalid character" msgstr "invalid character" #: ../mimedir/mimedir-attribute.c:2505 #: ../mimedir/mimedir-attribute.c:2514 msgid "illegal character" msgstr "illegal character" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "syntax error (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "illegal character 0x%02x for type \"%s\"" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "invalid format for type \"%s\" in attribute %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "attribute %s could not be decoded, since its encoding is unknown" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "invalid value in attribute %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "parameter \"%s\" must not be used more than once in attribute %s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "invalid Base64 sequence" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "invalid quoted-printable sequence" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "attribute list of %s is too short" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "attribute list of %s is too long" #: ../mimedir/mimedir-datetime.c:114 #: ../mimedir/mimedir-vcomponent.c:352 msgid "Time zone identifier" msgstr "Time zone identifier" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Time zone identifying string" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Free/busy type" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Whether this object signifies a free or a busy period" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Profile name" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "The name (type) of the profile" #: ../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "Character set" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "Character set used to en-/decode this profile" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "attribute %s defined twice" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "unexpected end of profile" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "required attribute %s is missing" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "unmatched END attribute" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "wrong profile %s; expected %s" #: ../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "Frequency" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "Frequency type of this recurrency rule" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "Date of last recurrence" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "The date of the last recurrence of an event" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "Number of recurrences" #: ../mimedir/mimedir-recurrence.c:236 msgid "The number of recurrences of an event" msgstr "The number of recurrences of an event" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "Recurrence interval" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "The interval of recurrences of an event" #: ../mimedir/mimedir-recurrence.c:251 msgid "Recurrence unit" msgstr "Recurrence unit" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "By which unit a recurrence should be repeated" #: ../mimedir/mimedir-recurrence.c:259 msgid "Recurrence units" msgstr "Recurrence units" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "List of units by which a recurrence should be repeated" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Method" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "The vCalendar's method" #: ../mimedir/mimedir-vcal.c:154 #: ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Product identifier" #: ../mimedir/mimedir-vcal.c:155 msgid "The product identifier of the vCalendar. In case of newly generated objects, this is LibMIMEDir's product identifier" msgstr "The product identifier of the vCalendar. In case of newly generated objects, this is LibMIMEDir's product identifier" #: ../mimedir/mimedir-vcal.c:384 #: ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2111 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "The profile contains the unsupported custom attribute %s.\n" #: ../mimedir/mimedir-vcal.c:387 #: ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2114 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "The profile contains the unknown attribute %s.\n" #: ../mimedir/mimedir-vcal.c:432 #: ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 #: ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Error reading calendar file %s: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Title" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "A one-line string with the most important address information" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Freeform address" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "A freeform address string" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Post office box" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "The addresses post office box" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Extended address" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Extended address string" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Street" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Street address" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Locality" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Locality (e.g. city, town, etc.)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Region" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Region (e.g. state)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Postal code" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Postal code (freeform string)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Country" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Domestic" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Whether this is a domestic address" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "International" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Whether this is an international address" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Postal" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Whether this is a postal address" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Parcel" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Whether parcels can be received at this address" #: ../mimedir/mimedir-vcard-address.c:246 #: ../mimedir/mimedir-vcard-email.c:163 #: ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Home" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Whether this is a home address" #: ../mimedir/mimedir-vcard-address.c:252 #: ../mimedir/mimedir-vcard-email.c:169 #: ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Work" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Whether this is a work address" #: ../mimedir/mimedir-vcard-address.c:258 #: ../mimedir/mimedir-vcard-email.c:157 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Preferred" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Whether this is the preferred address" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "The %s attribute contains too many elements.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s.\n" msgstr "The address field is of unknown type %s.\n" #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 #: ../mimedir/mimedir-vcard-email.c:538 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "preferred" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "domestic" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "international" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "postal" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "parcel" #: ../mimedir/mimedir-vcard-address.c:939 #: ../mimedir/mimedir-vcard-email.c:560 #: ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "home" #: ../mimedir/mimedir-vcard-address.c:944 #: ../mimedir/mimedir-vcard-email.c:566 #: ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "work" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:142 #: ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Address" #: ../mimedir/mimedir-vcard-email.c:143 msgid "The e-mail address" msgstr "The e-mail address" #: ../mimedir/mimedir-vcard-email.c:149 msgid "Type" msgstr "Type" #: ../mimedir/mimedir-vcard-email.c:150 msgid "Type of this e-mail address" msgstr "Type of this e-mail address" #: ../mimedir/mimedir-vcard-email.c:158 msgid "Whether this is the preferred e-mail address" msgstr "Whether this is the preferred e-mail address" #: ../mimedir/mimedir-vcard-email.c:164 msgid "Whether is a home e-mail address" msgstr "Whether is a home e-mail address" #: ../mimedir/mimedir-vcard-email.c:170 msgid "Whether this is an e-mail address at work" msgstr "Whether this is an e-mail address at work" #: ../mimedir/mimedir-vcard-email.c:442 #, c-format msgid "The email field is of unknown type %s.\n" msgstr "The email field is of unknown type %s.\n" #: ../mimedir/mimedir-vcard-email.c:548 msgid "Internet" msgstr "Internet" #: ../mimedir/mimedir-vcard-email.c:553 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Number" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "The telephone number (freeform string)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Whether this is a home phone number" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Whether this is a phone number at work" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Voice" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Whether this is a voice number" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Fax" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Whether this is a facsimile number" #: ../mimedir/mimedir-vcard-phone.c:184 #: ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Whether this is a bulletin board system number" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modem" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Whether this is a modem number" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Pager" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Whether this is a pager number" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Video" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Whether this is a video phone number" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Cell" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Whether this is a cell (mobile) phone number" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Car" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Whether this is car phone number" #: ../mimedir/mimedir-vcard-phone.c:220 #: ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Whether this is a ISDN number" #: ../mimedir/mimedir-vcard-phone.c:226 #: ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Whether this is a PCS number" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Whether this is the preferred number" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Message" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Whether this number has a voice recorder" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s.\n" msgstr "The phone field is of unknown type %s.\n" #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "voice" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "fax" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "modem" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "pager" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "video" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "voice message" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "mobile phone" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "car phone" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "The spelled out name full name of this person" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Family name" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "The family name of this person" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Given name" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "The given name of this person" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Middle name" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "The middle name or middle initials of this person" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Prefix" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "The name prefix (e.g. honourific prefix) of this person" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Suffix" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "The name suffix of this person" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Nickname list" #: ../mimedir/mimedir-vcard.c:335 msgid "List of all nick names. This is a GList *, where the elements are of type const gchar *" msgstr "List of all nick names. This is a GList *, where the elements are of type const gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Nick name" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "The first nick name" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Photo" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Pointer to a byte stream, representing an image of the person" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "Photo URI" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI to an image of this person" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Birthday" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "The person's birthday" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Address list" #: ../mimedir/mimedir-vcard.c:364 msgid "List of all addresses. This is a GList *, where the elements are of type MIMEDirAddress *" msgstr "List of all addresses. This is a GList *, where the elements are of type MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "The preferred address" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Phone number list" #: ../mimedir/mimedir-vcard.c:376 msgid "List of all phone numbers. This is a GList *, where the elements are of type MIMEDirPhone *" msgstr "List of all phone numbers. This is a GList *, where the elements are of type MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Phone number" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "The preferred phone number" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "E-mail address list" #: ../mimedir/mimedir-vcard.c:387 msgid "List of all e-mail addresses. This is a GList *, where the elements are of type MIMEDirEmail *" msgstr "List of all e-mail addresses. This is a GList *, where the elements are of type MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "E-mail address" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "The preferred e-mail address" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Mailer" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "The mailing program used by this person" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Time zone" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "The time zone this person lives in" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Time zone string" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "The time zone this person lives in (deprecated string representation)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Latitude" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Latitude of this person's residence" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Longitude" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Longitude of this person's residence" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Job title" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "The person's job title" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Role" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "The person's job role" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Logo" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "Pointer to a byte stream, representing the logo of the person's company" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "Logo URI" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI to the logo of this person's company" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Agent" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "A person, acting for the person described in this card" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "Agent URI" #: ../mimedir/mimedir-vcard.c:465 msgid "URI to the description of a person, acting for the person described in this card" msgstr "URI to the description of a person, acting for the person described in this card" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Agent string" #: ../mimedir/mimedir-vcard.c:471 msgid "A person, acting for the person described in this card (deprecated string representation)" msgstr "A person, acting for the person described in this card (deprecated string representation)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Organisation list" #: ../mimedir/mimedir-vcard.c:477 msgid "List of all organization this person belongs to. This is a GList *, where the elements are gchar *'s" msgstr "List of all organisation this person belongs to. This is a GList *, where the elements are gchar *'s" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Organisation" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "The person's first organisation" #: ../mimedir/mimedir-vcard.c:488 #: ../mimedir/mimedir-vcomponent.c:266 msgid "Category list" msgstr "Category list" #: ../mimedir/mimedir-vcard.c:489 msgid "List of all categories of this person. This is a GList *, where the elements are gchar *'s" msgstr "List of all categories of this person. This is a GList *, where the elements are gchar *'s" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Categories" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "String representation of this person's categories" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Note" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Additional comments" #: ../mimedir/mimedir-vcard.c:506 msgid "The product identifier of the vCard. In case of newly generated objects, this is LibMIMEDir's product identifier" msgstr "The product identifier of the vCard. In case of newly generated objects, this is LibMIMEDir's product identifier" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Revision" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Card's revision" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Sort string" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "String that defines this card's sort order" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Sound" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Pointer to a byte stream, representing a sound file" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "Sound URI" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI to a sound file" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Unique Identifier" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "A unique identifier for this card" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "An alternate URL for this resource" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Classification" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "The security classfication of this card" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Public key list" #: ../mimedir/mimedir-vcard.c:554 msgid "List of this person's public keys. This is a GList *, where the elements are MIMEDirVCardKeys" msgstr "List of this person's public keys. This is a GList *, where the elements are MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Public key" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "This person's first public key" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Key type" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Type of the first public key" #: ../mimedir/mimedir-vcard.c:1474 #: ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 #: ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Error reading card file %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Error writing card file %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Name: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Name\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Prefix: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Given: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Additional: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Family: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Suffix: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Birth Date: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Address label (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Address (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Postal Box: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Extended: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Street: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " City: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " County: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Postal Code: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Country: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Telephone:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Telephone: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3556 msgid "E-mail:\n" msgstr "E-mail:\n" #: ../mimedir/mimedir-vcard.c:3580 #, c-format msgid "E-mail: %s (%s)\n" msgstr "E-mail: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3602 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Time zone: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3611 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Location: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3620 #, c-format msgid "Organization: %s\n" msgstr "Organisation: %s\n" #: ../mimedir/mimedir-vcard.c:3625 #, c-format msgid "Job title: %s\n" msgstr "Job title: %s\n" #: ../mimedir/mimedir-vcard.c:3628 #, c-format msgid "Business role: %s\n" msgstr "Business role: %s\n" #: ../mimedir/mimedir-vcard.c:3638 #, c-format msgid "Categories: %s\n" msgstr "Categories: %s\n" #: ../mimedir/mimedir-vcard.c:3643 #, c-format msgid "Comment: %s\n" msgstr "Comment: %s\n" #: ../mimedir/mimedir-vcard.c:3646 #, c-format msgid "Homepage: %s\n" msgstr "Homepage: %s\n" #: ../mimedir/mimedir-vcard.c:3649 #, c-format msgid "Unique string: %s\n" msgstr "Unique string: %s\n" #: ../mimedir/mimedir-vcard.c:3659 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3662 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3665 msgid "yes" msgstr "yes" #: ../mimedir/mimedir-vcard.c:3669 #, c-format msgid "Public Key: %s\n" msgstr "Public Key: %s\n" #: ../mimedir/mimedir-vcomponent.c:267 msgid "List of all categories of this component. This is a GList *, where the elements are gchar *'s" msgstr "List of all categories of this component. This is a GList *, where the elements are gchar *'s" #: ../mimedir/mimedir-vcomponent.c:271 msgid "Comment list" msgstr "Comment list" #: ../mimedir/mimedir-vcomponent.c:272 msgid "List of all additional comments for this component. This is a GList *, where the elements are gchar *'s" msgstr "List of all additional comments for this component. This is a GList *, where the elements are gchar *'s" #: ../mimedir/mimedir-vcomponent.c:276 msgid "Description" msgstr "Description" #: ../mimedir/mimedir-vcomponent.c:277 msgid "Full description of this component" msgstr "Full description of this component" #: ../mimedir/mimedir-vcomponent.c:282 msgid "Percent complete" msgstr "Percent complete" #: ../mimedir/mimedir-vcomponent.c:283 msgid "Percentage of this task's completion" msgstr "Percentage of this task's completion" #: ../mimedir/mimedir-vcomponent.c:290 msgid "Priority" msgstr "Priority" #: ../mimedir/mimedir-vcomponent.c:291 msgid "This task's priority" msgstr "This task's priority" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:296 msgid "Resource list" msgstr "Resource list" #: ../mimedir/mimedir-vcomponent.c:297 msgid "List of the resources assigned to this component" msgstr "List of the resources assigned to this component" #: ../mimedir/mimedir-vcomponent.c:301 msgid "Status" msgstr "Status" #: ../mimedir/mimedir-vcomponent.c:302 msgid "This task's completion status" msgstr "This task's completion status" #: ../mimedir/mimedir-vcomponent.c:309 msgid "Summary" msgstr "Summary" #: ../mimedir/mimedir-vcomponent.c:310 msgid "Component's short description" msgstr "Component's short description" #: ../mimedir/mimedir-vcomponent.c:316 msgid "Date/time completed" msgstr "Date/time completed" #: ../mimedir/mimedir-vcomponent.c:317 msgid "Date/time that this task was completed" msgstr "Date/time that this task was completed" #: ../mimedir/mimedir-vcomponent.c:322 msgid "Date/time end" msgstr "Date/time end" #: ../mimedir/mimedir-vcomponent.c:323 msgid "End date/time of this component" msgstr "End date/time of this component" #: ../mimedir/mimedir-vcomponent.c:328 msgid "Due" msgstr "Due" #: ../mimedir/mimedir-vcomponent.c:329 msgid "This task's due date" msgstr "This task's due date" #: ../mimedir/mimedir-vcomponent.c:334 msgid "Date/time start" msgstr "Date/time start" #: ../mimedir/mimedir-vcomponent.c:335 msgid "Start date/time of this component" msgstr "Start date/time of this component" #: ../mimedir/mimedir-vcomponent.c:340 msgid "Duration" msgstr "Duration" #: ../mimedir/mimedir-vcomponent.c:341 msgid "This date's duration" msgstr "This date's duration" #: ../mimedir/mimedir-vcomponent.c:346 msgid "Free/busy" msgstr "Free/busy" #: ../mimedir/mimedir-vcomponent.c:347 msgid "GList of free/busy objects" msgstr "GList of free/busy objects" #: ../mimedir/mimedir-vcomponent.c:353 msgid "This component's time zone identifier" msgstr "This component's time zone identifier" #: ../mimedir/mimedir-vcomponent.c:358 msgid "Time zone name list" msgstr "Time zone name list" #: ../mimedir/mimedir-vcomponent.c:359 msgid "GList of time zone names" msgstr "GList of time zone names" #: ../mimedir/mimedir-vcomponent.c:363 #: ../mimedir/mimedir-vcomponent.c:364 msgid "Time zone offset from" msgstr "Time zone offset from" #: ../mimedir/mimedir-vcomponent.c:371 #: ../mimedir/mimedir-vcomponent.c:372 msgid "Time zone offset to" msgstr "Time zone offset to" #: ../mimedir/mimedir-vcomponent.c:379 msgid "Time zone URL" msgstr "Time zone URL" #: ../mimedir/mimedir-vcomponent.c:380 msgid "URL to a time zone description" msgstr "URL to a time zone description" #: ../mimedir/mimedir-vcomponent.c:386 msgid "Contact" msgstr "Contact" #: ../mimedir/mimedir-vcomponent.c:387 msgid "Contact information" msgstr "Contact information" #: ../mimedir/mimedir-vcomponent.c:393 msgid "Unique identifier" msgstr "Unique identifier" #: ../mimedir/mimedir-vcomponent.c:394 msgid "A unique identifier for this component" msgstr "A unique identifier for this component" #: ../mimedir/mimedir-vcomponent.c:400 msgid "Recurrence object" msgstr "Recurrence object" #: ../mimedir/mimedir-vcomponent.c:401 msgid "An object representing the RRULE tag" msgstr "An object representing the RRULE tag" #: ../mimedir/mimedir-vcomponent.c:407 #: ../mimedir/mimedir-vcomponent.c:408 msgid "Action" msgstr "Action" #: ../mimedir/mimedir-vcomponent.c:413 #: ../mimedir/mimedir-vcomponent.c:414 msgid "Repeat" msgstr "Repeat" #: ../mimedir/mimedir-vcomponent.c:419 #: ../mimedir/mimedir-vcomponent.c:420 msgid "Trigger" msgstr "Trigger" #: ../mimedir/mimedir-vcomponent.c:425 msgid "Trigger date/time" msgstr "Trigger date/time" #: ../mimedir/mimedir-vcomponent.c:426 msgid "Date/time of the trigger" msgstr "Date/time of the trigger" #: ../mimedir/mimedir-vcomponent.c:431 msgid "Trigger end" msgstr "Trigger end" #: ../mimedir/mimedir-vcomponent.c:432 msgid "Whether the trigger is set at the end of the time interval" msgstr "Whether the trigger is set at the end of the time interval" #: ../mimedir/mimedir-vcomponent.c:438 msgid "Created" msgstr "Created" #: ../mimedir/mimedir-vcomponent.c:439 msgid "Date/time of the creation" msgstr "Date/time of the creation" #: ../mimedir/mimedir-vcomponent.c:444 msgid "Date/time stamp" msgstr "Date/time stamp" #: ../mimedir/mimedir-vcomponent.c:445 msgid "Date/time of the creation of the iCalendar object" msgstr "Date/time of the creation of the iCalendar object" #: ../mimedir/mimedir-vcomponent.c:450 msgid "Last modified" msgstr "Last modified" #: ../mimedir/mimedir-vcomponent.c:451 msgid "Date/time of the last modification" msgstr "Date/time of the last modification" #: ../mimedir/mimedir-vcomponent.c:456 msgid "Sequence" msgstr "Sequence" #: ../mimedir/mimedir-vcomponent.c:457 msgid "Sequence number" msgstr "Sequence number" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s: error reading calendar file: %s\n" #~ msgid "Can not open temporary file %s: %s\n" #~ msgstr "Can not open temporary file %s: %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Error writing calendar file %s: %s!" libmimedir-0.4.2/po/cs.po0000644000175000017500000012223010603540671012140 00000000000000# Translation of libmimedir to Czech # This file is distributed under the same license as the libmimedir package. # Copyright (C) 2003 Free Software Foundation # Copyright (C) 2005 Miloslav Trmac # Michal Bukovjan , 2003 # Miloslav Trmac , 2005 # msgid "" msgstr "" "Project-Id-Version: libmimedir VERSION\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-21 03:38+0200\n" "PO-Revision-Date: 2005-09-21 10:45+0200\n" "Last-Translator: Miloslav Trmac \n" "Language-Team: Czech \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Použití: %s SOUBORICAL\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "každou sekundu" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "každou minutu" #: ../bin/ical-dump.c:61 msgid "hourly" msgstr "každou hodinu" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "denně" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "týdně" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "měsíčně" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "ročně" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 msgid "unknown" msgstr "neznámé" #: ../bin/ical-dump.c:81 msgid "second" msgstr "sekunda" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "minuta" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "hodina" #: ../bin/ical-dump.c:87 msgid "day" msgstr "den" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "den v měsíci" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "den v roce" #: ../bin/ical-dump.c:93 msgid "week number" msgstr "číslo týdne" #: ../bin/ical-dump.c:95 msgid "month" msgstr "měsíc" #: ../bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr " Opakování:\n" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr " Frekvence: %s\n" #: ../bin/ical-dump.c:123 #, c-format msgid " Until: %s\n" msgstr " Do: %s\n" #: ../bin/ical-dump.c:128 #, c-format msgid " Count: %d\n" msgstr " Počet: %d\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr " Interval: %d\n" #: ../bin/ical-dump.c:134 #, c-format msgid " Unit: %s\n" msgstr " Jednotka: %s\n" #: ../bin/ical-dump.c:137 #, c-format msgid " Units: %s\n" msgstr " Jednotky: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Událost:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Položka úkolu:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Neznámá komponenta:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Shrnutí: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Kategorie: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "vysoká" #: ../bin/ical-dump.c:190 msgid "low" msgstr "nízká" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "střední" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Priorita: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Začátek: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Konec: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Splnění: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " Unikátní ID: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Sekvence: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " Celodenní událost\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: neplatný počet parametrů\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Použití: %s SOUBORVCARD\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: chyba při čtení souboru karty: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: chyba při zápisu souboru karty: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Název" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "Název atributu" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Skupina" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "Skupina atributu" #: ../mimedir/mimedir-attribute.c:896 msgid "missing parameter name" msgstr "chybí název parametru" #: ../mimedir/mimedir-attribute.c:921 msgid "missing closing quotation mark" msgstr "chybí uzavírající závorka" #: ../mimedir/mimedir-attribute.c:946 msgid "wrong parameter syntax" msgstr "špatná syntaxe parametru" #: ../mimedir/mimedir-attribute.c:956 msgid "no parameter value" msgstr "chybí hodnota parametru" #: ../mimedir/mimedir-attribute.c:1049 msgid "missing attribute name/group" msgstr "chybí název/skupina atributu" #: ../mimedir/mimedir-attribute.c:1065 msgid "no attribute name after group" msgstr "chybí název atributu po skupině" #: ../mimedir/mimedir-attribute.c:1081 msgid "missing value delimiter" msgstr "chybí oddělovač hodnot" #: ../mimedir/mimedir-attribute.c:1097 msgid "invalid character" msgstr "neplatný znak" #: ../mimedir/mimedir-attribute.c:2468 ../mimedir/mimedir-attribute.c:2477 msgid "illegal character" msgstr "neplatný znak" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "syntaktická chyba (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "neplatný znak 0x%02x pro typ \"%s\"" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "neplatný formát pro typ \"%s\" v atributu %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "atribut %s nebylo možné dekódovat, jelikož jeho kódování je neznámé" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "neplatná hodnota v atributu %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "parametr \"%s\" nesmí být použit v atributu %s více než jednou" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "neplatná sekvence Base64" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "neplatná sekvence quoted-printable" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "seznam atributů %s je příliš krátký" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "seznam atributů %s je příliš dlouhý" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "Identifikátor časové zóny" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Řetězec označující časovou zónu" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d.%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d.%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Typ volno/obsazeno" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Jestli tento objekt označuje volné nebo obsazené období" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Název profilu" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "Název (typ) profilu" #: ../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "Znaková sada" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "Znaková sada používaná pro (de)kódování tohoto profilu" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "atribut %s definován dvakrát" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "neočekávaný konec profilu" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "vyžadovaný atribut %s chybí" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "nespárovaný atribut END" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "chybný profil %s, očekáván %s" #: ../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "Frekvence" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "Typ frekvence tohoto pravidla opakování" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "Datum posledního opakování" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "Datum posledního opakování události" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "Počet opakování" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "Počet opakování události" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "Interval opakování" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "Interval opakování události" #: ../mimedir/mimedir-recurrence.c:251 msgid "Recurrence unit" msgstr "Jednotka opakování" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "Po jakých jednotkách se má událost opakovat" #: ../mimedir/mimedir-recurrence.c:259 msgid "Recurrence units" msgstr "Jednotky opakování" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "Seznam jednotek, po kterých se má událost opakovat" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Připomenutí vaší schůzky:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Metoda" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "Metoda vCalendar" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Identifikátor produktu" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Identifikátor produktu vCalendar. V případě nově vygenerovaných objektů se " "jedná o identifikátor produktu LibMIMEDir" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "Profil obsahuje nepodporovaný uživatelský atribut: %s.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "Profil obsahuje neznámý atribut %s.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Chyba při čtení souboru kalendáře %s: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Titulek" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "Jednořádkový řetězec s nejdůležitějšími informacemi o adrese" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Adresa ve volném stylu" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Řetězec s adresou ve volném stylu" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "P. O. Box" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "P. O. Box adresy" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Rozšířená adresa" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Řetězec s rozšířenou adresou" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Ulice" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Adresa ulice" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Lokalita" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Lokalita (t. j. město, vesnice, atd.)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Region" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Region (t. j. stát)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "PSČ" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Poštovní směrovací číslo (volný řetězec)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Země" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Domácí" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Jestli se jedná o domácí adresu" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Mezinárodní" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Jestli se jedná o zahraniční adresu" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Poštovní" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Jestli se jedná o poštovní adresu" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Balíček" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Jestli je možné na tuto adresu zasílat balíčky" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-email.c:163 #: ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Domov" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Jestli se jedná o adresu domů" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-email.c:169 #: ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Zaměstnání" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Jestli se jedná o adresu do zaměstnání" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:157 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Preferovaná" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Jestli se jedná o upřednostňovanou adresu" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "Atribut %s obsahuje příliš mnoho elementů.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s.\n" msgstr "Pole adresy je neznámého typu %s.\n" #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:538 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "preferovaná" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "domácí" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "mezinárodní" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "poštovní" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "balíčky" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-email.c:560 #: ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "domov" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-email.c:566 #: ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "zaměstnání" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:142 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Adresa" #: ../mimedir/mimedir-vcard-email.c:143 msgid "The e-mail address" msgstr "Adresa el. pošty" #: ../mimedir/mimedir-vcard-email.c:149 msgid "Type" msgstr "Typ" #: ../mimedir/mimedir-vcard-email.c:150 msgid "Type of this e-mail address" msgstr "Typ této emailové adresy" #: ../mimedir/mimedir-vcard-email.c:158 msgid "Whether this is the preferred e-mail address" msgstr "Jestli se jedná o upřednostňovanou emailovou adresu" #: ../mimedir/mimedir-vcard-email.c:164 msgid "Whether is a home e-mail address" msgstr "Jestli se jedná o emailovou adresu domů" #: ../mimedir/mimedir-vcard-email.c:170 msgid "Whether this is an e-mail address at work" msgstr "Jestli se jedná o emailovou adresu do práce" #: ../mimedir/mimedir-vcard-email.c:442 #, c-format msgid "The email field is of unknown type %s.\n" msgstr "Pole s emailem je neznámého typu %s.\n" #: ../mimedir/mimedir-vcard-email.c:548 msgid "Internet" msgstr "Internet" #: ../mimedir/mimedir-vcard-email.c:553 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Číslo" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "Telefonní číslo (volný řetězec)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Jestli se jedná o telefonní číslo domů" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Jestli se jedná o telefonní číslo do zaměstnání" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Hlas" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Jestli se jedná o běžné číslo (hlas)" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Fax" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Jestli se jedná o číslo na fax" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Jestli se jedná o číslo na bulletin board system" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modem" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Jestli se jedná o číslo na modem" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Pager" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Jestli se jedná o číslo na pager" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Video" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Jestli se jedná o číslo na videotelefon" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Mobil" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Jestli se jedná o číslo na mobilní telefon" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Automobil" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Jestli se jedná o telefonní číslo do automobilu" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Jestli se jedná o číslo systému ISDN" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Jestli se jedná o číslo systému PCS" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Jestli se jedná o upřednostňované číslo" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Záznamník" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Jestli je na tomto čísle k dispozici záznamník" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s.\n" msgstr "Pole telefonu je neznámého typu %s.\n" #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "hlas" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "fax" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "modem" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "pager" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "video" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "záznamník" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "mobilní telefon" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "telefon v automobilu" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "Vyhláskované celé jméno této osoby" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Příjmení" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "Příjmení této osoby" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Křestní jméno" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "Křestní jméno této osoby" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Prostřední jméno" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "Prostřední jméno nebo iniciály této osoby" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Titul před" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "Titul před jménem (oslovení) této osoby" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Titul za" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "Titul za jménem této osoby" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Seznam přezdívek" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" "Seznam všech přezdívek. Jedná se o GList *, ve kterém jsou prvky typu const " "gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Přezdívka" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "První přezdívka" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Foto" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Ukazatel na byte stream představující obrázek osoby" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "URI fota" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI na foto osoby" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Narozeniny" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "Narozeniny osoby" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Seznam adres" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" "Seznam všech adres. Jedná se o GList *, kde prvky jsou typu MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "Preferovaná adresa" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Seznam tel. čísel" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "Seznam všech telefonních čísel. Jedná se o GList *, kde prvky jsou typu " "MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Tel. číslo" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "Preferované telefonní číslo" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Seznam adres el. pošty" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Seznam všech adres el. pošty. Jedná se o GList *, kde prvky jsou typu " "MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "Adresa el. pošty" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "Preferovaná adresa el. pošty" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Poštovní program" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "Poštovní program používaný touto osobou" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Časová zóna" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "Časová zóna, ve které tato osoba žije" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Řetězec časové zóny" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "" "Časová zóna, ve které tato osoba žije (zastaralá reprezentace řetězcem)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Zeměpisná šířka" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Zeměpisná šířka bydliště osoby" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Zeměpisná délka" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Zeměpisná délka bydliště osoby" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Pracovní titul" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "Pracovní titul osoby" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Role" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "Role osoby v zaměstnání" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Logo" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "Ukazatel na byte stream představující logo společnosti osoby" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "URI loga" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI loga společnosti osoby" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Agent" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "Osoba jednající za osobu popisovanou touto kartou" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "URI agenta" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "URI na popis agenta, který jedná za osobu popisovanou touto kartou" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Řetězec agenta" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "Agent, který jedná za osobu popisovanou touto kartou (zastaralá reprezentace " "řetězcem)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Seznam organizací" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Seznam všech organizací, kam tato osoba patří. Jedná se o GList *, kde prvky " "jsou typu gchar *" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Organizace" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "První organizace osoby" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "Seznam kategorií" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "Seznam všech kategorií této osoby. Jedná se o GList *, kde prvky jsou typu " "gchar *" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Kategorie" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Reprezentace řetězcem kategorií osoby" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Poznámka" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Dodatečné komentáře" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Identifikátor produktu vCard. V případě nově generovaných objektů se jedná o " "identifikátor produktu LibMIMEDir" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Revize" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Revize karty" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Řetězec třídění" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "Řetězec definující pořadí třídění této karty" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Zvuk" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Ukazatel na byte stream představující zvukový soubor" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "URI zvuku" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI na zvukový soubor" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Unikátní identifikátor" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Unikátní identifikátor této karty" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Alternativní URL pro tento zdroj" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Klasifikace" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "Bezpečnostní klasifikace této karty" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Seznam veřejných klíčů" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Seznam veřejných klíčů osoby. Jedná se o GList *, kde prvky jsou typu " "MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Veřejný klíč" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "První veřejný klíč této osoby" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Typ klíče" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Typ prvního veřejného klíče" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Chyba při čtení souboru karty %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Chyba při zápisu souboru karty %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Jméno: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Jméno\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Titul před: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Křestní: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Další: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Příjmení: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Titul za: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Narozeniny: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Adresní štítek (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Adresa (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " P. O. Box: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Rozšířená. %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Ulice: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Město: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Region: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " PSČ: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Země: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Telefon:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Telefon: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3556 msgid "E-mail:\n" msgstr "Email:\n" #: ../mimedir/mimedir-vcard.c:3580 #, c-format msgid "E-mail: %s (%s)\n" msgstr "Email: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3602 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Časová zóna: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3611 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Lokace: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3620 #, c-format msgid "Organization: %s\n" msgstr "Organizace: %s\n" #: ../mimedir/mimedir-vcard.c:3625 #, c-format msgid "Job title: %s\n" msgstr "Titul v zaměstnání: %s\n" #: ../mimedir/mimedir-vcard.c:3628 #, c-format msgid "Business role: %s\n" msgstr "Role v zaměstnání: %s\n" #: ../mimedir/mimedir-vcard.c:3638 #, c-format msgid "Categories: %s\n" msgstr "Kategorie: %s\n" #: ../mimedir/mimedir-vcard.c:3643 #, c-format msgid "Comment: %s\n" msgstr "Komentář: %s\n" #: ../mimedir/mimedir-vcard.c:3646 #, c-format msgid "Homepage: %s\n" msgstr "Domovská stránka: %s\n" #: ../mimedir/mimedir-vcard.c:3649 #, c-format msgid "Unique string: %s\n" msgstr "Unikátní řetězec: %s\n" #: ../mimedir/mimedir-vcard.c:3659 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3662 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3665 msgid "yes" msgstr "ano" #: ../mimedir/mimedir-vcard.c:3669 #, c-format msgid "Public Key: %s\n" msgstr "Veřejný klíč: %s\n" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Seznam všech kategorií této komponenty. Jedná se o GList *, kde prvky jsou " "typu gchar *" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "Seznam komentářů" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Seznam všech dodatečných komentářů pro tuto komponentu. Jedná se o GList *, " "kde prvky jsou typu gchar *" #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "Popis" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "Úplný popis této komponenty" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "Hotovo procent" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "Procentní zakončení tohoto úkolu" #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "Priorita" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "Priorita úkolu" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "Seznam zdrojů" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "Seznam zdrojů přiřazených této komponentě" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "Stav" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "Stav dokončení tohoto úkolu" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "Shrnutí" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "Krátký popis komponenty" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "Datum/čas dokončení" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "Datum/čas dokončení tohoto úkolu" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "Konečné datum/čas" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "Konečné datum/čas této komponenty" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "Splnění" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "Datum splnění tohoto úkolu" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "Počáteční datum/čas" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "Počáteční datum/čas této komponenty" #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "Trvání" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "Doba trvání" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "Volno/obsazeno" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "GList objektů volno/obsazeno" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "Identifikátor časové zóny této komponenty" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "Seznam názvů časových zón" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "GList názvů časových zón" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "Posun časové zóny od" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "Posun časové zóny do" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "URL časové zóny" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "URL na popis časové zóny" #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "Kontakt" #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "Kontaktní informace" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "Unikátní identifikátor" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "Unikátní identifikátor této komponenty" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "Objekt opakování" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "Objekt reprezentující tag RRULE" #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "Akce" #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "Opakování" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "Spuštění" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "Datum/čas spuštění" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "Datum/čas spuštění" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "Konec spuštění" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "Jestli je spuštění nastaveno na konec časového intervalu" #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "Vytvořeno" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "Datum/čas vytvoření" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "Datum/čas" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "Datum/čas poslední úpravy" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "Sekvence" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "Číslo sekvence" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s: chyba při čtení souboru s kalendářem: %s\n" #~ msgid "Can not open temporary file %s: %s\n" #~ msgstr "Nelze otevřít dočasný soubor %s: %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Chyba při zápisu souboru kalendáře %s: %s!" libmimedir-0.4.2/po/ne.po0000755000175000017500000014773510603540671012161 00000000000000# translation of libmimedir.HEAD.ne.po to Nepali # translation of libmimedir.HEAD.po to Nepali # This file is distributed under the same license as the PACKAGE package. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER. # Pawan Chitrakar , 2005. # Kapil Timilsina , 2005. # Mahesh subedi , 2006. # msgid "" msgstr "" "Project-Id-Version: libmimedir.HEAD.ne\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-05-15 12:24+0200\n" "PO-Revision-Date: 2006-06-13 16:35+0545\n" "Last-Translator: Mahesh subedi \n" "Language-Team: Nepali \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.10.2\n" "Plural-Forms: nplurals=2;plural=(n!=1)\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "उपयोग %s ICALFILE\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "सेकेण्ड अनुसार" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "मिनेट अनुसार" #: ../bin/ical-dump.c:61 msgid "hourly" msgstr "घण्टा अनुसार" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "दैनिक" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "साप्ताहिक" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "मासिक" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "बार्षिक" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 msgid "unknown" msgstr "अज्ञात" #: ../bin/ical-dump.c:81 msgid "second" msgstr "सेकेण्ड" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "मिनेट" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "घण्टा" #: ../bin/ical-dump.c:87 msgid "day" msgstr "दिन" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "महिनाको दिन" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "बर्षको दिन" #: ../bin/ical-dump.c:93 msgid "week number" msgstr "हप्ताको सङ्ख्या" #: ../bin/ical-dump.c:95 msgid "month" msgstr "महिना" #: ../bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr " पुनरावृत्ति:\n" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr " आवृती: %s\n" #: ../bin/ical-dump.c:123 #, c-format msgid " Until: %s\n" msgstr " अझ सम्म: %s\n" #: ../bin/ical-dump.c:128 #, c-format msgid " Count: %d\n" msgstr " गणना: %d\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr " अन्तराल: %d\n" #: ../bin/ical-dump.c:134 #, c-format msgid " Unit: %s\n" msgstr " एकाइ: %s\n" #: ../bin/ical-dump.c:137 #, c-format msgid " Units: %s\n" msgstr " एकाइहरू: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "घटना:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "गर्नुपर्ने वस्तु:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "अज्ञात अवयव:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " सारांश: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " कोटिहरू: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "उच्च" #: ../bin/ical-dump.c:190 msgid "low" msgstr "कम" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "मध्यम" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " प्राथमिकता: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " सुरु मिति: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " अन्त मिति: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " पुरानो मिति: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " अद्धितिय आइडि: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " अनुक्रम: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " सबै दिन घटना\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:84 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: तर्कको अमान्य सङ्ख्या\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "प्रयोग गरिएको: %sभिकार्ड फाइल\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: त्रुटि कार्ड फाइल पढ्दैछ: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: त्रुटि कार्ड फाइल लेख्दैछ:%s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "नाम" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "बिशेषताको नाम" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "समूह" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "बिशेषताको समूह" #: ../mimedir/mimedir-attribute.c:933 msgid "missing parameter name" msgstr "हराएको परिमितिको नाम" #: ../mimedir/mimedir-attribute.c:958 msgid "missing closing quotation mark" msgstr "बन्द गर्ने उद्वरण चिन्ह छोडियो" #: ../mimedir/mimedir-attribute.c:983 msgid "wrong parameter syntax" msgstr "गलत परिमिति वाक्य संरचना" #: ../mimedir/mimedir-attribute.c:993 msgid "no parameter value" msgstr "परिमिति मान छैन" #: ../mimedir/mimedir-attribute.c:1086 msgid "missing attribute name/group" msgstr "हराएको बिशेषताको नाम/समूह" #: ../mimedir/mimedir-attribute.c:1102 msgid "no attribute name after group" msgstr "समूह पछि विशेषता नाम छैन" #: ../mimedir/mimedir-attribute.c:1118 msgid "missing value delimiter" msgstr "हराएको मान डेलिमिटर" #: ../mimedir/mimedir-attribute.c:1134 msgid "invalid character" msgstr "अमान्य क्यारेक्टर" #: ../mimedir/mimedir-attribute.c:2505 ../mimedir/mimedir-attribute.c:2514 msgid "illegal character" msgstr "अमान्य क्यारेक्टर" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "सामान्य त्रुटि (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "त्रुटि क्यारेक्टर 0x%02x प्रकारका लागि \"%s\"" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "अमान्य ढाँचा प्रकारका लागि \"%s\" बिशेषतामा %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "बिशेषता %s असङ्केतन हुन सक्दैन, यसको सङ्केतन अज्ञात छ" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "बिशेषतामा अवैध मान %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "बिशेषतामा परिमिति \"%s\" एक पटक भन्दा बढी प्रयोग गर्न मिल्दैन %s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "अवैध आधार६४ अनुक्रम" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "अवैध कोटेड-प्रिन्ट गर्न मिल्ने अनुक्रम" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "बिशेषता सूची %s को अति छोटो छ" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "बिशेषता सूची %s को अति लामो छ" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:352 msgid "Time zone identifier" msgstr "समय अञ्चल पहिचायक" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "समय अञ्चल पहिचायक स्ट्रिङ" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "स्वतन्त्र/ब्यस्त प्रकार" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "कि त यो वस्तुले खुला वा ब्यस्त अवधिलाई सिग्निफाइ गर्दछ" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "प्रोफाइल नाम" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "प्रोफाइलको नाम (प्रकार)" #: ../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "क्यारेक्टर सेट" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "क्यारेक्टर यो प्रोफाइल सङ्केतन/असङ्केतन गर्न प्रयोग हुन्छ" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "बिशेषता %s दोहोरो परिभाषित" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "नसोचिएको प्रोफाइलको समाप्ति" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "आवश्यक विशेषता %s छोडिएको छ" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "जोडा नमिल्ने समाप्ति बिशेषता" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "गलत प्रोफाइल %s, सोचिएको %s" #: ../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "आवृती" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "यो पुनरावृतिक नियमको आवृतिक प्रकार" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "अन्तिम पुनरावृतिको मिति" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "एउटा घटनाको अन्तिम पुनरावृतिको मिति" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "पुनरावृतिको नम्बर" #: ../mimedir/mimedir-recurrence.c:236 msgid "The number of recurrences of an event" msgstr "एउटा घटनाको पुनरावृतिको नम्बर" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "पुनरावृति अन्तराल" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "एउटा घटनाको पुनरावृतिको अन्तराल" #: ../mimedir/mimedir-recurrence.c:251 msgid "Recurrence unit" msgstr "पुनरावृति एकाइ" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "जस द्धारा एकाइ एउटा पुनरावृति दोहोरिनु पर्दछ" #: ../mimedir/mimedir-recurrence.c:259 msgid "Recurrence units" msgstr "पुनरावृती एकाइहरू" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "एकाइहरूको सूची जसद्धारा एउटा पुनरावृती दोहोरिनु पर्दछ" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "तपाईँको भेट्ने निम्तो सम्झाउने:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "विधि" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "भि पात्रो विधि" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "उत्पादन पहिचायक" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "भिपात्रोको उत्पादन पहिचायक। नयाँ उत्पादन गरिएको वस्तुहरूको केसमा, यो लिबमिमेडिरको " "उत्पादन पहिचायक हो" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2111 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "प्रोफाइलले समर्थन नगर्ने अनुकूलन विशेषता समावेश गर्दछ %s\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2114 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "प्रोफाइलले अज्ञात विशेषता समावेश गर्दछ %s\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "त्रुटि पात्रो फाइल पढ्दा %s: %s !" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "शीर्षक" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "एक-रेखा स्ट्रिङ मूख्य महत्वपूर्ण ठेगाना सूचना सहित" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "स्वतन्त्र फारम ठेगाना" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "एउटा स्वतन्त्र फारम ठेगाना स्ट्रिङ" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "पोस्ट अफिस बक्स" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "ठेगानाको पोस्ट अफिस बक्स" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "विस्तृत ठेगाना" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "विस्तृत ठेगाना स्ट्रिङ" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "गल्ली" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "गल्ली ठेगाना" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "स्थानीयता" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "स्थानीयता (उदाहरण. सहर, टोल, इत्यादि)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "क्षेत्र" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "क्षेत्र (उदाहरण राज्य)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "पोष्टल सङ्केत" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "पोष्टल सङ्केत (फ्रिफर्म स्ट्रिङ)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "देश" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "घरेलू" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "कतै यो घरेलू ठेगाना हो कि" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "अन्तर्राष्ट्रिय" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "कतै यो अन्तराष्ट्रिय ठेगाना हो" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "पोस्टल" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "कतै यो पोष्टल ठेगाना हो" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "पार्सल" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "कतै पार्सल यो ठेगानामा प्राप्त गर्न सकिन्छ कि" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-email.c:163 #: ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "गृह" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "कतै यो गृह ठेगाना हो कि" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-email.c:169 #: ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "काम" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "कतै यो काम ठेगाना हो" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:157 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "रुचाइएको" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "कतै यो रुचाइएको ठेगाना हो कि" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "बिशेषता %s अति धेरै तत्वहरू समावेश गर्दछ।\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s.\n" msgstr "ठेगाना फाँट अज्ञात प्रकारको छ %s.\n" #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:538 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "रुचाइएको" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "घरेलू" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "अन्तराष्ट्रिय" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "पोस्टल" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "पार्सल" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-email.c:560 #: ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "गृह" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-email.c:566 #: ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "काम" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:142 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "ठेगाना" #: ../mimedir/mimedir-vcard-email.c:143 msgid "The e-mail address" msgstr "इमेल ठेगाना" #: ../mimedir/mimedir-vcard-email.c:149 msgid "Type" msgstr "प्रकार" #: ../mimedir/mimedir-vcard-email.c:150 msgid "Type of this e-mail address" msgstr "यस इमेल ठेगानाको प्रकार" #: ../mimedir/mimedir-vcard-email.c:158 msgid "Whether this is the preferred e-mail address" msgstr "कतै यो रोजिएको इमेल ठेगाना हो कि" #: ../mimedir/mimedir-vcard-email.c:164 msgid "Whether is a home e-mail address" msgstr "कतै यो गृह इमेल ठेगाना हो कि" #: ../mimedir/mimedir-vcard-email.c:170 msgid "Whether this is an e-mail address at work" msgstr "कतै यो काममा एउटा इमेल ठेगाना हो कि" #: ../mimedir/mimedir-vcard-email.c:442 #, c-format msgid "The email field is of unknown type %s.\n" msgstr "इमेल फाँट अज्ञात प्रकारको छ %s.\n" #: ../mimedir/mimedir-vcard-email.c:548 msgid "Internet" msgstr "इन्टरनेट" #: ../mimedir/mimedir-vcard-email.c:553 msgid "X.400" msgstr "एक्स ४००" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "नम्बर" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "टेलिफोन नम्बर (स्वतन्त्र फारम स्ट्रिङ)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "कतै यो घरको फोन नम्बर हो कि" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "कतै यो कामको फोन नम्बर हो कि" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "स्वर" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "कतै यो आवाज नम्बर हो कि" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "फ्याक्स" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "कतै यो फ्यासिमिल नम्बर हो कि" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "बि बि एस" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "कतै यो बुलेटिन बोर्ड प्रणाली नम्बर हो कि" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "मोडेम" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "कतै यो मोडेम नम्बर हो कि" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "पेजर" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "कतै यो पेजर नम्बर हो कि" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "भिडियो" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "कतै यो भिडियो फोन नम्बर हो कि" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "सेल" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "कतै यो सेल (मोबाइल) फोन नम्बर हो कि" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "कार" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "कतै यो कार फोन नम्बर हो कि" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "आई एस डि एन" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "कतै यो आईएसडिएन नम्बर हो कि" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "पि सि एस" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "कतै यो पिसिएस नम्बर हो कि" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "कतै यो रोजिएको नम्बर हो कि" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "सन्देश" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "कतै यो नम्बरमा स्वर रेकर्डर छ कि" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s.\n" msgstr "फोन फाँट अज्ञात प्रकारको हो %s.\n" #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "स्वर" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "फ्याक्स" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "मोडेम" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "पेजर" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "भिडियो" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "स्वर सन्देश" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "सेल फोन" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "कार फोन" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "यो ब्यक्त्तिको पूरा नाम उच्चारण गर्नुहोस्" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "परिवार नाम" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "यो ब्यक्त्तिको परिवार नाम" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "दिइएको नाम" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "यो ब्यक्त्तिको दिइएको नाम" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "मध्य नाम" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "यो ब्यक्त्तिको मध्य नाम वा मध्य इनिसियल" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "उपसर्ग" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "यो ब्यक्त्तिको नाम उपसर्ग (उदाहरण होनोरिफिक उपसर्ग)" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "प्रतत्य" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "यो ब्यक्त्तिको नाम प्रतत्य" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "उपनाम सूची" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "उपनामहरूको सबै सूची. यो जिसूची हो *,जहाँ तत्व अचल जिक्यारेक्टर प्रकारको हुन्छ *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "उपनाम" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "पहिलो उपनाम" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "तस्वीर" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "बाइट स्ट्रिममा सूचक, ब्यक्त्तिको छवि दर्साउँदछ" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "तस्वीर URIइ" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "यो ब्यक्त्तिको एउटा छविमा युआरआइ" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "जन्मदिन" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "ब्यक्त्तिको जन्मदिन" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "ठेगाना सूची" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "सबै ठेगानाहरूको सूची. यो जिसूची हो *, जहाँ तत्व माइमडिर ठेगानाको प्रकार हुन्छ *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "उपयुक्त्त ठेगाना" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "फोन नम्बर सूची" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "सबै फोन नम्बरहरूको सूची. यो जिसूची हो *, जहाँ तत्व माइमडिर फोन प्रकार हुन्छ *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "फोन नम्बर" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "उपयुक्त्त फोन नम्बर" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "इमेल ठेगाना सूची" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "सबै इमेल ठेगानाहरूको सूची. यो जिसूची हो *, जहाँ तत्व माइमडिर इमेल प्रकारको हुन्छ *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "इमेल ठेगाना" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "उपयुक्त्त इमेल ठेगाना" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "प्रेषक" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "यो ब्यक्त्तिद्वारा प्रयोग गरिएको पत्राचार कार्यक्रम" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "क्षेत्र समय" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "यो ब्यक्त्ति बस्ने क्षेत्र समय" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "क्षेत्र समय स्ट्रिङ" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "यो ब्यक्त्ति बस्ने समय समय (डेप्रिकेटेड स्ट्रिङ प्रदर्शनी)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "अक्षांश" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "यो ब्यक्त्तिको घरको अक्षांश" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "देशान्तर" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "यो ब्यक्त्तिको घरको देशान्तर" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "काम शीर्षक" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "ब्यक्त्तिको काम शीर्षक" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "भुमिका" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "ब्यक्त्तिको कार्य भूमिका" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "लोगो" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "बाइट स्ट्रिममा सूचक, ब्यक्त्तिको कम्पनीको लोगो दर्साउँदछ" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "लोगो युआरआइ" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "यो ब्यक्त्तिको कम्पनीको युआरआइ लोगो" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "प्रतिनिधि" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "ब्यक्त्ति, यस कार्डमा वर्णन गरिएको ब्यक्त्ति" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "प्रतिनिधि युआरआइ" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "युआरआइ ब्यक्त्तिको वर्णनका लागि, यस कार्डमा वर्णन गरिएको ब्यक्त्ति" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "प्रतिनिधि स्ट्रिङ" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "ब्यक्त्ति, यस कार्डमा वर्णन गरिएको ब्यक्त्ति (स्ट्रिङ प्रदर्शनी डेप्रिकेटेड )" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "संस्था सूची" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "यस ब्यक्त्तिसँग सम्बन्धित सबै संस्थाको सूची। यो जिसूची हो *, जहाँ तत्व जिक्यारेक्टर हो *'s" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "संस्था" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "ब्यक्त्तिको पहिलो संस्था" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:266 msgid "Category list" msgstr "समूह सूची" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "यस ब्यक्त्तिको सबै कोटिहरू। यो जिसीची हो *, जहाँ तत्व जिक्यारेक्टर हुन्छ *'s" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "कोटिहरू" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "यो ब्यक्त्तिको कोटिहरूको स्ट्रिङ प्रदर्शनी" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "द्रष्टव्य" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "थप टिप्पणीहरु" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "भिकार्डको उत्पादन पहिचायक। नयाँ निर्माण गरिएको वस्तुहरूको केसमा, यो लिब्मेमिडिरको " "उत्पादन पहिचायक हो" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "पूर्वावलोकन" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "कार्डको पूर्वावलोकन" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "क्रमबद्ध स्ट्रिङ" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "यो कार्डको क्रमबद्व अर्डर परिभाषित गर्ने स्ट्रिङ" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "ध्वनि" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "बाइट स्ट्रिमका लागि सूचक, ध्वनि फाइल दर्साउने" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "ध्वनि युआरआइ" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "युआरआइ ध्वनि फाइलमा" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "अनौंठो पहिचायक" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "यो कार्डका लागि अनौंठो पहिचायक" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "यू आर एल" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "यो संसाधनका लागि वैकल्पिक यू आर एल" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "वर्गिकरण" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "यो कार्डको सुरक्षित बर्गिकरण" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "सार्वजनिक कुञ्जी सूची" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "यो ब्यक्त्तिको सार्वजनिक कुञ्जीहरू। यो जिसूची हो *, जहाँ तत्व माइमडिरभि कार्ड कुञ्जीहरू हुन्छन्" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "सार्वजनिक कुञ्जी" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "यो ब्यक्त्तिको पहिलो सार्वजनिक कुञ्जी" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "कुञ्जी प्रकार" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "पहिलो सार्वजनिक कुञ्जीको प्रकार" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "त्रुटि कार्ड फाइल पढ्दै %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "त्रुटि कार्ड फाइल लेख्दै %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "नाम: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "नाम\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " उपसर्ग: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " दिइएको: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " थप: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " परिवार: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " प्रतत्य: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "जन्म मिति: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "ठेगाना लेबुल (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "ठेगाना (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " पत्र मञ्जुषा: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " विस्तृत: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " गल्ली: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " सहर: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " प्रदेश: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " पोष्टल सङ्केत: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " देश: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "टेलिफोन:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "टेलिफोन: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3556 msgid "E-mail:\n" msgstr "इमेल:\n" #: ../mimedir/mimedir-vcard.c:3580 #, c-format msgid "E-mail: %s (%s)\n" msgstr "इमेल: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3602 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "क्षेत्र समय: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3611 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "स्थान: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3620 #, c-format msgid "Organization: %s\n" msgstr "संस्था: %s\n" #: ../mimedir/mimedir-vcard.c:3625 #, c-format msgid "Job title: %s\n" msgstr "काम शीर्षक: %s\n" #: ../mimedir/mimedir-vcard.c:3628 #, c-format msgid "Business role: %s\n" msgstr "व्यापार भूमिका: %s\n" #: ../mimedir/mimedir-vcard.c:3638 #, c-format msgid "Categories: %s\n" msgstr "कोटिहरू: %s\n" #: ../mimedir/mimedir-vcard.c:3643 #, c-format msgid "Comment: %s\n" msgstr "टिप्पणि: %s\n" #: ../mimedir/mimedir-vcard.c:3646 #, c-format msgid "Homepage: %s\n" msgstr "गृहपृष्ठ: %s\n" #: ../mimedir/mimedir-vcard.c:3649 #, c-format msgid "Unique string: %s\n" msgstr "अनौंठो स्ट्रिङ: %s\n" #: ../mimedir/mimedir-vcard.c:3659 msgid "X.509" msgstr "एक्स.५०९" #: ../mimedir/mimedir-vcard.c:3662 msgid "PGP" msgstr "पिजिपि" #: ../mimedir/mimedir-vcard.c:3665 msgid "yes" msgstr "हुन्छ" #: ../mimedir/mimedir-vcard.c:3669 #, c-format msgid "Public Key: %s\n" msgstr "सार्वजनिक कुञ्जी: %s\n" #: ../mimedir/mimedir-vcomponent.c:267 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "यस अवयवका सबै कोटिहरूको सूची। यो जिसूची हो *, जहाँ तत्व जिक्यारेक्टर हुन्छ *'s" #: ../mimedir/mimedir-vcomponent.c:271 msgid "Comment list" msgstr "टिप्पणि सूची" #: ../mimedir/mimedir-vcomponent.c:272 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "यस अवयबका लागि सबै थप टिप्पणीहरू। यो जिसूची हो *, जहाँ तत्व जिक्यारेक्टर हुन्छ *'s" #: ../mimedir/mimedir-vcomponent.c:276 msgid "Description" msgstr "वर्णन" #: ../mimedir/mimedir-vcomponent.c:277 msgid "Full description of this component" msgstr "यस अवयवका लागि पूरा वर्णन" #: ../mimedir/mimedir-vcomponent.c:282 msgid "Percent complete" msgstr "प्रतिशत सकियो" #: ../mimedir/mimedir-vcomponent.c:283 msgid "Percentage of this task's completion" msgstr "यस कार्यभार प्रतिशत" #: ../mimedir/mimedir-vcomponent.c:290 msgid "Priority" msgstr "प्राथमिकता" #: ../mimedir/mimedir-vcomponent.c:291 msgid "This task's priority" msgstr "यस कार्यको प्राथमिकता" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:296 msgid "Resource list" msgstr "संसाधन सूची" #: ../mimedir/mimedir-vcomponent.c:297 msgid "List of the resources assigned to this component" msgstr "यस अवयवमा मानाङ्कन गरिएको संसाधनको सूची" #: ../mimedir/mimedir-vcomponent.c:301 msgid "Status" msgstr "वस्तुस्थिति" #: ../mimedir/mimedir-vcomponent.c:302 msgid "This task's completion status" msgstr "यस कार्यभारको वस्तुस्थिति" #: ../mimedir/mimedir-vcomponent.c:309 msgid "Summary" msgstr "सारांश" #: ../mimedir/mimedir-vcomponent.c:310 msgid "Component's short description" msgstr "अवयवको छोटो वर्णन" #: ../mimedir/mimedir-vcomponent.c:316 msgid "Date/time completed" msgstr "मिति/समय सकियो" #: ../mimedir/mimedir-vcomponent.c:317 msgid "Date/time that this task was completed" msgstr "मिति/समय जुन यो कार्य सकियो" #: ../mimedir/mimedir-vcomponent.c:322 msgid "Date/time end" msgstr "मिति/समय समाप्त" #: ../mimedir/mimedir-vcomponent.c:323 msgid "End date/time of this component" msgstr "यो अवयवको अन्त मिति/समय" #: ../mimedir/mimedir-vcomponent.c:328 msgid "Due" msgstr "पुरानो" #: ../mimedir/mimedir-vcomponent.c:329 msgid "This task's due date" msgstr "यस कार्यको पुरानो मिति" #: ../mimedir/mimedir-vcomponent.c:334 msgid "Date/time start" msgstr "मिति/समय सुरु" #: ../mimedir/mimedir-vcomponent.c:335 msgid "Start date/time of this component" msgstr "यस अवयवको मिति/समय सुरु गर्नुहोस्" #: ../mimedir/mimedir-vcomponent.c:340 msgid "Duration" msgstr "अवधी" #: ../mimedir/mimedir-vcomponent.c:341 msgid "This date's duration" msgstr "यस गतेको अवधी" #: ../mimedir/mimedir-vcomponent.c:346 msgid "Free/busy" msgstr "स्वतन्त्र/ब्यस्त" #: ../mimedir/mimedir-vcomponent.c:347 msgid "GList of free/busy objects" msgstr "स्वतन्त्र/ब्यस्त वस्तुहरूको जिसूची" #: ../mimedir/mimedir-vcomponent.c:353 msgid "This component's time zone identifier" msgstr "यस अवयवको क्षेत्र समय पहिचायक" #: ../mimedir/mimedir-vcomponent.c:358 msgid "Time zone name list" msgstr "क्षेत्र समय नाम सूची" #: ../mimedir/mimedir-vcomponent.c:359 msgid "GList of time zone names" msgstr "क्षेत्र समय नामहरूको जिसूची" #: ../mimedir/mimedir-vcomponent.c:363 ../mimedir/mimedir-vcomponent.c:364 msgid "Time zone offset from" msgstr "क्षेत्र समय अफसेटबाट" #: ../mimedir/mimedir-vcomponent.c:371 ../mimedir/mimedir-vcomponent.c:372 msgid "Time zone offset to" msgstr "क्षेत्र समय अफसेटलाई" #: ../mimedir/mimedir-vcomponent.c:379 msgid "Time zone URL" msgstr "क्षेत्र समय यू आर एल" #: ../mimedir/mimedir-vcomponent.c:380 msgid "URL to a time zone description" msgstr "क्षेत्र समय वर्णनका लागि यू आर एल" #: ../mimedir/mimedir-vcomponent.c:386 msgid "Contact" msgstr "सम्पर्क" #: ../mimedir/mimedir-vcomponent.c:387 msgid "Contact information" msgstr "सम्पर्क सूचना" #: ../mimedir/mimedir-vcomponent.c:393 msgid "Unique identifier" msgstr "अनौठो परिचय" #: ../mimedir/mimedir-vcomponent.c:394 msgid "A unique identifier for this component" msgstr "यस अवयवका लागि अनौंठो पहिचायक" #: ../mimedir/mimedir-vcomponent.c:400 msgid "Recurrence object" msgstr "पुनरावृतिक वस्तु" #: ../mimedir/mimedir-vcomponent.c:401 msgid "An object representing the RRULE tag" msgstr "RRULE ट्याबलाई प्रतिनिधित्व गर्ने एउटा वस्तु" #: ../mimedir/mimedir-vcomponent.c:407 ../mimedir/mimedir-vcomponent.c:408 msgid "Action" msgstr "कार्य" #: ../mimedir/mimedir-vcomponent.c:413 ../mimedir/mimedir-vcomponent.c:414 msgid "Repeat" msgstr "दोहोर्याउनुस्" #: ../mimedir/mimedir-vcomponent.c:419 ../mimedir/mimedir-vcomponent.c:420 msgid "Trigger" msgstr "ट्रिगर" #: ../mimedir/mimedir-vcomponent.c:425 msgid "Trigger date/time" msgstr "ट्रिगर मिति/समय" #: ../mimedir/mimedir-vcomponent.c:426 msgid "Date/time of the trigger" msgstr "ट्रिगरको मिति/समय" #: ../mimedir/mimedir-vcomponent.c:431 msgid "Trigger end" msgstr "ट्रिगर समाप्ती" #: ../mimedir/mimedir-vcomponent.c:432 msgid "Whether the trigger is set at the end of the time interval" msgstr "कतै ट्रिगर समय अवधिको अन्तमा सेट हुन्छ" #: ../mimedir/mimedir-vcomponent.c:438 msgid "Created" msgstr "सिर्जना गरियो" #: ../mimedir/mimedir-vcomponent.c:439 msgid "Date/time of the creation" msgstr "सिर्जनाको मिति/समय" #: ../mimedir/mimedir-vcomponent.c:444 msgid "Date/time stamp" msgstr "मिति/समय स्ट्याम्प" #: ../mimedir/mimedir-vcomponent.c:445 msgid "Date/time of the creation of the iCalendar object" msgstr "आइ पात्रोको सिर्जनाको मिति/समय" #: ../mimedir/mimedir-vcomponent.c:450 msgid "Last modified" msgstr "पछिल्लो परिमार्जन" #: ../mimedir/mimedir-vcomponent.c:451 msgid "Date/time of the last modification" msgstr "पछिल्लो परिमार्जनको मिति/समय" #: ../mimedir/mimedir-vcomponent.c:456 msgid "Sequence" msgstr "अनुक्रम" #: ../mimedir/mimedir-vcomponent.c:457 msgid "Sequence number" msgstr "अनुक्रम सङ्ख्या" libmimedir-0.4.2/po/sv.po0000644000175000017500000012241210603540671012165 00000000000000# Swedish messages for libmimedir. # Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc. # This file is distributed under the same license as the libmimedir package. # Christian Rose , 2002, 2003. # Daniel Nylander , 2006. # # $Id: sv.po,v 1.8 2006/04/16 20:26:19 dnylande Exp $ # msgid "" msgstr "" "Project-Id-Version: libmimedir\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2006-04-12 20:15+0200\n" "PO-Revision-Date: 2006-04-16 19:51+0100\n" "Last-Translator: Daniel Nylander \n" "Language-Team: Swedish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Användning: %s ICALFIL\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "per sekund" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "per minut" #: ../bin/ical-dump.c:61 msgid "hourly" msgstr "per timma" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "dagligen" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "veckovis" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "månadsvis" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "årligen" #: ../bin/ical-dump.c:71 #: ../bin/ical-dump.c:97 msgid "unknown" msgstr "okänd" #: ../bin/ical-dump.c:81 msgid "second" msgstr "sekund" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "minut" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "timma" #: ../bin/ical-dump.c:87 msgid "day" msgstr "dag" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "dag i månad" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "dag i år" #: ../bin/ical-dump.c:93 msgid "week number" msgstr "veckonummer" #: ../bin/ical-dump.c:95 msgid "month" msgstr "månad" #: ../bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr " Återkomst:\n" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr " Frekvens: %s\n" #: ../bin/ical-dump.c:123 #, c-format msgid " Until: %s\n" msgstr " Tills: %s\n" #: ../bin/ical-dump.c:128 #, c-format msgid " Count: %d\n" msgstr " Antal: %d\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr " Intervall: %d\n" #: ../bin/ical-dump.c:134 #, c-format msgid " Unit: %s\n" msgstr " Enhet: %s\n" #: ../bin/ical-dump.c:137 #, c-format msgid " Units: %s\n" msgstr " Enheter: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Händelse:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Att-göra-post:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Okänd komponent:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Sammanfattning: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Kategorier: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "hög" #: ../bin/ical-dump.c:190 msgid "low" msgstr "låg" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "mellan" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Prioritet: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Startdatum: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Slutdatum: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Förfallodatum: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " Unikt ID: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Sekvens: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " Heldagsarrangemang\n" #: ../bin/ical-dump.c:261 #: ../bin/vcard-dump.c:84 #: ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: ogiltigt antal argument\n" #: ../bin/vcard-dump.c:43 #: ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Användning: %s VCARDFIL\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: fel vid läsning av kortfil: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: fel vid skrivande av kortfil: %s\n" #: ../mimedir/mimedir-attribute.c:131 #: ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Namn" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "Attributets namn" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Grupp" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "Attributets grupp" #: ../mimedir/mimedir-attribute.c:933 msgid "missing parameter name" msgstr "parameternamn saknas" #: ../mimedir/mimedir-attribute.c:958 msgid "missing closing quotation mark" msgstr "avslutande citattecken saknas" #: ../mimedir/mimedir-attribute.c:983 msgid "wrong parameter syntax" msgstr "felaktig parametersyntax" #: ../mimedir/mimedir-attribute.c:993 msgid "no parameter value" msgstr "parametervärde saknas" #: ../mimedir/mimedir-attribute.c:1086 msgid "missing attribute name/group" msgstr "attributnamn/grupp saknas" #: ../mimedir/mimedir-attribute.c:1102 msgid "no attribute name after group" msgstr "inget attributnamn efter grupp" #: ../mimedir/mimedir-attribute.c:1118 msgid "missing value delimiter" msgstr "värdeavgränsare saknas" #: ../mimedir/mimedir-attribute.c:1134 msgid "invalid character" msgstr "ogiltigt tecken" #: ../mimedir/mimedir-attribute.c:2505 #: ../mimedir/mimedir-attribute.c:2514 msgid "illegal character" msgstr "otillåtet tecken" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "syntaxfel (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "otillåtet tecken 0x%02x för typen \"%s\"" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "ogiltigt format för typen \"%s\" i attributet %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "attributet %s kunde inte avkodas eftersom dess kodning är okänd" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "ogiltigt värde i attributet %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "parametern \"%s\" får inte användas mer än en gång i attributet %s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "ogiltig Base64-sekvens" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "ogiltig \"quoted-printable\"-sekvens" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "attributlistan till %s är för kort" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "attributlistan till %s är för lång" #: ../mimedir/mimedir-datetime.c:114 #: ../mimedir/mimedir-vcomponent.c:352 msgid "Time zone identifier" msgstr "Tidszonsidentifierare" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Identifieringssträng för tidszon" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d.%02d.%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d.%02d.%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Ledig-/upptagentyp" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Huruvida detta objekt representerar en ledig eller en upptagen period" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Profilnamn" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "Namnet (typen) av profil" #: ../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "Teckenkodning" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "Teckenkodning att använda för att koda/avkoda denna profil" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "attributet %s är angivet två gånger" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "oväntat slut på profilen" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "nödvändiga attributet %s saknas" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "ensamt END-attribut" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "felaktig profil %s; %s förväntades" #: ../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "Frekvens" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "Frekvenstyp för denna återkomstregel" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "Datum för senaste återkomst" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "Datumet för den senaste återkomsten av en händelse" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "Antal återkomster" #: ../mimedir/mimedir-recurrence.c:236 msgid "The number of recurrences of an event" msgstr "Antalet återkomster av en händelse" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "Återkomstintervall" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "Intervallet för återkomster av en händelse" #: ../mimedir/mimedir-recurrence.c:251 msgid "Recurrence unit" msgstr "Återkomstenhet" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "Efter vilken enhet en återkomst ska repeteras" #: ../mimedir/mimedir-recurrence.c:259 msgid "Recurrence units" msgstr "Återkomstenheter" # Hmm. Osäker #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "Lista på enheter som för vilka en återkomst ska repeteras" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Påminnelse om ditt möte:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Metod" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "Metoden för vCalendar" #: ../mimedir/mimedir-vcal.c:154 #: ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Produktidentifierare" #: ../mimedir/mimedir-vcal.c:155 msgid "The product identifier of the vCalendar. In case of newly generated objects, this is LibMIMEDir's product identifier" msgstr "Produktidentifieraren för vCalendar. För nyligen genererade objekt är detta LibMIMEDirs produktidentifierare" #: ../mimedir/mimedir-vcal.c:384 #: ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2111 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "Profilen innehåller det anpassade attributet %s som inte stöds.\n" #: ../mimedir/mimedir-vcal.c:387 #: ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2114 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "Profilen innehåller det okända attributet %s.\n" #: ../mimedir/mimedir-vcal.c:432 #: ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 #: ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Fel vid läsning av kalenderfilen %s: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Titel" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "En enradssträng med den viktigaste adressinformationen" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Friformsadress" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "En adressträng på fri form" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Postbox" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "Adressatens postbox" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Utökad adress" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Utökad adressträng" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Gata" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Gatuadress" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Ort" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Ort (t.ex. stad)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Region" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Region (t.ex. delstat)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Postkod" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Postkod (friformssträng)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Land" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Inrikes" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Huruvida detta är en inrikesadress" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Utrikes" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Huruvida detta är en utrikesadress" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Post" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Huruvida detta är en postadress" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Bud" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Huruvida bud kan tas emot på denna adress" #: ../mimedir/mimedir-vcard-address.c:246 #: ../mimedir/mimedir-vcard-email.c:163 #: ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Hem" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Huruvida detta är en hemadress" #: ../mimedir/mimedir-vcard-address.c:252 #: ../mimedir/mimedir-vcard-email.c:169 #: ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Jobb" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Huruvida detta är en jobbadress" #: ../mimedir/mimedir-vcard-address.c:258 #: ../mimedir/mimedir-vcard-email.c:157 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Föredras" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Huruvida denna adress föredras" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "%s-attributet innehåller för många element.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s.\n" msgstr "Adressfältet är av okända typen %s.\n" #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 #: ../mimedir/mimedir-vcard-email.c:538 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "föredras" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "inrikes" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "utrikes" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "post" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "bud" #: ../mimedir/mimedir-vcard-address.c:939 #: ../mimedir/mimedir-vcard-email.c:560 #: ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "hem" #: ../mimedir/mimedir-vcard-address.c:944 #: ../mimedir/mimedir-vcard-email.c:566 #: ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "jobb" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:142 #: ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Adress" #: ../mimedir/mimedir-vcard-email.c:143 msgid "The e-mail address" msgstr "E-postadressen" #: ../mimedir/mimedir-vcard-email.c:149 msgid "Type" msgstr "Typ" #: ../mimedir/mimedir-vcard-email.c:150 msgid "Type of this e-mail address" msgstr "Typen av e-postadress" #: ../mimedir/mimedir-vcard-email.c:158 msgid "Whether this is the preferred e-mail address" msgstr "Huruvida denna e-postadress föredras" #: ../mimedir/mimedir-vcard-email.c:164 msgid "Whether is a home e-mail address" msgstr "Huruvida detta är en e-postadress för hemmet" #: ../mimedir/mimedir-vcard-email.c:170 msgid "Whether this is an e-mail address at work" msgstr "Huruvida detta är en e-postadress till arbetsplatsen" #: ../mimedir/mimedir-vcard-email.c:442 #, c-format msgid "The email field is of unknown type %s.\n" msgstr "E-postfältet är av okända typen %s.\n" #: ../mimedir/mimedir-vcard-email.c:548 msgid "Internet" msgstr "Internet" #: ../mimedir/mimedir-vcard-email.c:553 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Nummer" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "Telefonnumret (friformssträng)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Huruvida detta är ett hemtelefonnummer" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Huruvida detta är ett jobbtelefonnummer" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Röst" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Huruvida detta är ett röstnummer" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Fax" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Huruvida detta är ett faxnummer" #: ../mimedir/mimedir-vcard-phone.c:184 #: ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Huruvida detta är ett nummer för en elektronisk anslagstavla" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modem" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Huruvida detta är ett modemnummer" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Personsökare" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Huruvida detta är ett personsökarnummer" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Bild" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Huruvida detta är ett bildtelefonnummer" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Mobil" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Huruvida detta är ett mobiltelefonnummer" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Bil" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Huruvida detta är ett biltelefonnummer" #: ../mimedir/mimedir-vcard-phone.c:220 #: ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Huruvida detta är ett ISDN-nummer" #: ../mimedir/mimedir-vcard-phone.c:226 #: ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Huruvida detta är ett PCS-nummer" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Huruvida detta nummer föredras" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Meddelande" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Huruvida detta nummer har en röstinspelare" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s.\n" msgstr "Telefonfältet är av okända typen %s.\n" #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "röst" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "fax" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "modem" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "personsökare" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "video" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "röstmeddelande" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "mobiltelefon" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "biltelefon" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "Det fullständiga namnet för denna person" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Efternamn" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "Efternamnet för denna person" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Förnamn" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "Förnamnet för denna person" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Mellannamn" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "Mellannamnet eller mellaninitialerna för denna person" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Prefix" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "Namnprefixet (t.ex. hedersprefixet) för denna person" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Suffix" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "Namnsuffixet för denna person" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Smeknamnslista" #: ../mimedir/mimedir-vcard.c:335 msgid "List of all nick names. This is a GList *, where the elements are of type const gchar *" msgstr "Lista med alla smeknamn. Detta är en GList * där elementen är av typen const gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Smeknamn" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "Det första smeknamnet" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Foto" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Pekare till en byteström som representerar en bild av personen" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "Foto-URI" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI till en bild av denna person" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Födelsedag" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "Personens födelsedag" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Adresslista" #: ../mimedir/mimedir-vcard.c:364 msgid "List of all addresses. This is a GList *, where the elements are of type MIMEDirAddress *" msgstr "Lista med alla adresser. Detta är en GList * där elementen är av typen MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "Den adress som föredras" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Telefonnummerslista" #: ../mimedir/mimedir-vcard.c:376 msgid "List of all phone numbers. This is a GList *, where the elements are of type MIMEDirPhone *" msgstr "Lista med alla telefonnummer. Detta är en GList * där elementen är av typen MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Telefonnummer" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "Det föredragna telefonnumret" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "E-postadresslista" #: ../mimedir/mimedir-vcard.c:387 msgid "List of all e-mail addresses. This is a GList *, where the elements are of type MIMEDirEmail *" msgstr "Lista med alla e-postadresser. Detta är en GList * där elementen är av typen MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "E-postadress" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "Den e-postadress som föredras" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "E-postprogram" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "Det e-postprogram som används av denna person" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Tidszon" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "Tidszonen som denna person befinner sig i" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Tidszonssträng" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "Tidszonen som denna person bor i (föråldrad strängrepresentation)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Latitud" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Latituden för denna persons hemvist" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Longitud" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Longituden för denna persons hemvist" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Jobbtitel" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "Personens jobbtitel" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Roll" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "Personens yrkesroll" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Logotyp" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "Pekare till en byteström som representerar logotypen för personens företag" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "Logotyp-URI" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI till logotypen för denna persons företag" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Agent" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "En person som agerar som agent för personen som beskrivs i detta kort" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "Agent-URI" #: ../mimedir/mimedir-vcard.c:465 msgid "URI to the description of a person, acting for the person described in this card" msgstr "URI till beskrivningen av en person som agerar för personen som är beskriven i detta kort" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Agentsträng" #: ../mimedir/mimedir-vcard.c:471 msgid "A person, acting for the person described in this card (deprecated string representation)" msgstr "En person som agerar för personen som är beskriven i detta kort (föråldrad strängrepresentation)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Organisationslista" #: ../mimedir/mimedir-vcard.c:477 msgid "List of all organization this person belongs to. This is a GList *, where the elements are gchar *'s" msgstr "Lista med alla organisationer som denna person hör till. Detta är en GList * där elementen är gchar *" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Organisation" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "Personens första organisation" #: ../mimedir/mimedir-vcard.c:488 #: ../mimedir/mimedir-vcomponent.c:266 msgid "Category list" msgstr "Kategorilista" #: ../mimedir/mimedir-vcard.c:489 msgid "List of all categories of this person. This is a GList *, where the elements are gchar *'s" msgstr "Lista med alla kategorier för denna person. Detta är en GList * där elementen är gchar *" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Kategorier" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Strängrepresentation för denna persons kategorier" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Anteckning" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Ytterligare kommentarer" #: ../mimedir/mimedir-vcard.c:506 msgid "The product identifier of the vCard. In case of newly generated objects, this is LibMIMEDir's product identifier" msgstr "Produktidentifieraren för vCard. För nyligen genererade objekt är detta produktidentifieraren för LibMIMEDir" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Revision" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Kortets revisionsnummer" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Sorteringssträng" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "Sträng som definierar detta korts sorteringsorder" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Ljud" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Pekare till en byteström som representerar en ljudfil" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "Ljud-URI" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI till en ljudfil" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Unik identifierare" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "En unik identifierare för detta kort" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "En alternativ URL för denna resurs" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Klassificering" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "Säkerhetsklassificeringen för detta kort" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Lista med publika nycklar" #: ../mimedir/mimedir-vcard.c:554 msgid "List of this person's public keys. This is a GList *, where the elements are MIMEDirVCardKeys" msgstr "Lista med denna persons publika nycklar. Detta är en GList * där elementen är MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Publik nyckel" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "Denna persons första publika nyckel" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Nyckeltyp" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Typen för den första publika nyckeln" #: ../mimedir/mimedir-vcard.c:1474 #: ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 #: ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Fel vid läsning av kortfilen %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Fel vid skrivning av kortfilen %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Namn: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Namn\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Prefix: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Förnamn: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Ytterligare: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Familj: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Suffix: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Födelsedatum: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Adressetikett (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Adress (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Postbox: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Utökat: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Gatuadress: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Ort: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Region: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Postkod: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Land: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Telefon:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Telefon: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3556 msgid "E-mail:\n" msgstr "E-postadress:\n" #: ../mimedir/mimedir-vcard.c:3580 #, c-format msgid "E-mail: %s (%s)\n" msgstr "E-postadress: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3602 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Tidszon: %c%02d%02d\n" #: ../mimedir/mimedir-vcard.c:3611 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Plats: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3620 #, c-format msgid "Organization: %s\n" msgstr "Organisation: %s\n" #: ../mimedir/mimedir-vcard.c:3625 #, c-format msgid "Job title: %s\n" msgstr "Jobbtitel: %s\n" #: ../mimedir/mimedir-vcard.c:3628 #, c-format msgid "Business role: %s\n" msgstr "Affärsroll: %s\n" #: ../mimedir/mimedir-vcard.c:3638 #, c-format msgid "Categories: %s\n" msgstr "Kategorier: %s\n" #: ../mimedir/mimedir-vcard.c:3643 #, c-format msgid "Comment: %s\n" msgstr "Kommentar: %s\n" #: ../mimedir/mimedir-vcard.c:3646 #, c-format msgid "Homepage: %s\n" msgstr "hemsida: %s\n" #: ../mimedir/mimedir-vcard.c:3649 #, c-format msgid "Unique string: %s\n" msgstr "Unik sträng: %s\n" #: ../mimedir/mimedir-vcard.c:3659 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3662 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3665 msgid "yes" msgstr "ja" #: ../mimedir/mimedir-vcard.c:3669 #, c-format msgid "Public Key: %s\n" msgstr "Publik nyckel: %s\n" #: ../mimedir/mimedir-vcomponent.c:267 msgid "List of all categories of this component. This is a GList *, where the elements are gchar *'s" msgstr "Lista med alla kategorier för denna komponent. Detta är en GList * där elementen är gchar *" #: ../mimedir/mimedir-vcomponent.c:271 msgid "Comment list" msgstr "Kommentarlista" #: ../mimedir/mimedir-vcomponent.c:272 msgid "List of all additional comments for this component. This is a GList *, where the elements are gchar *'s" msgstr "Lista med alla ytterligare kommentarer för denna komponent. Detta är en GList * där elementen är gchar *" #: ../mimedir/mimedir-vcomponent.c:276 msgid "Description" msgstr "Beskrivning" #: ../mimedir/mimedir-vcomponent.c:277 msgid "Full description of this component" msgstr "Fullständig beskrivning för denna komponent" #: ../mimedir/mimedir-vcomponent.c:282 msgid "Percent complete" msgstr "Procent klar" #: ../mimedir/mimedir-vcomponent.c:283 msgid "Percentage of this task's completion" msgstr "Procent som denna uppgift är klar" #: ../mimedir/mimedir-vcomponent.c:290 msgid "Priority" msgstr "Prioritet" #: ../mimedir/mimedir-vcomponent.c:291 msgid "This task's priority" msgstr "Denna uppgifts prioritet" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:296 msgid "Resource list" msgstr "Resurslista" #: ../mimedir/mimedir-vcomponent.c:297 msgid "List of the resources assigned to this component" msgstr "Lista med de resurser som är tilldelade till denna komponent" #: ../mimedir/mimedir-vcomponent.c:301 msgid "Status" msgstr "Status" #: ../mimedir/mimedir-vcomponent.c:302 msgid "This task's completion status" msgstr "Denna uppgifts färdigställningsstatus" #: ../mimedir/mimedir-vcomponent.c:309 msgid "Summary" msgstr "Sammanfattning" #: ../mimedir/mimedir-vcomponent.c:310 msgid "Component's short description" msgstr "Kort beskrivning för komponenten" #: ../mimedir/mimedir-vcomponent.c:316 msgid "Date/time completed" msgstr "Datum/tid för färdigställande" #: ../mimedir/mimedir-vcomponent.c:317 msgid "Date/time that this task was completed" msgstr "Datum/tid då denna uppgift färdigställdes" #: ../mimedir/mimedir-vcomponent.c:322 msgid "Date/time end" msgstr "Slutdatum/-tid" #: ../mimedir/mimedir-vcomponent.c:323 msgid "End date/time of this component" msgstr "Slutdatum/-tid för denna komponent" #: ../mimedir/mimedir-vcomponent.c:328 msgid "Due" msgstr "Klar" #: ../mimedir/mimedir-vcomponent.c:329 msgid "This task's due date" msgstr "Det datum då denna uppgift ska vara klar" #: ../mimedir/mimedir-vcomponent.c:334 msgid "Date/time start" msgstr "Startdatum/-tid" #: ../mimedir/mimedir-vcomponent.c:335 msgid "Start date/time of this component" msgstr "Stardatum/-tid för denna komponent" #: ../mimedir/mimedir-vcomponent.c:340 msgid "Duration" msgstr "Varaktighet" #: ../mimedir/mimedir-vcomponent.c:341 msgid "This date's duration" msgstr "Detta datums varaktighet" #: ../mimedir/mimedir-vcomponent.c:346 msgid "Free/busy" msgstr "Ledig/upptagen" #: ../mimedir/mimedir-vcomponent.c:347 msgid "GList of free/busy objects" msgstr "GList med ledig/upptagenobjekt" #: ../mimedir/mimedir-vcomponent.c:353 msgid "This component's time zone identifier" msgstr "Denna komponents tidszonsidentifierare" #: ../mimedir/mimedir-vcomponent.c:358 msgid "Time zone name list" msgstr "Tidszonslista" #: ../mimedir/mimedir-vcomponent.c:359 msgid "GList of time zone names" msgstr "GList med tidszonsnamn" #: ../mimedir/mimedir-vcomponent.c:363 #: ../mimedir/mimedir-vcomponent.c:364 msgid "Time zone offset from" msgstr "Tidszonsavstånd från" #: ../mimedir/mimedir-vcomponent.c:371 #: ../mimedir/mimedir-vcomponent.c:372 msgid "Time zone offset to" msgstr "Tidszonsavstånd till" #: ../mimedir/mimedir-vcomponent.c:379 msgid "Time zone URL" msgstr "Tidszons-URL" #: ../mimedir/mimedir-vcomponent.c:380 msgid "URL to a time zone description" msgstr "URL till en tidszonsbeskrivning" #: ../mimedir/mimedir-vcomponent.c:386 msgid "Contact" msgstr "Kontakt" #: ../mimedir/mimedir-vcomponent.c:387 msgid "Contact information" msgstr "Kontaktinformation" #: ../mimedir/mimedir-vcomponent.c:393 msgid "Unique identifier" msgstr "Unik identifierare" #: ../mimedir/mimedir-vcomponent.c:394 msgid "A unique identifier for this component" msgstr "En unik identifierare för denna komponent" #: ../mimedir/mimedir-vcomponent.c:400 msgid "Recurrence object" msgstr "Återkomstobjekt" #: ../mimedir/mimedir-vcomponent.c:401 msgid "An object representing the RRULE tag" msgstr "Ett objekt som representerar RRULE-taggen" #: ../mimedir/mimedir-vcomponent.c:407 #: ../mimedir/mimedir-vcomponent.c:408 msgid "Action" msgstr "Åtgärd" #: ../mimedir/mimedir-vcomponent.c:413 #: ../mimedir/mimedir-vcomponent.c:414 msgid "Repeat" msgstr "Upprepa" #: ../mimedir/mimedir-vcomponent.c:419 #: ../mimedir/mimedir-vcomponent.c:420 msgid "Trigger" msgstr "Trigger" #: ../mimedir/mimedir-vcomponent.c:425 msgid "Trigger date/time" msgstr "Triggerdatum/-tid" #: ../mimedir/mimedir-vcomponent.c:426 msgid "Date/time of the trigger" msgstr "Datum/tid för triggern" #: ../mimedir/mimedir-vcomponent.c:431 msgid "Trigger end" msgstr "Triggerslut" #: ../mimedir/mimedir-vcomponent.c:432 msgid "Whether the trigger is set at the end of the time interval" msgstr "Huruvida triggern sätts vid slutet på tidsintervallet" #: ../mimedir/mimedir-vcomponent.c:438 msgid "Created" msgstr "Skapad" #: ../mimedir/mimedir-vcomponent.c:439 msgid "Date/time of the creation" msgstr "Datum/tid för skapandet" #: ../mimedir/mimedir-vcomponent.c:444 msgid "Date/time stamp" msgstr "Datum-/tidsstämpel" #: ../mimedir/mimedir-vcomponent.c:445 msgid "Date/time of the creation of the iCalendar object" msgstr "Datum/tid för skapandet av iCalender-objektet" #: ../mimedir/mimedir-vcomponent.c:450 msgid "Last modified" msgstr "Senast ändrad" #: ../mimedir/mimedir-vcomponent.c:451 msgid "Date/time of the last modification" msgstr "Datum/tid för senaste ändring" #: ../mimedir/mimedir-vcomponent.c:456 msgid "Sequence" msgstr "Sekvens" #: ../mimedir/mimedir-vcomponent.c:457 msgid "Sequence number" msgstr "Sekvensnummer" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s: fel vid läsning av kalenderfil: %s\n" #~ msgid "Can not open temporary file %s: %s\n" #~ msgstr "Kan inte öppna temporära filen %s: %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Fel vid skrivande av kalenderfilen %s: %s!" #~ msgid "Category" #~ msgstr "Kategori" #~ msgid "Resource" #~ msgstr "Resurs" #~ msgid "syntax error" #~ msgstr "syntaxfel" #~ msgid "GPG" #~ msgstr "GPG" libmimedir-0.4.2/po/pt.po0000644000175000017500000012067310603540671012167 00000000000000# libmimedir Portuguese translation. # Copyright (C) 2003 libmimedir # This file is distributed under the same license as the libmimedir package. # Duarte Loreto , 2003. # msgid "" msgstr "" "Project-Id-Version: 2.4\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-04 15:04+0200\n" "PO-Revision-Date: 2003-07-19 01:59+0000\n" "Last-Translator: Duarte Loreto \n" "Language-Team: Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Utilização: %s FICHEIROICAL\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" #: ../bin/ical-dump.c:61 #, fuzzy msgid "hourly" msgstr "Pais" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 #, fuzzy msgid "unknown" msgstr "" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" #: ../bin/ical-dump.c:93 #, fuzzy msgid "week number" msgstr "Número telefone" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, fuzzy, c-format msgid " Recurrence:\n" msgstr " Sequência: %u\n" #: ../bin/ical-dump.c:120 #, fuzzy, c-format msgid " Frequency: %s\n" msgstr " Sequência: %u\n" #: ../bin/ical-dump.c:123 #, fuzzy, c-format msgid " Until: %s\n" msgstr " ID Único: %s\n" #: ../bin/ical-dump.c:128 #, fuzzy, c-format msgid " Count: %d\n" msgstr " Pais: %s\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" #: ../bin/ical-dump.c:134 #, fuzzy, c-format msgid " Unit: %s\n" msgstr " ID Único: %s\n" #: ../bin/ical-dump.c:137 #, fuzzy, c-format msgid " Units: %s\n" msgstr " ID Único: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Evento:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Item A Fazer:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Componente desconhecido:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Resumo: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Categorias: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "alta" #: ../bin/ical-dump.c:190 msgid "low" msgstr "baixa" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "média" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Prioridade: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Data início: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Data fim: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Data expiração: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " ID Único: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Sequência: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " Evento dia inteiro\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: número de argumentos inválido\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Utilização: %s FICHEIROVCARD\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: erro ao ler ficheiro de cartão: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: erro ao escrever ficheiro de cartão: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Nome" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "O nome do atributo" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Grupo" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "O grupo do atributo" #: ../mimedir/mimedir-attribute.c:894 msgid "missing parameter name" msgstr "nome parâmetro em falta" #: ../mimedir/mimedir-attribute.c:919 msgid "missing closing quotation mark" msgstr "fecho de aspas em falta" #: ../mimedir/mimedir-attribute.c:1040 msgid "missing attribute name/group" msgstr "atributo nome/grupo em falta" #: ../mimedir/mimedir-attribute.c:1056 msgid "no attribute name after group" msgstr "nenhum atributo nome após grupo" #: ../mimedir/mimedir-attribute.c:1072 msgid "missing value delimiter" msgstr "delimitador de valor em falta" #: ../mimedir/mimedir-attribute.c:1088 msgid "invalid character" msgstr "caracter inválido" #: ../mimedir/mimedir-attribute.c:2459 ../mimedir/mimedir-attribute.c:2468 msgid "illegal character" msgstr "caracter ilegal" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "erro sintaxe (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "caracter 0x%02x ilegal para o tipo \"%s\"" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "formato inválido para o tipo \"%s\" no atributo %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "" "atributo %s não pode ser descodificado, pois a sua codificação é desconhecida" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "valor inválido no atributo %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "" "parâmetro \"%s\" não pode ser utilizado mais do que uma vez no atributo %s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "sequência Base64 inválida" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "sequência citada-imprimível inválida" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "lista de atributos de %s é demasiado pequena" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "lista de atributos de %s é demasiado grande" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "Identificador zona horária" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Expressão de identificador de zona horária" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Tipo livre/ocupado" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Se este objecto significa um período livre ou ocupado" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Nome perfil" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "O nome (tipo) de perfil" #: ../mimedir/mimedir-profile.c:121 #, fuzzy msgid "Character set" msgstr "Lista categorias" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "atributo %s definido duas vezes" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "fim de perfil inesperado" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "atributo requerido %s em falta" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "atributo END sem par" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "perfil %s incorrecto; esperado %s" #: ../mimedir/mimedir-recurrence.c:221 #, fuzzy msgid "Frequency" msgstr "Sequência" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 #, fuzzy msgid "Recurrence unit" msgstr "Lista recursos" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 #, fuzzy msgid "Recurrence units" msgstr "Lista recursos" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Lembrete da sua reunião:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Método" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "O método vCalendar" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Identificador produto" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "O identificador de produto do vCalendar. No caso de novos objectos gerados, " "este é o identificador de produto do LibMIMEDir" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "O perfil contém o atributo costumizado não suportado %s.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "O perfil contém o atributo desconhecido %s.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Erro ao ler ficheiro de calendário %s: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Título" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "" "Uma expressão de uma linha apenas com a informação de endereço mais " "importante" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Endereço formato livre" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Uma expressão em formato livre de endereço" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Caixa postal" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "O endereço da caixa postal" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Endereço extendido" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Expressão de endereço extendida" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Rua" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Nome da rua" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Localidade" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Localidade (por ex. cidade, vila, etc.)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Região" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Região (por ex. Distrito)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Código postal" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Código postal (expressão livre)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Pais" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "De Casa" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Se este é ou não o endereço de casa" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Internacional" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Se este é ou não um endereço internacional" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Postal" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Se este é ou não um endereço postal" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Encomenda" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Se encomendas podem ou não ser recebidas neste endereço" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Casa" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Se este é ou não o endereço de casa" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Trabalho" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Se este é ou não o endereço do emprego" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:153 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Preferido" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Se este é ou não o endereço preferido" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "O atributo %s contém demasiados elementos.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s." msgstr "O campo de endereço é de um tipo desconhecido %s." #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:504 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "preferido" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "de casa" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "internacional" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "postal" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "encomenda" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "casa" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "trabalho" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:138 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Endereço" #: ../mimedir/mimedir-vcard-email.c:139 msgid "The e-mail address" msgstr "O endereço de e-mail" #: ../mimedir/mimedir-vcard-email.c:145 msgid "Type" msgstr "Tipo" #: ../mimedir/mimedir-vcard-email.c:146 msgid "Type of this e-mail address" msgstr "O tipo deste endereço de e-mail" #: ../mimedir/mimedir-vcard-email.c:154 msgid "Whether this is the preferred e-mail address" msgstr "Se este é ou não o endereço de e-mail preferido" #: ../mimedir/mimedir-vcard-email.c:412 #, c-format msgid "The email field is of unknown type %s." msgstr "O campo de email é de um tipo desconhecido %s." #: ../mimedir/mimedir-vcard-email.c:514 msgid "Internet" msgstr "Internet" #: ../mimedir/mimedir-vcard-email.c:519 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Número" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "O número de telefone (expressão livre)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Se este é ou não um telefone de casa" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Se este é ou não um telefone do emprego" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Voz" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Se este é ou não um número de voz" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Fax" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Se este é ou não um número de fax" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Se este é ou não um número de um sistema bulletin board (BBS)" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modem" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Se este é ou não um número de modem" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Pager" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Se este é ou não um número de pager" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Vídeo" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Se este é ou não um número de video-fone" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Celular" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Se este é ou não um número de telefone celular (móvel)" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Carro" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Se este é ou não um número de telefone no carro" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "RDIS" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Se este é ou não um número RDIS" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Se este é ou não um número PCS" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Se este é ou não o número preferido" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Mensagem" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Se este número tem ou não um atendedor de mensagens" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s." msgstr "O campo telefone é do tipo desconhecido %s." #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "voz" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "fax" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "modem" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "pager" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "vídeo" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "atendedor chamadas" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "telefone celular" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "telefone carro" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "O nome completo desta pessoa" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Sobrenome" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "O sobrenome desta pessoa" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Primeiro nome" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "O primeiro nome desta pessoa" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Nomes meio" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "Os nomes ou iniciais do meio desta pessoa" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Prefixo" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "O prefixo (por ex. prefixo honorífico) desta pessoa" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Sufixo" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "O sufixo de nome desta pessoa" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Lista alcunhas" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" "Lista de todas as alcunhas. Esta é uma GList *, onde os elementos são do " "tipo const gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Alcunha" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "A primeira alcunha" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Fotografia" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Ponteiro para um fluxo de bytes, representando uma imagem da pessoa" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "URI Fotografia" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI para uma imagem desta pessoa" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Aniversário" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "O aniversário da pessoa" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Lista endereços" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" "Lista de todos os endereços. Esta é uma GList *, onde os elementos são do " "tipo MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "O endereço preferido" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Lista números telefone" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "Lista de todos os números de telefone. Esta é uma GList *, onde os elementos " "são do tipo MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Número telefone" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "O número de telefone preferido" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Lista endereços E-mail" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Lista de todos os endereços de e-mail. Esta é uma GList *, onde os elementos " "são do tipo MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "Endereço e-mail" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "O endereço de e-mail preferido" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Cliente Mail" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "A aplicação de e-mail utilizada por esta pessoa" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Zona horária" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "A zona horária em que esta pessoa vive" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Expressão zona horária" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "" "A zona horária em que esta pessoa vive (expressão representativa obsoleta)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Latitude" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "A latitude da residência desta pessoa" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Longitude" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "A longitude da residência desta pessoa" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Cargo" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "O cargo da pessoa (título no emprego)" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Papel" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "O papel da pessoa no trabalho" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Logotipo" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" "Ponteiro para um fluxo de bytes, representando o logotipo da empresa da " "pessoa" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "URI Logotipo" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI para o logotipo da empresa da pessoa" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Representante" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "Uma pessoa, que age em nome da pessoa descrita por este cartão" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "URI Representante" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "" "URI para a descrição da pessoa que age em nome da pessoa descrita por este " "cartão" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Expressão representante" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "Uma pessoa que age em nome da pessoa descrita por este cartão (expressão " "representativa obsoleta)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Lista organizações" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Lista de todas as organizações a que esta pessoa pertence. Esta é uma GList " "*, onde os elementos são gchar *" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Organização" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "A primeira organização da pessoa" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "Lista categorias" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "Lista de todas as categorias desta pessoa. Esta é uma GList *, onde os " "elementos são gchar *" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Categorias" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Expressão representativa da categoria desta pessoa" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Nota" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Comentários adicionais" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "O identificador de produto do vCartão. No caso de novos objectos gerados, " "este é o identificador de produto LibMIMEDir" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Revisão" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Revisão do cartão" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Expressão ordenação" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "A expressão que define a ordem de ordenação deste cartão" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Som" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Ponteiro para um fluxo de bytes que representa um ficheiro de som" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "URI Som" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI para um ficheiro de som" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Identificador Único" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Um identificador único para este cartão" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Um URL alternativo para este recurso" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Classificação" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "A classificação de segurança deste cartão" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Lista chaves públicas" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Lista das chaves públicas desta pessoa. Esta é uma GList *, onde os " "elementos são MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Chave pública" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "A primeira chave pública desta pessoa" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Tipo chave" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Tipo da primeira chave pública" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Erro ao ler ficheiro cartão %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Erro ao escrever ficheiro cartão %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Nome: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Nome\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Prefixo: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Primeiro: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Adicionais: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Sobrenome: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Sufixo: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Aniversário: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Etiqueta endereço (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Endereço (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Caixa Postal: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Extendido: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Rua: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Cidade: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Região: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Código Postal: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Pais: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Telefone:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Telefone: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3554 msgid "E-mail:\n" msgstr "E-mail:\n" #: ../mimedir/mimedir-vcard.c:3578 #, c-format msgid "E-mail: %s (%s)\n" msgstr "E-mail: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3598 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Zona horária: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3607 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Localização: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3616 #, c-format msgid "Organization: %s\n" msgstr "Organização: %s\n" #: ../mimedir/mimedir-vcard.c:3621 #, c-format msgid "Job title: %s\n" msgstr "Cargo: %s\n" #: ../mimedir/mimedir-vcard.c:3624 #, c-format msgid "Business role: %s\n" msgstr "Papel trabalho: %s\n" #: ../mimedir/mimedir-vcard.c:3634 #, c-format msgid "Categories: %s\n" msgstr "Categorias: %s\n" #: ../mimedir/mimedir-vcard.c:3639 #, c-format msgid "Comment: %s\n" msgstr "Comentário: %s\n" #: ../mimedir/mimedir-vcard.c:3642 #, c-format msgid "Homepage: %s\n" msgstr "Página Web: %s\n" #: ../mimedir/mimedir-vcard.c:3645 #, c-format msgid "Unique string: %s\n" msgstr "Expressão única: %s\n" #: ../mimedir/mimedir-vcard.c:3655 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3658 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3661 msgid "yes" msgstr "sim" #: ../mimedir/mimedir-vcard.c:3665 #, c-format msgid "Public Key: %s\n" msgstr "Chave Pública: %s\n" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Lista de todas as categorias deste componente. Esta é uma GList *, onde os " "elementos são gchar *" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "Lista comentários" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Lista de todos os comentários adicionais deste componente. Esta é uma GList " "*, onde os elementos são gchar *" #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "Descrição" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "Descrição detalhada deste componente" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "Percentagem concluido" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "percentagem de conclusão desta tarefa" #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "Prioridade" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "A prioridade desta tarefa" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "Lista recursos" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "Lista dos recursos atribuidos a este componente" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "Estado" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "O estado de conclusão desta tarefa" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "Resumo" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "Descrição abreviada deste componente" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "Data/hora término" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "Data/hora em que esta tarefa foi terminada" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "Data/hora fim" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "Data/hora final deste componente" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "Prazo" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "O prazo de expiração desta tarefa" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "Data/hora início" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "Data/hora inicial deste componente" #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "Duração" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "A duração desta data" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "Livre/ocupado" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "GList de objectos livre/ocupado" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "O identificador de zona horária deste componente" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "Lista nomes zonas horárias" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "GList de nomes de zonas horárias" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "Deslocamento de zona horária de" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "Deslocamento de hora para" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "URL zona horária" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "URL para uma descrição da zona horária" #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "Contacto" #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "Informação contacto" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "Identificador único" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "Um identificador único para este componente" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "" #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "Acção" #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "Repetir" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "Despoletar" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "Data/hora despoletado" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "Data/hora do despoletar" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "Final despoletado" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "Se o gatilho está ou não definido no final do intervalo de tempo" #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "Criado" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "Data/hora da criação" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "Data/hora" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "Data/hora da última modificação" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "Sequência" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "Número sequencial" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s: erro ao ler ficheiro de calendário: %s\n" #~ msgid "Can not open temporary file %s: %s\n" #~ msgstr "Incapaz de abrir ficheiro temporário %s: %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Erro ao escrever ficheiro de calendário %s: %s!" libmimedir-0.4.2/po/pt_BR.po0000644000175000017500000012126110603540671012544 00000000000000# libmimedir: translation to Brazilian Portuguese (pt_BR) # Copyright (C) 2003 Free Software Foundation, Inc. # This file is distributed under the same license as the libmimedir package. # Alexandre Folle de Menezes , 2003. # based on the translation to Portuguese (pt) by # Duarte Loreto , 2003 # msgid "" msgstr "" "Project-Id-Version: 2.2\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-04 15:04+0200\n" "PO-Revision-Date: 2003-05-01 03:30-0300\n" "Last-Translator: Alexandre Folle de Menezes \n" "Language-Team: Brazilian Portuguese \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Uso: %s ARQUIVOICAL\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" #: ../bin/ical-dump.c:61 #, fuzzy msgid "hourly" msgstr "Pais" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 #, fuzzy msgid "unknown" msgstr "" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" #: ../bin/ical-dump.c:93 #, fuzzy msgid "week number" msgstr "Número de telefone" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, fuzzy, c-format msgid " Recurrence:\n" msgstr " Seqüência: %u\n" #: ../bin/ical-dump.c:120 #, fuzzy, c-format msgid " Frequency: %s\n" msgstr " Seqüência: %u\n" #: ../bin/ical-dump.c:123 #, fuzzy, c-format msgid " Until: %s\n" msgstr " ID Único: %s\n" #: ../bin/ical-dump.c:128 #, fuzzy, c-format msgid " Count: %d\n" msgstr " Pais: %s\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" #: ../bin/ical-dump.c:134 #, fuzzy, c-format msgid " Unit: %s\n" msgstr " ID Único: %s\n" #: ../bin/ical-dump.c:137 #, fuzzy, c-format msgid " Units: %s\n" msgstr " ID Único: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Evento:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Item a Fazer:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Componente desconhecido:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Resumo: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Categorias: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "alta" #: ../bin/ical-dump.c:190 msgid "low" msgstr "baixa" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "média" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Prioridade: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Data de início: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Data de fim: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Data de expiração: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " ID Único: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Seqüência: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " Evento dia inteiro\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: número de argumentos inválido\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Uso: %s ARQUIVOVCARD\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: erro lendo arquivo de cartões: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: erro escrevendo arquivo de cartões: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Nome" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "O nome do atributo" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Grupo" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "O grupo do atributo" #: ../mimedir/mimedir-attribute.c:894 msgid "missing parameter name" msgstr "nome de parâmetro faltando" #: ../mimedir/mimedir-attribute.c:919 msgid "missing closing quotation mark" msgstr "fechamento de aspas faltando" #: ../mimedir/mimedir-attribute.c:1040 msgid "missing attribute name/group" msgstr "atributo nome/grupo faltando" #: ../mimedir/mimedir-attribute.c:1056 msgid "no attribute name after group" msgstr "nenhum atributo nome após grupo" #: ../mimedir/mimedir-attribute.c:1072 msgid "missing value delimiter" msgstr "delimitador de valor faltando" #: ../mimedir/mimedir-attribute.c:1088 msgid "invalid character" msgstr "caractere inválido" #: ../mimedir/mimedir-attribute.c:2459 ../mimedir/mimedir-attribute.c:2468 msgid "illegal character" msgstr "caractere ilegal" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "erro de sintaxe (%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "caractere 0x%02x ilegal para o tipo \"%s\"" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "formato inválido para o tipo \"%s\" no atributo %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "" "atributo %s não pode ser decodificado, pois a sua codificação é desconhecida" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "valor inválido no atributo %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "parâmetro \"%s\" não pode ser usado mais do que uma vez no atributo %s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "seqüência Base64 inválida" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "seqüência citada-imprimível inválida" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "lista de atributos de %s é muito pequena" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "lista de atributos de %s é muito grande" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "Identificador de fuso horário" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Expressão de identificador de fuso horário" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Tipo livre/ocupado" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Se este objeto significa um período livre ou ocupado" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Nome do perfil" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "O nome (tipo) de perfil" #: ../mimedir/mimedir-profile.c:121 #, fuzzy msgid "Character set" msgstr "Lista de categorias" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "atributo %s definido duas vezes" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "fim de perfil inesperado" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "atributo requerido %s faltando" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "atributo END sem par" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "perfil %s incorreto; esperava-se %s" #: ../mimedir/mimedir-recurrence.c:221 #, fuzzy msgid "Frequency" msgstr "Seqüência" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 #, fuzzy msgid "Recurrence unit" msgstr "Lista recursos" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 #, fuzzy msgid "Recurrence units" msgstr "Lista recursos" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Lembrete do seu compromisso:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Método" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "O método do vCalendar" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Identificador de produto" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "O identificador de produto do vCalendar. No caso de novos objetos gerados, " "este é o identificador de produto do LibMIMEDir" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "O perfil contém o atributo customizado não suportado %s.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "O perfil contém o atributo desconhecido %s.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Erro ao ler arquivo de calendário %s: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Título" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "" "Uma expressão de uma linha apenas com as informações mais importantes do " "endereço" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Endereço de formato livre" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Uma expressão de endereço em formato livre" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Caixa postal" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "O endereço da caixa postal" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Endereço extendido" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Expressão de endereço extendida" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Rua" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Nome da rua" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Localidade" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Localidade (ex. cidade, vila, etc.)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Região" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Região (ex. estado)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Código postal" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Código postal (expressão livre)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Pais" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Doméstico" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Se este é ou não o endereço doméstico" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Internacional" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Se este é ou não um endereço internacional" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Postal" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Se este é ou não um endereço postal" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Encomenda" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Se encomendas podem ou não ser recebidas neste endereço" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Residencial" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Se este é ou não o endereço residencial" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Comercial" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Se este é ou não o endereço comercial" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:153 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Preferido" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Se este é ou não o endereço preferido" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "O atributo %s contém muitos elementos.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s." msgstr "O campo de endereço é de um tipo desconhecido %s." #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:504 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "preferido" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "doméstico" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "internacional" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "postal" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "encomenda" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "residencial" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "comercial" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "" #: ../mimedir/mimedir-vcard-email.c:138 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Endereço" #: ../mimedir/mimedir-vcard-email.c:139 msgid "The e-mail address" msgstr "O endereço de e-mail" #: ../mimedir/mimedir-vcard-email.c:145 msgid "Type" msgstr "Tipo" #: ../mimedir/mimedir-vcard-email.c:146 msgid "Type of this e-mail address" msgstr "O tipo deste endereço de e-mail" #: ../mimedir/mimedir-vcard-email.c:154 msgid "Whether this is the preferred e-mail address" msgstr "Se este é ou não o endereço de e-mail preferido" #: ../mimedir/mimedir-vcard-email.c:412 #, c-format msgid "The email field is of unknown type %s." msgstr "O campo de email é de um tipo desconhecido %s." #: ../mimedir/mimedir-vcard-email.c:514 msgid "Internet" msgstr "Internet" #: ../mimedir/mimedir-vcard-email.c:519 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Número" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "O número de telefone (expressão livre)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Se este é ou não um telefone residencial" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Se este é ou não um telefone comercial" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Voz" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Se este é ou não um número de voz" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Fax" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Se este é ou não um número de fax" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Se este é ou não um número de um sistema bulletin board (BBS)" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modem" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Se este é ou não um número de modem" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Pager" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Se este é ou não um número de pager" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Vídeo" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Se este é ou não um número de video-fone" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Celular" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Se este é ou não um número de telefone celular (móvel)" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Carro" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Se este é ou não um número de telefone veicular" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Se este é ou não um número ISDN" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Se este é ou não um número PCS" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Se este é ou não o número preferido" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Mensagem" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Se este número tem ou não um gravador de voz" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s." msgstr "O campo telefone é do tipo desconhecido %s." #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "voz" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "fax" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "modem" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "pager" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "vídeo" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "mensagem de voz" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "telefone celular" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "telefone veicular" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "O nome completo desta pessoa" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Sobrenome" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "O sobrenome desta pessoa" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Primeiro nome" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "O primeiro nome desta pessoa" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "Nomes do meio" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "Os nomes ou iniciais do meio desta pessoa" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Prefixo" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "O prefixo (ex. prefixo honorífico) desta pessoa" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Sufixo" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "O sufixo de nome desta pessoa" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Lista apelidos" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "" "Lista de todos os apelidos. Esta é uma GList *, onde os elementos são do " "tipo const gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Apelido" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "O primeiro apelido" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Fotografia" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Ponteiro para um fluxo de bytes, representando uma imagem da pessoa" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "URI da Fotografia" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI para uma imagem desta pessoa" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Aniversário" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "O aniversário da pessoa" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Lista de endereços" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "" "Lista de todos os endereços. Esta é uma GList *, onde os elementos são do " "tipo MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "O endereço preferido" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Lista de números de telefone" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "" "Lista de todos os números de telefone. Esta é uma GList *, onde os elementos " "são do tipo MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Número de telefone" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "O número de telefone preferido" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Lista de endereços de E-mail" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Lista de todos os endereços de e-mail. Esta é uma GList *, onde os elementos " "são do tipo MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "Endereço e-mail" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "O endereço de e-mail preferido" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Cliente de E-Mail" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "A aplicação de e-mail usada por esta pessoa" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Fuso horário" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "O fuso horário em que esta pessoa vive" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Expressão de fuso horário" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "" "O fuso horário em que esta pessoa vive (expressão representativa obsoleta)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Latitude" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "A latitude da residência desta pessoa" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Longitude" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "A longitude da residência desta pessoa" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Cargo" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "O cargo da pessoa (título no emprego)" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Papel" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "O papel da pessoa no trabalho" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Logotipo" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "" "Ponteiro para um fluxo de bytes, representando o logotipo da empresa da " "pessoa" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "URI Logotipo" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI para o logotipo da empresa da pessoa" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Representante" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "Uma pessoa, que age em nome da pessoa descrita por este cartão" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "URI Representante" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "" "URI para a descrição da pessoa que age em nome da pessoa descrita por este " "cartão" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Expressão representante" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "Uma pessoa que age em nome da pessoa descrita por este cartão (representação " "de expressão obsoleta)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Lista organizações" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Lista de todas as organizações a que esta pessoa pertence. Esta é uma GList " "*, onde os elementos são gchar *" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Organização" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "A primeira organização da pessoa" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "Lista de categorias" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "" "Lista de todas as categorias desta pessoa. Esta é uma GList *, onde os " "elementos são gchar *" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Categorias" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Expressão representativa da categoria desta pessoa" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Nota" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Comentários adicionais" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "O identificador de produto do vCartão. No caso de novos objetos gerados, " "este é o identificador de produto LibMIMEDir" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Revisão" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Revisão do cartão" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Expressão de ordenação" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "A expressão que define a ordem de ordenação deste cartão" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Som" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Ponteiro para um fluxo de bytes que representa um arquivo de som" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "URI de Som" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI para um arquivo de som" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Identificador Único" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Um identificador único para este cartão" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Um URL alternativo para este recurso" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Classificação" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "A classificação de segurança deste cartão" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Lista chaves públicas" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Lista das chaves públicas desta pessoa. Esta é uma GList *, onde os " "elementos são MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Chave pública" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "A primeira chave pública desta pessoa" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Tipo da chave" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Tipo da primeira chave pública" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Erro ao ler arquivo de cartão %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Erro ao escrever arquivo de cartão %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Nome: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Nome\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Prefixo: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Primeiro: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Adicionais: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Sobrenome: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Sufixo: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "Aniversário: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Etiqueta de endereço (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Endereço (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Caixa Postal: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Extendido: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Rua: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Cidade: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Região: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Código Postal: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Pais: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Telefone:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Telefone: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3554 msgid "E-mail:\n" msgstr "E-mail:\n" #: ../mimedir/mimedir-vcard.c:3578 #, c-format msgid "E-mail: %s (%s)\n" msgstr "E-mail: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3598 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Fuso horário: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3607 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Localização: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3616 #, c-format msgid "Organization: %s\n" msgstr "Organização: %s\n" #: ../mimedir/mimedir-vcard.c:3621 #, c-format msgid "Job title: %s\n" msgstr "Cargo: %s\n" #: ../mimedir/mimedir-vcard.c:3624 #, c-format msgid "Business role: %s\n" msgstr "Papel no trabalho: %s\n" #: ../mimedir/mimedir-vcard.c:3634 #, c-format msgid "Categories: %s\n" msgstr "Categorias: %s\n" #: ../mimedir/mimedir-vcard.c:3639 #, c-format msgid "Comment: %s\n" msgstr "Comentário: %s\n" #: ../mimedir/mimedir-vcard.c:3642 #, c-format msgid "Homepage: %s\n" msgstr "Página Web: %s\n" #: ../mimedir/mimedir-vcard.c:3645 #, c-format msgid "Unique string: %s\n" msgstr "Expressão única: %s\n" #: ../mimedir/mimedir-vcard.c:3655 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3658 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3661 msgid "yes" msgstr "sim" #: ../mimedir/mimedir-vcard.c:3665 #, c-format msgid "Public Key: %s\n" msgstr "Chave Pública: %s\n" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Lista de todas as categorias deste componente. Esta é uma GList *, onde os " "elementos são gchar *" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "Lista de comentários" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Lista de todos os comentários adicionais deste componente. Esta é uma GList " "*, onde os elementos são gchar *" #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "Descrição" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "Descrição detalhada deste componente" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "Percentagem concluida" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "percentagem de conclusão desta tarefa" #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "Prioridade" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "A prioridade desta tarefa" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "Lista recursos" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "Lista dos recursos atribuidos a este componente" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "Estado" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "O estado de conclusão desta tarefa" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "Resumo" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "Descrição abreviada deste componente" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "Data/hora término" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "Data/hora em que esta tarefa foi terminada" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "Data/hora fim" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "Data/hora final deste componente" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "Prazo" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "O prazo de expiração desta tarefa" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "Data/hora início" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "Data/hora inicial deste componente" #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "Duração" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "A duração desta data" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "Livre/ocupado" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "GList de objetos livre/ocupado" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "O identificador de fuso horário deste componente" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "Lista de nomes de fusos horários" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "GList de nomes de fusos horários" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "Deslocamento de fuso horário de" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "Deslocamento de hora para" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "URL fuso horário" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "URL para uma descrição da fuso horário" #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "Contato" #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "Informação contato" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "Identificador único" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "Um identificador único para este componente" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "" #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "Ação" #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "Repetir" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "Disparar" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "Disparar Data/hora" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "Disparar Data/hora do disparo" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "Final disparado" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "Se o gatilho está ou não definido no final do intervalo de tempo" #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "Criado" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "Data/hora da criação" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "Data/hora" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "Data/hora da última modificação" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "Seqüência" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "Número sequencial" #~ msgid "%s: error reading calendar file: %s\n" #~ msgstr "%s: erro ao ler arquivo de calendário: %s\n" #~ msgid "Can not open temporary file %s: %s\n" #~ msgstr "Impossível abrir arquivo temporário %s: %s\n" #~ msgid "Error writing calendar file %s: %s!" #~ msgstr "Erro ao escrever arquivo de calendário %s: %s!" libmimedir-0.4.2/po/rw.po0000644000175000017500000016005210603540671012167 00000000000000# translation of libmimedir to Kinyarwanda. # Copyright (C) 2005 Free Software Foundation, Inc. # This file is distributed under the same license as the libmimedir package. # Steve Murphy , 2005 # Steve performed initial rough translation from compendium built from translations provided by the following translators: # Philibert Ndandali , 2005. # Viateur MUGENZI , 2005. # Noëlla Mupole , 2005. # Carole Karema , 2005. # JEAN BAPTISTE NGENDAHAYO , 2005. # Augustin KIBERWA , 2005. # Donatien NSENGIYUMVA , 2005.. # msgid "" msgstr "" "Project-Id-Version: libmimedir HEAD\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-04 15:04+0200\n" "PO-Revision-Date: 2005-03-31 20:55-0700\n" "Last-Translator: Steve Murphy \n" "Language-Team: Kinyarwanda \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "ULL NAME \n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\data\org\openoffice\Office\DataAccess.xcu:..DataAccess.DriverSettings.com.sun.star.comp.sdbc.MozabDriver.ColumnAliases.HomeCountry.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.PrivateAddress.Country.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.BusinessAddress.Country.text #: ../bin/ical-dump.c:61 #, fuzzy msgid "hourly" msgstr "Igihugu" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 #, fuzzy msgid "unknown" msgstr "" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" # VCARD_LDAP_PHONE_NUMBER # # @name VCARD_LDAP_PHONE_NUMBER # # @loc None #: ../bin/ical-dump.c:93 #, fuzzy msgid "week number" msgstr "Nomero ya terefoni" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, c-format msgid " Recurrence:\n" msgstr "" #: ../bin/ical-dump.c:120 #, c-format msgid " Frequency: %s\n" msgstr "" # officecfg/registry\data\org\openoffice\Office\DataAccess.xcu:..DataAccess.DriverSettings.com.sun.star.comp.sdbc.MozabDriver.ColumnAliases.JobTitle.text #: ../bin/ical-dump.c:123 #, fuzzy, c-format msgid " Until: %s\n" msgstr "Izina ry'Akazi" # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\data\org\openoffice\Office\DataAccess.xcu:..DataAccess.DriverSettings.com.sun.star.comp.sdbc.MozabDriver.ColumnAliases.HomeCountry.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.PrivateAddress.Country.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.BusinessAddress.Country.text #: ../bin/ical-dump.c:128 #, fuzzy, c-format msgid " Count: %d\n" msgstr "Igihugu" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\analysis\analysis.src:RID_ANALYSIS_FUNCTION_DESCRIPTIONS.ANALYSIS_Yearfrac.4.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\analysis\analysis.src:RID_ANALYSIS_FUNCTION_DESCRIPTIONS.ANALYSIS_Networkdays.4.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\datefunc\datefunc.src:RID_DATE_FUNCTION_DESCRIPTIONS.DATE_FUNCDESC_DiffWeeks.4.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\datefunc\datefunc.src:RID_DATE_FUNCTION_DESCRIPTIONS.DATE_FUNCDESC_DiffMonths.4.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\datefunc\datefunc.src:RID_DATE_FUNCTION_DESCRIPTIONS.DATE_FUNCDESC_DiffYears.4.text #: ../bin/ical-dump.c:134 #, fuzzy, c-format msgid " Unit: %s\n" msgstr "Itariki y'irangiza" # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\analysis\analysis.src:RID_ANALYSIS_FUNCTION_DESCRIPTIONS.ANALYSIS_Yearfrac.4.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\analysis\analysis.src:RID_ANALYSIS_FUNCTION_DESCRIPTIONS.ANALYSIS_Networkdays.4.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\datefunc\datefunc.src:RID_DATE_FUNCTION_DESCRIPTIONS.DATE_FUNCDESC_DiffWeeks.4.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\datefunc\datefunc.src:RID_DATE_FUNCTION_DESCRIPTIONS.DATE_FUNCDESC_DiffMonths.4.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\datefunc\datefunc.src:RID_DATE_FUNCTION_DESCRIPTIONS.DATE_FUNCDESC_DiffYears.4.text #: ../bin/ical-dump.c:137 #, fuzzy, c-format msgid " Units: %s\n" msgstr "Itariki y'irangiza" # #-#-#-#-# sfx2.pot (PACKAGE VERSION) #-#-#-#-# # sfx2/source\dialog\eventdlg.src:TP_CONFIG_EVENT.STR_EVENT.text # #-#-#-#-# sfx2.pot (PACKAGE VERSION) #-#-#-#-# # sfx2/source\dialog\macropg.src:RID_SFX_TP_MACROASSIGN.STR_EVENT.text #: ../bin/ical-dump.c:152 #, fuzzy, c-format msgid "" "Event:\n" "\n" msgstr "Icyabaye" #: ../bin/ical-dump.c:154 #, fuzzy, c-format msgid "" "Todo item:\n" "\n" msgstr "Ikintu" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" #: ../bin/ical-dump.c:177 #, fuzzy, c-format msgid " Summary: %s\n" msgstr "Inshamake" # #-#-#-#-# sfx2.pot (PACKAGE VERSION) #-#-#-#-# # sfx2/source\doc\doctdlg.src:DLG_DOC_TEMPLATE.FT_SECTION.text # #-#-#-#-# sfx2.pot (PACKAGE VERSION) #-#-#-#-# # sfx2/source\doc\new.src:DLG_NEW_FILE.FT_REGION.text #: ../bin/ical-dump.c:182 #, fuzzy, c-format msgid " Categories: %s\n" msgstr "Ibyiciro" # 2806 #: ../bin/ical-dump.c:188 #, fuzzy msgid "high" msgstr "kirekire" # sfx2/source\dialog\mailwindow.src:RID_MAIL_WINDOW.LB_MAILWIN_PRIO.4.text #: ../bin/ical-dump.c:190 #, fuzzy msgid "low" msgstr "Byo hasi" # officecfg/registry\schema\org\openoffice\Office\Math.xcs:....FontFormat.Weight..6.text #: ../bin/ical-dump.c:192 msgid "medium" msgstr "biringaniye" # sfx2/source\dialog\mailwindow.src:RID_MAIL_WINDOW.FT_MAILWIN_PRIO.text #: ../bin/ical-dump.c:193 #, fuzzy, c-format msgid " Priority: %s (%d)\n" msgstr "By'ibanze" # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\analysis\analysis.src:RID_ANALYSIS_FUNCTION_DESCRIPTIONS.ANALYSIS_Workday.2.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\analysis\analysis.src:RID_ANALYSIS_FUNCTION_DESCRIPTIONS.ANALYSIS_Yearfrac.2.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\analysis\analysis.src:RID_ANALYSIS_FUNCTION_DESCRIPTIONS.ANALYSIS_Edate.2.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\analysis\analysis.src:RID_ANALYSIS_FUNCTION_DESCRIPTIONS.ANALYSIS_Eomonth.2.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\analysis\analysis.src:RID_ANALYSIS_FUNCTION_DESCRIPTIONS.ANALYSIS_Networkdays.2.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\datefunc\datefunc.src:RID_DATE_FUNCTION_DESCRIPTIONS.DATE_FUNCDESC_DiffWeeks.2.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\datefunc\datefunc.src:RID_DATE_FUNCTION_DESCRIPTIONS.DATE_FUNCDESC_DiffMonths.2.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\datefunc\datefunc.src:RID_DATE_FUNCTION_DESCRIPTIONS.DATE_FUNCDESC_DiffYears.2.text #: ../bin/ical-dump.c:198 #, fuzzy, c-format msgid " Start date: %s\n" msgstr "Itariki y'itangira" # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\analysis\analysis.src:RID_ANALYSIS_FUNCTION_DESCRIPTIONS.ANALYSIS_Yearfrac.4.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\analysis\analysis.src:RID_ANALYSIS_FUNCTION_DESCRIPTIONS.ANALYSIS_Networkdays.4.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\datefunc\datefunc.src:RID_DATE_FUNCTION_DESCRIPTIONS.DATE_FUNCDESC_DiffWeeks.4.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\datefunc\datefunc.src:RID_DATE_FUNCTION_DESCRIPTIONS.DATE_FUNCDESC_DiffMonths.4.text # #-#-#-#-# scaddins.pot (PACKAGE VERSION) #-#-#-#-# # scaddins/source\datefunc\datefunc.src:RID_DATE_FUNCTION_DESCRIPTIONS.DATE_FUNCDESC_DiffYears.4.text #: ../bin/ical-dump.c:205 #, fuzzy, c-format msgid " End date: %s\n" msgstr "Itariki y'irangiza" #: ../bin/ical-dump.c:213 #, fuzzy, c-format msgid " Due date: %s\n" msgstr "Itariki" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr "" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr "" #: ../bin/ical-dump.c:236 #, fuzzy, c-format msgid " All day event\n" msgstr "UMUNSI" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, fuzzy, c-format msgid "%s: invalid number of arguments\n" msgstr "%s:Sibyo Umubare Bya" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "" #: ../bin/vcard-normalize.c:79 #, fuzzy, c-format msgid "%s: error reading card file: %s\n" msgstr "%s:Ikosa IDOSIYE" #: ../bin/vcard-normalize.c:96 #, fuzzy, c-format msgid "%s: error writing card file: %s\n" msgstr "%s:Ikosa IDOSIYE" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Izina" #: ../mimedir/mimedir-attribute.c:132 #, fuzzy msgid "The attribute's name" msgstr "Izina:" # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\globstr.src:RID_GLOBSTR.STR_UNDO_MAKEOUTLINE.text # #-#-#-#-# sc.pot (PACKAGE VERSION) #-#-#-#-# # sc/source\ui\src\miscdlgs.src:RID_SCDLG_GROUP.text #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Itsinda" #: ../mimedir/mimedir-attribute.c:138 #, fuzzy msgid "The attribute's group" msgstr "Itsinda" #: ../mimedir/mimedir-attribute.c:894 #, fuzzy msgid "missing parameter name" msgstr "Ibuze Izina:" #: ../mimedir/mimedir-attribute.c:919 #, fuzzy msgid "missing closing quotation mark" msgstr "Ibuze Gusubiramo ibyavuzwe Ikimenyetso" #: ../mimedir/mimedir-attribute.c:1040 #, fuzzy msgid "missing attribute name/group" msgstr "Ibuze Ikiranga Izina: Itsinda" #: ../mimedir/mimedir-attribute.c:1056 #, fuzzy msgid "no attribute name after group" msgstr "Oya Ikiranga Izina: Nyuma Itsinda" #: ../mimedir/mimedir-attribute.c:1072 #, fuzzy msgid "missing value delimiter" msgstr "Ibuze Agaciro" #: ../mimedir/mimedir-attribute.c:1088 #, fuzzy msgid "invalid character" msgstr "Sibyo Inyuguti" #: ../mimedir/mimedir-attribute.c:2459 ../mimedir/mimedir-attribute.c:2468 #, fuzzy msgid "illegal character" msgstr "Inyuguti" #: ../mimedir/mimedir-attribute.h:48 #, fuzzy, c-format msgid "syntax error (%s)" msgstr "Ikosa ry'imyandikire" #: ../mimedir/mimedir-attribute.h:49 #, fuzzy, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "Inyuguti kugirango Ubwoko" #: ../mimedir/mimedir-attribute.h:50 #, fuzzy, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "Sibyo Imiterere kugirango Ubwoko in Ikiranga" #: ../mimedir/mimedir-attribute.h:51 #, fuzzy, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "Ikiranga OYA guhera Imisobekere: ni Kitazwi" #: ../mimedir/mimedir-attribute.h:52 #, fuzzy, c-format msgid "invalid value in attribute %s" msgstr "Sibyo Agaciro in Ikiranga" #: ../mimedir/mimedir-attribute.h:53 #, fuzzy, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "OYA Birenzeho Rimwe in Ikiranga" #: ../mimedir/mimedir-attribute.h:54 #, fuzzy msgid "invalid Base64 sequence" msgstr "Sibyo" #: ../mimedir/mimedir-attribute.h:55 #, fuzzy msgid "invalid quoted-printable sequence" msgstr "Sibyo Gicapika" #: ../mimedir/mimedir-attribute.h:56 #, fuzzy, c-format msgid "attribute list of %s is too short" msgstr "Ikiranga Urutonde Bya ni" #: ../mimedir/mimedir-attribute.h:57 #, fuzzy, c-format msgid "attribute list of %s is too long" msgstr "Ikiranga Urutonde Bya ni" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 #, fuzzy msgid "Time zone identifier" msgstr "Ikiranga" #: ../mimedir/mimedir-datetime.c:115 #, fuzzy msgid "Time zone identifying string" msgstr "Ikurikiranyanyuguti" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, fuzzy, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d%02d:%02d:%02d" # desktop/source\app\ssodlg.src:DLG_SSOLOGIN.text #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, fuzzy, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, fuzzy, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02dCYOSE" #: ../mimedir/mimedir-period.c:111 #, fuzzy msgid "Free/busy type" msgstr "Irahuze Ubwoko" #: ../mimedir/mimedir-period.c:112 #, fuzzy msgid "Whether this object signifies a free or a busy period" msgstr "iyi Igikoresho a Kigenga Cyangwa a Irahuze Igihe" # setup2/source\ui\pages\pprofile.src:RESID_PAGE_PAGEPROFILE.FT_INFO2.text #: ../mimedir/mimedir-profile.c:114 #, fuzzy msgid "Profile name" msgstr "Izina ry'ibijyana:" #: ../mimedir/mimedir-profile.c:115 #, fuzzy msgid "The name (type) of the profile" msgstr "Izina: Ubwoko Bya i Ibijyana" #: ../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "Ishyiraho ry'inyuguti" #: ../mimedir/mimedir-profile.c:122 #, fuzzy msgid "Character set used to en-/decode this profile" msgstr "Gushyiraho Kuri iyi Ibijyana" #: ../mimedir/mimedir-profile.h:40 #, fuzzy, c-format msgid "attribute %s defined twice" msgstr "Ikiranga" #: ../mimedir/mimedir-profile.h:41 #, fuzzy msgid "unexpected end of profile" msgstr "Impera Bya Ibijyana" #: ../mimedir/mimedir-profile.h:42 #, fuzzy, c-format msgid "required attribute %s is missing" msgstr "Bya ngombwa Ikiranga ni Ibuze" #: ../mimedir/mimedir-profile.h:43 #, fuzzy msgid "unmatched END attribute" msgstr "Ikiranga" #: ../mimedir/mimedir-profile.h:44 #, fuzzy, c-format msgid "wrong profile %s; expected %s" msgstr "Ibijyana Ikitezwe:" #: ../mimedir/mimedir-recurrence.c:221 msgid "Frequency" msgstr "" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 #, fuzzy msgid "Recurrence unit" msgstr "Urutonde" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 #, fuzzy msgid "Recurrence units" msgstr "Urutonde" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, fuzzy, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "Bya" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Uburyo" #: ../mimedir/mimedir-vcal.c:149 #, fuzzy msgid "The vCalendar's method" msgstr "Uburyo" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 #, fuzzy msgid "Product identifier" msgstr "Ikiranga" #: ../mimedir/mimedir-vcal.c:155 #, fuzzy msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "IGIKUBO Ikiranga Bya i Bya Ibintu iyi ni IGIKUBO Ikiranga" #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, fuzzy, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "Ibijyana Kirimo i Kunoza Ikiranga" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, fuzzy, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "Ibijyana Kirimo i Kitazwi Ikiranga" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, fuzzy, c-format msgid "Error reading calendar file %s: %s!" msgstr "Kalindari IDOSIYE" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Umutwe" #: ../mimedir/mimedir-vcard-address.c:168 #, fuzzy msgid "A one-line string with the most important address information" msgstr "" "A Umurongo Ikurikiranyanyuguti Na: i By'ingirakamaro Aderesi Ibisobanuro" #: ../mimedir/mimedir-vcard-address.c:174 #, fuzzy msgid "Freeform address" msgstr "Aderesi" #: ../mimedir/mimedir-vcard-address.c:175 #, fuzzy msgid "A freeform address string" msgstr "A Aderesi Ikurikiranyanyuguti" #: ../mimedir/mimedir-vcard-address.c:180 #, fuzzy msgid "Post office box" msgstr "Ofise Agasanduku" #: ../mimedir/mimedir-vcard-address.c:181 #, fuzzy msgid "The addresses post office box" msgstr "Amaderesi Iposita Ofise Agasanduku" #: ../mimedir/mimedir-vcard-address.c:186 #, fuzzy msgid "Extended address" msgstr "Aderesi" #: ../mimedir/mimedir-vcard-address.c:187 #, fuzzy msgid "Extended address string" msgstr "Aderesi Ikurikiranyanyuguti" # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.PrivateAddress.Street.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.BusinessAddress.Street.text #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Umuhanda" #: ../mimedir/mimedir-vcard-address.c:193 #, fuzzy msgid "Street address" msgstr "Aderesi" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "" #: ../mimedir/mimedir-vcard-address.c:199 #, fuzzy msgid "Locality (e.g. city, town, etc.)" msgstr "g." #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "" #: ../mimedir/mimedir-vcard-address.c:205 #, fuzzy msgid "Region (e.g. state)" msgstr "g." #: ../mimedir/mimedir-vcard-address.c:210 #, fuzzy msgid "Postal code" msgstr "ITEGEKONGENGA" #: ../mimedir/mimedir-vcard-address.c:211 #, fuzzy msgid "Postal code (freeform string)" msgstr "ITEGEKONGENGA Ikurikiranyanyuguti" # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\data\org\openoffice\Office\DataAccess.xcu:..DataAccess.DriverSettings.com.sun.star.comp.sdbc.MozabDriver.ColumnAliases.HomeCountry.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.PrivateAddress.Country.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.BusinessAddress.Country.text #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Igihugu" # VCARD_LDAP_DOM_TYPE # # @name VCARD_LDAP_DOM_TYPE # # @loc None #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Byo murugo" #: ../mimedir/mimedir-vcard-address.c:223 #, fuzzy msgid "Whether this is a domestic address" msgstr "iyi ni a Byo murugo Aderesi" # offmgr/source\offapp\dialog\treeopt.src:RID_OFADLG_OPTIONS_TREE_PAGES.SID_SC_EDITOPTIONS.4.text #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Mpuzamahanga" #: ../mimedir/mimedir-vcard-address.c:229 #, fuzzy msgid "Whether this is an international address" msgstr "iyi ni Mpuzamahanga Aderesi" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Iposita" #: ../mimedir/mimedir-vcard-address.c:235 #, fuzzy msgid "Whether this is a postal address" msgstr "iyi ni a Iposita Aderesi" # VCARD_LDAP_PARCEL_TYPE # # @name VCARD_LDAP_PARCEL_TYPE # # @loc None #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Ikibanza" #: ../mimedir/mimedir-vcard-address.c:241 #, fuzzy msgid "Whether parcels can be received at this address" msgstr "BYAKIRIWE ku iyi Aderesi" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Home" #: ../mimedir/mimedir-vcard-address.c:247 #, fuzzy msgid "Whether this is a home address" msgstr "iyi ni a Ku Ntangiriro Aderesi" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Akazi" #: ../mimedir/mimedir-vcard-address.c:253 #, fuzzy msgid "Whether this is a work address" msgstr "iyi ni a Akazi Aderesi" # VCARD_LDAP_PREF_TYPE # # @name VCARD_LDAP_PREF_TYPE # # @loc None #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:153 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Bikunzwe" #: ../mimedir/mimedir-vcard-address.c:259 #, fuzzy msgid "Whether this is the preferred address" msgstr "iyi ni i Bikunzwe Aderesi" #: ../mimedir/mimedir-vcard-address.c:572 #, fuzzy, c-format msgid "The %s attribute contains too many elements.\n" msgstr "Ikiranga Kirimo Ibintu" #: ../mimedir/mimedir-vcard-address.c:772 #, fuzzy, c-format msgid "The address field is of unknown type %s." msgstr "Aderesi Umwanya ni Bya Kitazwi Ubwoko" # #-#-#-#-# dbaccess.pot (PACKAGE VERSION) #-#-#-#-# # #-#-#-#-# dbaccess.pot (PACKAGE VERSION) #-#-#-#-# # #-#-#-#-# dbaccess.pot (PACKAGE VERSION) #-#-#-#-# #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, fuzzy, c-format msgid "%s %s" msgstr "%s%s" # desktop/source\app\ssodlg.src:DLG_SSOLOGIN.text #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, fuzzy, c-format msgid "%s, %s" msgstr "%s,%s" # VCARD_LDAP_PREF_TYPE # # @name VCARD_LDAP_PREF_TYPE # # @loc None #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:504 #: ../mimedir/mimedir-vcard-phone.c:695 #, fuzzy msgid "preferred" msgstr "Bikunzwe" # VCARD_LDAP_DOM_TYPE # # @name VCARD_LDAP_DOM_TYPE # # @loc None #: ../mimedir/mimedir-vcard-address.c:919 #, fuzzy msgid "domestic" msgstr "Byo murugo" # offmgr/source\offapp\dialog\treeopt.src:RID_OFADLG_OPTIONS_TREE_PAGES.SID_SC_EDITOPTIONS.4.text #: ../mimedir/mimedir-vcard-address.c:924 #, fuzzy msgid "international" msgstr "Mpuzamahanga" #: ../mimedir/mimedir-vcard-address.c:929 #, fuzzy msgid "postal" msgstr "Iposita" # VCARD_LDAP_PARCEL_TYPE # # @name VCARD_LDAP_PARCEL_TYPE # # @loc None #: ../mimedir/mimedir-vcard-address.c:934 #, fuzzy msgid "parcel" msgstr "Ikibanza" # sfx2/source\dialog\dialog.src:BTN_STANDARD.text #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-phone.c:701 #, fuzzy msgid "home" msgstr "Ku Ntangiriro" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-phone.c:706 #, fuzzy msgid "work" msgstr "Akazi" # desktop/source\app\ssodlg.src:DLG_SSOLOGIN.text #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, fuzzy, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 #, fuzzy msgid "" msgstr "" # framework/source\services\logindialog.src:RID_DLG_LOGIN.RID_FT_SECURITYPROXYHOST.text #: ../mimedir/mimedir-vcard-email.c:138 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Aderesi" #: ../mimedir/mimedir-vcard-email.c:139 #, fuzzy msgid "The e-mail address" msgstr "E Ubutumwa Aderesi" # filter/source\xsltdialog\xmlfilterdialogstrings.src:STR_COLUMN_HEADER_TYPE.text #: ../mimedir/mimedir-vcard-email.c:145 msgid "Type" msgstr "Ubwoko" #: ../mimedir/mimedir-vcard-email.c:146 #, fuzzy msgid "Type of this e-mail address" msgstr "Bya iyi E Ubutumwa Aderesi" #: ../mimedir/mimedir-vcard-email.c:154 #, fuzzy msgid "Whether this is the preferred e-mail address" msgstr "iyi ni i Bikunzwe E Ubutumwa Aderesi" #: ../mimedir/mimedir-vcard-email.c:412 #, fuzzy, c-format msgid "The email field is of unknown type %s." msgstr "imeli Umwanya ni Bya Kitazwi Ubwoko" # officecfg/registry\schema\org\openoffice\Office\Common.xcs:....Save.URL.Internet.text #: ../mimedir/mimedir-vcard-email.c:514 msgid "Internet" msgstr "Interineti" #: ../mimedir/mimedir-vcard-email.c:519 #, fuzzy msgid "X.400" msgstr "400" # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Common.xcs:....Image.Color.Grayscale.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Common.xcs:....Image.Color.PosterColor.text #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Umubare" #: ../mimedir/mimedir-vcard-phone.c:154 #, fuzzy msgid "The telephone number (freeform string)" msgstr "terefoni Umubare Ikurikiranyanyuguti" #: ../mimedir/mimedir-vcard-phone.c:161 #, fuzzy msgid "Whether this is a home phone number" msgstr "iyi ni a Ku Ntangiriro Telefone Umubare" #: ../mimedir/mimedir-vcard-phone.c:167 #, fuzzy msgid "Whether this is a phone number at work" msgstr "iyi ni a Telefone Umubare ku Akazi" # VCARD_LDAP_VOICE_TYPE # # @name VCARD_LDAP_VOICE_TYPE # # @loc None #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Ijwi" #: ../mimedir/mimedir-vcard-phone.c:173 #, fuzzy msgid "Whether this is a voice number" msgstr "iyi ni a Ijwi Umubare" # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\data\org\openoffice\Office\DataAccess.xcu:..DataAccess.DriverSettings.com.sun.star.comp.sdbc.MozabDriver.ColumnAliases.FaxNumber.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\WriterWeb.xcs:....Print.Output.Fax.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....Print.Output.Fax.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.PrivateAddress.Fax.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.BusinessAddress.Fax.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....Wizard.Fax.Recipient.FaxNumber.text #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Fagisi" #: ../mimedir/mimedir-vcard-phone.c:179 #, fuzzy msgid "Whether this is a facsimile number" msgstr "iyi ni a Umubare" # VCARD_LDAP_BBS_TYPE # # @name VCARD_LDAP_BBS_TYPE # # @loc None #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 #, fuzzy msgid "Whether this is a bulletin board system number" msgstr "iyi ni a Sisitemu Umubare" # VCARD_LDAP_MODEM_TYPE # # @name VCARD_LDAP_MODEM_TYPE # # @loc None #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Modemu" #: ../mimedir/mimedir-vcard-phone.c:191 #, fuzzy msgid "Whether this is a modem number" msgstr "iyi ni a Modemu Umubare" # officecfg/registry\data\org\openoffice\Office\DataAccess.xcu:..DataAccess.DriverSettings.com.sun.star.comp.sdbc.MozabDriver.ColumnAliases.PagerNumber.text #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Peja" #: ../mimedir/mimedir-vcard-phone.c:197 #, fuzzy msgid "Whether this is a pager number" msgstr "iyi ni a Peja Umubare" # 6474 #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "inyerekanamashusho" #: ../mimedir/mimedir-vcard-phone.c:203 #, fuzzy msgid "Whether this is a video phone number" msgstr "iyi ni a Videwo... Telefone Umubare" # offmgr/sdi\ofaslots.src:SID_TABLE_CELL.text #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Akazu" #: ../mimedir/mimedir-vcard-phone.c:209 #, fuzzy msgid "Whether this is a cell (mobile) phone number" msgstr "iyi ni a Akazu Igendanwa Telefone Umubare" # VCARD_LDAP_CAR_TYPE # # @name VCARD_LDAP_CAR_TYPE # # @loc None #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Imodoka" #: ../mimedir/mimedir-vcard-phone.c:215 #, fuzzy msgid "Whether this is car phone number" msgstr "iyi ni Imodoka Telefone Umubare" # VCARD_LDAP_ISDN_TYPE # # @name VCARD_LDAP_ISDN_TYPE # # @loc None #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 #, fuzzy msgid "Whether this is a ISDN number" msgstr "iyi ni a Umubare" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "" #: ../mimedir/mimedir-vcard-phone.c:227 #, fuzzy msgid "Whether this is a PCS number" msgstr "iyi ni a Umubare" #: ../mimedir/mimedir-vcard-phone.c:233 #, fuzzy msgid "Whether this is the preferred number" msgstr "iyi ni i Bikunzwe Umubare" # sfx2/source\doc\doc.src:STR_DOCTYPENAME_MESSAGE.text #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Ubutumwa" #: ../mimedir/mimedir-vcard-phone.c:239 #, fuzzy msgid "Whether this number has a voice recorder" msgstr "iyi Umubare a Ijwi" #: ../mimedir/mimedir-vcard-phone.c:588 #, fuzzy, c-format msgid "The phone field is of unknown type %s." msgstr "Telefone Umwanya ni Bya Kitazwi Ubwoko" # VCARD_LDAP_VOICE_TYPE # # @name VCARD_LDAP_VOICE_TYPE # # @loc None #: ../mimedir/mimedir-vcard-phone.c:711 #, fuzzy msgid "voice" msgstr "Ijwi" # #-#-#-#-# sw.pot (PACKAGE VERSION) #-#-#-#-# # sw/source\ui\wizard\wizfxdlg.src:TXT_DLG_Dok_Edit_AutoFN.text # #-#-#-#-# sw.pot (PACKAGE VERSION) #-#-#-#-# # sw/source\ui\wizard\wizfxdlg.src:TXT_DLG_Dok_Edit_VorNam.text #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "fagisi" # VCARD_LDAP_MODEM_TYPE # # @name VCARD_LDAP_MODEM_TYPE # # @loc None #: ../mimedir/mimedir-vcard-phone.c:726 #, fuzzy msgid "modem" msgstr "Modemu" # officecfg/registry\data\org\openoffice\Office\DataAccess.xcu:..DataAccess.DriverSettings.com.sun.star.comp.sdbc.MozabDriver.ColumnAliases.PagerNumber.text #: ../mimedir/mimedir-vcard-phone.c:731 #, fuzzy msgid "pager" msgstr "Peja" # 6474 #: ../mimedir/mimedir-vcard-phone.c:736 #, fuzzy msgid "video" msgstr "inyerekanamashusho" #: ../mimedir/mimedir-vcard-phone.c:741 #, fuzzy msgid "voice message" msgstr "Ijwi Ubutumwa" #: ../mimedir/mimedir-vcard-phone.c:746 #, fuzzy msgid "cell phone" msgstr "Terefoni igendanwa:" #: ../mimedir/mimedir-vcard-phone.c:751 #, fuzzy msgid "car phone" msgstr "Imodoka Telefone" #: ../mimedir/mimedir-vcard.c:299 #, fuzzy msgid "The spelled out name full name of this person" msgstr "Inyuma Izina: Izina: Bya iyi" #: ../mimedir/mimedir-vcard.c:304 #, fuzzy msgid "Family name" msgstr "Izina:" #: ../mimedir/mimedir-vcard.c:305 #, fuzzy msgid "The family name of this person" msgstr "Izina: Bya iyi" #: ../mimedir/mimedir-vcard.c:310 #, fuzzy msgid "Given name" msgstr "Izina:" #: ../mimedir/mimedir-vcard.c:311 #, fuzzy msgid "The given name of this person" msgstr "Izina: Bya iyi" #: ../mimedir/mimedir-vcard.c:316 #, fuzzy msgid "Middle name" msgstr "Izina ry'agati" #: ../mimedir/mimedir-vcard.c:317 #, fuzzy msgid "The middle name or middle initials of this person" msgstr "Hagati Izina: Cyangwa Hagati Izibanza Bya iyi" # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....Wizard.Agenda.Save.AutoPrefix.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....Wizard.Letter.Save.AutoPrefix.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....Wizard.Fax.Save.AutoPrefix.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....Wizard.Memo.Save.AutoPrefix.text #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Imbanziriza" #: ../mimedir/mimedir-vcard.c:323 #, fuzzy msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "g." # scaddins/source\analysis\analysis.src:RID_ANALYSIS_FUNCTION_DESCRIPTIONS.ANALYSIS_Complex.6.text #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Ingereka" #: ../mimedir/mimedir-vcard.c:329 #, fuzzy msgid "The name suffix of this person" msgstr "Izina: Ingereka Bya iyi" #: ../mimedir/mimedir-vcard.c:334 #, fuzzy msgid "Nickname list" msgstr "Urutonde" #: ../mimedir/mimedir-vcard.c:335 #, fuzzy msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "Bya Byose Amazina ni a i Ibintu Bya Ubwoko" #: ../mimedir/mimedir-vcard.c:339 #, fuzzy msgid "Nick name" msgstr "Izina:" #: ../mimedir/mimedir-vcard.c:340 #, fuzzy msgid "The first nick name" msgstr "Itangira Izina:" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Ifoto" #: ../mimedir/mimedir-vcard.c:346 #, fuzzy msgid "Pointer to a byte stream, representing an image of the person" msgstr "Kuri a Bayite Ishusho Bya i" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "" #: ../mimedir/mimedir-vcard.c:351 #, fuzzy msgid "URI to an image of this person" msgstr "Kuri Ishusho Bya iyi" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "Umunsi wo kuvuka:" #: ../mimedir/mimedir-vcard.c:357 #, fuzzy msgid "The person's birthday" msgstr "Umunsi wo kuvuka:" #: ../mimedir/mimedir-vcard.c:363 #, fuzzy msgid "Address list" msgstr "Urutonde" #: ../mimedir/mimedir-vcard.c:364 #, fuzzy msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "Bya Byose Amaderesi ni a i Ibintu Bya Ubwoko" #: ../mimedir/mimedir-vcard.c:369 #, fuzzy msgid "The preferred address" msgstr "Bikunzwe Aderesi" #: ../mimedir/mimedir-vcard.c:375 #, fuzzy msgid "Phone number list" msgstr "Umubare Urutonde" #: ../mimedir/mimedir-vcard.c:376 #, fuzzy msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "Bya Byose Telefone Imibare ni a i Ibintu Bya Ubwoko" # VCARD_LDAP_PHONE_NUMBER # # @name VCARD_LDAP_PHONE_NUMBER # # @loc None #: ../mimedir/mimedir-vcard.c:380 #, fuzzy msgid "Phone number" msgstr "Nomero ya terefoni" #: ../mimedir/mimedir-vcard.c:381 #, fuzzy msgid "The preferred phone number" msgstr "Bikunzwe Telefone Umubare" #: ../mimedir/mimedir-vcard.c:386 #, fuzzy msgid "E-mail address list" msgstr "E Ubutumwa Aderesi Urutonde" #: ../mimedir/mimedir-vcard.c:387 #, fuzzy msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "Bya Byose E Ubutumwa Amaderesi ni a i Ibintu Bya Ubwoko" # 1974 #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "aderesi nterineti" #: ../mimedir/mimedir-vcard.c:392 #, fuzzy msgid "The preferred e-mail address" msgstr "Bikunzwe E Ubutumwa Aderesi" # VCARD_LDAP_MAILER # # @name VCARD_LDAP_MAILER # # @loc None #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Uwanditse" #: ../mimedir/mimedir-vcard.c:398 #, fuzzy msgid "The mailing program used by this person" msgstr "Porogaramu ku iyi" # VCARD_LDAP_TZ # # @name VCARD_LDAP_TZ # # @loc None #: ../mimedir/mimedir-vcard.c:404 #, fuzzy msgid "Time zone" msgstr "Igihe kya karere" #: ../mimedir/mimedir-vcard.c:405 #, fuzzy msgid "The time zone this person lives in" msgstr "Igihe iyi in" #: ../mimedir/mimedir-vcard.c:412 #, fuzzy msgid "Time zone string" msgstr "Ikurikiranyanyuguti" #: ../mimedir/mimedir-vcard.c:413 #, fuzzy msgid "The time zone this person lives in (deprecated string representation)" msgstr "Igihe iyi in Bitemewe. Ikurikiranyanyuguti" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "" #: ../mimedir/mimedir-vcard.c:419 #, fuzzy msgid "Latitude of this person's residence" msgstr "Bya iyi" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "" #: ../mimedir/mimedir-vcard.c:427 #, fuzzy msgid "Longitude of this person's residence" msgstr "Bya iyi" # officecfg/registry\data\org\openoffice\Office\DataAccess.xcu:..DataAccess.DriverSettings.com.sun.star.comp.sdbc.MozabDriver.ColumnAliases.JobTitle.text #: ../mimedir/mimedir-vcard.c:435 #, fuzzy msgid "Job title" msgstr "Izina ry'Akazi" #: ../mimedir/mimedir-vcard.c:436 #, fuzzy msgid "The person's job title" msgstr "Umutwe" # VCARD_LDAP_ROLE # # @name VCARD_LDAP_ROLE # # @loc None #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Inshingano" #: ../mimedir/mimedir-vcard.c:442 #, fuzzy msgid "The person's job role" msgstr "Inshingano" # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....Wizard.Agenda.Logo.Visible.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....Wizard.Letter.Print.Logo.text #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "ikirango" #: ../mimedir/mimedir-vcard.c:448 #, fuzzy msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "Kuri a Bayite i ikirango Bya i Isosiyeti" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "" #: ../mimedir/mimedir-vcard.c:453 #, fuzzy msgid "URI to the logo of this person's company" msgstr "Kuri i ikirango Bya iyi Isosiyeti" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "" #: ../mimedir/mimedir-vcard.c:459 #, fuzzy msgid "A person, acting for the person described in this card" msgstr "A kugirango i in iyi" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "" #: ../mimedir/mimedir-vcard.c:465 #, fuzzy msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "Kuri i Isobanuramiterere Bya a kugirango i in iyi" #: ../mimedir/mimedir-vcard.c:470 #, fuzzy msgid "Agent string" msgstr "Ikurikiranyanyuguti" #: ../mimedir/mimedir-vcard.c:471 #, fuzzy msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "A kugirango i in iyi Bitemewe. Ikurikiranyanyuguti" #: ../mimedir/mimedir-vcard.c:476 #, fuzzy msgid "Organization list" msgstr "Urutonde" #: ../mimedir/mimedir-vcard.c:477 #, fuzzy msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "Bya Byose Ihuzagahunda iyi Kuri ni a i Ibintu S" # sw/source\ui\utlui\initui.src:STR_AUTH_FIELD_ORGANIZATIONS.text #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Ishyirahamwe" #: ../mimedir/mimedir-vcard.c:482 #, fuzzy msgid "The person's first organization" msgstr "Itangira Ihuzagahunda" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 #, fuzzy msgid "Category list" msgstr "Urutonde" #: ../mimedir/mimedir-vcard.c:489 #, fuzzy msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "Bya Byose Ibyiciro Bya iyi ni a i Ibintu S" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Ibyiciro" #: ../mimedir/mimedir-vcard.c:494 #, fuzzy msgid "String representation of this person's categories" msgstr "Bya iyi Ibyiciro" # sc/source\ui\pagedlg\hfedtdlg.src:RID_HFBASE.FL_INFO.text #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Igisobanuro" #: ../mimedir/mimedir-vcard.c:500 #, fuzzy msgid "Additional comments" msgstr "Ibisobanuro" #: ../mimedir/mimedir-vcard.c:506 #, fuzzy msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "IGIKUBO Ikiranga Bya i Bya Ibintu iyi ni IGIKUBO Ikiranga" # VCARD_LDAP_REVISION # # @name VCARD_LDAP_REVISION # # @loc None #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Isubiramo" #: ../mimedir/mimedir-vcard.c:512 #, fuzzy msgid "Card's revision" msgstr "Isubiramo" #: ../mimedir/mimedir-vcard.c:517 #, fuzzy msgid "Sort string" msgstr "Ikurikiranyanyuguti" #: ../mimedir/mimedir-vcard.c:518 #, fuzzy msgid "String that defines this card's sort order" msgstr "iyi Ishungura Itondekanya" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Ijwi" #: ../mimedir/mimedir-vcard.c:524 #, fuzzy msgid "Pointer to a byte stream, representing a sound file" msgstr "Kuri a Bayite a Ijwi IDOSIYE" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "" #: ../mimedir/mimedir-vcard.c:529 #, fuzzy msgid "URI to a sound file" msgstr "Kuri a Ijwi IDOSIYE" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "" #: ../mimedir/mimedir-vcard.c:535 #, fuzzy msgid "A unique identifier for this card" msgstr "A Cyo nyine Ikiranga kugirango iyi" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 #, fuzzy msgid "An alternate URL for this resource" msgstr "kugirango iyi" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "" #: ../mimedir/mimedir-vcard.c:548 #, fuzzy msgid "The security classfication of this card" msgstr "Umutekano Bya iyi" #: ../mimedir/mimedir-vcard.c:553 #, fuzzy msgid "Public key list" msgstr "Urufunguzo Urutonde" #: ../mimedir/mimedir-vcard.c:554 #, fuzzy msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "Bya iyi Rusange Utubuto ni a i Ibintu" # VCARD_LDAP_KEY # # @name VCARD_LDAP_KEY # # @loc None #: ../mimedir/mimedir-vcard.c:558 #, fuzzy msgid "Public key" msgstr "Ifunguzo ngenga" #: ../mimedir/mimedir-vcard.c:559 #, fuzzy msgid "This person's first public key" msgstr "Itangira Rusange Urufunguzo" # #-#-#-#-# sw.pot (PACKAGE VERSION) #-#-#-#-# # sw/source\ui\index\cnttab.src:TP_TOX_SELECT.FT_SORTALG.text # #-#-#-#-# sw.pot (PACKAGE VERSION) #-#-#-#-# # sw/source\ui\misc\srtdlg.src:DLG_SORTING.FT_KEYTYP.text #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Ubwoko bw'agakandisho" #: ../mimedir/mimedir-vcard.c:565 #, fuzzy msgid "Type of the first public key" msgstr "Bya i Itangira Rusange Urufunguzo" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, fuzzy, c-format msgid "Error reading card file %s: %s!" msgstr "IDOSIYE" #: ../mimedir/mimedir-vcard.c:1671 #, fuzzy, c-format msgid "Error writing card file %s: %s!" msgstr "IDOSIYE" # basctl/source\basicide\moduldlg.src:RID_DLG_NEWLIB.RID_FT_NEWLIB.text #: ../mimedir/mimedir-vcard.c:3409 #, fuzzy, c-format msgid "Name: %s\n" msgstr "Izina:" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "" # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....Wizard.Agenda.Save.AutoPrefix.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....Wizard.Letter.Save.AutoPrefix.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....Wizard.Fax.Save.AutoPrefix.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....Wizard.Memo.Save.AutoPrefix.text #: ../mimedir/mimedir-vcard.c:3413 #, fuzzy, c-format msgid " Prefix: %s\n" msgstr "Imbanziriza" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr "" # scaddins/source\analysis\analysis.src:RID_ANALYSIS_FUNCTION_DESCRIPTIONS.ANALYSIS_Complex.6.text #: ../mimedir/mimedir-vcard.c:3421 #, fuzzy, c-format msgid " Suffix: %s\n" msgstr "Ingereka" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3452 #, fuzzy, c-format msgid "Address label (%s):\n" msgstr "Akarango" #: ../mimedir/mimedir-vcard.c:3472 #, fuzzy, c-format msgid "Address (%s):\n" msgstr "Aderesi" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3488 #, fuzzy, c-format msgid " Extended: %s\n" msgstr "Byongerewe..." # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.PrivateAddress.Street.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.BusinessAddress.Street.text #: ../mimedir/mimedir-vcard.c:3490 #, fuzzy, c-format msgid " Street: %s\n" msgstr "Umuhanda" # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\data\org\openoffice\Office\DataAccess.xcu:..DataAccess.DriverSettings.com.sun.star.comp.sdbc.MozabDriver.ColumnAliases.HomeCity.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.PrivateAddress.City.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.BusinessAddress.City.text #: ../mimedir/mimedir-vcard.c:3492 #, fuzzy, c-format msgid " City: %s\n" msgstr "Umujyi" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr "" # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\data\org\openoffice\Office\DataAccess.xcu:..DataAccess.DriverSettings.com.sun.star.comp.sdbc.MozabDriver.ColumnAliases.HomeCountry.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.PrivateAddress.Country.text # #-#-#-#-# officecfg.pot (PACKAGE VERSION) #-#-#-#-# # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.BusinessAddress.Country.text #: ../mimedir/mimedir-vcard.c:3498 #, fuzzy, c-format msgid " Country: %s\n" msgstr "Igihugu" # 6175 #: ../mimedir/mimedir-vcard.c:3518 #, fuzzy msgid "Telephone:\n" msgstr "terefoni" # 6175 #: ../mimedir/mimedir-vcard.c:3542 #, fuzzy, c-format msgid "Telephone: %s (%s)\n" msgstr "terefoni" # sw/source\ui\wizard\wizbmp.src:STR_Usr_ElektrMail.text #: ../mimedir/mimedir-vcard.c:3554 #, fuzzy msgid "E-mail:\n" msgstr "Aderesi ya interineti:" #: ../mimedir/mimedir-vcard.c:3578 #, fuzzy, c-format msgid "E-mail: %s (%s)\n" msgstr "Imeli" # VCARD_LDAP_TZ # # @name VCARD_LDAP_TZ # # @loc None #: ../mimedir/mimedir-vcard.c:3598 #, fuzzy, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Igihe kya karere" #: ../mimedir/mimedir-vcard.c:3607 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "" #: ../mimedir/mimedir-vcard.c:3616 #, fuzzy, c-format msgid "Organization: %s\n" msgstr "Ihuzagahunda" # officecfg/registry\data\org\openoffice\Office\DataAccess.xcu:..DataAccess.DriverSettings.com.sun.star.comp.sdbc.MozabDriver.ColumnAliases.JobTitle.text #: ../mimedir/mimedir-vcard.c:3621 #, fuzzy, c-format msgid "Job title: %s\n" msgstr "Izina ry'Akazi" #: ../mimedir/mimedir-vcard.c:3624 #, fuzzy, c-format msgid "Business role: %s\n" msgstr "Inshingano" # #-#-#-#-# sfx2.pot (PACKAGE VERSION) #-#-#-#-# # sfx2/source\doc\doctdlg.src:DLG_DOC_TEMPLATE.FT_SECTION.text # #-#-#-#-# sfx2.pot (PACKAGE VERSION) #-#-#-#-# # sfx2/source\doc\new.src:DLG_NEW_FILE.FT_REGION.text #: ../mimedir/mimedir-vcard.c:3634 #, fuzzy, c-format msgid "Categories: %s\n" msgstr "Ibyiciro" # padmin/source\padialog.src:RID_PADIALOG.RID_PA_TXT_COMMENT.text #: ../mimedir/mimedir-vcard.c:3639 #, fuzzy, c-format msgid "Comment: %s\n" msgstr "Icyo wongeraho" # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....BusinessCard.PrivateAddress.WebAddress.text #: ../mimedir/mimedir-vcard.c:3642 #, fuzzy, c-format msgid "Homepage: %s\n" msgstr "Ipajikwinjira" #: ../mimedir/mimedir-vcard.c:3645 #, fuzzy, c-format msgid "Unique string: %s\n" msgstr "Ikurikiranyanyuguti" #: ../mimedir/mimedir-vcard.c:3655 msgid "X.509" msgstr "" #: ../mimedir/mimedir-vcard.c:3658 msgid "PGP" msgstr "" # svx/source\svdraw\svdstr.src:STR_ItemValYES.text #: ../mimedir/mimedir-vcard.c:3661 msgid "yes" msgstr "Yego" # VCARD_LDAP_KEY # # @name VCARD_LDAP_KEY # # @loc None #: ../mimedir/mimedir-vcard.c:3665 #, fuzzy, c-format msgid "Public Key: %s\n" msgstr "Ifunguzo ngenga" #: ../mimedir/mimedir-vcomponent.c:265 #, fuzzy msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "Bya Byose Ibyiciro Bya iyi ni a i Ibintu S" #: ../mimedir/mimedir-vcomponent.c:269 #, fuzzy msgid "Comment list" msgstr "Urutonde" #: ../mimedir/mimedir-vcomponent.c:270 #, fuzzy msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "Bya Byose Ibisobanuro kugirango iyi ni a i Ibintu S" # #-#-#-#-# basctl.pot (PACKAGE VERSION) #-#-#-#-# # basctl/source\basicide\moptions.src:RID_MACROOPTIONS.RID_FT_DESCR.text # #-#-#-#-# basctl.pot (PACKAGE VERSION) #-#-#-#-# # basctl/source\basicide\moptions.src:RID_MACROOPTIONS.text #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "Isobanuramiterere" #: ../mimedir/mimedir-vcomponent.c:275 #, fuzzy msgid "Full description of this component" msgstr "Isobanuramiterere Bya iyi" #: ../mimedir/mimedir-vcomponent.c:280 #, fuzzy msgid "Percent complete" msgstr "Byuzuye" #: ../mimedir/mimedir-vcomponent.c:281 #, fuzzy msgid "Percentage of this task's completion" msgstr "Bya iyi" # sw/source\ui\wizard\wizmmdlg.src:DLG_WIZARD_MM.DLG_MM2_Edit_Elem1.text #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "Icyihutirwa" #: ../mimedir/mimedir-vcomponent.c:289 #, fuzzy msgid "This task's priority" msgstr "By'ibanze" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 #, fuzzy msgid "Resource list" msgstr "Urutonde" #: ../mimedir/mimedir-vcomponent.c:295 #, fuzzy msgid "List of the resources assigned to this component" msgstr "Bya i Kuri iyi" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "Imimerere" #: ../mimedir/mimedir-vcomponent.c:300 #, fuzzy msgid "This task's completion status" msgstr "Imimerere" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "Inshamake" #: ../mimedir/mimedir-vcomponent.c:308 #, fuzzy msgid "Component's short description" msgstr "Isobanuramiterere" #: ../mimedir/mimedir-vcomponent.c:314 #, fuzzy msgid "Date/time completed" msgstr "Igihe" #: ../mimedir/mimedir-vcomponent.c:315 #, fuzzy msgid "Date/time that this task was completed" msgstr "Igihe iyi Igikorwa" #: ../mimedir/mimedir-vcomponent.c:320 #, fuzzy msgid "Date/time end" msgstr "Igihe Impera" #: ../mimedir/mimedir-vcomponent.c:321 #, fuzzy msgid "End date/time of this component" msgstr "Impera Itariki Igihe Bya iyi" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "" #: ../mimedir/mimedir-vcomponent.c:327 #, fuzzy msgid "This task's due date" msgstr "Itariki" #: ../mimedir/mimedir-vcomponent.c:332 #, fuzzy msgid "Date/time start" msgstr "Igihe Gutangira" #: ../mimedir/mimedir-vcomponent.c:333 #, fuzzy msgid "Start date/time of this component" msgstr "Gutangira Itariki Igihe Bya iyi" # officecfg/registry\schema\org\openoffice\Office\Writer.xcs:....AgendaType.Duration.text #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "Igihe-ngombwa" #: ../mimedir/mimedir-vcomponent.c:339 #, fuzzy msgid "This date's duration" msgstr "Igihe- ngombwa" #: ../mimedir/mimedir-vcomponent.c:344 #, fuzzy msgid "Free/busy" msgstr "Irahuze" #: ../mimedir/mimedir-vcomponent.c:345 #, fuzzy msgid "GList of free/busy objects" msgstr "Bya Kigenga Irahuze Ibintu" #: ../mimedir/mimedir-vcomponent.c:351 #, fuzzy msgid "This component's time zone identifier" msgstr "Igihe Ikiranga" #: ../mimedir/mimedir-vcomponent.c:356 #, fuzzy msgid "Time zone name list" msgstr "Izina: Urutonde" #: ../mimedir/mimedir-vcomponent.c:357 #, fuzzy msgid "GList of time zone names" msgstr "Bya Igihe Amazina" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 #, fuzzy msgid "Time zone offset from" msgstr "Nta- boneza Bivuye" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 #, fuzzy msgid "Time zone offset to" msgstr "Nta- boneza Kuri" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "" #: ../mimedir/mimedir-vcomponent.c:378 #, fuzzy msgid "URL to a time zone description" msgstr "Kuri a Igihe Isobanuramiterere" # ***** BEGIN LICENSE BLOCK ***** # Version: MPL 1.1/GPL 2.0/LGPL 2.1 # # The contents of this file are subject to the Mozilla Public License Version # 1.1 (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # http://www.mozilla.org/MPL/ # # Software distributed under the License is distributed on an "AS IS" basis, # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License # for the specific language governing rights and limitations under the # License. # # The Original Code is Mozilla Communicator client code, released # March 31, 1998. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998-1999 # the Initial Developer. All Rights Reserved. # # Contributor(s): # # Alternatively, the contents of this file may be used under the terms of # either of the GNU General Public License Version 2 or later (the "GPL"), # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), # in which case the provisions of the GPL or the LGPL are applicable instead # of those above. If you wish to allow use of your version of this file only # under the terms of either the GPL or the LGPL, and not to allow others to # use your version of this file under the terms of the MPL, indicate your # decision by deleting the provisions above and replace them with the notice # and other provisions required by the GPL or the LGPL. If you do not delete # the provisions above, a recipient may use your version of this file under # the terms of any one of the MPL, the GPL or the LGPL. # # ***** END LICENSE BLOCK ***** # Box Headings #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "Umuntu" #: ../mimedir/mimedir-vcomponent.c:385 #, fuzzy msgid "Contact information" msgstr "Ibisobanuro" #: ../mimedir/mimedir-vcomponent.c:391 #, fuzzy msgid "Unique identifier" msgstr "Ikiranga" #: ../mimedir/mimedir-vcomponent.c:392 #, fuzzy msgid "A unique identifier for this component" msgstr "A Cyo nyine Ikiranga kugirango iyi" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "" # sc/source\ui\miscdlgs\acredlin.src:RID_POPUP_CHANGES.SC_SUB_SORT.SC_SORT_ACTION.text #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "Igikorwa" # sfx2/sdi\sfxslots.src:SID_REPEAT.text #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "Gusubiramo" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "Imbarutso" #: ../mimedir/mimedir-vcomponent.c:423 #, fuzzy msgid "Trigger date/time" msgstr "Itariki Igihe" #: ../mimedir/mimedir-vcomponent.c:424 #, fuzzy msgid "Date/time of the trigger" msgstr "Igihe Bya i Imbarutso" #: ../mimedir/mimedir-vcomponent.c:429 #, fuzzy msgid "Trigger end" msgstr "Impera" #: ../mimedir/mimedir-vcomponent.c:430 #, fuzzy msgid "Whether the trigger is set at the end of the time interval" msgstr "i Imbarutso ni Gushyiraho ku i Impera Bya i Igihe Intera" # sc/source\ui\src\globstr.src:RID_GLOBSTR.STR_DOC_CREATED.text #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "Byaremwe" #: ../mimedir/mimedir-vcomponent.c:437 #, fuzzy msgid "Date/time of the creation" msgstr "Igihe Bya i" #: ../mimedir/mimedir-vcomponent.c:442 #, fuzzy msgid "Date/time stamp" msgstr "Igihe" #: ../mimedir/mimedir-vcomponent.c:443 #, fuzzy msgid "Date/time of the last modification" msgstr "Igihe Bya i Iheruka" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "" #: ../mimedir/mimedir-vcomponent.c:449 #, fuzzy msgid "Sequence number" msgstr "Umubare" libmimedir-0.4.2/po/uk.po0000644000175000017500000013214510603540671012160 00000000000000# Ukrainian translation of libmimedir. # Copyright (C) 2005 Free Software Foundation, Inc. # Maxim Dziumanenko , 2005 msgid "" msgstr "" "Project-Id-Version: libmimedir\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-09-04 15:04+0200\n" "PO-Revision-Date: 2005-08-07 11:46+0300\n" "Last-Translator: Maxim Dziumanenko \n" "Language-Team: Ukrainian \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #: ../bin/ical-dump.c:48 #, c-format msgid "Usage: %s ICALFILE\n" msgstr "Використання: %s ICALFILE\n" #: ../bin/ical-dump.c:57 msgid "secondly" msgstr "" #: ../bin/ical-dump.c:59 msgid "minutely" msgstr "" #: ../bin/ical-dump.c:61 #, fuzzy msgid "hourly" msgstr "Країна" #: ../bin/ical-dump.c:63 msgid "daily" msgstr "" #: ../bin/ical-dump.c:65 msgid "weekly" msgstr "" #: ../bin/ical-dump.c:67 msgid "monthly" msgstr "" #: ../bin/ical-dump.c:69 msgid "yearly" msgstr "" #: ../bin/ical-dump.c:71 ../bin/ical-dump.c:97 #, fuzzy msgid "unknown" msgstr "<невідомо>" #: ../bin/ical-dump.c:81 msgid "second" msgstr "" #: ../bin/ical-dump.c:83 msgid "minute" msgstr "" #: ../bin/ical-dump.c:85 msgid "hour" msgstr "" #: ../bin/ical-dump.c:87 msgid "day" msgstr "" #: ../bin/ical-dump.c:89 msgid "day of month" msgstr "" #: ../bin/ical-dump.c:91 msgid "day of year" msgstr "" #: ../bin/ical-dump.c:93 #, fuzzy msgid "week number" msgstr "Номер телефону" #: ../bin/ical-dump.c:95 msgid "month" msgstr "" #: ../bin/ical-dump.c:118 #, fuzzy, c-format msgid " Recurrence:\n" msgstr " Послідовність: %u\n" #: ../bin/ical-dump.c:120 #, fuzzy, c-format msgid " Frequency: %s\n" msgstr " Послідовність: %u\n" #: ../bin/ical-dump.c:123 #, fuzzy, c-format msgid " Until: %s\n" msgstr " Унікальний ідентифікатор: %s\n" #: ../bin/ical-dump.c:128 #, fuzzy, c-format msgid " Count: %d\n" msgstr " Країна: %s\n" #: ../bin/ical-dump.c:131 #, c-format msgid " Interval: %d\n" msgstr "" #: ../bin/ical-dump.c:134 #, fuzzy, c-format msgid " Unit: %s\n" msgstr " Унікальний ідентифікатор: %s\n" #: ../bin/ical-dump.c:137 #, fuzzy, c-format msgid " Units: %s\n" msgstr " Унікальний ідентифікатор: %s\n" #: ../bin/ical-dump.c:152 #, c-format msgid "" "Event:\n" "\n" msgstr "" "Подія:\n" "\n" #: ../bin/ical-dump.c:154 #, c-format msgid "" "Todo item:\n" "\n" msgstr "" "Елемент Todo:\n" "\n" #: ../bin/ical-dump.c:156 #, c-format msgid "" "Unknown component:\n" "\n" msgstr "" "Невідомий компонент:\n" "\n" #: ../bin/ical-dump.c:177 #, c-format msgid " Summary: %s\n" msgstr " Зведення: %s\n" #: ../bin/ical-dump.c:182 #, c-format msgid " Categories: %s\n" msgstr " Категорії: %s\n" #: ../bin/ical-dump.c:188 msgid "high" msgstr "високий" #: ../bin/ical-dump.c:190 msgid "low" msgstr "низький" #: ../bin/ical-dump.c:192 msgid "medium" msgstr "середній" #: ../bin/ical-dump.c:193 #, c-format msgid " Priority: %s (%d)\n" msgstr " Пріоритет: %s (%d)\n" #: ../bin/ical-dump.c:198 #, c-format msgid " Start date: %s\n" msgstr " Дата початку: %s\n" #: ../bin/ical-dump.c:205 #, c-format msgid " End date: %s\n" msgstr " Дата завершення: %s\n" #: ../bin/ical-dump.c:213 #, c-format msgid " Due date: %s\n" msgstr " Дата виконання: %s\n" #: ../bin/ical-dump.c:222 #, c-format msgid " Unique ID: %s\n" msgstr " Унікальний ідентифікатор: %s\n" #: ../bin/ical-dump.c:223 #, c-format msgid " Sequence: %u\n" msgstr " Послідовність: %u\n" #: ../bin/ical-dump.c:236 #, c-format msgid " All day event\n" msgstr " Щоденна подія\n" #: ../bin/ical-dump.c:261 ../bin/vcard-dump.c:67 ../bin/vcard-normalize.c:68 #, c-format msgid "%s: invalid number of arguments\n" msgstr "%s: неправильна кількість аргументів\n" #: ../bin/vcard-dump.c:43 ../bin/vcard-normalize.c:43 #, c-format msgid "Usage: %s VCARDFILE\n" msgstr "Використання: %s VCARDFILE\n" #: ../bin/vcard-normalize.c:79 #, c-format msgid "%s: error reading card file: %s\n" msgstr "%s: помилка читання з файлу картки: %s\n" #: ../bin/vcard-normalize.c:96 #, c-format msgid "%s: error writing card file: %s\n" msgstr "%s: помилка запису у файл картки: %s\n" #: ../mimedir/mimedir-attribute.c:131 ../mimedir/mimedir-vcard.c:298 msgid "Name" msgstr "Назва" #: ../mimedir/mimedir-attribute.c:132 msgid "The attribute's name" msgstr "Назва атрибута" #: ../mimedir/mimedir-attribute.c:137 msgid "Group" msgstr "Група" #: ../mimedir/mimedir-attribute.c:138 msgid "The attribute's group" msgstr "Група атрибута" #: ../mimedir/mimedir-attribute.c:894 msgid "missing parameter name" msgstr "відсутня назва параметра" #: ../mimedir/mimedir-attribute.c:919 msgid "missing closing quotation mark" msgstr "відсутня закриваюча дужка " #: ../mimedir/mimedir-attribute.c:1040 msgid "missing attribute name/group" msgstr "не вказано назву/групу атрибута" #: ../mimedir/mimedir-attribute.c:1056 msgid "no attribute name after group" msgstr "не вказана назва атрибута після групи" #: ../mimedir/mimedir-attribute.c:1072 msgid "missing value delimiter" msgstr "відсутній розділювач значень" #: ../mimedir/mimedir-attribute.c:1088 msgid "invalid character" msgstr "неправильний символ" #: ../mimedir/mimedir-attribute.c:2459 ../mimedir/mimedir-attribute.c:2468 msgid "illegal character" msgstr "недопустимий символ" #: ../mimedir/mimedir-attribute.h:48 #, c-format msgid "syntax error (%s)" msgstr "синтаксична помилка(%s)" #: ../mimedir/mimedir-attribute.h:49 #, c-format msgid "illegal character 0x%02x for type \"%s\"" msgstr "неправильний символ 0x%02x для типу \"%s\"" #: ../mimedir/mimedir-attribute.h:50 #, c-format msgid "invalid format for type \"%s\" in attribute %s" msgstr "неправильний формат для типу \"%s\" у атрибуті %s" #: ../mimedir/mimedir-attribute.h:51 #, c-format msgid "attribute %s could not be decoded, since its encoding is unknown" msgstr "не вдається декодувати атрибут %s, тому що кодування невідоме" #: ../mimedir/mimedir-attribute.h:52 #, c-format msgid "invalid value in attribute %s" msgstr "неправильне значення атрибута %s" #: ../mimedir/mimedir-attribute.h:53 #, c-format msgid "parameter \"%s\" must not be used more than once in attribute %s" msgstr "" "параметри \"%s\" не повинен використовуватись більше ніж у одному атрибуті %s" #: ../mimedir/mimedir-attribute.h:54 msgid "invalid Base64 sequence" msgstr "неправильна послідовність Base64" #: ../mimedir/mimedir-attribute.h:55 msgid "invalid quoted-printable sequence" msgstr "неправильна MIME-сумісна послідовність (Quoted Printable)" #: ../mimedir/mimedir-attribute.h:56 #, c-format msgid "attribute list of %s is too short" msgstr "список атрибутів %s надто короткий" #: ../mimedir/mimedir-attribute.h:57 #, c-format msgid "attribute list of %s is too long" msgstr "список атрибутів %s надто довгий" #: ../mimedir/mimedir-datetime.c:114 ../mimedir/mimedir-vcomponent.c:350 msgid "Time zone identifier" msgstr "Ідентифікатор часового поясу" #: ../mimedir/mimedir-datetime.c:115 msgid "Time zone identifying string" msgstr "Рядок, що вказує часовий пояс" #. Translators: YYYY-MM-DD HH:MM:SS #: ../mimedir/mimedir-datetime.c:1081 #, c-format msgid "%04d-%02d-%02d %02d:%02d:%02d" msgstr "%04d-%02d-%02d %02d:%02d:%02d" #. Translators: YYYY-MM-DD #: ../mimedir/mimedir-datetime.c:1086 #, c-format msgid "%04d-%02d-%02d" msgstr "%04d-%02d-%02d" #. Translators: HH:MM:SS #: ../mimedir/mimedir-datetime.c:1090 #, c-format msgid "%02d:%02d:%02d" msgstr "%02d:%02d:%02d" #: ../mimedir/mimedir-period.c:111 msgid "Free/busy type" msgstr "Посилання (URL) \"вільний/зайнятий\"" #: ../mimedir/mimedir-period.c:112 msgid "Whether this object signifies a free or a busy period" msgstr "Чи цей об'єкт означає період \"вільний/зайнятий\"" #: ../mimedir/mimedir-profile.c:114 msgid "Profile name" msgstr "Назва профілю" #: ../mimedir/mimedir-profile.c:115 msgid "The name (type) of the profile" msgstr "Назва (тип) профілю" #: ../mimedir/mimedir-profile.c:121 msgid "Character set" msgstr "Набір символів:" #: ../mimedir/mimedir-profile.c:122 msgid "Character set used to en-/decode this profile" msgstr "" "Набір символів, що використовується для кодування/розкодування цього профілю" #: ../mimedir/mimedir-profile.h:40 #, c-format msgid "attribute %s defined twice" msgstr "атрибут %s вказано двічі" #: ../mimedir/mimedir-profile.h:41 msgid "unexpected end of profile" msgstr "несподіване закінчення профілю" #: ../mimedir/mimedir-profile.h:42 #, c-format msgid "required attribute %s is missing" msgstr "відсутній обов'язковий атрибут %s" #: ../mimedir/mimedir-profile.h:43 msgid "unmatched END attribute" msgstr "непарний атрибут END" #: ../mimedir/mimedir-profile.h:44 #, c-format msgid "wrong profile %s; expected %s" msgstr "неправильний профіль %s; очікувалось %s" #: ../mimedir/mimedir-recurrence.c:221 #, fuzzy msgid "Frequency" msgstr "Послідовність" #: ../mimedir/mimedir-recurrence.c:222 msgid "Frequency type of this recurrency rule" msgstr "" #: ../mimedir/mimedir-recurrence.c:229 msgid "Date of last recurrence" msgstr "" #: ../mimedir/mimedir-recurrence.c:230 msgid "The date of the last recurrence of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:235 msgid "Number of recurrences" msgstr "" #: ../mimedir/mimedir-recurrence.c:236 msgid "The numer of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:243 msgid "Recurrence interval" msgstr "" #: ../mimedir/mimedir-recurrence.c:244 msgid "The interval of recurrences of an event" msgstr "" #: ../mimedir/mimedir-recurrence.c:251 #, fuzzy msgid "Recurrence unit" msgstr "Список ресурсів" #: ../mimedir/mimedir-recurrence.c:252 msgid "By which unit a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-recurrence.c:259 #, fuzzy msgid "Recurrence units" msgstr "Список ресурсів" #: ../mimedir/mimedir-recurrence.c:260 msgid "List of units by which a recurrence should be repeated" msgstr "" #: ../mimedir/mimedir-valarm.c:548 #, c-format msgid "" "Reminder of your appointment:\n" "\n" "%s\n" "%s" msgstr "" "Нагадування зустрічі:\n" "\n" "%s\n" "%s" #: ../mimedir/mimedir-vcal.c:148 msgid "Method" msgstr "Метод" #: ../mimedir/mimedir-vcal.c:149 msgid "The vCalendar's method" msgstr "Метод vCalendar" #: ../mimedir/mimedir-vcal.c:154 ../mimedir/mimedir-vcard.c:505 msgid "Product identifier" msgstr "Ідентифікатор продукту" #: ../mimedir/mimedir-vcal.c:155 msgid "" "The product identifier of the vCalendar. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Ідентифікатор продукту vCalendar. Для новостворених об'єктів він має " "значення ідентифікатора продукту LibMIMEDir." #: ../mimedir/mimedir-vcal.c:384 ../mimedir/mimedir-vcard.c:2411 #: ../mimedir/mimedir-vcomponent.c:2060 #, c-format msgid "The profile contains the unsupported custom attribute %s.\n" msgstr "Профіль містить непідтримуваний атрибут %s.\n" #: ../mimedir/mimedir-vcal.c:387 ../mimedir/mimedir-vcard.c:2414 #: ../mimedir/mimedir-vcomponent.c:2063 #, c-format msgid "The profile contains the unknown attribute %s.\n" msgstr "Профіль містить невідомий атрибут %s.\n" #: ../mimedir/mimedir-vcal.c:432 ../mimedir/mimedir-vcal.c:454 #: ../mimedir/mimedir-vcal.c:482 ../mimedir/mimedir-vcal.c:506 #, c-format msgid "Error reading calendar file %s: %s!" msgstr "Помилка читання файлу календаря %s: %s!" #: ../mimedir/mimedir-vcard-address.c:167 msgid "Title" msgstr "Заголовок" #: ../mimedir/mimedir-vcard-address.c:168 msgid "A one-line string with the most important address information" msgstr "Один рядок з найбільш важливою інформацією п ро адресу" #: ../mimedir/mimedir-vcard-address.c:174 msgid "Freeform address" msgstr "Адреса у довільній формі" #: ../mimedir/mimedir-vcard-address.c:175 msgid "A freeform address string" msgstr "Рядок з адресою у довільній формі" #: ../mimedir/mimedir-vcard-address.c:180 msgid "Post office box" msgstr "Абонентська скринька" #: ../mimedir/mimedir-vcard-address.c:181 msgid "The addresses post office box" msgstr "Адреси абонентських скриньок" #: ../mimedir/mimedir-vcard-address.c:186 msgid "Extended address" msgstr "Розширена адреса" #: ../mimedir/mimedir-vcard-address.c:187 msgid "Extended address string" msgstr "Рядок з розширеною адресою" #: ../mimedir/mimedir-vcard-address.c:192 msgid "Street" msgstr "Вулиця" #: ../mimedir/mimedir-vcard-address.c:193 msgid "Street address" msgstr "Вулиця" #: ../mimedir/mimedir-vcard-address.c:198 msgid "Locality" msgstr "Місто" #: ../mimedir/mimedir-vcard-address.c:199 msgid "Locality (e.g. city, town, etc.)" msgstr "Місцевість (наприклад місто, село тощо.)" #: ../mimedir/mimedir-vcard-address.c:204 msgid "Region" msgstr "Регіон" #: ../mimedir/mimedir-vcard-address.c:205 msgid "Region (e.g. state)" msgstr "Регіон (наприклад область, штат)" #: ../mimedir/mimedir-vcard-address.c:210 msgid "Postal code" msgstr "Поштовий індекс" #: ../mimedir/mimedir-vcard-address.c:211 msgid "Postal code (freeform string)" msgstr "Поштовий індекс (довільний рядок)" #: ../mimedir/mimedir-vcard-address.c:216 #: ../mimedir/mimedir-vcard-address.c:217 msgid "Country" msgstr "Країна" #: ../mimedir/mimedir-vcard-address.c:222 msgid "Domestic" msgstr "Внутрішня" #: ../mimedir/mimedir-vcard-address.c:223 msgid "Whether this is a domestic address" msgstr "Чи ця адреса є внутрішньою адресою" #: ../mimedir/mimedir-vcard-address.c:228 msgid "International" msgstr "Міжнародна" #: ../mimedir/mimedir-vcard-address.c:229 msgid "Whether this is an international address" msgstr "Чи ця адреса вже є міжнародною адресою" #: ../mimedir/mimedir-vcard-address.c:234 msgid "Postal" msgstr "Поштова" #: ../mimedir/mimedir-vcard-address.c:235 msgid "Whether this is a postal address" msgstr "Чи ця адреса є поштовою адресою" #: ../mimedir/mimedir-vcard-address.c:240 msgid "Parcel" msgstr "Посилка" #: ../mimedir/mimedir-vcard-address.c:241 msgid "Whether parcels can be received at this address" msgstr "Чи за цією адресою можливе отримання посилок" #: ../mimedir/mimedir-vcard-address.c:246 ../mimedir/mimedir-vcard-phone.c:160 msgid "Home" msgstr "Домашня" #: ../mimedir/mimedir-vcard-address.c:247 msgid "Whether this is a home address" msgstr "Чи ця адреса є домашньою адресою" #: ../mimedir/mimedir-vcard-address.c:252 ../mimedir/mimedir-vcard-phone.c:166 msgid "Work" msgstr "Робоча" #: ../mimedir/mimedir-vcard-address.c:253 msgid "Whether this is a work address" msgstr "Чи ця адреса є робочою адресою" #: ../mimedir/mimedir-vcard-address.c:258 ../mimedir/mimedir-vcard-email.c:153 #: ../mimedir/mimedir-vcard-phone.c:232 msgid "Preferred" msgstr "Головна" #: ../mimedir/mimedir-vcard-address.c:259 msgid "Whether this is the preferred address" msgstr "Чи ця адреса є головною адресою" #: ../mimedir/mimedir-vcard-address.c:572 #, c-format msgid "The %s attribute contains too many elements.\n" msgstr "Атрибут %s містить надто багато елементів.\n" #: ../mimedir/mimedir-vcard-address.c:772 #, c-format msgid "The address field is of unknown type %s." msgstr "Поле адреси має невідомий тип %s." #. Translators: pcode city #: ../mimedir/mimedir-vcard-address.c:864 #: ../mimedir/mimedir-vcard-address.c:873 #, c-format msgid "%s %s" msgstr "%s %s" #. Translators: city, region #: ../mimedir/mimedir-vcard-address.c:871 #, c-format msgid "%s, %s" msgstr "%s, %s" #: ../mimedir/mimedir-vcard-address.c:914 ../mimedir/mimedir-vcard-email.c:504 #: ../mimedir/mimedir-vcard-phone.c:695 msgid "preferred" msgstr "головна" #: ../mimedir/mimedir-vcard-address.c:919 msgid "domestic" msgstr "внутрішня" #: ../mimedir/mimedir-vcard-address.c:924 msgid "international" msgstr "міжнародна" #: ../mimedir/mimedir-vcard-address.c:929 msgid "postal" msgstr "поштова" #: ../mimedir/mimedir-vcard-address.c:934 msgid "parcel" msgstr "посилка" #: ../mimedir/mimedir-vcard-address.c:939 ../mimedir/mimedir-vcard-phone.c:701 msgid "home" msgstr "домашня" #: ../mimedir/mimedir-vcard-address.c:944 ../mimedir/mimedir-vcard-phone.c:706 msgid "work" msgstr "робоча" #. Translators: Short address format: "locality/street" #: ../mimedir/mimedir-vcard-address.c:996 #, c-format msgid "%s/%s" msgstr "%s/%s" #: ../mimedir/mimedir-vcard-address.c:1002 msgid "" msgstr "<невідомо>" #: ../mimedir/mimedir-vcard-email.c:138 ../mimedir/mimedir-vcard.c:368 msgid "Address" msgstr "Адреса" #: ../mimedir/mimedir-vcard-email.c:139 msgid "The e-mail address" msgstr "Адреса ел.пошти" #: ../mimedir/mimedir-vcard-email.c:145 msgid "Type" msgstr "Тип" #: ../mimedir/mimedir-vcard-email.c:146 msgid "Type of this e-mail address" msgstr "Тип адреса ел. пошти" #: ../mimedir/mimedir-vcard-email.c:154 msgid "Whether this is the preferred e-mail address" msgstr "Чи ця адреса є головною адресою ел.пошти" #: ../mimedir/mimedir-vcard-email.c:412 #, c-format msgid "The email field is of unknown type %s." msgstr "Поле адреси елюпошти має невідомий тип %s." #: ../mimedir/mimedir-vcard-email.c:514 msgid "Internet" msgstr "Інтернет" #: ../mimedir/mimedir-vcard-email.c:519 msgid "X.400" msgstr "X.400" #: ../mimedir/mimedir-vcard-phone.c:153 msgid "Number" msgstr "Номер" #: ../mimedir/mimedir-vcard-phone.c:154 msgid "The telephone number (freeform string)" msgstr "Номер телефону (у довільній формі)" #: ../mimedir/mimedir-vcard-phone.c:161 msgid "Whether this is a home phone number" msgstr "Чи це домашній телефон" #: ../mimedir/mimedir-vcard-phone.c:167 msgid "Whether this is a phone number at work" msgstr "Чи це робочий телефон" #: ../mimedir/mimedir-vcard-phone.c:172 msgid "Voice" msgstr "Голос" #: ../mimedir/mimedir-vcard-phone.c:173 msgid "Whether this is a voice number" msgstr "Чи це голосовий номер телефону" #: ../mimedir/mimedir-vcard-phone.c:178 msgid "Fax" msgstr "Факс" #: ../mimedir/mimedir-vcard-phone.c:179 msgid "Whether this is a facsimile number" msgstr "Чи це телефонний номер факсу" #: ../mimedir/mimedir-vcard-phone.c:184 ../mimedir/mimedir-vcard-phone.c:721 msgid "BBS" msgstr "BBS" #: ../mimedir/mimedir-vcard-phone.c:185 msgid "Whether this is a bulletin board system number" msgstr "Чи це номер телефону електронної інформаційної системи" #: ../mimedir/mimedir-vcard-phone.c:190 msgid "Modem" msgstr "Модем" #: ../mimedir/mimedir-vcard-phone.c:191 msgid "Whether this is a modem number" msgstr "Чи це номер телефону модему" #: ../mimedir/mimedir-vcard-phone.c:196 msgid "Pager" msgstr "Пейджер" #: ../mimedir/mimedir-vcard-phone.c:197 msgid "Whether this is a pager number" msgstr "Чи це номер телефону пейджера" #: ../mimedir/mimedir-vcard-phone.c:202 msgid "Video" msgstr "Відео" #: ../mimedir/mimedir-vcard-phone.c:203 msgid "Whether this is a video phone number" msgstr "Чи це номер телефону відео" #: ../mimedir/mimedir-vcard-phone.c:208 msgid "Cell" msgstr "Мобільний" #: ../mimedir/mimedir-vcard-phone.c:209 msgid "Whether this is a cell (mobile) phone number" msgstr "Чи це номер мобільного телефону" #: ../mimedir/mimedir-vcard-phone.c:214 msgid "Car" msgstr "Автомобільний" #: ../mimedir/mimedir-vcard-phone.c:215 msgid "Whether this is car phone number" msgstr "Чи це номер телефону у автомобілі" #: ../mimedir/mimedir-vcard-phone.c:220 ../mimedir/mimedir-vcard-phone.c:756 msgid "ISDN" msgstr "ISDN" #: ../mimedir/mimedir-vcard-phone.c:221 msgid "Whether this is a ISDN number" msgstr "Чи це номер телефону ISDN" #: ../mimedir/mimedir-vcard-phone.c:226 ../mimedir/mimedir-vcard-phone.c:761 msgid "PCS" msgstr "PCS" #: ../mimedir/mimedir-vcard-phone.c:227 msgid "Whether this is a PCS number" msgstr "Чи це номер телефону PCS" #: ../mimedir/mimedir-vcard-phone.c:233 msgid "Whether this is the preferred number" msgstr "Чи це головний номер телефону" #: ../mimedir/mimedir-vcard-phone.c:238 msgid "Message" msgstr "Автовідповідач" #: ../mimedir/mimedir-vcard-phone.c:239 msgid "Whether this number has a voice recorder" msgstr "Чи це номер телефону для запису голосу" #: ../mimedir/mimedir-vcard-phone.c:588 #, c-format msgid "The phone field is of unknown type %s." msgstr "Поле телефону має невідомий тип %s." #: ../mimedir/mimedir-vcard-phone.c:711 msgid "voice" msgstr "голосовий" #: ../mimedir/mimedir-vcard-phone.c:716 msgid "fax" msgstr "факс" #: ../mimedir/mimedir-vcard-phone.c:726 msgid "modem" msgstr "модем" #: ../mimedir/mimedir-vcard-phone.c:731 msgid "pager" msgstr "Пейджер" #: ../mimedir/mimedir-vcard-phone.c:736 msgid "video" msgstr "Відео" #: ../mimedir/mimedir-vcard-phone.c:741 msgid "voice message" msgstr "голосові повідомлення" #: ../mimedir/mimedir-vcard-phone.c:746 msgid "cell phone" msgstr "мобільний телефон" #: ../mimedir/mimedir-vcard-phone.c:751 msgid "car phone" msgstr "автомобільний телефон" #: ../mimedir/mimedir-vcard.c:299 msgid "The spelled out name full name of this person" msgstr "Повне ім'я цієї особи" #: ../mimedir/mimedir-vcard.c:304 msgid "Family name" msgstr "Прізвище" #: ../mimedir/mimedir-vcard.c:305 msgid "The family name of this person" msgstr "Прізвище цієї особи" #: ../mimedir/mimedir-vcard.c:310 msgid "Given name" msgstr "Ім'я" #: ../mimedir/mimedir-vcard.c:311 msgid "The given name of this person" msgstr "Ім'я цієї особи" #: ../mimedir/mimedir-vcard.c:316 msgid "Middle name" msgstr "По-батькові" #: ../mimedir/mimedir-vcard.c:317 msgid "The middle name or middle initials of this person" msgstr "Ім`я по-батькові або ініціал цієї особи" #: ../mimedir/mimedir-vcard.c:322 msgid "Prefix" msgstr "Префікс" #: ../mimedir/mimedir-vcard.c:323 msgid "The name prefix (e.g. honorific prefix) of this person" msgstr "Префікс імені (наприклад почесний префікс) цієї особи" #: ../mimedir/mimedir-vcard.c:328 msgid "Suffix" msgstr "Суфікс" #: ../mimedir/mimedir-vcard.c:329 msgid "The name suffix of this person" msgstr "Суфікс імені цієї особи" #: ../mimedir/mimedir-vcard.c:334 msgid "Nickname list" msgstr "Список прізвиськ" #: ../mimedir/mimedir-vcard.c:335 msgid "" "List of all nick names. This is a GList *, where the elements are of type " "const gchar *" msgstr "Список усіх прізвиськ. Це GList *, де елементи мають тип gchar *" #: ../mimedir/mimedir-vcard.c:339 msgid "Nick name" msgstr "Прізвисько" #: ../mimedir/mimedir-vcard.c:340 msgid "The first nick name" msgstr "Перше прізвисько" #. FIXME: this is useless #: ../mimedir/mimedir-vcard.c:345 msgid "Photo" msgstr "Фотографія" #: ../mimedir/mimedir-vcard.c:346 msgid "Pointer to a byte stream, representing an image of the person" msgstr "Вказівник на потік, що представляє зображення цієї особи" #: ../mimedir/mimedir-vcard.c:350 msgid "Photo URI" msgstr "URI фотографії" #: ../mimedir/mimedir-vcard.c:351 msgid "URI to an image of this person" msgstr "URI зображення цієї особи" #: ../mimedir/mimedir-vcard.c:356 msgid "Birthday" msgstr "День народження" #: ../mimedir/mimedir-vcard.c:357 msgid "The person's birthday" msgstr "День народження особи" #: ../mimedir/mimedir-vcard.c:363 msgid "Address list" msgstr "Список адрес" #: ../mimedir/mimedir-vcard.c:364 msgid "" "List of all addresses. This is a GList *, where the elements are of type " "MIMEDirAddress *" msgstr "Список усіх адрес. Це GList * з елементів типу MIMEDirAddress *" #: ../mimedir/mimedir-vcard.c:369 msgid "The preferred address" msgstr "Головна адреса" #: ../mimedir/mimedir-vcard.c:375 msgid "Phone number list" msgstr "Список номерів телефонів" #: ../mimedir/mimedir-vcard.c:376 msgid "" "List of all phone numbers. This is a GList *, where the elements are of type " "MIMEDirPhone *" msgstr "Список номерів телефонів. Це GList * з елементів MIMEDirPhone *" #: ../mimedir/mimedir-vcard.c:380 msgid "Phone number" msgstr "Номер телефону" #: ../mimedir/mimedir-vcard.c:381 msgid "The preferred phone number" msgstr "Це головний номер телефону" #: ../mimedir/mimedir-vcard.c:386 msgid "E-mail address list" msgstr "Список адрес ел.пошти" #: ../mimedir/mimedir-vcard.c:387 msgid "" "List of all e-mail addresses. This is a GList *, where the elements are of " "type MIMEDirEmail *" msgstr "" "Список адрес електронної пошти. Це GList * з елементів типу MIMEDirEmail *" #: ../mimedir/mimedir-vcard.c:391 msgid "E-mail address" msgstr "Адреса ел.пошти" #: ../mimedir/mimedir-vcard.c:392 msgid "The preferred e-mail address" msgstr "Головна адреса ел.пошти" #: ../mimedir/mimedir-vcard.c:397 msgid "Mailer" msgstr "Поштова програма" #: ../mimedir/mimedir-vcard.c:398 msgid "The mailing program used by this person" msgstr "Програма для електронної пошти, якою користується особа" #: ../mimedir/mimedir-vcard.c:404 msgid "Time zone" msgstr "Часовий пояс" #: ../mimedir/mimedir-vcard.c:405 msgid "The time zone this person lives in" msgstr "Часовий пояс у якому живе особа" #: ../mimedir/mimedir-vcard.c:412 msgid "Time zone string" msgstr "Рядок часового поясу" #: ../mimedir/mimedir-vcard.c:413 msgid "The time zone this person lives in (deprecated string representation)" msgstr "Часовий пояс у якому живе особа (застаріла символьна форма)" #: ../mimedir/mimedir-vcard.c:418 msgid "Latitude" msgstr "Широта" #: ../mimedir/mimedir-vcard.c:419 msgid "Latitude of this person's residence" msgstr "Широта місцевості де перебуває особа" #: ../mimedir/mimedir-vcard.c:426 msgid "Longitude" msgstr "Довгота" #: ../mimedir/mimedir-vcard.c:427 msgid "Longitude of this person's residence" msgstr "Довгота місцевості де перебуває особа" #: ../mimedir/mimedir-vcard.c:435 msgid "Job title" msgstr "Назва роботи" #: ../mimedir/mimedir-vcard.c:436 msgid "The person's job title" msgstr "Назва роботи особи" #: ../mimedir/mimedir-vcard.c:441 msgid "Role" msgstr "Посада" #: ../mimedir/mimedir-vcard.c:442 msgid "The person's job role" msgstr "Посада особи" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:447 msgid "Logo" msgstr "Емблема" #: ../mimedir/mimedir-vcard.c:448 msgid "Pointer to a byte stream, representing the logo of the person's company" msgstr "Вказівник на потік байтів, що представляє емблему компанії особи" #: ../mimedir/mimedir-vcard.c:452 msgid "Logo URI" msgstr "URI емблеми" #: ../mimedir/mimedir-vcard.c:453 msgid "URI to the logo of this person's company" msgstr "URI емблеми компанії цієї особи" #: ../mimedir/mimedir-vcard.c:458 msgid "Agent" msgstr "Агент" #: ../mimedir/mimedir-vcard.c:459 msgid "A person, acting for the person described in this card" msgstr "Особа, що виступає від імені особи, яка описана у цій картці" #: ../mimedir/mimedir-vcard.c:464 msgid "Agent URI" msgstr "URI агента" #: ../mimedir/mimedir-vcard.c:465 msgid "" "URI to the description of a person, acting for the person described in this " "card" msgstr "URI опису особи, що виступає від імені особи, яка описана у цій картці" #: ../mimedir/mimedir-vcard.c:470 msgid "Agent string" msgstr "Рядок агента" #: ../mimedir/mimedir-vcard.c:471 msgid "" "A person, acting for the person described in this card (deprecated string " "representation)" msgstr "" "Особа, що виступає від імені особи, яка описана у цій картці (застаріла " "символьна форма)" #: ../mimedir/mimedir-vcard.c:476 msgid "Organization list" msgstr "Список організацій" #: ../mimedir/mimedir-vcard.c:477 msgid "" "List of all organization this person belongs to. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Список організацій до яких належить особа. Це GList * з елементів типу gchar " "*" #: ../mimedir/mimedir-vcard.c:481 msgid "Organization" msgstr "Організація" #: ../mimedir/mimedir-vcard.c:482 msgid "The person's first organization" msgstr "Перша організація особи" #: ../mimedir/mimedir-vcard.c:488 ../mimedir/mimedir-vcomponent.c:264 msgid "Category list" msgstr "Список категорій" #: ../mimedir/mimedir-vcard.c:489 msgid "" "List of all categories of this person. This is a GList *, where the elements " "are gchar *'s" msgstr "Список категорій цієї особи. Це GList * з елементів типу gchar *" #: ../mimedir/mimedir-vcard.c:493 msgid "Categories" msgstr "Категорії" #: ../mimedir/mimedir-vcard.c:494 msgid "String representation of this person's categories" msgstr "Символьне представлення категорій особи" #: ../mimedir/mimedir-vcard.c:499 msgid "Note" msgstr "Примітка" #: ../mimedir/mimedir-vcard.c:500 msgid "Additional comments" msgstr "Додаткові коментарі" #: ../mimedir/mimedir-vcard.c:506 msgid "" "The product identifier of the vCard. In case of newly generated objects, " "this is LibMIMEDir's product identifier" msgstr "" "Ідентифікатор продукту картки. Для новостворених об'єктів має значення " "ідентифікатора продукту LibMIMEDir" #: ../mimedir/mimedir-vcard.c:511 msgid "Revision" msgstr "Випуск" #: ../mimedir/mimedir-vcard.c:512 msgid "Card's revision" msgstr "Випуск картки" #: ../mimedir/mimedir-vcard.c:517 msgid "Sort string" msgstr "Рядок сортування" #: ../mimedir/mimedir-vcard.c:518 msgid "String that defines this card's sort order" msgstr "Рядок який визначає порядок карток" #. FIXME: useless #: ../mimedir/mimedir-vcard.c:523 msgid "Sound" msgstr "Звук" #: ../mimedir/mimedir-vcard.c:524 msgid "Pointer to a byte stream, representing a sound file" msgstr "Вказівник на потік байтів, що представляють звуковий файл" #: ../mimedir/mimedir-vcard.c:528 msgid "Sound URI" msgstr "URI звуку" #: ../mimedir/mimedir-vcard.c:529 msgid "URI to a sound file" msgstr "URI звукового файлу" #: ../mimedir/mimedir-vcard.c:534 msgid "Unique Identifier" msgstr "Унікальний ідентифікатор" #: ../mimedir/mimedir-vcard.c:535 msgid "A unique identifier for this card" msgstr "Унікальний ідентифікатор цього файлу" #: ../mimedir/mimedir-vcard.c:540 msgid "URL" msgstr "URL" #: ../mimedir/mimedir-vcard.c:541 msgid "An alternate URL for this resource" msgstr "Альтернативний URL цього ресурсу" #: ../mimedir/mimedir-vcard.c:547 msgid "Classification" msgstr "Класифікація" #: ../mimedir/mimedir-vcard.c:548 msgid "The security classfication of this card" msgstr "Клас безпеки цієї картки" #: ../mimedir/mimedir-vcard.c:553 msgid "Public key list" msgstr "Список відкритих ключів" #: ../mimedir/mimedir-vcard.c:554 msgid "" "List of this person's public keys. This is a GList *, where the elements are " "MIMEDirVCardKeys" msgstr "" "Список відкритих ключів цієї особи. Це GList * з елементів MIMEDirVCardKeys" #: ../mimedir/mimedir-vcard.c:558 msgid "Public key" msgstr "Відкритий ключ" #: ../mimedir/mimedir-vcard.c:559 msgid "This person's first public key" msgstr "Перший публічний ключ особи" #: ../mimedir/mimedir-vcard.c:564 msgid "Key type" msgstr "Тип ключа" #: ../mimedir/mimedir-vcard.c:565 msgid "Type of the first public key" msgstr "Тип першого публічного ключа" #: ../mimedir/mimedir-vcard.c:1474 ../mimedir/mimedir-vcard.c:1496 #: ../mimedir/mimedir-vcard.c:1524 ../mimedir/mimedir-vcard.c:1548 #, c-format msgid "Error reading card file %s: %s!" msgstr "Помилка читання з файлу картки %s: %s!" #: ../mimedir/mimedir-vcard.c:1671 #, c-format msgid "Error writing card file %s: %s!" msgstr "Помилка запису у файл картки %s: %s!" #: ../mimedir/mimedir-vcard.c:3409 #, c-format msgid "Name: %s\n" msgstr "Назва: %s\n" #: ../mimedir/mimedir-vcard.c:3411 msgid "Name\n" msgstr "Назва\n" #: ../mimedir/mimedir-vcard.c:3413 #, c-format msgid " Prefix: %s\n" msgstr " Префікс: %s\n" #: ../mimedir/mimedir-vcard.c:3415 #, c-format msgid " Given: %s\n" msgstr " Ім'я: %s\n" #: ../mimedir/mimedir-vcard.c:3417 #, c-format msgid " Additional: %s\n" msgstr " Додаткове: %s\n" #: ../mimedir/mimedir-vcard.c:3419 #, c-format msgid " Family: %s\n" msgstr " Прізвище: %s\n" #: ../mimedir/mimedir-vcard.c:3421 #, c-format msgid " Suffix: %s\n" msgstr " Суфікс: %s\n" #: ../mimedir/mimedir-vcard.c:3427 #, c-format msgid "Birth Date: %04d-%02d-%02d\n" msgstr "День народження: %04d-%02d-%02d\n" #: ../mimedir/mimedir-vcard.c:3452 #, c-format msgid "Address label (%s):\n" msgstr "Ярлик адреси (%s):\n" #: ../mimedir/mimedir-vcard.c:3472 #, c-format msgid "Address (%s):\n" msgstr "Адреса (%s):\n" #: ../mimedir/mimedir-vcard.c:3486 #, c-format msgid " Postal Box: %s\n" msgstr " Абонентська скринька: %s\n" #: ../mimedir/mimedir-vcard.c:3488 #, c-format msgid " Extended: %s\n" msgstr " Розширена: %s\n" #: ../mimedir/mimedir-vcard.c:3490 #, c-format msgid " Street: %s\n" msgstr " Вулиця: %s\n" #: ../mimedir/mimedir-vcard.c:3492 #, c-format msgid " City: %s\n" msgstr " Місто: %s\n" #: ../mimedir/mimedir-vcard.c:3494 #, c-format msgid " Region: %s\n" msgstr " Регіон: %s\n" #: ../mimedir/mimedir-vcard.c:3496 #, c-format msgid " Postal Code: %s\n" msgstr " Поштовий індекс: %s\n" #: ../mimedir/mimedir-vcard.c:3498 #, c-format msgid " Country: %s\n" msgstr " Країна: %s\n" #: ../mimedir/mimedir-vcard.c:3518 msgid "Telephone:\n" msgstr "Телефон:\n" #: ../mimedir/mimedir-vcard.c:3542 #, c-format msgid "Telephone: %s (%s)\n" msgstr "Телефон: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3554 msgid "E-mail:\n" msgstr "Ел.пошта:\n" #: ../mimedir/mimedir-vcard.c:3578 #, c-format msgid "E-mail: %s (%s)\n" msgstr "Ел.пошта: %s (%s)\n" #: ../mimedir/mimedir-vcard.c:3598 #, c-format msgid "Time zone: %c%02d:%02d\n" msgstr "Часовий пояс: %c%02d:%02d\n" #: ../mimedir/mimedir-vcard.c:3607 #, c-format msgid "Location: %.2f,%.2f\n" msgstr "Місцевість: %.2f,%.2f\n" #: ../mimedir/mimedir-vcard.c:3616 #, c-format msgid "Organization: %s\n" msgstr "Організація: %s\n" #: ../mimedir/mimedir-vcard.c:3621 #, c-format msgid "Job title: %s\n" msgstr "Назва роботи: %s\n" #: ../mimedir/mimedir-vcard.c:3624 #, c-format msgid "Business role: %s\n" msgstr "Посада: %s\n" #: ../mimedir/mimedir-vcard.c:3634 #, c-format msgid "Categories: %s\n" msgstr "Категорії: %s\n" #: ../mimedir/mimedir-vcard.c:3639 #, c-format msgid "Comment: %s\n" msgstr "Коментар: %s\n" #: ../mimedir/mimedir-vcard.c:3642 #, c-format msgid "Homepage: %s\n" msgstr "Домашня сторінка: %s\n" #: ../mimedir/mimedir-vcard.c:3645 #, c-format msgid "Unique string: %s\n" msgstr " Унікальний рядок: %s\n" #: ../mimedir/mimedir-vcard.c:3655 msgid "X.509" msgstr "X.509" #: ../mimedir/mimedir-vcard.c:3658 msgid "PGP" msgstr "PGP" #: ../mimedir/mimedir-vcard.c:3661 msgid "yes" msgstr "так" #: ../mimedir/mimedir-vcard.c:3665 #, c-format msgid "Public Key: %s\n" msgstr "Відкритий ключ: %s\n" #: ../mimedir/mimedir-vcomponent.c:265 msgid "" "List of all categories of this component. This is a GList *, where the " "elements are gchar *'s" msgstr "" "Список усіх категорій цієї компоненти. Це GList * з елементів gchar *'s" #: ../mimedir/mimedir-vcomponent.c:269 msgid "Comment list" msgstr "Список коментарів" #: ../mimedir/mimedir-vcomponent.c:270 msgid "" "List of all additional comments for this component. This is a GList *, where " "the elements are gchar *'s" msgstr "" "Список додаткових коментарів цієї компоненти. Це GList * з елементів gchar " "*'s" #: ../mimedir/mimedir-vcomponent.c:274 msgid "Description" msgstr "Опис" #: ../mimedir/mimedir-vcomponent.c:275 msgid "Full description of this component" msgstr "Повний опис цієї компоненти" #: ../mimedir/mimedir-vcomponent.c:280 msgid "Percent complete" msgstr "Відсоток виконання" #: ../mimedir/mimedir-vcomponent.c:281 msgid "Percentage of this task's completion" msgstr "Відсоток завершення цього завдання" #: ../mimedir/mimedir-vcomponent.c:288 msgid "Priority" msgstr "Пріоритет" #: ../mimedir/mimedir-vcomponent.c:289 msgid "This task's priority" msgstr "Пріоритет цього завдання" #. FIXME: whoops, this isn't handled #: ../mimedir/mimedir-vcomponent.c:294 msgid "Resource list" msgstr "Список ресурсів" #: ../mimedir/mimedir-vcomponent.c:295 msgid "List of the resources assigned to this component" msgstr "Список ресурсів, що пов'язані з цією компонентою" #: ../mimedir/mimedir-vcomponent.c:299 msgid "Status" msgstr "Статус" #: ../mimedir/mimedir-vcomponent.c:300 msgid "This task's completion status" msgstr "Статус завершення цього завдання" #: ../mimedir/mimedir-vcomponent.c:307 msgid "Summary" msgstr "Зведення" #: ../mimedir/mimedir-vcomponent.c:308 msgid "Component's short description" msgstr "Короткий опис компоненту" #: ../mimedir/mimedir-vcomponent.c:314 msgid "Date/time completed" msgstr "Дата/час завершення" #: ../mimedir/mimedir-vcomponent.c:315 msgid "Date/time that this task was completed" msgstr "Дата/час коли завдання було завершено" #: ../mimedir/mimedir-vcomponent.c:320 msgid "Date/time end" msgstr "Дата/час закінчення" #: ../mimedir/mimedir-vcomponent.c:321 msgid "End date/time of this component" msgstr "Дата/час закінчення цього компоненту" #: ../mimedir/mimedir-vcomponent.c:326 msgid "Due" msgstr "Плановий строк" #: ../mimedir/mimedir-vcomponent.c:327 msgid "This task's due date" msgstr "Планова дата завершення" #: ../mimedir/mimedir-vcomponent.c:332 msgid "Date/time start" msgstr "Дата/час початку" #: ../mimedir/mimedir-vcomponent.c:333 msgid "Start date/time of this component" msgstr "Дата/час початку цього компоненту" #: ../mimedir/mimedir-vcomponent.c:338 msgid "Duration" msgstr "Тривалість" #: ../mimedir/mimedir-vcomponent.c:339 msgid "This date's duration" msgstr "Тривалість цієї дати" #: ../mimedir/mimedir-vcomponent.c:344 msgid "Free/busy" msgstr "Зайнятий/вільний" #: ../mimedir/mimedir-vcomponent.c:345 msgid "GList of free/busy objects" msgstr "Список GList з об'єктами вільний/зайнятий" #: ../mimedir/mimedir-vcomponent.c:351 msgid "This component's time zone identifier" msgstr "Ідентифікатор часового поясу цього компоненту" #: ../mimedir/mimedir-vcomponent.c:356 msgid "Time zone name list" msgstr "Список назв часових поясів" #: ../mimedir/mimedir-vcomponent.c:357 msgid "GList of time zone names" msgstr "Список GList назв часових поясів" #: ../mimedir/mimedir-vcomponent.c:361 ../mimedir/mimedir-vcomponent.c:362 msgid "Time zone offset from" msgstr "Зсув часового поясу від" #: ../mimedir/mimedir-vcomponent.c:369 ../mimedir/mimedir-vcomponent.c:370 msgid "Time zone offset to" msgstr "Зсув часового поясу до" #: ../mimedir/mimedir-vcomponent.c:377 msgid "Time zone URL" msgstr "URL часового поясу" #: ../mimedir/mimedir-vcomponent.c:378 msgid "URL to a time zone description" msgstr "URL опису часового поясу" #: ../mimedir/mimedir-vcomponent.c:384 msgid "Contact" msgstr "Контакт" #: ../mimedir/mimedir-vcomponent.c:385 msgid "Contact information" msgstr "Контактна інформація" #: ../mimedir/mimedir-vcomponent.c:391 msgid "Unique identifier" msgstr "Унікальний ідентифікатор" #: ../mimedir/mimedir-vcomponent.c:392 msgid "A unique identifier for this component" msgstr "Унікальний ідентифікатор цього компоненту" #: ../mimedir/mimedir-vcomponent.c:398 msgid "Recurrence object" msgstr "" #: ../mimedir/mimedir-vcomponent.c:399 msgid "An object representing the RRULE tag" msgstr "" #: ../mimedir/mimedir-vcomponent.c:405 ../mimedir/mimedir-vcomponent.c:406 msgid "Action" msgstr "Дія" #: ../mimedir/mimedir-vcomponent.c:411 ../mimedir/mimedir-vcomponent.c:412 msgid "Repeat" msgstr "Повтор" #: ../mimedir/mimedir-vcomponent.c:417 ../mimedir/mimedir-vcomponent.c:418 msgid "Trigger" msgstr "Тригер" #: ../mimedir/mimedir-vcomponent.c:423 msgid "Trigger date/time" msgstr "Дата/час тригера" #: ../mimedir/mimedir-vcomponent.c:424 msgid "Date/time of the trigger" msgstr "Дата/час тригера" #: ../mimedir/mimedir-vcomponent.c:429 msgid "Trigger end" msgstr "Кінець тригера" #: ../mimedir/mimedir-vcomponent.c:430 msgid "Whether the trigger is set at the end of the time interval" msgstr "Чи тригер встановлено на кінець інтервалу часу" #: ../mimedir/mimedir-vcomponent.c:436 msgid "Created" msgstr "Створено" #: ../mimedir/mimedir-vcomponent.c:437 msgid "Date/time of the creation" msgstr "Дата/час створення" #: ../mimedir/mimedir-vcomponent.c:442 msgid "Date/time stamp" msgstr "Штамп дати/часу" #: ../mimedir/mimedir-vcomponent.c:443 msgid "Date/time of the last modification" msgstr "Дата/час останньої зміни" #: ../mimedir/mimedir-vcomponent.c:448 msgid "Sequence" msgstr "Послідовність" #: ../mimedir/mimedir-vcomponent.c:449 msgid "Sequence number" msgstr "Номер послідовності"