Codebase list policykit-1-gnome / dea820d
Imported Upstream version 0.104 Michael Biebl 12 years ago
41 changed file(s) with 2801 addition(s) and 7251 deletion(s). Raw diff Collapse all Expand all
0 SUBDIRS = polkitgtk src po docs
0 SUBDIRS = src po
11
22 EXTRA_DIST = \
33 autogen.sh \
44 TODO \
55 HACKING
66
7 DISTCHECK_CONFIGURE_FLAGS="--disable-introspection --disable-maintainer-mode"
7 DISTCHECK_CONFIGURE_FLAGS="--disable-maintainer-mode"
88
99 clean-local :
1010 rm -f *~ po/*~
148148 GMSGFMT = @GMSGFMT@
149149 GREP = @GREP@
150150 GTKDOC_CHECK = @GTKDOC_CHECK@
151 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
152 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
151153 GTKDOC_MKPDF = @GTKDOC_MKPDF@
152154 GTKDOC_REBASE = @GTKDOC_REBASE@
153 GTK_API_VERSION = @GTK_API_VERSION@
154155 GTK_CFLAGS = @GTK_CFLAGS@
155156 GTK_LIBS = @GTK_LIBS@
156157 G_IR_COMPILER = @G_IR_COMPILER@
275276 top_build_prefix = @top_build_prefix@
276277 top_builddir = @top_builddir@
277278 top_srcdir = @top_srcdir@
278 SUBDIRS = polkitgtk src po docs
279 SUBDIRS = src po
279280 EXTRA_DIST = \
280281 autogen.sh \
281282 TODO \
282283 HACKING
283284
284 DISTCHECK_CONFIGURE_FLAGS = "--disable-introspection --disable-maintainer-mode"
285 DISTCHECK_CONFIGURE_FLAGS = "--disable-maintainer-mode"
285286 all: config.h
286287 $(MAKE) $(AM_MAKEFLAGS) all-recursive
287288
0 ==========
1 polkit-gnome 0.104
2 ==========
3
4 This is polkit-gnome version 0.104.
5
6 Build requirements
7
8 polkit >= 0.96
9 gtk+-3.0 >= 3.0
10
11 Changes since 0.103:
12
13 Carles Ferrando (1):
14 [l10n]Updated Catalan (Valencian) translation
15
16 David Zeuthen (1):
17 Post-release version bump to 0.104
18
19 Gianvito Cavasoli (1):
20 l10n: Updated Italian translation
21
22 Gil Forcada (1):
23 [l10n]Updated Catalan translation
24
25 Inaki Larranaga Murgoitio (1):
26 Updated Basque language
27
28 Olav Vitters (1):
29 add download link to doap file
30
31 Thanks to our contributors.
32
33 Matthias Clasen,
34 October 17, 2011
35
36 ==========
37 polkit-gnome 0.103
38 ==========
39
40 This is polkit-gnome version 0.103.
41
42 Build requirements
43
44 polkit >= 0.96
45 gtk+-3.0 >= 3.0
46
47 Changes since 0.102:
48
49 Alexandre Franke (2):
50 Fix typo
51 Add DOAP and drop MAINTAINERS file
52
53 David Zeuthen (3):
54 Post-release version bump to 0.103
55 Fix make distcheck
56 Update NEWS for release
57
58 Matthias Clasen (4):
59 Drop polkit-gtk
60 configure.ac: Drop a duplicated section
61 Drop --with-gtk=2.0|3.0
62 Drop marshaller complications
63
64 Thanks to our contributors.
65
66 David Zeuthen,
67 Sep 19, 2011
68
069 ==========
170 polkit-gnome 0.102
271 ==========
+1842
-1832
aclocal.m4 less more
1818 If you have problems, you may need to regenerate the build system entirely.
1919 To do so, use the procedure documented by the package, typically `autoreconf'.])])
2020
21 # Copyright (C) 1995-2002 Free Software Foundation, Inc.
22 # Copyright (C) 2001-2003,2004 Red Hat, Inc.
21 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
2322 #
24 # This file is free software, distributed under the terms of the GNU
25 # General Public License. As a special exception to the GNU General
26 # Public License, this file may be distributed as part of a program
27 # that contains a configuration script generated by Autoconf, under
28 # the same distribution terms as the rest of that program.
23 # This file is free software; the Free Software Foundation
24 # gives unlimited permission to copy and/or distribute it,
25 # with or without modifications, as long as this notice is preserved.
26
27 # AM_AUTOMAKE_VERSION(VERSION)
28 # ----------------------------
29 # Automake X.Y traces this macro to ensure aclocal.m4 has been
30 # generated from the m4 files accompanying Automake X.Y.
31 # (This private macro should not be called outside this file.)
32 AC_DEFUN([AM_AUTOMAKE_VERSION],
33 [am__api_version='1.11'
34 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
35 dnl require some minimum version. Point them to the right macro.
36 m4_if([$1], [1.11.1], [],
37 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
38 ])
39
40 # _AM_AUTOCONF_VERSION(VERSION)
41 # -----------------------------
42 # aclocal traces this macro to find the Autoconf version.
43 # This is a private macro too. Using m4_define simplifies
44 # the logic in aclocal, which can simply ignore this definition.
45 m4_define([_AM_AUTOCONF_VERSION], [])
46
47 # AM_SET_CURRENT_AUTOMAKE_VERSION
48 # -------------------------------
49 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
50 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
51 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
52 [AM_AUTOMAKE_VERSION([1.11.1])dnl
53 m4_ifndef([AC_AUTOCONF_VERSION],
54 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
55 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
56
57 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
58
59 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
2960 #
30 # This file can be copied and used freely without restrictions. It can
31 # be used in projects which are not available under the GNU Public License
32 # but which still want to provide support for the GNU gettext functionality.
61 # This file is free software; the Free Software Foundation
62 # gives unlimited permission to copy and/or distribute it,
63 # with or without modifications, as long as this notice is preserved.
64
65 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
66 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
67 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
3368 #
34 # Macro to add for using GNU gettext.
35 # Ulrich Drepper <drepper@cygnus.com>, 1995, 1996
69 # Of course, Automake must honor this variable whenever it calls a
70 # tool from the auxiliary directory. The problem is that $srcdir (and
71 # therefore $ac_aux_dir as well) can be either absolute or relative,
72 # depending on how configure is run. This is pretty annoying, since
73 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
74 # source directory, any form will work fine, but in subdirectories a
75 # relative path needs to be adjusted first.
3676 #
37 # Modified to never use included libintl.
38 # Owen Taylor <otaylor@redhat.com>, 12/15/1998
77 # $ac_aux_dir/missing
78 # fails when called from a subdirectory if $ac_aux_dir is relative
79 # $top_srcdir/$ac_aux_dir/missing
80 # fails if $ac_aux_dir is absolute,
81 # fails when called from a subdirectory in a VPATH build with
82 # a relative $ac_aux_dir
3983 #
40 # Major rework to remove unused code
41 # Owen Taylor <otaylor@redhat.com>, 12/11/2002
84 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
85 # are both prefixed by $srcdir. In an in-source build this is usually
86 # harmless because $srcdir is `.', but things will broke when you
87 # start a VPATH build or use an absolute $srcdir.
4288 #
43 # Added better handling of ALL_LINGUAS from GNU gettext version
44 # written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
89 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
90 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
91 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
92 # and then we would define $MISSING as
93 # MISSING="\${SHELL} $am_aux_dir/missing"
94 # This will work as long as MISSING is not called from configure, because
95 # unfortunately $(top_srcdir) has no meaning in configure.
96 # However there are other variables, like CC, which are often used in
97 # configure, and could therefore not use this "fixed" $ac_aux_dir.
4598 #
46 # Modified to require ngettext
47 # Matthias Clasen <mclasen@redhat.com> 08/06/2004
99 # Another solution, used here, is to always expand $ac_aux_dir to an
100 # absolute PATH. The drawback is that using absolute paths prevent a
101 # configured tree to be moved without reconfiguration.
102
103 AC_DEFUN([AM_AUX_DIR_EXPAND],
104 [dnl Rely on autoconf to set up CDPATH properly.
105 AC_PREREQ([2.50])dnl
106 # expand $ac_aux_dir to an absolute path
107 am_aux_dir=`cd $ac_aux_dir && pwd`
108 ])
109
110 # AM_CONDITIONAL -*- Autoconf -*-
111
112 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
113 # Free Software Foundation, Inc.
48114 #
49 # We need this here as well, since someone might use autoconf-2.5x
50 # to configure GLib then an older version to configure a package
51 # using AM_GLIB_GNU_GETTEXT
52 AC_PREREQ(2.53)
53
54 dnl
55 dnl We go to great lengths to make sure that aclocal won't
56 dnl try to pull in the installed version of these macros
57 dnl when running aclocal in the glib directory.
58 dnl
59 m4_copy([AC_DEFUN],[glib_DEFUN])
60 m4_copy([AC_REQUIRE],[glib_REQUIRE])
61 dnl
62 dnl At the end, if we're not within glib, we'll define the public
63 dnl definitions in terms of our private definitions.
64 dnl
65
66 # GLIB_LC_MESSAGES
67 #--------------------
68 glib_DEFUN([GLIB_LC_MESSAGES],
69 [AC_CHECK_HEADERS([locale.h])
70 if test $ac_cv_header_locale_h = yes; then
71 AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
72 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
73 am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
74 if test $am_cv_val_LC_MESSAGES = yes; then
75 AC_DEFINE(HAVE_LC_MESSAGES, 1,
76 [Define if your <locale.h> file defines LC_MESSAGES.])
77 fi
78 fi])
79
80 # GLIB_PATH_PROG_WITH_TEST
81 #----------------------------
82 dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
83 dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
84 glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
85 [# Extract the first word of "$2", so it can be a program name with args.
86 set dummy $2; ac_word=[$]2
87 AC_MSG_CHECKING([for $ac_word])
88 AC_CACHE_VAL(ac_cv_path_$1,
89 [case "[$]$1" in
90 /*)
91 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
92 ;;
93 *)
94 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
95 for ac_dir in ifelse([$5], , $PATH, [$5]); do
96 test -z "$ac_dir" && ac_dir=.
97 if test -f $ac_dir/$ac_word; then
98 if [$3]; then
99 ac_cv_path_$1="$ac_dir/$ac_word"
115 # This file is free software; the Free Software Foundation
116 # gives unlimited permission to copy and/or distribute it,
117 # with or without modifications, as long as this notice is preserved.
118
119 # serial 9
120
121 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
122 # -------------------------------------
123 # Define a conditional.
124 AC_DEFUN([AM_CONDITIONAL],
125 [AC_PREREQ(2.52)dnl
126 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
127 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
128 AC_SUBST([$1_TRUE])dnl
129 AC_SUBST([$1_FALSE])dnl
130 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
131 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
132 m4_define([_AM_COND_VALUE_$1], [$2])dnl
133 if $2; then
134 $1_TRUE=
135 $1_FALSE='#'
136 else
137 $1_TRUE='#'
138 $1_FALSE=
139 fi
140 AC_CONFIG_COMMANDS_PRE(
141 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
142 AC_MSG_ERROR([[conditional "$1" was never defined.
143 Usually this means the macro was only invoked conditionally.]])
144 fi])])
145
146 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
147 # Free Software Foundation, Inc.
148 #
149 # This file is free software; the Free Software Foundation
150 # gives unlimited permission to copy and/or distribute it,
151 # with or without modifications, as long as this notice is preserved.
152
153 # serial 10
154
155 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
156 # written in clear, in which case automake, when reading aclocal.m4,
157 # will think it sees a *use*, and therefore will trigger all it's
158 # C support machinery. Also note that it means that autoscan, seeing
159 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
160
161
162 # _AM_DEPENDENCIES(NAME)
163 # ----------------------
164 # See how the compiler implements dependency checking.
165 # NAME is "CC", "CXX", "GCJ", or "OBJC".
166 # We try a few techniques and use that to set a single cache variable.
167 #
168 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
169 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
170 # dependency, and given that the user is not expected to run this macro,
171 # just rely on AC_PROG_CC.
172 AC_DEFUN([_AM_DEPENDENCIES],
173 [AC_REQUIRE([AM_SET_DEPDIR])dnl
174 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
175 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
176 AC_REQUIRE([AM_DEP_TRACK])dnl
177
178 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
179 [$1], CXX, [depcc="$CXX" am_compiler_list=],
180 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
181 [$1], UPC, [depcc="$UPC" am_compiler_list=],
182 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
183 [depcc="$$1" am_compiler_list=])
184
185 AC_CACHE_CHECK([dependency style of $depcc],
186 [am_cv_$1_dependencies_compiler_type],
187 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
188 # We make a subdir and do the tests there. Otherwise we can end up
189 # making bogus files that we don't know about and never remove. For
190 # instance it was reported that on HP-UX the gcc test will end up
191 # making a dummy file named `D' -- because `-MD' means `put the output
192 # in D'.
193 mkdir conftest.dir
194 # Copy depcomp to subdir because otherwise we won't find it if we're
195 # using a relative directory.
196 cp "$am_depcomp" conftest.dir
197 cd conftest.dir
198 # We will build objects and dependencies in a subdirectory because
199 # it helps to detect inapplicable dependency modes. For instance
200 # both Tru64's cc and ICC support -MD to output dependencies as a
201 # side effect of compilation, but ICC will put the dependencies in
202 # the current directory while Tru64 will put them in the object
203 # directory.
204 mkdir sub
205
206 am_cv_$1_dependencies_compiler_type=none
207 if test "$am_compiler_list" = ""; then
208 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
209 fi
210 am__universal=false
211 m4_case([$1], [CC],
212 [case " $depcc " in #(
213 *\ -arch\ *\ -arch\ *) am__universal=true ;;
214 esac],
215 [CXX],
216 [case " $depcc " in #(
217 *\ -arch\ *\ -arch\ *) am__universal=true ;;
218 esac])
219
220 for depmode in $am_compiler_list; do
221 # Setup a source with many dependencies, because some compilers
222 # like to wrap large dependency lists on column 80 (with \), and
223 # we should not choose a depcomp mode which is confused by this.
224 #
225 # We need to recreate these files for each test, as the compiler may
226 # overwrite some of them when testing with obscure command lines.
227 # This happens at least with the AIX C compiler.
228 : > sub/conftest.c
229 for i in 1 2 3 4 5 6; do
230 echo '#include "conftst'$i'.h"' >> sub/conftest.c
231 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
232 # Solaris 8's {/usr,}/bin/sh.
233 touch sub/conftst$i.h
234 done
235 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
236
237 # We check with `-c' and `-o' for the sake of the "dashmstdout"
238 # mode. It turns out that the SunPro C++ compiler does not properly
239 # handle `-M -o', and we need to detect this. Also, some Intel
240 # versions had trouble with output in subdirs
241 am__obj=sub/conftest.${OBJEXT-o}
242 am__minus_obj="-o $am__obj"
243 case $depmode in
244 gcc)
245 # This depmode causes a compiler race in universal mode.
246 test "$am__universal" = false || continue
247 ;;
248 nosideeffect)
249 # after this tag, mechanisms are not by side-effect, so they'll
250 # only be used when explicitly requested
251 if test "x$enable_dependency_tracking" = xyes; then
252 continue
253 else
100254 break
255 fi
256 ;;
257 msvisualcpp | msvcmsys)
258 # This compiler won't grok `-c -o', but also, the minuso test has
259 # not run yet. These depmodes are late enough in the game, and
260 # so weak that their functioning should not be impacted.
261 am__obj=conftest.${OBJEXT-o}
262 am__minus_obj=
263 ;;
264 none) break ;;
265 esac
266 if depmode=$depmode \
267 source=sub/conftest.c object=$am__obj \
268 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
269 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
270 >/dev/null 2>conftest.err &&
271 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
272 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
273 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
274 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
275 # icc doesn't choke on unknown options, it will just issue warnings
276 # or remarks (even with -Werror). So we grep stderr for any message
277 # that says an option was ignored or not supported.
278 # When given -MP, icc 7.0 and 7.1 complain thusly:
279 # icc: Command line warning: ignoring option '-M'; no argument required
280 # The diagnosis changed in icc 8.0:
281 # icc: Command line remark: option '-MP' not supported
282 if (grep 'ignoring option' conftest.err ||
283 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
284 am_cv_$1_dependencies_compiler_type=$depmode
285 break
101286 fi
102287 fi
103288 done
104 IFS="$ac_save_ifs"
105 dnl If no 4th arg is given, leave the cache variable unset,
106 dnl so AC_PATH_PROGS will keep looking.
107 ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
108 ])dnl
109 ;;
110 esac])dnl
111 $1="$ac_cv_path_$1"
112 if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
113 AC_MSG_RESULT([$]$1)
289
290 cd ..
291 rm -rf conftest.dir
114292 else
115 AC_MSG_RESULT(no)
293 am_cv_$1_dependencies_compiler_type=none
116294 fi
117 AC_SUBST($1)dnl
118295 ])
119
120 # GLIB_WITH_NLS
121 #-----------------
122 glib_DEFUN([GLIB_WITH_NLS],
123 dnl NLS is obligatory
124 [USE_NLS=yes
125 AC_SUBST(USE_NLS)
126
127 gt_cv_have_gettext=no
128
129 CATOBJEXT=NONE
130 XGETTEXT=:
131 INTLLIBS=
132
133 AC_CHECK_HEADER(libintl.h,
134 [gt_cv_func_dgettext_libintl="no"
135 libintl_extra_libs=""
136
137 #
138 # First check in libc
139 #
140 AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc,
141 [AC_TRY_LINK([
142 #include <libintl.h>
143 ],
144 [return !ngettext ("","", 1)],
145 gt_cv_func_ngettext_libc=yes,
146 gt_cv_func_ngettext_libc=no)
147 ])
148
149 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
150 AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
151 [AC_TRY_LINK([
152 #include <libintl.h>
153 ],
154 [return !dgettext ("","")],
155 gt_cv_func_dgettext_libc=yes,
156 gt_cv_func_dgettext_libc=no)
157 ])
158 fi
159
160 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
161 AC_CHECK_FUNCS(bind_textdomain_codeset)
162 fi
163
164 #
165 # If we don't have everything we want, check in libintl
166 #
167 if test "$gt_cv_func_dgettext_libc" != "yes" \
168 || test "$gt_cv_func_ngettext_libc" != "yes" \
169 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
170
171 AC_CHECK_LIB(intl, bindtextdomain,
172 [AC_CHECK_LIB(intl, ngettext,
173 [AC_CHECK_LIB(intl, dgettext,
174 gt_cv_func_dgettext_libintl=yes)])])
175
176 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
177 AC_MSG_CHECKING([if -liconv is needed to use gettext])
178 AC_MSG_RESULT([])
179 AC_CHECK_LIB(intl, ngettext,
180 [AC_CHECK_LIB(intl, dcgettext,
181 [gt_cv_func_dgettext_libintl=yes
182 libintl_extra_libs=-liconv],
183 :,-liconv)],
184 :,-liconv)
185 fi
186
187 #
188 # If we found libintl, then check in it for bind_textdomain_codeset();
189 # we'll prefer libc if neither have bind_textdomain_codeset(),
190 # and both have dgettext and ngettext
191 #
192 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
193 glib_save_LIBS="$LIBS"
194 LIBS="$LIBS -lintl $libintl_extra_libs"
195 unset ac_cv_func_bind_textdomain_codeset
196 AC_CHECK_FUNCS(bind_textdomain_codeset)
197 LIBS="$glib_save_LIBS"
198
199 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
200 gt_cv_func_dgettext_libc=no
201 else
202 if test "$gt_cv_func_dgettext_libc" = "yes" \
203 && test "$gt_cv_func_ngettext_libc" = "yes"; then
204 gt_cv_func_dgettext_libintl=no
205 fi
206 fi
207 fi
208 fi
209
210 if test "$gt_cv_func_dgettext_libc" = "yes" \
211 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
212 gt_cv_have_gettext=yes
213 fi
214
215 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
216 INTLLIBS="-lintl $libintl_extra_libs"
217 fi
218
219 if test "$gt_cv_have_gettext" = "yes"; then
220 AC_DEFINE(HAVE_GETTEXT,1,
221 [Define if the GNU gettext() function is already present or preinstalled.])
222 GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
223 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
224 if test "$MSGFMT" != "no"; then
225 glib_save_LIBS="$LIBS"
226 LIBS="$LIBS $INTLLIBS"
227 AC_CHECK_FUNCS(dcgettext)
228 MSGFMT_OPTS=
229 AC_MSG_CHECKING([if msgfmt accepts -c])
230 GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[
231 msgid ""
232 msgstr ""
233 "Content-Type: text/plain; charset=UTF-8\n"
234 "Project-Id-Version: test 1.0\n"
235 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
236 "Last-Translator: test <foo@bar.xx>\n"
237 "Language-Team: C <LL@li.org>\n"
238 "MIME-Version: 1.0\n"
239 "Content-Transfer-Encoding: 8bit\n"
240 ], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])
241 AC_SUBST(MSGFMT_OPTS)
242 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
243 GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
244 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
245 AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
246 return _nl_msg_cat_cntr],
247 [CATOBJEXT=.gmo
248 DATADIRNAME=share],
249 [case $host in
250 *-*-solaris*)
251 dnl On Solaris, if bind_textdomain_codeset is in libc,
252 dnl GNU format message catalog is always supported,
253 dnl since both are added to the libc all together.
254 dnl Hence, we'd like to go with DATADIRNAME=share and
255 dnl and CATOBJEXT=.gmo in this case.
256 AC_CHECK_FUNC(bind_textdomain_codeset,
257 [CATOBJEXT=.gmo
258 DATADIRNAME=share],
259 [CATOBJEXT=.mo
260 DATADIRNAME=lib])
261 ;;
262 *)
263 CATOBJEXT=.mo
264 DATADIRNAME=lib
265 ;;
266 esac])
267 LIBS="$glib_save_LIBS"
268 INSTOBJEXT=.mo
269 else
270 gt_cv_have_gettext=no
271 fi
272 fi
273 ])
274
275 if test "$gt_cv_have_gettext" = "yes" ; then
276 AC_DEFINE(ENABLE_NLS, 1,
277 [always defined to indicate that i18n is enabled])
296 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
297 AM_CONDITIONAL([am__fastdep$1], [
298 test "x$enable_dependency_tracking" != xno \
299 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
300 ])
301
302
303 # AM_SET_DEPDIR
304 # -------------
305 # Choose a directory name for dependency files.
306 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
307 AC_DEFUN([AM_SET_DEPDIR],
308 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
309 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
310 ])
311
312
313 # AM_DEP_TRACK
314 # ------------
315 AC_DEFUN([AM_DEP_TRACK],
316 [AC_ARG_ENABLE(dependency-tracking,
317 [ --disable-dependency-tracking speeds up one-time build
318 --enable-dependency-tracking do not reject slow dependency extractors])
319 if test "x$enable_dependency_tracking" != xno; then
320 am_depcomp="$ac_aux_dir/depcomp"
321 AMDEPBACKSLASH='\'
322 fi
323 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
324 AC_SUBST([AMDEPBACKSLASH])dnl
325 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
326 ])
327
328 # Generate code to set up dependency tracking. -*- Autoconf -*-
329
330 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
331 # Free Software Foundation, Inc.
332 #
333 # This file is free software; the Free Software Foundation
334 # gives unlimited permission to copy and/or distribute it,
335 # with or without modifications, as long as this notice is preserved.
336
337 #serial 5
338
339 # _AM_OUTPUT_DEPENDENCY_COMMANDS
340 # ------------------------------
341 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
342 [{
343 # Autoconf 2.62 quotes --file arguments for eval, but not when files
344 # are listed without --file. Let's play safe and only enable the eval
345 # if we detect the quoting.
346 case $CONFIG_FILES in
347 *\'*) eval set x "$CONFIG_FILES" ;;
348 *) set x $CONFIG_FILES ;;
349 esac
350 shift
351 for mf
352 do
353 # Strip MF so we end up with the name of the file.
354 mf=`echo "$mf" | sed -e 's/:.*$//'`
355 # Check whether this is an Automake generated Makefile or not.
356 # We used to match only the files named `Makefile.in', but
357 # some people rename them; so instead we look at the file content.
358 # Grep'ing the first line is not enough: some people post-process
359 # each Makefile.in and add a new line on top of each file to say so.
360 # Grep'ing the whole file is not good either: AIX grep has a line
361 # limit of 2048, but all sed's we know have understand at least 4000.
362 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
363 dirpart=`AS_DIRNAME("$mf")`
364 else
365 continue
278366 fi
279
280 dnl Test whether we really found GNU xgettext.
281 if test "$XGETTEXT" != ":"; then
282 dnl If it is not GNU xgettext we define it as : so that the
283 dnl Makefiles still can work.
284 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
285 : ;
286 else
287 AC_MSG_RESULT(
288 [found xgettext program is not GNU xgettext; ignore it])
289 XGETTEXT=":"
290 fi
291 fi
292
293 # We need to process the po/ directory.
294 POSUB=po
295
296 AC_OUTPUT_COMMANDS(
297 [case "$CONFIG_FILES" in *po/Makefile.in*)
298 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
299 esac])
300
301 dnl These rules are solely for the distribution goal. While doing this
302 dnl we only have to keep exactly one list of the available catalogs
303 dnl in configure.ac.
304 for lang in $ALL_LINGUAS; do
305 GMOFILES="$GMOFILES $lang.gmo"
306 POFILES="$POFILES $lang.po"
367 # Extract the definition of DEPDIR, am__include, and am__quote
368 # from the Makefile without running `make'.
369 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
370 test -z "$DEPDIR" && continue
371 am__include=`sed -n 's/^am__include = //p' < "$mf"`
372 test -z "am__include" && continue
373 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
374 # When using ansi2knr, U may be empty or an underscore; expand it
375 U=`sed -n 's/^U = //p' < "$mf"`
376 # Find all dependency output files, they are included files with
377 # $(DEPDIR) in their names. We invoke sed twice because it is the
378 # simplest approach to changing $(DEPDIR) to its actual value in the
379 # expansion.
380 for file in `sed -n "
381 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
382 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
383 # Make sure the directory exists.
384 test -f "$dirpart/$file" && continue
385 fdir=`AS_DIRNAME(["$file"])`
386 AS_MKDIR_P([$dirpart/$fdir])
387 # echo "creating $dirpart/$file"
388 echo '# dummy' > "$dirpart/$file"
307389 done
308
309 dnl Make all variables we use known to autoconf.
310 AC_SUBST(CATALOGS)
311 AC_SUBST(CATOBJEXT)
312 AC_SUBST(DATADIRNAME)
313 AC_SUBST(GMOFILES)
314 AC_SUBST(INSTOBJEXT)
315 AC_SUBST(INTLLIBS)
316 AC_SUBST(PO_IN_DATADIR_TRUE)
317 AC_SUBST(PO_IN_DATADIR_FALSE)
318 AC_SUBST(POFILES)
319 AC_SUBST(POSUB)
320 ])
321
322 # AM_GLIB_GNU_GETTEXT
323 # -------------------
324 # Do checks necessary for use of gettext. If a suitable implementation
325 # of gettext is found in either in libintl or in the C library,
326 # it will set INTLLIBS to the libraries needed for use of gettext
327 # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
328 # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
329 # on various variables needed by the Makefile.in.in installed by
330 # glib-gettextize.
331 dnl
332 glib_DEFUN([GLIB_GNU_GETTEXT],
333 [AC_REQUIRE([AC_PROG_CC])dnl
334 AC_REQUIRE([AC_HEADER_STDC])dnl
335
336 GLIB_LC_MESSAGES
337 GLIB_WITH_NLS
338
339 if test "$gt_cv_have_gettext" = "yes"; then
340 if test "x$ALL_LINGUAS" = "x"; then
341 LINGUAS=
342 else
343 AC_MSG_CHECKING(for catalogs to be installed)
344 NEW_LINGUAS=
345 for presentlang in $ALL_LINGUAS; do
346 useit=no
347 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
348 desiredlanguages="$LINGUAS"
349 else
350 desiredlanguages="$ALL_LINGUAS"
351 fi
352 for desiredlang in $desiredlanguages; do
353 # Use the presentlang catalog if desiredlang is
354 # a. equal to presentlang, or
355 # b. a variant of presentlang (because in this case,
356 # presentlang can be used as a fallback for messages
357 # which are not translated in the desiredlang catalog).
358 case "$desiredlang" in
359 "$presentlang"*) useit=yes;;
360 esac
361 done
362 if test $useit = yes; then
363 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
364 fi
365 done
366 LINGUAS=$NEW_LINGUAS
367 AC_MSG_RESULT($LINGUAS)
368 fi
369
370 dnl Construct list of names of catalog files to be constructed.
371 if test -n "$LINGUAS"; then
372 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
373 fi
374 fi
375
376 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
377 dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
378 dnl Try to locate is.
379 MKINSTALLDIRS=
380 if test -n "$ac_aux_dir"; then
381 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
382 fi
383 if test -z "$MKINSTALLDIRS"; then
384 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
385 fi
386 AC_SUBST(MKINSTALLDIRS)
387
388 dnl Generate list of files to be processed by xgettext which will
389 dnl be included in po/Makefile.
390 test -d po || mkdir po
391 if test "x$srcdir" != "x."; then
392 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
393 posrcprefix="$srcdir/"
394 else
395 posrcprefix="../$srcdir/"
396 fi
397 else
398 posrcprefix="../"
399 fi
400 rm -f po/POTFILES
401 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
402 < $srcdir/po/POTFILES.in > po/POTFILES
403 ])
404
405 # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
406 # -------------------------------
407 # Define VARIABLE to the location where catalog files will
408 # be installed by po/Makefile.
409 glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
410 [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
411 glib_save_prefix="$prefix"
412 glib_save_exec_prefix="$exec_prefix"
413 glib_save_datarootdir="$datarootdir"
414 test "x$prefix" = xNONE && prefix=$ac_default_prefix
415 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
416 datarootdir=`eval echo "${datarootdir}"`
417 if test "x$CATOBJEXT" = "x.mo" ; then
418 localedir=`eval echo "${libdir}/locale"`
390 done
391 }
392 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
393
394
395 # AM_OUTPUT_DEPENDENCY_COMMANDS
396 # -----------------------------
397 # This macro should only be invoked once -- use via AC_REQUIRE.
398 #
399 # This code is only required when automatic dependency tracking
400 # is enabled. FIXME. This creates each `.P' file that we will
401 # need in order to bootstrap the dependency handling code.
402 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
403 [AC_CONFIG_COMMANDS([depfiles],
404 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
405 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
406 ])
407
408 # Do all the work for Automake. -*- Autoconf -*-
409
410 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
411 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
412 #
413 # This file is free software; the Free Software Foundation
414 # gives unlimited permission to copy and/or distribute it,
415 # with or without modifications, as long as this notice is preserved.
416
417 # serial 16
418
419 # This macro actually does too much. Some checks are only needed if
420 # your package does certain things. But this isn't really a big deal.
421
422 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
423 # AM_INIT_AUTOMAKE([OPTIONS])
424 # -----------------------------------------------
425 # The call with PACKAGE and VERSION arguments is the old style
426 # call (pre autoconf-2.50), which is being phased out. PACKAGE
427 # and VERSION should now be passed to AC_INIT and removed from
428 # the call to AM_INIT_AUTOMAKE.
429 # We support both call styles for the transition. After
430 # the next Automake release, Autoconf can make the AC_INIT
431 # arguments mandatory, and then we can depend on a new Autoconf
432 # release and drop the old call support.
433 AC_DEFUN([AM_INIT_AUTOMAKE],
434 [AC_PREREQ([2.62])dnl
435 dnl Autoconf wants to disallow AM_ names. We explicitly allow
436 dnl the ones we care about.
437 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
438 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
439 AC_REQUIRE([AC_PROG_INSTALL])dnl
440 if test "`cd $srcdir && pwd`" != "`pwd`"; then
441 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
442 # is not polluted with repeated "-I."
443 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
444 # test to see if srcdir already configured
445 if test -f $srcdir/config.status; then
446 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
447 fi
448 fi
449
450 # test whether we have cygpath
451 if test -z "$CYGPATH_W"; then
452 if (cygpath --version) >/dev/null 2>/dev/null; then
453 CYGPATH_W='cygpath -w'
454 else
455 CYGPATH_W=echo
456 fi
457 fi
458 AC_SUBST([CYGPATH_W])
459
460 # Define the identity of the package.
461 dnl Distinguish between old-style and new-style calls.
462 m4_ifval([$2],
463 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
464 AC_SUBST([PACKAGE], [$1])dnl
465 AC_SUBST([VERSION], [$2])],
466 [_AM_SET_OPTIONS([$1])dnl
467 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
468 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
469 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
470 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
471 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
472
473 _AM_IF_OPTION([no-define],,
474 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
475 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
476
477 # Some tools Automake needs.
478 AC_REQUIRE([AM_SANITY_CHECK])dnl
479 AC_REQUIRE([AC_ARG_PROGRAM])dnl
480 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
481 AM_MISSING_PROG(AUTOCONF, autoconf)
482 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
483 AM_MISSING_PROG(AUTOHEADER, autoheader)
484 AM_MISSING_PROG(MAKEINFO, makeinfo)
485 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
486 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
487 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
488 # We need awk for the "check" target. The system "awk" is bad on
489 # some platforms.
490 AC_REQUIRE([AC_PROG_AWK])dnl
491 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
492 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
493 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
494 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
495 [_AM_PROG_TAR([v7])])])
496 _AM_IF_OPTION([no-dependencies],,
497 [AC_PROVIDE_IFELSE([AC_PROG_CC],
498 [_AM_DEPENDENCIES(CC)],
499 [define([AC_PROG_CC],
500 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
501 AC_PROVIDE_IFELSE([AC_PROG_CXX],
502 [_AM_DEPENDENCIES(CXX)],
503 [define([AC_PROG_CXX],
504 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
505 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
506 [_AM_DEPENDENCIES(OBJC)],
507 [define([AC_PROG_OBJC],
508 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
509 ])
510 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
511 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
512 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
513 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
514 AC_CONFIG_COMMANDS_PRE(dnl
515 [m4_provide_if([_AM_COMPILER_EXEEXT],
516 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
517 ])
518
519 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
520 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
521 dnl mangled by Autoconf and run in a shell conditional statement.
522 m4_define([_AC_COMPILER_EXEEXT],
523 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
524
525
526 # When config.status generates a header, we must update the stamp-h file.
527 # This file resides in the same directory as the config header
528 # that is generated. The stamp files are numbered to have different names.
529
530 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
531 # loop where config.status creates the headers, so we can generate
532 # our stamp files there.
533 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
534 [# Compute $1's index in $config_headers.
535 _am_arg=$1
536 _am_stamp_count=1
537 for _am_header in $config_headers :; do
538 case $_am_header in
539 $_am_arg | $_am_arg:* )
540 break ;;
541 * )
542 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
543 esac
544 done
545 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
546
547 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
548 #
549 # This file is free software; the Free Software Foundation
550 # gives unlimited permission to copy and/or distribute it,
551 # with or without modifications, as long as this notice is preserved.
552
553 # AM_PROG_INSTALL_SH
554 # ------------------
555 # Define $install_sh.
556 AC_DEFUN([AM_PROG_INSTALL_SH],
557 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
558 if test x"${install_sh}" != xset; then
559 case $am_aux_dir in
560 *\ * | *\ *)
561 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
562 *)
563 install_sh="\${SHELL} $am_aux_dir/install-sh"
564 esac
565 fi
566 AC_SUBST(install_sh)])
567
568 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
569 #
570 # This file is free software; the Free Software Foundation
571 # gives unlimited permission to copy and/or distribute it,
572 # with or without modifications, as long as this notice is preserved.
573
574 # serial 2
575
576 # Check whether the underlying file-system supports filenames
577 # with a leading dot. For instance MS-DOS doesn't.
578 AC_DEFUN([AM_SET_LEADING_DOT],
579 [rm -rf .tst 2>/dev/null
580 mkdir .tst 2>/dev/null
581 if test -d .tst; then
582 am__leading_dot=.
419583 else
420 localedir=`eval echo "${datadir}/locale"`
584 am__leading_dot=_
421585 fi
422 prefix="$glib_save_prefix"
423 exec_prefix="$glib_save_exec_prefix"
424 datarootdir="$glib_save_datarootdir"
425 AC_DEFINE_UNQUOTED($1, "$localedir",
426 [Define the location where the catalogs will be installed])
427 ])
428
429 dnl
430 dnl Now the definitions that aclocal will find
431 dnl
432 ifdef(glib_configure_ac,[],[
433 AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
434 AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
435 ])dnl
436
437 # GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL])
438 #
439 # Create a temporary file with TEST-FILE as its contents and pass the
440 # file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with
441 # 0 and perform ACTION-IF-FAIL for any other exit status.
442 AC_DEFUN([GLIB_RUN_PROG],
443 [cat >conftest.foo <<_ACEOF
444 $2
445 _ACEOF
446 if AC_RUN_LOG([$1 conftest.foo]); then
447 m4_ifval([$3], [$3], [:])
448 m4_ifvaln([$4], [else $4])dnl
449 echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD
450 sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD
451 fi])
452
453
454 # gnome-common.m4
586 rmdir .tst 2>/dev/null
587 AC_SUBST([am__leading_dot])])
588
589 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
590 # From Jim Meyering
591
592 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
593 # Free Software Foundation, Inc.
455594 #
456 # serial 3
457 #
458
459 dnl GNOME_COMMON_INIT
460
461 AU_DEFUN([GNOME_COMMON_INIT],
462 [
463 dnl this macro should come after AC_CONFIG_MACRO_DIR
464 AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
465
466 dnl ensure that when the Automake generated makefile calls aclocal,
467 dnl it honours the $ACLOCAL_FLAGS environment variable
468 ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
469 if test -n "$ac_macro_dir"; then
470 ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
471 fi
472
473 AC_SUBST([ACLOCAL_AMFLAGS])
474 ],
475 [[$0: This macro is deprecated. You should set put "ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}"
476 in your top-level Makefile.am, instead, where "m4" is the macro directory set
477 with AC_CONFIG_MACRO_DIR() in your configure.ac]])
478
479 AC_DEFUN([GNOME_DEBUG_CHECK],
480 [
481 AC_ARG_ENABLE([debug],
482 AC_HELP_STRING([--enable-debug],
483 [turn on debugging]),,
484 [enable_debug=no])
485
486 if test x$enable_debug = xyes ; then
487 AC_DEFINE(GNOME_ENABLE_DEBUG, 1,
488 [Enable additional debugging at the expense of performance and size])
489 fi
490 ])
491
492 dnl GNOME_MAINTAINER_MODE_DEFINES ()
493 dnl define DISABLE_DEPRECATED
494 dnl
495 AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
496 [
497 AC_REQUIRE([AM_MAINTAINER_MODE])
498
499 DISABLE_DEPRECATED=""
500 if test $USE_MAINTAINER_MODE = yes; then
501 DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
502 for DOMAIN in $DOMAINS; do
503 DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
504 done
505 fi
506
507 AC_SUBST(DISABLE_DEPRECATED)
508 ])
509
510 dnl GNOME_COMPILE_WARNINGS
511 dnl Turn on many useful compiler warnings
512 dnl For now, only works on GCC
513 AC_DEFUN([GNOME_COMPILE_WARNINGS],[
514 dnl ******************************
515 dnl More compiler warnings
516 dnl ******************************
517
518 AC_ARG_ENABLE(compile-warnings,
519 AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
520 [Turn on compiler warnings]),,
521 [enable_compile_warnings="m4_default([$1],[yes])"])
522
523 warnCFLAGS=
524 if test "x$GCC" != xyes; then
525 enable_compile_warnings=no
526 fi
527
528 warning_flags=
529 realsave_CFLAGS="$CFLAGS"
530
531 case "$enable_compile_warnings" in
532 no)
533 warning_flags=
534 ;;
535 minimum)
536 warning_flags="-Wall"
537 ;;
538 yes)
539 warning_flags="-Wall -Wmissing-prototypes"
540 ;;
541 maximum|error)
542 warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
543 CFLAGS="$warning_flags $CFLAGS"
544 for option in -Wno-sign-compare; do
545 SAVE_CFLAGS="$CFLAGS"
546 CFLAGS="$CFLAGS $option"
547 AC_MSG_CHECKING([whether gcc understands $option])
548 AC_TRY_COMPILE([], [],
549 has_option=yes,
550 has_option=no,)
551 CFLAGS="$SAVE_CFLAGS"
552 AC_MSG_RESULT($has_option)
553 if test $has_option = yes; then
554 warning_flags="$warning_flags $option"
555 fi
556 unset has_option
557 unset SAVE_CFLAGS
558 done
559 unset option
560 if test "$enable_compile_warnings" = "error" ; then
561 warning_flags="$warning_flags -Werror"
562 fi
563 ;;
564 *)
565 AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)
566 ;;
567 esac
568 CFLAGS="$realsave_CFLAGS"
569 AC_MSG_CHECKING(what warning flags to pass to the C compiler)
570 AC_MSG_RESULT($warning_flags)
571
572 AC_ARG_ENABLE(iso-c,
573 AC_HELP_STRING([--enable-iso-c],
574 [Try to warn if code is not ISO C ]),,
575 [enable_iso_c=no])
576
577 AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)
578 complCFLAGS=
579 if test "x$enable_iso_c" != "xno"; then
580 if test "x$GCC" = "xyes"; then
581 case " $CFLAGS " in
582 *[\ \ ]-ansi[\ \ ]*) ;;
583 *) complCFLAGS="$complCFLAGS -ansi" ;;
584 esac
585 case " $CFLAGS " in
586 *[\ \ ]-pedantic[\ \ ]*) ;;
587 *) complCFLAGS="$complCFLAGS -pedantic" ;;
588 esac
589 fi
590 fi
591 AC_MSG_RESULT($complCFLAGS)
592
593 WARN_CFLAGS="$warning_flags $complCFLAGS"
594 AC_SUBST(WARN_CFLAGS)
595 ])
596
597 dnl For C++, do basically the same thing.
598
599 AC_DEFUN([GNOME_CXX_WARNINGS],[
600 AC_ARG_ENABLE(cxx-warnings,
601 AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
602 [Turn on compiler warnings.]),,
603 [enable_cxx_warnings="m4_default([$1],[minimum])"])
604
605 AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)
606 warnCXXFLAGS=
607 if test "x$GXX" != xyes; then
608 enable_cxx_warnings=no
609 fi
610 if test "x$enable_cxx_warnings" != "xno"; then
611 if test "x$GXX" = "xyes"; then
612 case " $CXXFLAGS " in
613 *[\ \ ]-Wall[\ \ ]*) ;;
614 *) warnCXXFLAGS="-Wall -Wno-unused" ;;
615 esac
616
617 ## -W is not all that useful. And it cannot be controlled
618 ## with individual -Wno-xxx flags, unlike -Wall
619 if test "x$enable_cxx_warnings" = "xyes"; then
620 warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
621 fi
622 fi
623 fi
624 AC_MSG_RESULT($warnCXXFLAGS)
625
626 AC_ARG_ENABLE(iso-cxx,
627 AC_HELP_STRING([--enable-iso-cxx],
628 [Try to warn if code is not ISO C++ ]),,
629 [enable_iso_cxx=no])
630
631 AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)
632 complCXXFLAGS=
633 if test "x$enable_iso_cxx" != "xno"; then
634 if test "x$GXX" = "xyes"; then
635 case " $CXXFLAGS " in
636 *[\ \ ]-ansi[\ \ ]*) ;;
637 *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
638 esac
639
640 case " $CXXFLAGS " in
641 *[\ \ ]-pedantic[\ \ ]*) ;;
642 *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
643 esac
644 fi
645 fi
646 AC_MSG_RESULT($complCXXFLAGS)
647
648 WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
649 AC_SUBST(WARN_CXXFLAGS)
650 ])
651
652 dnl -*- mode: autoconf -*-
653
654 # serial 1
655
656 dnl Usage:
657 dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
658 AC_DEFUN([GTK_DOC_CHECK],
659 [
660 AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
661 AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
662
663 dnl check for tools we added during development
664 AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
665 AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
666 AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
667
668 dnl for overriding the documentation installation directory
669 AC_ARG_WITH([html-dir],
670 AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
671 [with_html_dir='${datadir}/gtk-doc/html'])
672 HTML_DIR="$with_html_dir"
673 AC_SUBST([HTML_DIR])
674
675 dnl enable/disable documentation building
676 AC_ARG_ENABLE([gtk-doc],
677 AS_HELP_STRING([--enable-gtk-doc],
678 [use gtk-doc to build documentation [[default=no]]]),,
679 [enable_gtk_doc=no])
680
681 if test x$enable_gtk_doc = xyes; then
682 ifelse([$1],[],
683 [PKG_CHECK_EXISTS([gtk-doc],,
684 AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
685 [PKG_CHECK_EXISTS([gtk-doc >= $1],,
686 AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
687 fi
688
689 AC_MSG_CHECKING([whether to build gtk-doc documentation])
690 AC_MSG_RESULT($enable_gtk_doc)
691
692 dnl enable/disable output formats
693 AC_ARG_ENABLE([gtk-doc-html],
694 AS_HELP_STRING([--enable-gtk-doc-html],
695 [build documentation in html format [[default=yes]]]),,
696 [enable_gtk_doc_html=yes])
697 AC_ARG_ENABLE([gtk-doc-pdf],
698 AS_HELP_STRING([--enable-gtk-doc-pdf],
699 [build documentation in pdf format [[default=no]]]),,
700 [enable_gtk_doc_pdf=no])
701
702 if test -z "$GTKDOC_MKPDF"; then
703 enable_gtk_doc_pdf=no
704 fi
705
706
707 AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
708 AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
709 AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
710 AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
711 AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
712 ])
713
714
715 dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
716 # serial 40 IT_PROG_INTLTOOL
717 AC_DEFUN([IT_PROG_INTLTOOL], [
718 AC_PREREQ([2.50])dnl
719 AC_REQUIRE([AM_NLS])dnl
720
721 case "$am__api_version" in
722 1.[01234])
723 AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
724 ;;
725 *)
726 ;;
727 esac
728
729 if test -n "$1"; then
730 AC_MSG_CHECKING([for intltool >= $1])
731
732 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
733 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
734 [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
735 ]
736 AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
737 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
738 AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.])
739 fi
740
741 AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
742 AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
743 AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
744 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
745 AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
746 fi
747
748 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 $< [$]@'
749 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 $< [$]@'
750 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 $< [$]@'
751 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 $< [$]@'
752 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
753 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 $< [$]@'
754 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 $< [$]@'
755 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 $< [$]@'
756 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 $< [$]@'
757 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 $< [$]@'
758 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 $< [$]@'
759 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@'
760 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 $< [$]@'
761 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 $< [$]@'
762 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 $< [$]@'
763 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 $< [$]@'
764 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 $< [$]@'
765 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 $< [$]@'
766 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
767
768 _IT_SUBST(INTLTOOL_DESKTOP_RULE)
769 _IT_SUBST(INTLTOOL_DIRECTORY_RULE)
770 _IT_SUBST(INTLTOOL_KEYS_RULE)
771 _IT_SUBST(INTLTOOL_PROP_RULE)
772 _IT_SUBST(INTLTOOL_OAF_RULE)
773 _IT_SUBST(INTLTOOL_PONG_RULE)
774 _IT_SUBST(INTLTOOL_SERVER_RULE)
775 _IT_SUBST(INTLTOOL_SHEET_RULE)
776 _IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
777 _IT_SUBST(INTLTOOL_UI_RULE)
778 _IT_SUBST(INTLTOOL_XAM_RULE)
779 _IT_SUBST(INTLTOOL_KBD_RULE)
780 _IT_SUBST(INTLTOOL_XML_RULE)
781 _IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
782 _IT_SUBST(INTLTOOL_CAVES_RULE)
783 _IT_SUBST(INTLTOOL_SCHEMAS_RULE)
784 _IT_SUBST(INTLTOOL_THEME_RULE)
785 _IT_SUBST(INTLTOOL_SERVICE_RULE)
786 _IT_SUBST(INTLTOOL_POLICY_RULE)
787
788 # Check the gettext tools to make sure they are GNU
789 AC_PATH_PROG(XGETTEXT, xgettext)
790 AC_PATH_PROG(MSGMERGE, msgmerge)
791 AC_PATH_PROG(MSGFMT, msgfmt)
792 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
793 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
794 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
795 fi
796 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
797 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
798 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
799 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
800 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
801 fi
802
803 AC_PATH_PROG(INTLTOOL_PERL, perl)
804 if test -z "$INTLTOOL_PERL"; then
805 AC_MSG_ERROR([perl not found])
806 fi
807 AC_MSG_CHECKING([for perl >= 5.8.1])
808 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
809 if test $? -ne 0; then
810 AC_MSG_ERROR([perl 5.8.1 is required for intltool])
811 else
812 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
813 AC_MSG_RESULT([$IT_PERL_VERSION])
814 fi
815 if test "x$2" != "xno-xml"; then
816 AC_MSG_CHECKING([for XML::Parser])
817 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
818 AC_MSG_RESULT([ok])
819 else
820 AC_MSG_ERROR([XML::Parser perl module is required for intltool])
821 fi
822 fi
823
824 # Substitute ALL_LINGUAS so we can use it in po/Makefile
825 AC_SUBST(ALL_LINGUAS)
826
827 # Set DATADIRNAME correctly if it is not set yet
828 # (copied from glib-gettext.m4)
829 if test -z "$DATADIRNAME"; then
830 AC_LINK_IFELSE(
831 [AC_LANG_PROGRAM([[]],
832 [[extern int _nl_msg_cat_cntr;
833 return _nl_msg_cat_cntr]])],
834 [DATADIRNAME=share],
835 [case $host in
836 *-*-solaris*)
837 dnl On Solaris, if bind_textdomain_codeset is in libc,
838 dnl GNU format message catalog is always supported,
839 dnl since both are added to the libc all together.
840 dnl Hence, we'd like to go with DATADIRNAME=share
841 dnl in this case.
842 AC_CHECK_FUNC(bind_textdomain_codeset,
843 [DATADIRNAME=share], [DATADIRNAME=lib])
844 ;;
845 *)
846 [DATADIRNAME=lib]
847 ;;
848 esac])
849 fi
850 AC_SUBST(DATADIRNAME)
851
852 IT_PO_SUBDIR([po])
853
854 ])
855
856
857 # IT_PO_SUBDIR(DIRNAME)
858 # ---------------------
859 # All po subdirs have to be declared with this macro; the subdir "po" is
860 # declared by IT_PROG_INTLTOOL.
861 #
862 AC_DEFUN([IT_PO_SUBDIR],
863 [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
864 dnl
865 dnl The following CONFIG_COMMANDS should be executed at the very end
866 dnl of config.status.
867 AC_CONFIG_COMMANDS_PRE([
868 AC_CONFIG_COMMANDS([$1/stamp-it], [
869 if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
870 AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
871 fi
872 rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
873 >"$1/stamp-it.tmp"
874 [sed '/^#/d
875 s/^[[].*] *//
876 /^[ ]*$/d
877 '"s|^| $ac_top_srcdir/|" \
878 "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
879 ]
880 [sed '/^POTFILES =/,/[^\\]$/ {
881 /^POTFILES =/!d
882 r $1/POTFILES
883 }
884 ' "$1/Makefile.in" >"$1/Makefile"]
885 rm -f "$1/Makefile.tmp"
886 mv "$1/stamp-it.tmp" "$1/stamp-it"
887 ])
888 ])dnl
889 ])
890
891 # _IT_SUBST(VARIABLE)
892 # -------------------
893 # Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
894 #
895 AC_DEFUN([_IT_SUBST],
896 [
897 AC_SUBST([$1])
898 m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
595 # This file is free software; the Free Software Foundation
596 # gives unlimited permission to copy and/or distribute it,
597 # with or without modifications, as long as this notice is preserved.
598
599 # serial 5
600
601 # AM_MAINTAINER_MODE([DEFAULT-MODE])
602 # ----------------------------------
603 # Control maintainer-specific portions of Makefiles.
604 # Default is to disable them, unless `enable' is passed literally.
605 # For symmetry, `disable' may be passed as well. Anyway, the user
606 # can override the default with the --enable/--disable switch.
607 AC_DEFUN([AM_MAINTAINER_MODE],
608 [m4_case(m4_default([$1], [disable]),
609 [enable], [m4_define([am_maintainer_other], [disable])],
610 [disable], [m4_define([am_maintainer_other], [enable])],
611 [m4_define([am_maintainer_other], [enable])
612 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
613 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
614 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
615 AC_ARG_ENABLE([maintainer-mode],
616 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
617 (and sometimes confusing) to the casual installer],
618 [USE_MAINTAINER_MODE=$enableval],
619 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
620 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
621 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
622 MAINT=$MAINTAINER_MODE_TRUE
623 AC_SUBST([MAINT])dnl
899624 ]
900625 )
901626
902 # deprecated macros
903 AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
904 # A hint is needed for aclocal from Automake <= 1.9.4:
905 # AC_DEFUN([AC_PROG_INTLTOOL], ...)
906
627 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
628
629 # Check to see how 'make' treats includes. -*- Autoconf -*-
630
631 # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
632 #
633 # This file is free software; the Free Software Foundation
634 # gives unlimited permission to copy and/or distribute it,
635 # with or without modifications, as long as this notice is preserved.
636
637 # serial 4
638
639 # AM_MAKE_INCLUDE()
640 # -----------------
641 # Check to see how make treats includes.
642 AC_DEFUN([AM_MAKE_INCLUDE],
643 [am_make=${MAKE-make}
644 cat > confinc << 'END'
645 am__doit:
646 @echo this is the am__doit target
647 .PHONY: am__doit
648 END
649 # If we don't find an include directive, just comment out the code.
650 AC_MSG_CHECKING([for style of include used by $am_make])
651 am__include="#"
652 am__quote=
653 _am_result=none
654 # First try GNU make style include.
655 echo "include confinc" > confmf
656 # Ignore all kinds of additional output from `make'.
657 case `$am_make -s -f confmf 2> /dev/null` in #(
658 *the\ am__doit\ target*)
659 am__include=include
660 am__quote=
661 _am_result=GNU
662 ;;
663 esac
664 # Now try BSD make style include.
665 if test "$am__include" = "#"; then
666 echo '.include "confinc"' > confmf
667 case `$am_make -s -f confmf 2> /dev/null` in #(
668 *the\ am__doit\ target*)
669 am__include=.include
670 am__quote="\""
671 _am_result=BSD
672 ;;
673 esac
674 fi
675 AC_SUBST([am__include])
676 AC_SUBST([am__quote])
677 AC_MSG_RESULT([$_am_result])
678 rm -f confinc confmf
679 ])
680
681 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
682
683 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
684 # Free Software Foundation, Inc.
685 #
686 # This file is free software; the Free Software Foundation
687 # gives unlimited permission to copy and/or distribute it,
688 # with or without modifications, as long as this notice is preserved.
689
690 # serial 6
691
692 # AM_MISSING_PROG(NAME, PROGRAM)
693 # ------------------------------
694 AC_DEFUN([AM_MISSING_PROG],
695 [AC_REQUIRE([AM_MISSING_HAS_RUN])
696 $1=${$1-"${am_missing_run}$2"}
697 AC_SUBST($1)])
698
699
700 # AM_MISSING_HAS_RUN
701 # ------------------
702 # Define MISSING if not defined so far and test if it supports --run.
703 # If it does, set am_missing_run to use it, otherwise, to nothing.
704 AC_DEFUN([AM_MISSING_HAS_RUN],
705 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
706 AC_REQUIRE_AUX_FILE([missing])dnl
707 if test x"${MISSING+set}" != xset; then
708 case $am_aux_dir in
709 *\ * | *\ *)
710 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
711 *)
712 MISSING="\${SHELL} $am_aux_dir/missing" ;;
713 esac
714 fi
715 # Use eval to expand $SHELL
716 if eval "$MISSING --run true"; then
717 am_missing_run="$MISSING --run "
718 else
719 am_missing_run=
720 AC_MSG_WARN([`missing' script is too old or missing])
721 fi
722 ])
723
724 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
725 #
726 # This file is free software; the Free Software Foundation
727 # gives unlimited permission to copy and/or distribute it,
728 # with or without modifications, as long as this notice is preserved.
729
730 # AM_PROG_MKDIR_P
731 # ---------------
732 # Check for `mkdir -p'.
733 AC_DEFUN([AM_PROG_MKDIR_P],
734 [AC_PREREQ([2.60])dnl
735 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
736 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
737 dnl while keeping a definition of mkdir_p for backward compatibility.
738 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
739 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
740 dnl Makefile.ins that do not define MKDIR_P, so we do our own
741 dnl adjustment using top_builddir (which is defined more often than
742 dnl MKDIR_P).
743 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
744 case $mkdir_p in
745 [[\\/$]]* | ?:[[\\/]]*) ;;
746 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
747 esac
748 ])
749
750 # Helper functions for option handling. -*- Autoconf -*-
751
752 # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
753 #
754 # This file is free software; the Free Software Foundation
755 # gives unlimited permission to copy and/or distribute it,
756 # with or without modifications, as long as this notice is preserved.
757
758 # serial 4
759
760 # _AM_MANGLE_OPTION(NAME)
761 # -----------------------
762 AC_DEFUN([_AM_MANGLE_OPTION],
763 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
764
765 # _AM_SET_OPTION(NAME)
766 # ------------------------------
767 # Set option NAME. Presently that only means defining a flag for this option.
768 AC_DEFUN([_AM_SET_OPTION],
769 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
770
771 # _AM_SET_OPTIONS(OPTIONS)
772 # ----------------------------------
773 # OPTIONS is a space-separated list of Automake options.
774 AC_DEFUN([_AM_SET_OPTIONS],
775 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
776
777 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
778 # -------------------------------------------
779 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
780 AC_DEFUN([_AM_IF_OPTION],
781 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
782
783 # Check to make sure that the build environment is sane. -*- Autoconf -*-
784
785 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
786 # Free Software Foundation, Inc.
787 #
788 # This file is free software; the Free Software Foundation
789 # gives unlimited permission to copy and/or distribute it,
790 # with or without modifications, as long as this notice is preserved.
791
792 # serial 5
793
794 # AM_SANITY_CHECK
795 # ---------------
796 AC_DEFUN([AM_SANITY_CHECK],
797 [AC_MSG_CHECKING([whether build environment is sane])
798 # Just in case
799 sleep 1
800 echo timestamp > conftest.file
801 # Reject unsafe characters in $srcdir or the absolute working directory
802 # name. Accept space and tab only in the latter.
803 am_lf='
804 '
805 case `pwd` in
806 *[[\\\"\#\$\&\'\`$am_lf]]*)
807 AC_MSG_ERROR([unsafe absolute working directory name]);;
808 esac
809 case $srcdir in
810 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
811 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
812 esac
813
814 # Do `set' in a subshell so we don't clobber the current shell's
815 # arguments. Must try -L first in case configure is actually a
816 # symlink; some systems play weird games with the mod time of symlinks
817 # (eg FreeBSD returns the mod time of the symlink's containing
818 # directory).
819 if (
820 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
821 if test "$[*]" = "X"; then
822 # -L didn't work.
823 set X `ls -t "$srcdir/configure" conftest.file`
824 fi
825 rm -f conftest.file
826 if test "$[*]" != "X $srcdir/configure conftest.file" \
827 && test "$[*]" != "X conftest.file $srcdir/configure"; then
828
829 # If neither matched, then we have a broken ls. This can happen
830 # if, for instance, CONFIG_SHELL is bash and it inherits a
831 # broken ls alias from the environment. This has actually
832 # happened. Such a system could not be considered "sane".
833 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
834 alias in your environment])
835 fi
836
837 test "$[2]" = conftest.file
838 )
839 then
840 # Ok.
841 :
842 else
843 AC_MSG_ERROR([newly created file is older than distributed files!
844 Check your system clock])
845 fi
846 AC_MSG_RESULT(yes)])
847
848 # Copyright (C) 2009 Free Software Foundation, Inc.
849 #
850 # This file is free software; the Free Software Foundation
851 # gives unlimited permission to copy and/or distribute it,
852 # with or without modifications, as long as this notice is preserved.
853
854 # serial 1
855
856 # AM_SILENT_RULES([DEFAULT])
857 # --------------------------
858 # Enable less verbose build rules; with the default set to DEFAULT
859 # (`yes' being less verbose, `no' or empty being verbose).
860 AC_DEFUN([AM_SILENT_RULES],
861 [AC_ARG_ENABLE([silent-rules],
862 [ --enable-silent-rules less verbose build output (undo: `make V=1')
863 --disable-silent-rules verbose build output (undo: `make V=0')])
864 case $enable_silent_rules in
865 yes) AM_DEFAULT_VERBOSITY=0;;
866 no) AM_DEFAULT_VERBOSITY=1;;
867 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
868 esac
869 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
870 AM_BACKSLASH='\'
871 AC_SUBST([AM_BACKSLASH])dnl
872 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
873 ])
874
875 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
876 #
877 # This file is free software; the Free Software Foundation
878 # gives unlimited permission to copy and/or distribute it,
879 # with or without modifications, as long as this notice is preserved.
880
881 # AM_PROG_INSTALL_STRIP
882 # ---------------------
883 # One issue with vendor `install' (even GNU) is that you can't
884 # specify the program used to strip binaries. This is especially
885 # annoying in cross-compiling environments, where the build's strip
886 # is unlikely to handle the host's binaries.
887 # Fortunately install-sh will honor a STRIPPROG variable, so we
888 # always use install-sh in `make install-strip', and initialize
889 # STRIPPROG with the value of the STRIP variable (set by the user).
890 AC_DEFUN([AM_PROG_INSTALL_STRIP],
891 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
892 # Installed binaries are usually stripped using `strip' when the user
893 # run `make install-strip'. However `strip' might not be the right
894 # tool to use in cross-compilation environments, therefore Automake
895 # will honor the `STRIP' environment variable to overrule this program.
896 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
897 if test "$cross_compiling" != no; then
898 AC_CHECK_TOOL([STRIP], [strip], :)
899 fi
900 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
901 AC_SUBST([INSTALL_STRIP_PROGRAM])])
902
903 # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
904 #
905 # This file is free software; the Free Software Foundation
906 # gives unlimited permission to copy and/or distribute it,
907 # with or without modifications, as long as this notice is preserved.
908
909 # serial 2
910
911 # _AM_SUBST_NOTMAKE(VARIABLE)
912 # ---------------------------
913 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
914 # This macro is traced by Automake.
915 AC_DEFUN([_AM_SUBST_NOTMAKE])
916
917 # AM_SUBST_NOTMAKE(VARIABLE)
918 # ---------------------------
919 # Public sister of _AM_SUBST_NOTMAKE.
920 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
921
922 # Check how to create a tarball. -*- Autoconf -*-
923
924 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
925 #
926 # This file is free software; the Free Software Foundation
927 # gives unlimited permission to copy and/or distribute it,
928 # with or without modifications, as long as this notice is preserved.
929
930 # serial 2
931
932 # _AM_PROG_TAR(FORMAT)
933 # --------------------
934 # Check how to create a tarball in format FORMAT.
935 # FORMAT should be one of `v7', `ustar', or `pax'.
936 #
937 # Substitute a variable $(am__tar) that is a command
938 # writing to stdout a FORMAT-tarball containing the directory
939 # $tardir.
940 # tardir=directory && $(am__tar) > result.tar
941 #
942 # Substitute a variable $(am__untar) that extract such
943 # a tarball read from stdin.
944 # $(am__untar) < result.tar
945 AC_DEFUN([_AM_PROG_TAR],
946 [# Always define AMTAR for backward compatibility.
947 AM_MISSING_PROG([AMTAR], [tar])
948 m4_if([$1], [v7],
949 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
950 [m4_case([$1], [ustar],, [pax],,
951 [m4_fatal([Unknown tar format])])
952 AC_MSG_CHECKING([how to create a $1 tar archive])
953 # Loop over all known methods to create a tar archive until one works.
954 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
955 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
956 # Do not fold the above two line into one, because Tru64 sh and
957 # Solaris sh will not grok spaces in the rhs of `-'.
958 for _am_tool in $_am_tools
959 do
960 case $_am_tool in
961 gnutar)
962 for _am_tar in tar gnutar gtar;
963 do
964 AM_RUN_LOG([$_am_tar --version]) && break
965 done
966 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
967 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
968 am__untar="$_am_tar -xf -"
969 ;;
970 plaintar)
971 # Must skip GNU tar: if it does not support --format= it doesn't create
972 # ustar tarball either.
973 (tar --version) >/dev/null 2>&1 && continue
974 am__tar='tar chf - "$$tardir"'
975 am__tar_='tar chf - "$tardir"'
976 am__untar='tar xf -'
977 ;;
978 pax)
979 am__tar='pax -L -x $1 -w "$$tardir"'
980 am__tar_='pax -L -x $1 -w "$tardir"'
981 am__untar='pax -r'
982 ;;
983 cpio)
984 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
985 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
986 am__untar='cpio -i -H $1 -d'
987 ;;
988 none)
989 am__tar=false
990 am__tar_=false
991 am__untar=false
992 ;;
993 esac
994
995 # If the value was cached, stop now. We just wanted to have am__tar
996 # and am__untar set.
997 test -n "${am_cv_prog_tar_$1}" && break
998
999 # tar/untar a dummy directory, and stop if the command works
1000 rm -rf conftest.dir
1001 mkdir conftest.dir
1002 echo GrepMe > conftest.dir/file
1003 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
1004 rm -rf conftest.dir
1005 if test -s conftest.tar; then
1006 AM_RUN_LOG([$am__untar <conftest.tar])
1007 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
1008 fi
1009 done
1010 rm -rf conftest.dir
1011
1012 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
1013 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
1014 AC_SUBST([am__tar])
1015 AC_SUBST([am__untar])
1016 ]) # _AM_PROG_TAR
9071017
9081018 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
9091019 #
95279637 fi[]dnl
95289638 ])# PKG_CHECK_MODULES
95299639
9530 # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
9640 # Copyright (C) 1995-2002 Free Software Foundation, Inc.
9641 # Copyright (C) 2001-2003,2004 Red Hat, Inc.
95319642 #
9532 # This file is free software; the Free Software Foundation
9533 # gives unlimited permission to copy and/or distribute it,
9534 # with or without modifications, as long as this notice is preserved.
9535
9536 # AM_AUTOMAKE_VERSION(VERSION)
9537 # ----------------------------
9538 # Automake X.Y traces this macro to ensure aclocal.m4 has been
9539 # generated from the m4 files accompanying Automake X.Y.
9540 # (This private macro should not be called outside this file.)
9541 AC_DEFUN([AM_AUTOMAKE_VERSION],
9542 [am__api_version='1.11'
9543 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
9544 dnl require some minimum version. Point them to the right macro.
9545 m4_if([$1], [1.11.1], [],
9546 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
9547 ])
9548
9549 # _AM_AUTOCONF_VERSION(VERSION)
9550 # -----------------------------
9551 # aclocal traces this macro to find the Autoconf version.
9552 # This is a private macro too. Using m4_define simplifies
9553 # the logic in aclocal, which can simply ignore this definition.
9554 m4_define([_AM_AUTOCONF_VERSION], [])
9555
9556 # AM_SET_CURRENT_AUTOMAKE_VERSION
9557 # -------------------------------
9558 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
9559 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
9560 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
9561 [AM_AUTOMAKE_VERSION([1.11.1])dnl
9562 m4_ifndef([AC_AUTOCONF_VERSION],
9563 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
9564 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
9565
9566 # AM_AUX_DIR_EXPAND -*- Autoconf -*-
9567
9568 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9643 # This file is free software, distributed under the terms of the GNU
9644 # General Public License. As a special exception to the GNU General
9645 # Public License, this file may be distributed as part of a program
9646 # that contains a configuration script generated by Autoconf, under
9647 # the same distribution terms as the rest of that program.
95699648 #
9570 # This file is free software; the Free Software Foundation
9571 # gives unlimited permission to copy and/or distribute it,
9572 # with or without modifications, as long as this notice is preserved.
9573
9574 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
9575 # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
9576 # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
9649 # This file can be copied and used freely without restrictions. It can
9650 # be used in projects which are not available under the GNU Public License
9651 # but which still want to provide support for the GNU gettext functionality.
95779652 #
9578 # Of course, Automake must honor this variable whenever it calls a
9579 # tool from the auxiliary directory. The problem is that $srcdir (and
9580 # therefore $ac_aux_dir as well) can be either absolute or relative,
9581 # depending on how configure is run. This is pretty annoying, since
9582 # it makes $ac_aux_dir quite unusable in subdirectories: in the top
9583 # source directory, any form will work fine, but in subdirectories a
9584 # relative path needs to be adjusted first.
9653 # Macro to add for using GNU gettext.
9654 # Ulrich Drepper <drepper@cygnus.com>, 1995, 1996
95859655 #
9586 # $ac_aux_dir/missing
9587 # fails when called from a subdirectory if $ac_aux_dir is relative
9588 # $top_srcdir/$ac_aux_dir/missing
9589 # fails if $ac_aux_dir is absolute,
9590 # fails when called from a subdirectory in a VPATH build with
9591 # a relative $ac_aux_dir
9656 # Modified to never use included libintl.
9657 # Owen Taylor <otaylor@redhat.com>, 12/15/1998
95929658 #
9593 # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
9594 # are both prefixed by $srcdir. In an in-source build this is usually
9595 # harmless because $srcdir is `.', but things will broke when you
9596 # start a VPATH build or use an absolute $srcdir.
9659 # Major rework to remove unused code
9660 # Owen Taylor <otaylor@redhat.com>, 12/11/2002
95979661 #
9598 # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
9599 # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
9600 # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
9601 # and then we would define $MISSING as
9602 # MISSING="\${SHELL} $am_aux_dir/missing"
9603 # This will work as long as MISSING is not called from configure, because
9604 # unfortunately $(top_srcdir) has no meaning in configure.
9605 # However there are other variables, like CC, which are often used in
9606 # configure, and could therefore not use this "fixed" $ac_aux_dir.
9662 # Added better handling of ALL_LINGUAS from GNU gettext version
9663 # written by Bruno Haible, Owen Taylor <otaylor.redhat.com> 5/30/3002
96079664 #
9608 # Another solution, used here, is to always expand $ac_aux_dir to an
9609 # absolute PATH. The drawback is that using absolute paths prevent a
9610 # configured tree to be moved without reconfiguration.
9611
9612 AC_DEFUN([AM_AUX_DIR_EXPAND],
9613 [dnl Rely on autoconf to set up CDPATH properly.
9614 AC_PREREQ([2.50])dnl
9615 # expand $ac_aux_dir to an absolute path
9616 am_aux_dir=`cd $ac_aux_dir && pwd`
9617 ])
9618
9619 # AM_CONDITIONAL -*- Autoconf -*-
9620
9621 # Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
9622 # Free Software Foundation, Inc.
9665 # Modified to require ngettext
9666 # Matthias Clasen <mclasen@redhat.com> 08/06/2004
96239667 #
9624 # This file is free software; the Free Software Foundation
9625 # gives unlimited permission to copy and/or distribute it,
9626 # with or without modifications, as long as this notice is preserved.
9627
9628 # serial 9
9629
9630 # AM_CONDITIONAL(NAME, SHELL-CONDITION)
9631 # -------------------------------------
9632 # Define a conditional.
9633 AC_DEFUN([AM_CONDITIONAL],
9634 [AC_PREREQ(2.52)dnl
9635 ifelse([$1], [TRUE], [AC_FATAL([$0: invalid condition: $1])],
9636 [$1], [FALSE], [AC_FATAL([$0: invalid condition: $1])])dnl
9637 AC_SUBST([$1_TRUE])dnl
9638 AC_SUBST([$1_FALSE])dnl
9639 _AM_SUBST_NOTMAKE([$1_TRUE])dnl
9640 _AM_SUBST_NOTMAKE([$1_FALSE])dnl
9641 m4_define([_AM_COND_VALUE_$1], [$2])dnl
9642 if $2; then
9643 $1_TRUE=
9644 $1_FALSE='#'
9645 else
9646 $1_TRUE='#'
9647 $1_FALSE=
9648 fi
9649 AC_CONFIG_COMMANDS_PRE(
9650 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then
9651 AC_MSG_ERROR([[conditional "$1" was never defined.
9652 Usually this means the macro was only invoked conditionally.]])
9653 fi])])
9654
9655 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
9656 # Free Software Foundation, Inc.
9657 #
9658 # This file is free software; the Free Software Foundation
9659 # gives unlimited permission to copy and/or distribute it,
9660 # with or without modifications, as long as this notice is preserved.
9661
9662 # serial 10
9663
9664 # There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
9665 # written in clear, in which case automake, when reading aclocal.m4,
9666 # will think it sees a *use*, and therefore will trigger all it's
9667 # C support machinery. Also note that it means that autoscan, seeing
9668 # CC etc. in the Makefile, will ask for an AC_PROG_CC use...
9669
9670
9671 # _AM_DEPENDENCIES(NAME)
9672 # ----------------------
9673 # See how the compiler implements dependency checking.
9674 # NAME is "CC", "CXX", "GCJ", or "OBJC".
9675 # We try a few techniques and use that to set a single cache variable.
9676 #
9677 # We don't AC_REQUIRE the corresponding AC_PROG_CC since the latter was
9678 # modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
9679 # dependency, and given that the user is not expected to run this macro,
9680 # just rely on AC_PROG_CC.
9681 AC_DEFUN([_AM_DEPENDENCIES],
9682 [AC_REQUIRE([AM_SET_DEPDIR])dnl
9683 AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
9684 AC_REQUIRE([AM_MAKE_INCLUDE])dnl
9685 AC_REQUIRE([AM_DEP_TRACK])dnl
9686
9687 ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
9688 [$1], CXX, [depcc="$CXX" am_compiler_list=],
9689 [$1], OBJC, [depcc="$OBJC" am_compiler_list='gcc3 gcc'],
9690 [$1], UPC, [depcc="$UPC" am_compiler_list=],
9691 [$1], GCJ, [depcc="$GCJ" am_compiler_list='gcc3 gcc'],
9692 [depcc="$$1" am_compiler_list=])
9693
9694 AC_CACHE_CHECK([dependency style of $depcc],
9695 [am_cv_$1_dependencies_compiler_type],
9696 [if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
9697 # We make a subdir and do the tests there. Otherwise we can end up
9698 # making bogus files that we don't know about and never remove. For
9699 # instance it was reported that on HP-UX the gcc test will end up
9700 # making a dummy file named `D' -- because `-MD' means `put the output
9701 # in D'.
9702 mkdir conftest.dir
9703 # Copy depcomp to subdir because otherwise we won't find it if we're
9704 # using a relative directory.
9705 cp "$am_depcomp" conftest.dir
9706 cd conftest.dir
9707 # We will build objects and dependencies in a subdirectory because
9708 # it helps to detect inapplicable dependency modes. For instance
9709 # both Tru64's cc and ICC support -MD to output dependencies as a
9710 # side effect of compilation, but ICC will put the dependencies in
9711 # the current directory while Tru64 will put them in the object
9712 # directory.
9713 mkdir sub
9714
9715 am_cv_$1_dependencies_compiler_type=none
9716 if test "$am_compiler_list" = ""; then
9717 am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
9718 fi
9719 am__universal=false
9720 m4_case([$1], [CC],
9721 [case " $depcc " in #(
9722 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9723 esac],
9724 [CXX],
9725 [case " $depcc " in #(
9726 *\ -arch\ *\ -arch\ *) am__universal=true ;;
9727 esac])
9728
9729 for depmode in $am_compiler_list; do
9730 # Setup a source with many dependencies, because some compilers
9731 # like to wrap large dependency lists on column 80 (with \), and
9732 # we should not choose a depcomp mode which is confused by this.
9733 #
9734 # We need to recreate these files for each test, as the compiler may
9735 # overwrite some of them when testing with obscure command lines.
9736 # This happens at least with the AIX C compiler.
9737 : > sub/conftest.c
9738 for i in 1 2 3 4 5 6; do
9739 echo '#include "conftst'$i'.h"' >> sub/conftest.c
9740 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
9741 # Solaris 8's {/usr,}/bin/sh.
9742 touch sub/conftst$i.h
9743 done
9744 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
9745
9746 # We check with `-c' and `-o' for the sake of the "dashmstdout"
9747 # mode. It turns out that the SunPro C++ compiler does not properly
9748 # handle `-M -o', and we need to detect this. Also, some Intel
9749 # versions had trouble with output in subdirs
9750 am__obj=sub/conftest.${OBJEXT-o}
9751 am__minus_obj="-o $am__obj"
9752 case $depmode in
9753 gcc)
9754 # This depmode causes a compiler race in universal mode.
9755 test "$am__universal" = false || continue
9756 ;;
9757 nosideeffect)
9758 # after this tag, mechanisms are not by side-effect, so they'll
9759 # only be used when explicitly requested
9760 if test "x$enable_dependency_tracking" = xyes; then
9761 continue
9762 else
9668 # We need this here as well, since someone might use autoconf-2.5x
9669 # to configure GLib then an older version to configure a package
9670 # using AM_GLIB_GNU_GETTEXT
9671 AC_PREREQ(2.53)
9672
9673 dnl
9674 dnl We go to great lengths to make sure that aclocal won't
9675 dnl try to pull in the installed version of these macros
9676 dnl when running aclocal in the glib directory.
9677 dnl
9678 m4_copy([AC_DEFUN],[glib_DEFUN])
9679 m4_copy([AC_REQUIRE],[glib_REQUIRE])
9680 dnl
9681 dnl At the end, if we're not within glib, we'll define the public
9682 dnl definitions in terms of our private definitions.
9683 dnl
9684
9685 # GLIB_LC_MESSAGES
9686 #--------------------
9687 glib_DEFUN([GLIB_LC_MESSAGES],
9688 [AC_CHECK_HEADERS([locale.h])
9689 if test $ac_cv_header_locale_h = yes; then
9690 AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
9691 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
9692 am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
9693 if test $am_cv_val_LC_MESSAGES = yes; then
9694 AC_DEFINE(HAVE_LC_MESSAGES, 1,
9695 [Define if your <locale.h> file defines LC_MESSAGES.])
9696 fi
9697 fi])
9698
9699 # GLIB_PATH_PROG_WITH_TEST
9700 #----------------------------
9701 dnl GLIB_PATH_PROG_WITH_TEST(VARIABLE, PROG-TO-CHECK-FOR,
9702 dnl TEST-PERFORMED-ON-FOUND_PROGRAM [, VALUE-IF-NOT-FOUND [, PATH]])
9703 glib_DEFUN([GLIB_PATH_PROG_WITH_TEST],
9704 [# Extract the first word of "$2", so it can be a program name with args.
9705 set dummy $2; ac_word=[$]2
9706 AC_MSG_CHECKING([for $ac_word])
9707 AC_CACHE_VAL(ac_cv_path_$1,
9708 [case "[$]$1" in
9709 /*)
9710 ac_cv_path_$1="[$]$1" # Let the user override the test with a path.
9711 ;;
9712 *)
9713 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
9714 for ac_dir in ifelse([$5], , $PATH, [$5]); do
9715 test -z "$ac_dir" && ac_dir=.
9716 if test -f $ac_dir/$ac_word; then
9717 if [$3]; then
9718 ac_cv_path_$1="$ac_dir/$ac_word"
97639719 break
9764 fi
9765 ;;
9766 msvisualcpp | msvcmsys)
9767 # This compiler won't grok `-c -o', but also, the minuso test has
9768 # not run yet. These depmodes are late enough in the game, and
9769 # so weak that their functioning should not be impacted.
9770 am__obj=conftest.${OBJEXT-o}
9771 am__minus_obj=
9772 ;;
9773 none) break ;;
9774 esac
9775 if depmode=$depmode \
9776 source=sub/conftest.c object=$am__obj \
9777 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
9778 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
9779 >/dev/null 2>conftest.err &&
9780 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
9781 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
9782 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
9783 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
9784 # icc doesn't choke on unknown options, it will just issue warnings
9785 # or remarks (even with -Werror). So we grep stderr for any message
9786 # that says an option was ignored or not supported.
9787 # When given -MP, icc 7.0 and 7.1 complain thusly:
9788 # icc: Command line warning: ignoring option '-M'; no argument required
9789 # The diagnosis changed in icc 8.0:
9790 # icc: Command line remark: option '-MP' not supported
9791 if (grep 'ignoring option' conftest.err ||
9792 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
9793 am_cv_$1_dependencies_compiler_type=$depmode
9794 break
97959720 fi
97969721 fi
97979722 done
9798
9799 cd ..
9800 rm -rf conftest.dir
9723 IFS="$ac_save_ifs"
9724 dnl If no 4th arg is given, leave the cache variable unset,
9725 dnl so AC_PATH_PROGS will keep looking.
9726 ifelse([$4], , , [ test -z "[$]ac_cv_path_$1" && ac_cv_path_$1="$4"
9727 ])dnl
9728 ;;
9729 esac])dnl
9730 $1="$ac_cv_path_$1"
9731 if test ifelse([$4], , [-n "[$]$1"], ["[$]$1" != "$4"]); then
9732 AC_MSG_RESULT([$]$1)
98019733 else
9802 am_cv_$1_dependencies_compiler_type=none
9734 AC_MSG_RESULT(no)
98039735 fi
9736 AC_SUBST($1)dnl
98049737 ])
9805 AC_SUBST([$1DEPMODE], [depmode=$am_cv_$1_dependencies_compiler_type])
9806 AM_CONDITIONAL([am__fastdep$1], [
9807 test "x$enable_dependency_tracking" != xno \
9808 && test "$am_cv_$1_dependencies_compiler_type" = gcc3])
9738
9739 # GLIB_WITH_NLS
9740 #-----------------
9741 glib_DEFUN([GLIB_WITH_NLS],
9742 dnl NLS is obligatory
9743 [USE_NLS=yes
9744 AC_SUBST(USE_NLS)
9745
9746 gt_cv_have_gettext=no
9747
9748 CATOBJEXT=NONE
9749 XGETTEXT=:
9750 INTLLIBS=
9751
9752 AC_CHECK_HEADER(libintl.h,
9753 [gt_cv_func_dgettext_libintl="no"
9754 libintl_extra_libs=""
9755
9756 #
9757 # First check in libc
9758 #
9759 AC_CACHE_CHECK([for ngettext in libc], gt_cv_func_ngettext_libc,
9760 [AC_TRY_LINK([
9761 #include <libintl.h>
9762 ],
9763 [return !ngettext ("","", 1)],
9764 gt_cv_func_ngettext_libc=yes,
9765 gt_cv_func_ngettext_libc=no)
9766 ])
9767
9768 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
9769 AC_CACHE_CHECK([for dgettext in libc], gt_cv_func_dgettext_libc,
9770 [AC_TRY_LINK([
9771 #include <libintl.h>
9772 ],
9773 [return !dgettext ("","")],
9774 gt_cv_func_dgettext_libc=yes,
9775 gt_cv_func_dgettext_libc=no)
9776 ])
9777 fi
9778
9779 if test "$gt_cv_func_ngettext_libc" = "yes" ; then
9780 AC_CHECK_FUNCS(bind_textdomain_codeset)
9781 fi
9782
9783 #
9784 # If we don't have everything we want, check in libintl
9785 #
9786 if test "$gt_cv_func_dgettext_libc" != "yes" \
9787 || test "$gt_cv_func_ngettext_libc" != "yes" \
9788 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
9789
9790 AC_CHECK_LIB(intl, bindtextdomain,
9791 [AC_CHECK_LIB(intl, ngettext,
9792 [AC_CHECK_LIB(intl, dgettext,
9793 gt_cv_func_dgettext_libintl=yes)])])
9794
9795 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
9796 AC_MSG_CHECKING([if -liconv is needed to use gettext])
9797 AC_MSG_RESULT([])
9798 AC_CHECK_LIB(intl, ngettext,
9799 [AC_CHECK_LIB(intl, dcgettext,
9800 [gt_cv_func_dgettext_libintl=yes
9801 libintl_extra_libs=-liconv],
9802 :,-liconv)],
9803 :,-liconv)
9804 fi
9805
9806 #
9807 # If we found libintl, then check in it for bind_textdomain_codeset();
9808 # we'll prefer libc if neither have bind_textdomain_codeset(),
9809 # and both have dgettext and ngettext
9810 #
9811 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
9812 glib_save_LIBS="$LIBS"
9813 LIBS="$LIBS -lintl $libintl_extra_libs"
9814 unset ac_cv_func_bind_textdomain_codeset
9815 AC_CHECK_FUNCS(bind_textdomain_codeset)
9816 LIBS="$glib_save_LIBS"
9817
9818 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
9819 gt_cv_func_dgettext_libc=no
9820 else
9821 if test "$gt_cv_func_dgettext_libc" = "yes" \
9822 && test "$gt_cv_func_ngettext_libc" = "yes"; then
9823 gt_cv_func_dgettext_libintl=no
9824 fi
9825 fi
9826 fi
9827 fi
9828
9829 if test "$gt_cv_func_dgettext_libc" = "yes" \
9830 || test "$gt_cv_func_dgettext_libintl" = "yes"; then
9831 gt_cv_have_gettext=yes
9832 fi
9833
9834 if test "$gt_cv_func_dgettext_libintl" = "yes"; then
9835 INTLLIBS="-lintl $libintl_extra_libs"
9836 fi
9837
9838 if test "$gt_cv_have_gettext" = "yes"; then
9839 AC_DEFINE(HAVE_GETTEXT,1,
9840 [Define if the GNU gettext() function is already present or preinstalled.])
9841 GLIB_PATH_PROG_WITH_TEST(MSGFMT, msgfmt,
9842 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"], no)dnl
9843 if test "$MSGFMT" != "no"; then
9844 glib_save_LIBS="$LIBS"
9845 LIBS="$LIBS $INTLLIBS"
9846 AC_CHECK_FUNCS(dcgettext)
9847 MSGFMT_OPTS=
9848 AC_MSG_CHECKING([if msgfmt accepts -c])
9849 GLIB_RUN_PROG([$MSGFMT -c -o /dev/null],[
9850 msgid ""
9851 msgstr ""
9852 "Content-Type: text/plain; charset=UTF-8\n"
9853 "Project-Id-Version: test 1.0\n"
9854 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
9855 "Last-Translator: test <foo@bar.xx>\n"
9856 "Language-Team: C <LL@li.org>\n"
9857 "MIME-Version: 1.0\n"
9858 "Content-Transfer-Encoding: 8bit\n"
9859 ], [MSGFMT_OPTS=-c; AC_MSG_RESULT([yes])], [AC_MSG_RESULT([no])])
9860 AC_SUBST(MSGFMT_OPTS)
9861 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
9862 GLIB_PATH_PROG_WITH_TEST(XGETTEXT, xgettext,
9863 [test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"], :)
9864 AC_TRY_LINK(, [extern int _nl_msg_cat_cntr;
9865 return _nl_msg_cat_cntr],
9866 [CATOBJEXT=.gmo
9867 DATADIRNAME=share],
9868 [case $host in
9869 *-*-solaris*)
9870 dnl On Solaris, if bind_textdomain_codeset is in libc,
9871 dnl GNU format message catalog is always supported,
9872 dnl since both are added to the libc all together.
9873 dnl Hence, we'd like to go with DATADIRNAME=share and
9874 dnl and CATOBJEXT=.gmo in this case.
9875 AC_CHECK_FUNC(bind_textdomain_codeset,
9876 [CATOBJEXT=.gmo
9877 DATADIRNAME=share],
9878 [CATOBJEXT=.mo
9879 DATADIRNAME=lib])
9880 ;;
9881 *-*-openbsd*)
9882 CATOBJEXT=.mo
9883 DATADIRNAME=share
9884 ;;
9885 *)
9886 CATOBJEXT=.mo
9887 DATADIRNAME=lib
9888 ;;
9889 esac])
9890 LIBS="$glib_save_LIBS"
9891 INSTOBJEXT=.mo
9892 else
9893 gt_cv_have_gettext=no
9894 fi
9895 fi
9896 ])
9897
9898 if test "$gt_cv_have_gettext" = "yes" ; then
9899 AC_DEFINE(ENABLE_NLS, 1,
9900 [always defined to indicate that i18n is enabled])
9901 fi
9902
9903 dnl Test whether we really found GNU xgettext.
9904 if test "$XGETTEXT" != ":"; then
9905 dnl If it is not GNU xgettext we define it as : so that the
9906 dnl Makefiles still can work.
9907 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
9908 : ;
9909 else
9910 AC_MSG_RESULT(
9911 [found xgettext program is not GNU xgettext; ignore it])
9912 XGETTEXT=":"
9913 fi
9914 fi
9915
9916 # We need to process the po/ directory.
9917 POSUB=po
9918
9919 AC_OUTPUT_COMMANDS(
9920 [case "$CONFIG_FILES" in *po/Makefile.in*)
9921 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
9922 esac])
9923
9924 dnl These rules are solely for the distribution goal. While doing this
9925 dnl we only have to keep exactly one list of the available catalogs
9926 dnl in configure.ac.
9927 for lang in $ALL_LINGUAS; do
9928 GMOFILES="$GMOFILES $lang.gmo"
9929 POFILES="$POFILES $lang.po"
9930 done
9931
9932 dnl Make all variables we use known to autoconf.
9933 AC_SUBST(CATALOGS)
9934 AC_SUBST(CATOBJEXT)
9935 AC_SUBST(DATADIRNAME)
9936 AC_SUBST(GMOFILES)
9937 AC_SUBST(INSTOBJEXT)
9938 AC_SUBST(INTLLIBS)
9939 AC_SUBST(PO_IN_DATADIR_TRUE)
9940 AC_SUBST(PO_IN_DATADIR_FALSE)
9941 AC_SUBST(POFILES)
9942 AC_SUBST(POSUB)
9943 ])
9944
9945 # AM_GLIB_GNU_GETTEXT
9946 # -------------------
9947 # Do checks necessary for use of gettext. If a suitable implementation
9948 # of gettext is found in either in libintl or in the C library,
9949 # it will set INTLLIBS to the libraries needed for use of gettext
9950 # and AC_DEFINE() HAVE_GETTEXT and ENABLE_NLS. (The shell variable
9951 # gt_cv_have_gettext will be set to "yes".) It will also call AC_SUBST()
9952 # on various variables needed by the Makefile.in.in installed by
9953 # glib-gettextize.
9954 dnl
9955 glib_DEFUN([GLIB_GNU_GETTEXT],
9956 [AC_REQUIRE([AC_PROG_CC])dnl
9957 AC_REQUIRE([AC_HEADER_STDC])dnl
9958
9959 GLIB_LC_MESSAGES
9960 GLIB_WITH_NLS
9961
9962 if test "$gt_cv_have_gettext" = "yes"; then
9963 if test "x$ALL_LINGUAS" = "x"; then
9964 LINGUAS=
9965 else
9966 AC_MSG_CHECKING(for catalogs to be installed)
9967 NEW_LINGUAS=
9968 for presentlang in $ALL_LINGUAS; do
9969 useit=no
9970 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
9971 desiredlanguages="$LINGUAS"
9972 else
9973 desiredlanguages="$ALL_LINGUAS"
9974 fi
9975 for desiredlang in $desiredlanguages; do
9976 # Use the presentlang catalog if desiredlang is
9977 # a. equal to presentlang, or
9978 # b. a variant of presentlang (because in this case,
9979 # presentlang can be used as a fallback for messages
9980 # which are not translated in the desiredlang catalog).
9981 case "$desiredlang" in
9982 "$presentlang"*) useit=yes;;
9983 esac
9984 done
9985 if test $useit = yes; then
9986 NEW_LINGUAS="$NEW_LINGUAS $presentlang"
9987 fi
9988 done
9989 LINGUAS=$NEW_LINGUAS
9990 AC_MSG_RESULT($LINGUAS)
9991 fi
9992
9993 dnl Construct list of names of catalog files to be constructed.
9994 if test -n "$LINGUAS"; then
9995 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
9996 fi
9997 fi
9998
9999 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly
10000 dnl find the mkinstalldirs script in another subdir but ($top_srcdir).
10001 dnl Try to locate is.
10002 MKINSTALLDIRS=
10003 if test -n "$ac_aux_dir"; then
10004 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
10005 fi
10006 if test -z "$MKINSTALLDIRS"; then
10007 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
10008 fi
10009 AC_SUBST(MKINSTALLDIRS)
10010
10011 dnl Generate list of files to be processed by xgettext which will
10012 dnl be included in po/Makefile.
10013 test -d po || mkdir po
10014 if test "x$srcdir" != "x."; then
10015 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
10016 posrcprefix="$srcdir/"
10017 else
10018 posrcprefix="../$srcdir/"
10019 fi
10020 else
10021 posrcprefix="../"
10022 fi
10023 rm -f po/POTFILES
10024 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
10025 < $srcdir/po/POTFILES.in > po/POTFILES
10026 ])
10027
10028 # AM_GLIB_DEFINE_LOCALEDIR(VARIABLE)
10029 # -------------------------------
10030 # Define VARIABLE to the location where catalog files will
10031 # be installed by po/Makefile.
10032 glib_DEFUN([GLIB_DEFINE_LOCALEDIR],
10033 [glib_REQUIRE([GLIB_GNU_GETTEXT])dnl
10034 glib_save_prefix="$prefix"
10035 glib_save_exec_prefix="$exec_prefix"
10036 glib_save_datarootdir="$datarootdir"
10037 test "x$prefix" = xNONE && prefix=$ac_default_prefix
10038 test "x$exec_prefix" = xNONE && exec_prefix=$prefix
10039 datarootdir=`eval echo "${datarootdir}"`
10040 if test "x$CATOBJEXT" = "x.mo" ; then
10041 localedir=`eval echo "${libdir}/locale"`
10042 else
10043 localedir=`eval echo "${datadir}/locale"`
10044 fi
10045 prefix="$glib_save_prefix"
10046 exec_prefix="$glib_save_exec_prefix"
10047 datarootdir="$glib_save_datarootdir"
10048 AC_DEFINE_UNQUOTED($1, "$localedir",
10049 [Define the location where the catalogs will be installed])
980910050 ])
981010051
9811
9812 # AM_SET_DEPDIR
9813 # -------------
9814 # Choose a directory name for dependency files.
9815 # This macro is AC_REQUIREd in _AM_DEPENDENCIES
9816 AC_DEFUN([AM_SET_DEPDIR],
9817 [AC_REQUIRE([AM_SET_LEADING_DOT])dnl
9818 AC_SUBST([DEPDIR], ["${am__leading_dot}deps"])dnl
10052 dnl
10053 dnl Now the definitions that aclocal will find
10054 dnl
10055 ifdef(glib_configure_ac,[],[
10056 AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
10057 AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
10058 ])dnl
10059
10060 # GLIB_RUN_PROG(PROGRAM, TEST-FILE, [ACTION-IF-PASS], [ACTION-IF-FAIL])
10061 #
10062 # Create a temporary file with TEST-FILE as its contents and pass the
10063 # file name to PROGRAM. Perform ACTION-IF-PASS if PROGRAM exits with
10064 # 0 and perform ACTION-IF-FAIL for any other exit status.
10065 AC_DEFUN([GLIB_RUN_PROG],
10066 [cat >conftest.foo <<_ACEOF
10067 $2
10068 _ACEOF
10069 if AC_RUN_LOG([$1 conftest.foo]); then
10070 m4_ifval([$3], [$3], [:])
10071 m4_ifvaln([$4], [else $4])dnl
10072 echo "$as_me: failed input was:" >&AS_MESSAGE_LOG_FD
10073 sed 's/^/| /' conftest.foo >&AS_MESSAGE_LOG_FD
10074 fi])
10075
10076
10077 # gnome-common.m4
10078 #
10079 # serial 3
10080 #
10081
10082 dnl GNOME_COMMON_INIT
10083
10084 AU_DEFUN([GNOME_COMMON_INIT],
10085 [
10086 dnl this macro should come after AC_CONFIG_MACRO_DIR
10087 AC_BEFORE([AC_CONFIG_MACRO_DIR], [$0])
10088
10089 dnl ensure that when the Automake generated makefile calls aclocal,
10090 dnl it honours the $ACLOCAL_FLAGS environment variable
10091 ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
10092 if test -n "$ac_macro_dir"; then
10093 ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
10094 fi
10095
10096 AC_SUBST([ACLOCAL_AMFLAGS])
10097 ],
10098 [[$0: This macro is deprecated. You should set put "ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}"
10099 in your top-level Makefile.am, instead, where "m4" is the macro directory set
10100 with AC_CONFIG_MACRO_DIR() in your configure.ac]])
10101
10102 AC_DEFUN([GNOME_DEBUG_CHECK],
10103 [
10104 AC_ARG_ENABLE([debug],
10105 AC_HELP_STRING([--enable-debug],
10106 [turn on debugging]),,
10107 [enable_debug=no])
10108
10109 if test x$enable_debug = xyes ; then
10110 AC_DEFINE(GNOME_ENABLE_DEBUG, 1,
10111 [Enable additional debugging at the expense of performance and size])
10112 fi
981910113 ])
982010114
9821
9822 # AM_DEP_TRACK
9823 # ------------
9824 AC_DEFUN([AM_DEP_TRACK],
9825 [AC_ARG_ENABLE(dependency-tracking,
9826 [ --disable-dependency-tracking speeds up one-time build
9827 --enable-dependency-tracking do not reject slow dependency extractors])
9828 if test "x$enable_dependency_tracking" != xno; then
9829 am_depcomp="$ac_aux_dir/depcomp"
9830 AMDEPBACKSLASH='\'
10115 dnl GNOME_MAINTAINER_MODE_DEFINES ()
10116 dnl define DISABLE_DEPRECATED
10117 dnl
10118 AC_DEFUN([GNOME_MAINTAINER_MODE_DEFINES],
10119 [
10120 AC_REQUIRE([AM_MAINTAINER_MODE])
10121
10122 DISABLE_DEPRECATED=""
10123 if test $USE_MAINTAINER_MODE = yes; then
10124 DOMAINS="ATK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
10125 for DOMAIN in $DOMAINS; do
10126 DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
10127 done
10128 fi
10129
10130 AC_SUBST(DISABLE_DEPRECATED)
10131 ])
10132
10133 dnl GNOME_COMPILE_WARNINGS
10134 dnl Turn on many useful compiler warnings
10135 dnl For now, only works on GCC
10136 AC_DEFUN([GNOME_COMPILE_WARNINGS],[
10137 dnl ******************************
10138 dnl More compiler warnings
10139 dnl ******************************
10140
10141 AC_ARG_ENABLE(compile-warnings,
10142 AC_HELP_STRING([--enable-compile-warnings=@<:@no/minimum/yes/maximum/error@:>@],
10143 [Turn on compiler warnings]),,
10144 [enable_compile_warnings="m4_default([$1],[yes])"])
10145
10146 warnCFLAGS=
10147 if test "x$GCC" != xyes; then
10148 enable_compile_warnings=no
10149 fi
10150
10151 warning_flags=
10152 realsave_CFLAGS="$CFLAGS"
10153
10154 case "$enable_compile_warnings" in
10155 no)
10156 warning_flags=
10157 ;;
10158 minimum)
10159 warning_flags="-Wall"
10160 ;;
10161 yes)
10162 warning_flags="-Wall -Wmissing-prototypes"
10163 ;;
10164 maximum|error)
10165 warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
10166 CFLAGS="$warning_flags $CFLAGS"
10167 for option in -Wno-sign-compare; do
10168 SAVE_CFLAGS="$CFLAGS"
10169 CFLAGS="$CFLAGS $option"
10170 AC_MSG_CHECKING([whether gcc understands $option])
10171 AC_TRY_COMPILE([], [],
10172 has_option=yes,
10173 has_option=no,)
10174 CFLAGS="$SAVE_CFLAGS"
10175 AC_MSG_RESULT($has_option)
10176 if test $has_option = yes; then
10177 warning_flags="$warning_flags $option"
10178 fi
10179 unset has_option
10180 unset SAVE_CFLAGS
10181 done
10182 unset option
10183 if test "$enable_compile_warnings" = "error" ; then
10184 warning_flags="$warning_flags -Werror"
10185 fi
10186 ;;
10187 *)
10188 AC_MSG_ERROR(Unknown argument '$enable_compile_warnings' to --enable-compile-warnings)
10189 ;;
10190 esac
10191 CFLAGS="$realsave_CFLAGS"
10192 AC_MSG_CHECKING(what warning flags to pass to the C compiler)
10193 AC_MSG_RESULT($warning_flags)
10194
10195 AC_ARG_ENABLE(iso-c,
10196 AC_HELP_STRING([--enable-iso-c],
10197 [Try to warn if code is not ISO C ]),,
10198 [enable_iso_c=no])
10199
10200 AC_MSG_CHECKING(what language compliance flags to pass to the C compiler)
10201 complCFLAGS=
10202 if test "x$enable_iso_c" != "xno"; then
10203 if test "x$GCC" = "xyes"; then
10204 case " $CFLAGS " in
10205 *[\ \ ]-ansi[\ \ ]*) ;;
10206 *) complCFLAGS="$complCFLAGS -ansi" ;;
10207 esac
10208 case " $CFLAGS " in
10209 *[\ \ ]-pedantic[\ \ ]*) ;;
10210 *) complCFLAGS="$complCFLAGS -pedantic" ;;
10211 esac
10212 fi
10213 fi
10214 AC_MSG_RESULT($complCFLAGS)
10215
10216 WARN_CFLAGS="$warning_flags $complCFLAGS"
10217 AC_SUBST(WARN_CFLAGS)
10218 ])
10219
10220 dnl For C++, do basically the same thing.
10221
10222 AC_DEFUN([GNOME_CXX_WARNINGS],[
10223 AC_ARG_ENABLE(cxx-warnings,
10224 AC_HELP_STRING([--enable-cxx-warnings=@<:@no/minimum/yes@:>@]
10225 [Turn on compiler warnings.]),,
10226 [enable_cxx_warnings="m4_default([$1],[minimum])"])
10227
10228 AC_MSG_CHECKING(what warning flags to pass to the C++ compiler)
10229 warnCXXFLAGS=
10230 if test "x$GXX" != xyes; then
10231 enable_cxx_warnings=no
10232 fi
10233 if test "x$enable_cxx_warnings" != "xno"; then
10234 if test "x$GXX" = "xyes"; then
10235 case " $CXXFLAGS " in
10236 *[\ \ ]-Wall[\ \ ]*) ;;
10237 *) warnCXXFLAGS="-Wall -Wno-unused" ;;
10238 esac
10239
10240 ## -W is not all that useful. And it cannot be controlled
10241 ## with individual -Wno-xxx flags, unlike -Wall
10242 if test "x$enable_cxx_warnings" = "xyes"; then
10243 warnCXXFLAGS="$warnCXXFLAGS -Wshadow -Woverloaded-virtual"
10244 fi
10245 fi
10246 fi
10247 AC_MSG_RESULT($warnCXXFLAGS)
10248
10249 AC_ARG_ENABLE(iso-cxx,
10250 AC_HELP_STRING([--enable-iso-cxx],
10251 [Try to warn if code is not ISO C++ ]),,
10252 [enable_iso_cxx=no])
10253
10254 AC_MSG_CHECKING(what language compliance flags to pass to the C++ compiler)
10255 complCXXFLAGS=
10256 if test "x$enable_iso_cxx" != "xno"; then
10257 if test "x$GXX" = "xyes"; then
10258 case " $CXXFLAGS " in
10259 *[\ \ ]-ansi[\ \ ]*) ;;
10260 *) complCXXFLAGS="$complCXXFLAGS -ansi" ;;
10261 esac
10262
10263 case " $CXXFLAGS " in
10264 *[\ \ ]-pedantic[\ \ ]*) ;;
10265 *) complCXXFLAGS="$complCXXFLAGS -pedantic" ;;
10266 esac
10267 fi
10268 fi
10269 AC_MSG_RESULT($complCXXFLAGS)
10270
10271 WARN_CXXFLAGS="$CXXFLAGS $warnCXXFLAGS $complCXXFLAGS"
10272 AC_SUBST(WARN_CXXFLAGS)
10273 ])
10274
10275 dnl -*- mode: autoconf -*-
10276
10277 # serial 1
10278
10279 dnl Usage:
10280 dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
10281 AC_DEFUN([GTK_DOC_CHECK],
10282 [
10283 AC_REQUIRE([PKG_PROG_PKG_CONFIG])
10284 AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
10285 AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
10286
10287 dnl check for tools we added during development
10288 AC_PATH_PROG([GTKDOC_CHECK],[gtkdoc-check])
10289 AC_PATH_PROGS([GTKDOC_REBASE],[gtkdoc-rebase],[true])
10290 AC_PATH_PROG([GTKDOC_MKPDF],[gtkdoc-mkpdf])
10291
10292 dnl for overriding the documentation installation directory
10293 AC_ARG_WITH([html-dir],
10294 AS_HELP_STRING([--with-html-dir=PATH], [path to installed docs]),,
10295 [with_html_dir='${datadir}/gtk-doc/html'])
10296 HTML_DIR="$with_html_dir"
10297 AC_SUBST([HTML_DIR])
10298
10299 dnl enable/disable documentation building
10300 AC_ARG_ENABLE([gtk-doc],
10301 AS_HELP_STRING([--enable-gtk-doc],
10302 [use gtk-doc to build documentation [[default=no]]]),,
10303 [enable_gtk_doc=no])
10304
10305 if test x$enable_gtk_doc = xyes; then
10306 ifelse([$1],[],
10307 [PKG_CHECK_EXISTS([gtk-doc],,
10308 AC_MSG_ERROR([gtk-doc not installed and --enable-gtk-doc requested]))],
10309 [PKG_CHECK_EXISTS([gtk-doc >= $1],,
10310 AC_MSG_ERROR([You need to have gtk-doc >= $1 installed to build $PACKAGE_NAME]))])
10311 dnl don't check for glib if we build glib
10312 if test "x$PACKAGE_NAME" != "xglib"; then
10313 dnl don't fail if someone does not have glib
10314 PKG_CHECK_MODULES(GTKDOC_DEPS, glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0,,)
10315 fi
10316 fi
10317
10318 AC_MSG_CHECKING([whether to build gtk-doc documentation])
10319 AC_MSG_RESULT($enable_gtk_doc)
10320
10321 dnl enable/disable output formats
10322 AC_ARG_ENABLE([gtk-doc-html],
10323 AS_HELP_STRING([--enable-gtk-doc-html],
10324 [build documentation in html format [[default=yes]]]),,
10325 [enable_gtk_doc_html=yes])
10326 AC_ARG_ENABLE([gtk-doc-pdf],
10327 AS_HELP_STRING([--enable-gtk-doc-pdf],
10328 [build documentation in pdf format [[default=no]]]),,
10329 [enable_gtk_doc_pdf=no])
10330
10331 if test -z "$GTKDOC_MKPDF"; then
10332 enable_gtk_doc_pdf=no
10333 fi
10334
10335
10336 AM_CONDITIONAL([ENABLE_GTK_DOC], [test x$enable_gtk_doc = xyes])
10337 AM_CONDITIONAL([GTK_DOC_BUILD_HTML], [test x$enable_gtk_doc_html = xyes])
10338 AM_CONDITIONAL([GTK_DOC_BUILD_PDF], [test x$enable_gtk_doc_pdf = xyes])
10339 AM_CONDITIONAL([GTK_DOC_USE_LIBTOOL], [test -n "$LIBTOOL"])
10340 AM_CONDITIONAL([GTK_DOC_USE_REBASE], [test -n "$GTKDOC_REBASE"])
10341 ])
10342
10343
10344 dnl IT_PROG_INTLTOOL([MINIMUM-VERSION], [no-xml])
10345 # serial 40 IT_PROG_INTLTOOL
10346 AC_DEFUN([IT_PROG_INTLTOOL], [
10347 AC_PREREQ([2.50])dnl
10348 AC_REQUIRE([AM_NLS])dnl
10349
10350 case "$am__api_version" in
10351 1.[01234])
10352 AC_MSG_ERROR([Automake 1.5 or newer is required to use intltool])
10353 ;;
10354 *)
10355 ;;
10356 esac
10357
10358 if test -n "$1"; then
10359 AC_MSG_CHECKING([for intltool >= $1])
10360
10361 INTLTOOL_REQUIRED_VERSION_AS_INT=`echo $1 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
10362 INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
10363 [INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
10364 ]
10365 AC_MSG_RESULT([$INTLTOOL_APPLIED_VERSION found])
10366 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
10367 AC_MSG_ERROR([Your intltool is too old. You need intltool $1 or later.])
983110368 fi
9832 AM_CONDITIONAL([AMDEP], [test "x$enable_dependency_tracking" != xno])
9833 AC_SUBST([AMDEPBACKSLASH])dnl
9834 _AM_SUBST_NOTMAKE([AMDEPBACKSLASH])dnl
10369
10370 AC_PATH_PROG(INTLTOOL_UPDATE, [intltool-update])
10371 AC_PATH_PROG(INTLTOOL_MERGE, [intltool-merge])
10372 AC_PATH_PROG(INTLTOOL_EXTRACT, [intltool-extract])
10373 if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
10374 AC_MSG_ERROR([The intltool scripts were not found. Please install intltool.])
10375 fi
10376
10377 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 $< [$]@'
10378 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 $< [$]@'
10379 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 $< [$]@'
10380 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 $< [$]@'
10381 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< [$]@'
10382 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 $< [$]@'
10383 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 $< [$]@'
10384 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 $< [$]@'
10385 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 $< [$]@'
10386 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 $< [$]@'
10387 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 $< [$]@'
10388 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@'
10389 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 $< [$]@'
10390 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 $< [$]@'
10391 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 $< [$]@'
10392 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 $< [$]@'
10393 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 $< [$]@'
10394 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 $< [$]@'
10395 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< [$]@'
10396
10397 _IT_SUBST(INTLTOOL_DESKTOP_RULE)
10398 _IT_SUBST(INTLTOOL_DIRECTORY_RULE)
10399 _IT_SUBST(INTLTOOL_KEYS_RULE)
10400 _IT_SUBST(INTLTOOL_PROP_RULE)
10401 _IT_SUBST(INTLTOOL_OAF_RULE)
10402 _IT_SUBST(INTLTOOL_PONG_RULE)
10403 _IT_SUBST(INTLTOOL_SERVER_RULE)
10404 _IT_SUBST(INTLTOOL_SHEET_RULE)
10405 _IT_SUBST(INTLTOOL_SOUNDLIST_RULE)
10406 _IT_SUBST(INTLTOOL_UI_RULE)
10407 _IT_SUBST(INTLTOOL_XAM_RULE)
10408 _IT_SUBST(INTLTOOL_KBD_RULE)
10409 _IT_SUBST(INTLTOOL_XML_RULE)
10410 _IT_SUBST(INTLTOOL_XML_NOMERGE_RULE)
10411 _IT_SUBST(INTLTOOL_CAVES_RULE)
10412 _IT_SUBST(INTLTOOL_SCHEMAS_RULE)
10413 _IT_SUBST(INTLTOOL_THEME_RULE)
10414 _IT_SUBST(INTLTOOL_SERVICE_RULE)
10415 _IT_SUBST(INTLTOOL_POLICY_RULE)
10416
10417 # Check the gettext tools to make sure they are GNU
10418 AC_PATH_PROG(XGETTEXT, xgettext)
10419 AC_PATH_PROG(MSGMERGE, msgmerge)
10420 AC_PATH_PROG(MSGFMT, msgfmt)
10421 AC_PATH_PROG(GMSGFMT, gmsgfmt, $MSGFMT)
10422 if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
10423 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
10424 fi
10425 xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
10426 mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
10427 mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
10428 if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
10429 AC_MSG_ERROR([GNU gettext tools not found; required for intltool])
10430 fi
10431
10432 AC_PATH_PROG(INTLTOOL_PERL, perl)
10433 if test -z "$INTLTOOL_PERL"; then
10434 AC_MSG_ERROR([perl not found])
10435 fi
10436 AC_MSG_CHECKING([for perl >= 5.8.1])
10437 $INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
10438 if test $? -ne 0; then
10439 AC_MSG_ERROR([perl 5.8.1 is required for intltool])
10440 else
10441 IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
10442 AC_MSG_RESULT([$IT_PERL_VERSION])
10443 fi
10444 if test "x$2" != "xno-xml"; then
10445 AC_MSG_CHECKING([for XML::Parser])
10446 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
10447 AC_MSG_RESULT([ok])
10448 else
10449 AC_MSG_ERROR([XML::Parser perl module is required for intltool])
10450 fi
10451 fi
10452
10453 # Substitute ALL_LINGUAS so we can use it in po/Makefile
10454 AC_SUBST(ALL_LINGUAS)
10455
10456 # Set DATADIRNAME correctly if it is not set yet
10457 # (copied from glib-gettext.m4)
10458 if test -z "$DATADIRNAME"; then
10459 AC_LINK_IFELSE(
10460 [AC_LANG_PROGRAM([[]],
10461 [[extern int _nl_msg_cat_cntr;
10462 return _nl_msg_cat_cntr]])],
10463 [DATADIRNAME=share],
10464 [case $host in
10465 *-*-solaris*)
10466 dnl On Solaris, if bind_textdomain_codeset is in libc,
10467 dnl GNU format message catalog is always supported,
10468 dnl since both are added to the libc all together.
10469 dnl Hence, we'd like to go with DATADIRNAME=share
10470 dnl in this case.
10471 AC_CHECK_FUNC(bind_textdomain_codeset,
10472 [DATADIRNAME=share], [DATADIRNAME=lib])
10473 ;;
10474 *)
10475 [DATADIRNAME=lib]
10476 ;;
10477 esac])
10478 fi
10479 AC_SUBST(DATADIRNAME)
10480
10481 IT_PO_SUBDIR([po])
10482
983510483 ])
983610484
9837 # Generate code to set up dependency tracking. -*- Autoconf -*-
9838
9839 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9840 # Free Software Foundation, Inc.
10485
10486 # IT_PO_SUBDIR(DIRNAME)
10487 # ---------------------
10488 # All po subdirs have to be declared with this macro; the subdir "po" is
10489 # declared by IT_PROG_INTLTOOL.
984110490 #
9842 # This file is free software; the Free Software Foundation
9843 # gives unlimited permission to copy and/or distribute it,
9844 # with or without modifications, as long as this notice is preserved.
9845
9846 #serial 5
9847
9848 # _AM_OUTPUT_DEPENDENCY_COMMANDS
9849 # ------------------------------
9850 AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
9851 [{
9852 # Autoconf 2.62 quotes --file arguments for eval, but not when files
9853 # are listed without --file. Let's play safe and only enable the eval
9854 # if we detect the quoting.
9855 case $CONFIG_FILES in
9856 *\'*) eval set x "$CONFIG_FILES" ;;
9857 *) set x $CONFIG_FILES ;;
9858 esac
9859 shift
9860 for mf
9861 do
9862 # Strip MF so we end up with the name of the file.
9863 mf=`echo "$mf" | sed -e 's/:.*$//'`
9864 # Check whether this is an Automake generated Makefile or not.
9865 # We used to match only the files named `Makefile.in', but
9866 # some people rename them; so instead we look at the file content.
9867 # Grep'ing the first line is not enough: some people post-process
9868 # each Makefile.in and add a new line on top of each file to say so.
9869 # Grep'ing the whole file is not good either: AIX grep has a line
9870 # limit of 2048, but all sed's we know have understand at least 4000.
9871 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
9872 dirpart=`AS_DIRNAME("$mf")`
9873 else
9874 continue
10491 AC_DEFUN([IT_PO_SUBDIR],
10492 [AC_PREREQ([2.53])dnl We use ac_top_srcdir inside AC_CONFIG_COMMANDS.
10493 dnl
10494 dnl The following CONFIG_COMMANDS should be executed at the very end
10495 dnl of config.status.
10496 AC_CONFIG_COMMANDS_PRE([
10497 AC_CONFIG_COMMANDS([$1/stamp-it], [
10498 if [ ! grep "^# INTLTOOL_MAKEFILE$" "$1/Makefile.in" > /dev/null ]; then
10499 AC_MSG_ERROR([$1/Makefile.in.in was not created by intltoolize.])
987510500 fi
9876 # Extract the definition of DEPDIR, am__include, and am__quote
9877 # from the Makefile without running `make'.
9878 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9879 test -z "$DEPDIR" && continue
9880 am__include=`sed -n 's/^am__include = //p' < "$mf"`
9881 test -z "am__include" && continue
9882 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9883 # When using ansi2knr, U may be empty or an underscore; expand it
9884 U=`sed -n 's/^U = //p' < "$mf"`
9885 # Find all dependency output files, they are included files with
9886 # $(DEPDIR) in their names. We invoke sed twice because it is the
9887 # simplest approach to changing $(DEPDIR) to its actual value in the
9888 # expansion.
9889 for file in `sed -n "
9890 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9891 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9892 # Make sure the directory exists.
9893 test -f "$dirpart/$file" && continue
9894 fdir=`AS_DIRNAME(["$file"])`
9895 AS_MKDIR_P([$dirpart/$fdir])
9896 # echo "creating $dirpart/$file"
9897 echo '# dummy' > "$dirpart/$file"
9898 done
9899 done
9900 }
9901 ])# _AM_OUTPUT_DEPENDENCY_COMMANDS
9902
9903
9904 # AM_OUTPUT_DEPENDENCY_COMMANDS
9905 # -----------------------------
9906 # This macro should only be invoked once -- use via AC_REQUIRE.
10501 rm -f "$1/stamp-it" "$1/stamp-it.tmp" "$1/POTFILES" "$1/Makefile.tmp"
10502 >"$1/stamp-it.tmp"
10503 [sed '/^#/d
10504 s/^[[].*] *//
10505 /^[ ]*$/d
10506 '"s|^| $ac_top_srcdir/|" \
10507 "$srcdir/$1/POTFILES.in" | sed '$!s/$/ \\/' >"$1/POTFILES"
10508 ]
10509 [sed '/^POTFILES =/,/[^\\]$/ {
10510 /^POTFILES =/!d
10511 r $1/POTFILES
10512 }
10513 ' "$1/Makefile.in" >"$1/Makefile"]
10514 rm -f "$1/Makefile.tmp"
10515 mv "$1/stamp-it.tmp" "$1/stamp-it"
10516 ])
10517 ])dnl
10518 ])
10519
10520 # _IT_SUBST(VARIABLE)
10521 # -------------------
10522 # Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST
990710523 #
9908 # This code is only required when automatic dependency tracking
9909 # is enabled. FIXME. This creates each `.P' file that we will
9910 # need in order to bootstrap the dependency handling code.
9911 AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
9912 [AC_CONFIG_COMMANDS([depfiles],
9913 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
9914 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
9915 ])
9916
9917 # Do all the work for Automake. -*- Autoconf -*-
9918
9919 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
9920 # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
9921 #
9922 # This file is free software; the Free Software Foundation
9923 # gives unlimited permission to copy and/or distribute it,
9924 # with or without modifications, as long as this notice is preserved.
9925
9926 # serial 16
9927
9928 # This macro actually does too much. Some checks are only needed if
9929 # your package does certain things. But this isn't really a big deal.
9930
9931 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
9932 # AM_INIT_AUTOMAKE([OPTIONS])
9933 # -----------------------------------------------
9934 # The call with PACKAGE and VERSION arguments is the old style
9935 # call (pre autoconf-2.50), which is being phased out. PACKAGE
9936 # and VERSION should now be passed to AC_INIT and removed from
9937 # the call to AM_INIT_AUTOMAKE.
9938 # We support both call styles for the transition. After
9939 # the next Automake release, Autoconf can make the AC_INIT
9940 # arguments mandatory, and then we can depend on a new Autoconf
9941 # release and drop the old call support.
9942 AC_DEFUN([AM_INIT_AUTOMAKE],
9943 [AC_PREREQ([2.62])dnl
9944 dnl Autoconf wants to disallow AM_ names. We explicitly allow
9945 dnl the ones we care about.
9946 m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
9947 AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
9948 AC_REQUIRE([AC_PROG_INSTALL])dnl
9949 if test "`cd $srcdir && pwd`" != "`pwd`"; then
9950 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
9951 # is not polluted with repeated "-I."
9952 AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
9953 # test to see if srcdir already configured
9954 if test -f $srcdir/config.status; then
9955 AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
9956 fi
9957 fi
9958
9959 # test whether we have cygpath
9960 if test -z "$CYGPATH_W"; then
9961 if (cygpath --version) >/dev/null 2>/dev/null; then
9962 CYGPATH_W='cygpath -w'
9963 else
9964 CYGPATH_W=echo
9965 fi
9966 fi
9967 AC_SUBST([CYGPATH_W])
9968
9969 # Define the identity of the package.
9970 dnl Distinguish between old-style and new-style calls.
9971 m4_ifval([$2],
9972 [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
9973 AC_SUBST([PACKAGE], [$1])dnl
9974 AC_SUBST([VERSION], [$2])],
9975 [_AM_SET_OPTIONS([$1])dnl
9976 dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
9977 m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
9978 [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
9979 AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
9980 AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
9981
9982 _AM_IF_OPTION([no-define],,
9983 [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
9984 AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
9985
9986 # Some tools Automake needs.
9987 AC_REQUIRE([AM_SANITY_CHECK])dnl
9988 AC_REQUIRE([AC_ARG_PROGRAM])dnl
9989 AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
9990 AM_MISSING_PROG(AUTOCONF, autoconf)
9991 AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
9992 AM_MISSING_PROG(AUTOHEADER, autoheader)
9993 AM_MISSING_PROG(MAKEINFO, makeinfo)
9994 AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
9995 AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
9996 AC_REQUIRE([AM_PROG_MKDIR_P])dnl
9997 # We need awk for the "check" target. The system "awk" is bad on
9998 # some platforms.
9999 AC_REQUIRE([AC_PROG_AWK])dnl
10000 AC_REQUIRE([AC_PROG_MAKE_SET])dnl
10001 AC_REQUIRE([AM_SET_LEADING_DOT])dnl
10002 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
10003 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
10004 [_AM_PROG_TAR([v7])])])
10005 _AM_IF_OPTION([no-dependencies],,
10006 [AC_PROVIDE_IFELSE([AC_PROG_CC],
10007 [_AM_DEPENDENCIES(CC)],
10008 [define([AC_PROG_CC],
10009 defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
10010 AC_PROVIDE_IFELSE([AC_PROG_CXX],
10011 [_AM_DEPENDENCIES(CXX)],
10012 [define([AC_PROG_CXX],
10013 defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
10014 AC_PROVIDE_IFELSE([AC_PROG_OBJC],
10015 [_AM_DEPENDENCIES(OBJC)],
10016 [define([AC_PROG_OBJC],
10017 defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
10018 ])
10019 _AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
10020 dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
10021 dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
10022 dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
10023 AC_CONFIG_COMMANDS_PRE(dnl
10024 [m4_provide_if([_AM_COMPILER_EXEEXT],
10025 [AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
10026 ])
10027
10028 dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
10029 dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
10030 dnl mangled by Autoconf and run in a shell conditional statement.
10031 m4_define([_AC_COMPILER_EXEEXT],
10032 m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
10033
10034
10035 # When config.status generates a header, we must update the stamp-h file.
10036 # This file resides in the same directory as the config header
10037 # that is generated. The stamp files are numbered to have different names.
10038
10039 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
10040 # loop where config.status creates the headers, so we can generate
10041 # our stamp files there.
10042 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
10043 [# Compute $1's index in $config_headers.
10044 _am_arg=$1
10045 _am_stamp_count=1
10046 for _am_header in $config_headers :; do
10047 case $_am_header in
10048 $_am_arg | $_am_arg:* )
10049 break ;;
10050 * )
10051 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10052 esac
10053 done
10054 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
10055
10056 # Copyright (C) 2001, 2003, 2005, 2008 Free Software Foundation, Inc.
10057 #
10058 # This file is free software; the Free Software Foundation
10059 # gives unlimited permission to copy and/or distribute it,
10060 # with or without modifications, as long as this notice is preserved.
10061
10062 # AM_PROG_INSTALL_SH
10063 # ------------------
10064 # Define $install_sh.
10065 AC_DEFUN([AM_PROG_INSTALL_SH],
10066 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
10067 if test x"${install_sh}" != xset; then
10068 case $am_aux_dir in
10069 *\ * | *\ *)
10070 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
10071 *)
10072 install_sh="\${SHELL} $am_aux_dir/install-sh"
10073 esac
10074 fi
10075 AC_SUBST(install_sh)])
10076
10077 # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
10078 #
10079 # This file is free software; the Free Software Foundation
10080 # gives unlimited permission to copy and/or distribute it,
10081 # with or without modifications, as long as this notice is preserved.
10082
10083 # serial 2
10084
10085 # Check whether the underlying file-system supports filenames
10086 # with a leading dot. For instance MS-DOS doesn't.
10087 AC_DEFUN([AM_SET_LEADING_DOT],
10088 [rm -rf .tst 2>/dev/null
10089 mkdir .tst 2>/dev/null
10090 if test -d .tst; then
10091 am__leading_dot=.
10092 else
10093 am__leading_dot=_
10094 fi
10095 rmdir .tst 2>/dev/null
10096 AC_SUBST([am__leading_dot])])
10097
10098 # Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
10099 # From Jim Meyering
10100
10101 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
10102 # Free Software Foundation, Inc.
10103 #
10104 # This file is free software; the Free Software Foundation
10105 # gives unlimited permission to copy and/or distribute it,
10106 # with or without modifications, as long as this notice is preserved.
10107
10108 # serial 5
10109
10110 # AM_MAINTAINER_MODE([DEFAULT-MODE])
10111 # ----------------------------------
10112 # Control maintainer-specific portions of Makefiles.
10113 # Default is to disable them, unless `enable' is passed literally.
10114 # For symmetry, `disable' may be passed as well. Anyway, the user
10115 # can override the default with the --enable/--disable switch.
10116 AC_DEFUN([AM_MAINTAINER_MODE],
10117 [m4_case(m4_default([$1], [disable]),
10118 [enable], [m4_define([am_maintainer_other], [disable])],
10119 [disable], [m4_define([am_maintainer_other], [enable])],
10120 [m4_define([am_maintainer_other], [enable])
10121 m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
10122 AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
10123 dnl maintainer-mode's default is 'disable' unless 'enable' is passed
10124 AC_ARG_ENABLE([maintainer-mode],
10125 [ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
10126 (and sometimes confusing) to the casual installer],
10127 [USE_MAINTAINER_MODE=$enableval],
10128 [USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
10129 AC_MSG_RESULT([$USE_MAINTAINER_MODE])
10130 AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
10131 MAINT=$MAINTAINER_MODE_TRUE
10132 AC_SUBST([MAINT])dnl
10524 AC_DEFUN([_IT_SUBST],
10525 [
10526 AC_SUBST([$1])
10527 m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])])
1013310528 ]
1013410529 )
1013510530
10136 AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
10137
10138 # Check to see how 'make' treats includes. -*- Autoconf -*-
10139
10140 # Copyright (C) 2001, 2002, 2003, 2005, 2009 Free Software Foundation, Inc.
10141 #
10142 # This file is free software; the Free Software Foundation
10143 # gives unlimited permission to copy and/or distribute it,
10144 # with or without modifications, as long as this notice is preserved.
10145
10146 # serial 4
10147
10148 # AM_MAKE_INCLUDE()
10149 # -----------------
10150 # Check to see how make treats includes.
10151 AC_DEFUN([AM_MAKE_INCLUDE],
10152 [am_make=${MAKE-make}
10153 cat > confinc << 'END'
10154 am__doit:
10155 @echo this is the am__doit target
10156 .PHONY: am__doit
10157 END
10158 # If we don't find an include directive, just comment out the code.
10159 AC_MSG_CHECKING([for style of include used by $am_make])
10160 am__include="#"
10161 am__quote=
10162 _am_result=none
10163 # First try GNU make style include.
10164 echo "include confinc" > confmf
10165 # Ignore all kinds of additional output from `make'.
10166 case `$am_make -s -f confmf 2> /dev/null` in #(
10167 *the\ am__doit\ target*)
10168 am__include=include
10169 am__quote=
10170 _am_result=GNU
10171 ;;
10172 esac
10173 # Now try BSD make style include.
10174 if test "$am__include" = "#"; then
10175 echo '.include "confinc"' > confmf
10176 case `$am_make -s -f confmf 2> /dev/null` in #(
10177 *the\ am__doit\ target*)
10178 am__include=.include
10179 am__quote="\""
10180 _am_result=BSD
10181 ;;
10182 esac
10183 fi
10184 AC_SUBST([am__include])
10185 AC_SUBST([am__quote])
10186 AC_MSG_RESULT([$_am_result])
10187 rm -f confinc confmf
10188 ])
10189
10190 # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
10191
10192 # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
10193 # Free Software Foundation, Inc.
10194 #
10195 # This file is free software; the Free Software Foundation
10196 # gives unlimited permission to copy and/or distribute it,
10197 # with or without modifications, as long as this notice is preserved.
10198
10199 # serial 6
10200
10201 # AM_MISSING_PROG(NAME, PROGRAM)
10202 # ------------------------------
10203 AC_DEFUN([AM_MISSING_PROG],
10204 [AC_REQUIRE([AM_MISSING_HAS_RUN])
10205 $1=${$1-"${am_missing_run}$2"}
10206 AC_SUBST($1)])
10207
10208
10209 # AM_MISSING_HAS_RUN
10210 # ------------------
10211 # Define MISSING if not defined so far and test if it supports --run.
10212 # If it does, set am_missing_run to use it, otherwise, to nothing.
10213 AC_DEFUN([AM_MISSING_HAS_RUN],
10214 [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
10215 AC_REQUIRE_AUX_FILE([missing])dnl
10216 if test x"${MISSING+set}" != xset; then
10217 case $am_aux_dir in
10218 *\ * | *\ *)
10219 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
10220 *)
10221 MISSING="\${SHELL} $am_aux_dir/missing" ;;
10222 esac
10223 fi
10224 # Use eval to expand $SHELL
10225 if eval "$MISSING --run true"; then
10226 am_missing_run="$MISSING --run "
10227 else
10228 am_missing_run=
10229 AC_MSG_WARN([`missing' script is too old or missing])
10230 fi
10231 ])
10232
10233 # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10234 #
10235 # This file is free software; the Free Software Foundation
10236 # gives unlimited permission to copy and/or distribute it,
10237 # with or without modifications, as long as this notice is preserved.
10238
10239 # AM_PROG_MKDIR_P
10240 # ---------------
10241 # Check for `mkdir -p'.
10242 AC_DEFUN([AM_PROG_MKDIR_P],
10243 [AC_PREREQ([2.60])dnl
10244 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
10245 dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
10246 dnl while keeping a definition of mkdir_p for backward compatibility.
10247 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
10248 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
10249 dnl Makefile.ins that do not define MKDIR_P, so we do our own
10250 dnl adjustment using top_builddir (which is defined more often than
10251 dnl MKDIR_P).
10252 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
10253 case $mkdir_p in
10254 [[\\/$]]* | ?:[[\\/]]*) ;;
10255 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
10256 esac
10257 ])
10258
10259 # Helper functions for option handling. -*- Autoconf -*-
10260
10261 # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
10262 #
10263 # This file is free software; the Free Software Foundation
10264 # gives unlimited permission to copy and/or distribute it,
10265 # with or without modifications, as long as this notice is preserved.
10266
10267 # serial 4
10268
10269 # _AM_MANGLE_OPTION(NAME)
10270 # -----------------------
10271 AC_DEFUN([_AM_MANGLE_OPTION],
10272 [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
10273
10274 # _AM_SET_OPTION(NAME)
10275 # ------------------------------
10276 # Set option NAME. Presently that only means defining a flag for this option.
10277 AC_DEFUN([_AM_SET_OPTION],
10278 [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
10279
10280 # _AM_SET_OPTIONS(OPTIONS)
10281 # ----------------------------------
10282 # OPTIONS is a space-separated list of Automake options.
10283 AC_DEFUN([_AM_SET_OPTIONS],
10284 [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
10285
10286 # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
10287 # -------------------------------------------
10288 # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
10289 AC_DEFUN([_AM_IF_OPTION],
10290 [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
10291
10292 # Check to make sure that the build environment is sane. -*- Autoconf -*-
10293
10294 # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
10295 # Free Software Foundation, Inc.
10296 #
10297 # This file is free software; the Free Software Foundation
10298 # gives unlimited permission to copy and/or distribute it,
10299 # with or without modifications, as long as this notice is preserved.
10300
10301 # serial 5
10302
10303 # AM_SANITY_CHECK
10304 # ---------------
10305 AC_DEFUN([AM_SANITY_CHECK],
10306 [AC_MSG_CHECKING([whether build environment is sane])
10307 # Just in case
10308 sleep 1
10309 echo timestamp > conftest.file
10310 # Reject unsafe characters in $srcdir or the absolute working directory
10311 # name. Accept space and tab only in the latter.
10312 am_lf='
10313 '
10314 case `pwd` in
10315 *[[\\\"\#\$\&\'\`$am_lf]]*)
10316 AC_MSG_ERROR([unsafe absolute working directory name]);;
10317 esac
10318 case $srcdir in
10319 *[[\\\"\#\$\&\'\`$am_lf\ \ ]]*)
10320 AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
10321 esac
10322
10323 # Do `set' in a subshell so we don't clobber the current shell's
10324 # arguments. Must try -L first in case configure is actually a
10325 # symlink; some systems play weird games with the mod time of symlinks
10326 # (eg FreeBSD returns the mod time of the symlink's containing
10327 # directory).
10328 if (
10329 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
10330 if test "$[*]" = "X"; then
10331 # -L didn't work.
10332 set X `ls -t "$srcdir/configure" conftest.file`
10333 fi
10334 rm -f conftest.file
10335 if test "$[*]" != "X $srcdir/configure conftest.file" \
10336 && test "$[*]" != "X conftest.file $srcdir/configure"; then
10337
10338 # If neither matched, then we have a broken ls. This can happen
10339 # if, for instance, CONFIG_SHELL is bash and it inherits a
10340 # broken ls alias from the environment. This has actually
10341 # happened. Such a system could not be considered "sane".
10342 AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
10343 alias in your environment])
10344 fi
10345
10346 test "$[2]" = conftest.file
10347 )
10348 then
10349 # Ok.
10350 :
10351 else
10352 AC_MSG_ERROR([newly created file is older than distributed files!
10353 Check your system clock])
10354 fi
10355 AC_MSG_RESULT(yes)])
10356
10357 # Copyright (C) 2009 Free Software Foundation, Inc.
10358 #
10359 # This file is free software; the Free Software Foundation
10360 # gives unlimited permission to copy and/or distribute it,
10361 # with or without modifications, as long as this notice is preserved.
10362
10363 # serial 1
10364
10365 # AM_SILENT_RULES([DEFAULT])
10366 # --------------------------
10367 # Enable less verbose build rules; with the default set to DEFAULT
10368 # (`yes' being less verbose, `no' or empty being verbose).
10369 AC_DEFUN([AM_SILENT_RULES],
10370 [AC_ARG_ENABLE([silent-rules],
10371 [ --enable-silent-rules less verbose build output (undo: `make V=1')
10372 --disable-silent-rules verbose build output (undo: `make V=0')])
10373 case $enable_silent_rules in
10374 yes) AM_DEFAULT_VERBOSITY=0;;
10375 no) AM_DEFAULT_VERBOSITY=1;;
10376 *) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
10377 esac
10378 AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
10379 AM_BACKSLASH='\'
10380 AC_SUBST([AM_BACKSLASH])dnl
10381 _AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
10382 ])
10383
10384 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
10385 #
10386 # This file is free software; the Free Software Foundation
10387 # gives unlimited permission to copy and/or distribute it,
10388 # with or without modifications, as long as this notice is preserved.
10389
10390 # AM_PROG_INSTALL_STRIP
10391 # ---------------------
10392 # One issue with vendor `install' (even GNU) is that you can't
10393 # specify the program used to strip binaries. This is especially
10394 # annoying in cross-compiling environments, where the build's strip
10395 # is unlikely to handle the host's binaries.
10396 # Fortunately install-sh will honor a STRIPPROG variable, so we
10397 # always use install-sh in `make install-strip', and initialize
10398 # STRIPPROG with the value of the STRIP variable (set by the user).
10399 AC_DEFUN([AM_PROG_INSTALL_STRIP],
10400 [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
10401 # Installed binaries are usually stripped using `strip' when the user
10402 # run `make install-strip'. However `strip' might not be the right
10403 # tool to use in cross-compilation environments, therefore Automake
10404 # will honor the `STRIP' environment variable to overrule this program.
10405 dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
10406 if test "$cross_compiling" != no; then
10407 AC_CHECK_TOOL([STRIP], [strip], :)
10408 fi
10409 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
10410 AC_SUBST([INSTALL_STRIP_PROGRAM])])
10411
10412 # Copyright (C) 2006, 2008 Free Software Foundation, Inc.
10413 #
10414 # This file is free software; the Free Software Foundation
10415 # gives unlimited permission to copy and/or distribute it,
10416 # with or without modifications, as long as this notice is preserved.
10417
10418 # serial 2
10419
10420 # _AM_SUBST_NOTMAKE(VARIABLE)
10421 # ---------------------------
10422 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
10423 # This macro is traced by Automake.
10424 AC_DEFUN([_AM_SUBST_NOTMAKE])
10425
10426 # AM_SUBST_NOTMAKE(VARIABLE)
10427 # ---------------------------
10428 # Public sister of _AM_SUBST_NOTMAKE.
10429 AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
10430
10431 # Check how to create a tarball. -*- Autoconf -*-
10432
10433 # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
10434 #
10435 # This file is free software; the Free Software Foundation
10436 # gives unlimited permission to copy and/or distribute it,
10437 # with or without modifications, as long as this notice is preserved.
10438
10439 # serial 2
10440
10441 # _AM_PROG_TAR(FORMAT)
10442 # --------------------
10443 # Check how to create a tarball in format FORMAT.
10444 # FORMAT should be one of `v7', `ustar', or `pax'.
10445 #
10446 # Substitute a variable $(am__tar) that is a command
10447 # writing to stdout a FORMAT-tarball containing the directory
10448 # $tardir.
10449 # tardir=directory && $(am__tar) > result.tar
10450 #
10451 # Substitute a variable $(am__untar) that extract such
10452 # a tarball read from stdin.
10453 # $(am__untar) < result.tar
10454 AC_DEFUN([_AM_PROG_TAR],
10455 [# Always define AMTAR for backward compatibility.
10456 AM_MISSING_PROG([AMTAR], [tar])
10457 m4_if([$1], [v7],
10458 [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
10459 [m4_case([$1], [ustar],, [pax],,
10460 [m4_fatal([Unknown tar format])])
10461 AC_MSG_CHECKING([how to create a $1 tar archive])
10462 # Loop over all known methods to create a tar archive until one works.
10463 _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
10464 _am_tools=${am_cv_prog_tar_$1-$_am_tools}
10465 # Do not fold the above two line into one, because Tru64 sh and
10466 # Solaris sh will not grok spaces in the rhs of `-'.
10467 for _am_tool in $_am_tools
10468 do
10469 case $_am_tool in
10470 gnutar)
10471 for _am_tar in tar gnutar gtar;
10472 do
10473 AM_RUN_LOG([$_am_tar --version]) && break
10474 done
10475 am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
10476 am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
10477 am__untar="$_am_tar -xf -"
10478 ;;
10479 plaintar)
10480 # Must skip GNU tar: if it does not support --format= it doesn't create
10481 # ustar tarball either.
10482 (tar --version) >/dev/null 2>&1 && continue
10483 am__tar='tar chf - "$$tardir"'
10484 am__tar_='tar chf - "$tardir"'
10485 am__untar='tar xf -'
10486 ;;
10487 pax)
10488 am__tar='pax -L -x $1 -w "$$tardir"'
10489 am__tar_='pax -L -x $1 -w "$tardir"'
10490 am__untar='pax -r'
10491 ;;
10492 cpio)
10493 am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
10494 am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
10495 am__untar='cpio -i -H $1 -d'
10496 ;;
10497 none)
10498 am__tar=false
10499 am__tar_=false
10500 am__untar=false
10501 ;;
10502 esac
10503
10504 # If the value was cached, stop now. We just wanted to have am__tar
10505 # and am__untar set.
10506 test -n "${am_cv_prog_tar_$1}" && break
10507
10508 # tar/untar a dummy directory, and stop if the command works
10509 rm -rf conftest.dir
10510 mkdir conftest.dir
10511 echo GrepMe > conftest.dir/file
10512 AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
10513 rm -rf conftest.dir
10514 if test -s conftest.tar; then
10515 AM_RUN_LOG([$am__untar <conftest.tar])
10516 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
10517 fi
10518 done
10519 rm -rf conftest.dir
10520
10521 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
10522 AC_MSG_RESULT([$am_cv_prog_tar_$1])])
10523 AC_SUBST([am__tar])
10524 AC_SUBST([am__untar])
10525 ]) # _AM_PROG_TAR
10526
10531 # deprecated macros
10532 AU_ALIAS([AC_PROG_INTLTOOL], [IT_PROG_INTLTOOL])
10533 # A hint is needed for aclocal from Automake <= 1.9.4:
10534 # AC_DEFUN([AC_PROG_INTLTOOL], ...)
10535
10536
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.68 for polkit-gnome 0.102.
2 # Generated by GNU Autoconf 2.68 for polkit-gnome 0.104.
33 #
44 # Report bugs to <http://lists.freedesktop.org/mailman/listinfo/polkit-devel>.
55 #
570570 # Identity of this package.
571571 PACKAGE_NAME='polkit-gnome'
572572 PACKAGE_TARNAME='polkit-gnome'
573 PACKAGE_VERSION='0.102'
574 PACKAGE_STRING='polkit-gnome 0.102'
573 PACKAGE_VERSION='0.104'
574 PACKAGE_STRING='polkit-gnome 0.104'
575575 PACKAGE_BUGREPORT='http://lists.freedesktop.org/mailman/listinfo/polkit-devel'
576576 PACKAGE_URL=''
577577
679679 POLKIT_AGENT_CFLAGS
680680 GTK_LIBS
681681 GTK_CFLAGS
682 GTK_API_VERSION
683682 GTK_DOC_USE_REBASE_FALSE
684683 GTK_DOC_USE_REBASE_TRUE
685684 GTK_DOC_USE_LIBTOOL_FALSE
690689 GTK_DOC_BUILD_HTML_TRUE
691690 ENABLE_GTK_DOC_FALSE
692691 ENABLE_GTK_DOC_TRUE
693 PKG_CONFIG_LIBDIR
694 PKG_CONFIG_PATH
695 PKG_CONFIG
692 GTKDOC_DEPS_LIBS
693 GTKDOC_DEPS_CFLAGS
696694 HTML_DIR
697695 GTKDOC_MKPDF
698696 GTKDOC_REBASE
699697 GTKDOC_CHECK
698 PKG_CONFIG_LIBDIR
699 PKG_CONFIG_PATH
700 PKG_CONFIG
700701 DISABLE_DEPRECATED
701702 WARN_CFLAGS
702703 ACLOCAL_AMFLAGS
835836 enable_gtk_doc
836837 enable_gtk_doc_html
837838 enable_gtk_doc_pdf
838 with_gtk
839839 enable_examples
840840 enable_introspection
841841 enable_nls
852852 PKG_CONFIG
853853 PKG_CONFIG_PATH
854854 PKG_CONFIG_LIBDIR
855 GTKDOC_DEPS_CFLAGS
856 GTKDOC_DEPS_LIBS
855857 GTK_CFLAGS
856858 GTK_LIBS
857859 POLKIT_AGENT_CFLAGS
14021404 # Omit some internal or obsolete options to make the list less imposing.
14031405 # This message is too long to be a string in the A/UX 3.1 sh.
14041406 cat <<_ACEOF
1405 \`configure' configures polkit-gnome 0.102 to adapt to many kinds of systems.
1407 \`configure' configures polkit-gnome 0.104 to adapt to many kinds of systems.
14061408
14071409 Usage: $0 [OPTION]... [VAR=VALUE]...
14081410
14721474
14731475 if test -n "$ac_init_help"; then
14741476 case $ac_init_help in
1475 short | recursive ) echo "Configuration of polkit-gnome 0.102:";;
1477 short | recursive ) echo "Configuration of polkit-gnome 0.104:";;
14761478 esac
14771479 cat <<\_ACEOF
14781480
15111513 --with-sysroot=DIR Search for dependent libraries within DIR
15121514 (or the compiler's sysroot if not specified).
15131515 --with-html-dir=PATH path to installed docs
1514 --with-gtk=2.0|3.0 which gtk+ version to compile against (default: 2.0)
15151516
15161517 Some influential environment variables:
15171518 CC C compiler command
15271528 directories to add to pkg-config's search path
15281529 PKG_CONFIG_LIBDIR
15291530 path overriding pkg-config's built-in search path
1531 GTKDOC_DEPS_CFLAGS
1532 C compiler flags for GTKDOC_DEPS, overriding pkg-config
1533 GTKDOC_DEPS_LIBS
1534 linker flags for GTKDOC_DEPS, overriding pkg-config
15301535 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config
15311536 GTK_LIBS linker flags for GTK, overriding pkg-config
15321537 POLKIT_AGENT_CFLAGS
16081613 test -n "$ac_init_help" && exit $ac_status
16091614 if $ac_init_version; then
16101615 cat <<\_ACEOF
1611 polkit-gnome configure 0.102
1616 polkit-gnome configure 0.104
16121617 generated by GNU Autoconf 2.68
16131618
16141619 Copyright (C) 2010 Free Software Foundation, Inc.
19771982 This file contains any messages produced by compilers while
19781983 running configure, to aid debugging if configure makes a mistake.
19791984
1980 It was created by polkit-gnome $as_me 0.102, which was
1985 It was created by polkit-gnome $as_me 0.104, which was
19811986 generated by GNU Autoconf 2.68. Invocation command line was
19821987
19831988 $ $0 $@
27932798
27942799 # Define the identity of the package.
27952800 PACKAGE='polkit-gnome'
2796 VERSION='0.102'
2801 VERSION='0.104'
27972802
27982803
27992804 cat >>confdefs.h <<_ACEOF
1159111596
1159211597 DISABLE_DEPRECATED=""
1159311598 if test $USE_MAINTAINER_MODE = yes; then
11594 DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
11599 DOMAINS="ATK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
1159511600 for DOMAIN in $DOMAINS; do
1159611601 DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
1159711602 done
1172111726 fi
1172211727
1172311728
11729
1172411730 # Extract the first word of "gtkdoc-check", so it can be a program name with args.
1172511731 set dummy gtkdoc-check; ac_word=$2
1172611732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1187811884 else
1187911885 as_fn_error $? "You need to have gtk-doc >= 1.3 installed to build $PACKAGE_NAME" "$LINENO" 5
1188011886 fi
11887 if test "x$PACKAGE_NAME" != "xglib"; then
11888
11889 pkg_failed=no
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
11891 $as_echo_n "checking for GTKDOC_DEPS... " >&6; }
11892
11893 if test -n "$GTKDOC_DEPS_CFLAGS"; then
11894 pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
11895 elif test -n "$PKG_CONFIG"; then
11896 if test -n "$PKG_CONFIG" && \
11897 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
11898 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
11899 ac_status=$?
11900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11901 test $ac_status = 0; }; then
11902 pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
11903 else
11904 pkg_failed=yes
11905 fi
11906 else
11907 pkg_failed=untried
11908 fi
11909 if test -n "$GTKDOC_DEPS_LIBS"; then
11910 pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
11911 elif test -n "$PKG_CONFIG"; then
11912 if test -n "$PKG_CONFIG" && \
11913 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0\""; } >&5
11914 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0") 2>&5
11915 ac_status=$?
11916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11917 test $ac_status = 0; }; then
11918 pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>/dev/null`
11919 else
11920 pkg_failed=yes
11921 fi
11922 else
11923 pkg_failed=untried
11924 fi
11925
11926
11927
11928 if test $pkg_failed = yes; then
11929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11930 $as_echo "no" >&6; }
11931
11932 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11933 _pkg_short_errors_supported=yes
11934 else
11935 _pkg_short_errors_supported=no
11936 fi
11937 if test $_pkg_short_errors_supported = yes; then
11938 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
11939 else
11940 GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0" 2>&1`
11941 fi
11942 # Put the nasty error message in config.log where it belongs
11943 echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
11944
11945 as_fn_error $? "Package requirements (glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0) were not met:
11946
11947 $GTKDOC_DEPS_PKG_ERRORS
11948
11949 Consider adjusting the PKG_CONFIG_PATH environment variable if you
11950 installed software in a non-standard prefix.
11951
11952 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
11953 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
11954 See the pkg-config man page for more details." "$LINENO" 5
11955
11956 elif test $pkg_failed = untried; then
11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11958 $as_echo "no" >&6; }
11959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11961 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
11962 is in your PATH or set the PKG_CONFIG environment variable to the full
11963 path to pkg-config.
11964
11965 Alternatively, you may set the environment variables GTKDOC_DEPS_CFLAGS
11966 and GTKDOC_DEPS_LIBS to avoid the need to call pkg-config.
11967 See the pkg-config man page for more details.
11968
11969 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11970 See \`config.log' for more details" "$LINENO" 5; }
11971
11972 else
11973 GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
11974 GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11976 $as_echo "yes" >&6; }
11977
11978 fi
11979 fi
1188111980 fi
1188211981
1188311982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
1202512124 fi
1202612125 fi
1202712126
12028 # *****
12029 # GNOME
12030 # *****
12031
12032
12033
12034
12035 ACLOCAL_AMFLAGS="\${ACLOCAL_FLAGS}"
12036 if test -n "$ac_macro_dir"; then
12037 ACLOCAL_AMFLAGS="-I $ac_macro_dir $ACLOCAL_AMFLAGS"
12038 fi
12039
12040
12041
12042
12043 # Check whether --enable-debug was given.
12044 if test "${enable_debug+set}" = set; then :
12045 enableval=$enable_debug;
12046 else
12047 enable_debug=no
12048 fi
12049
12050
12051 if test x$enable_debug = xyes ; then
12052
12053 $as_echo "#define GNOME_ENABLE_DEBUG 1" >>confdefs.h
12054
12055 fi
12056
12057
12058
12059 # Check whether --enable-compile-warnings was given.
12060 if test "${enable_compile_warnings+set}" = set; then :
12061 enableval=$enable_compile_warnings;
12062 else
12063 enable_compile_warnings="maximum"
12064 fi
12065
12066
12067 warnCFLAGS=
12068 if test "x$GCC" != xyes; then
12069 enable_compile_warnings=no
12070 fi
12071
12072 warning_flags=
12073 realsave_CFLAGS="$CFLAGS"
12074
12075 case "$enable_compile_warnings" in
12076 no)
12077 warning_flags=
12078 ;;
12079 minimum)
12080 warning_flags="-Wall"
12081 ;;
12082 yes)
12083 warning_flags="-Wall -Wmissing-prototypes"
12084 ;;
12085 maximum|error)
12086 warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
12087 CFLAGS="$warning_flags $CFLAGS"
12088 for option in -Wno-sign-compare; do
12089 SAVE_CFLAGS="$CFLAGS"
12090 CFLAGS="$CFLAGS $option"
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
12092 $as_echo_n "checking whether gcc understands $option... " >&6; }
12093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12094 /* end confdefs.h. */
12095
12096 int
12097 main ()
12098 {
12099
12100 ;
12101 return 0;
12102 }
12103 _ACEOF
12104 if ac_fn_c_try_compile "$LINENO"; then :
12105 has_option=yes
12106 else
12107 has_option=no
12108 fi
12109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12110 CFLAGS="$SAVE_CFLAGS"
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
12112 $as_echo "$has_option" >&6; }
12113 if test $has_option = yes; then
12114 warning_flags="$warning_flags $option"
12115 fi
12116 unset has_option
12117 unset SAVE_CFLAGS
12118 done
12119 unset option
12120 if test "$enable_compile_warnings" = "error" ; then
12121 warning_flags="$warning_flags -Werror"
12122 fi
12123 ;;
12124 *)
12125 as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
12126 ;;
12127 esac
12128 CFLAGS="$realsave_CFLAGS"
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
12130 $as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
12132 $as_echo "$warning_flags" >&6; }
12133
12134 # Check whether --enable-iso-c was given.
12135 if test "${enable_iso_c+set}" = set; then :
12136 enableval=$enable_iso_c;
12137 else
12138 enable_iso_c=no
12139 fi
12140
12141
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
12143 $as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
12144 complCFLAGS=
12145 if test "x$enable_iso_c" != "xno"; then
12146 if test "x$GCC" = "xyes"; then
12147 case " $CFLAGS " in
12148 *\ \ -ansi\ \ *) ;;
12149 *) complCFLAGS="$complCFLAGS -ansi" ;;
12150 esac
12151 case " $CFLAGS " in
12152 *\ \ -pedantic\ \ *) ;;
12153 *) complCFLAGS="$complCFLAGS -pedantic" ;;
12154 esac
12155 fi
12156 fi
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
12158 $as_echo "$complCFLAGS" >&6; }
12159
12160 WARN_CFLAGS="$warning_flags $complCFLAGS"
12161
12162
12163
12164
12165
12166 DISABLE_DEPRECATED=""
12167 if test $USE_MAINTAINER_MODE = yes; then
12168 DOMAINS="G ATK PANGO GDK GDK_PIXBUF GTK GCONF BONOBO BONOBO_UI GNOME LIBGLADE VTE GNOME_VFS WNCK LIBSOUP"
12169 for DOMAIN in $DOMAINS; do
12170 DISABLE_DEPRECATED="$DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_DEPRECATED -D${DOMAIN}_DISABLE_SINGLE_INCLUDES"
12171 done
12172 fi
12173
12174
12175
12176
1217712127 # ***************************
1217812128 # Check for required packages
1217912129 # ***************************
1218012130
1218112131 POLKIT_AGENT_REQUIRED=0.97
1218212132 POLKIT_GOBJECT_REQUIRED=0.97
12183
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which gtk+ version to compile against" >&5
12185 $as_echo_n "checking which gtk+ version to compile against... " >&6; }
12186
12187 # Check whether --with-gtk was given.
12188 if test "${with_gtk+set}" = set; then :
12189 withval=$with_gtk; case "$with_gtk" in
12190 2.0|3.0) ;;
12191 *) as_fn_error $? "invalid gtk version specified" "$LINENO" 5 ;;
12192 esac
12193 else
12194 with_gtk=2.0
12195 fi
12196
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_gtk" >&5
12198 $as_echo "$with_gtk" >&6; }
12199 case "$with_gtk" in
12200 2.0) GTK_API_VERSION=2.0
12201 GTK_REQUIRED=2.17.1
12202 ;;
12203 3.0) GTK_API_VERSION=3.0
12204 GTK_REQUIRED=3.0.0
12205 ;;
12206 esac
12207
12208
12133 GTK_REQUIRED=3.0.0
1220912134
1221012135
1221112136 pkg_failed=no
1221612141 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
1221712142 elif test -n "$PKG_CONFIG"; then
1221812143 if test -n "$PKG_CONFIG" && \
12219 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5
12220 ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5
12144 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
12145 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
1222112146 ac_status=$?
1222212147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1222312148 test $ac_status = 0; }; then
12224 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null`
12149 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
1222512150 else
1222612151 pkg_failed=yes
1222712152 fi
1223212157 pkg_cv_GTK_LIBS="$GTK_LIBS"
1223312158 elif test -n "$PKG_CONFIG"; then
1223412159 if test -n "$PKG_CONFIG" && \
12235 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-\$GTK_API_VERSION >= \$GTK_REQUIRED\""; } >&5
12236 ($PKG_CONFIG --exists --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED") 2>&5
12160 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
12161 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
1223712162 ac_status=$?
1223812163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1223912164 test $ac_status = 0; }; then
12240 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>/dev/null`
12165 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
1224112166 else
1224212167 pkg_failed=yes
1224312168 fi
1225712182 _pkg_short_errors_supported=no
1225812183 fi
1225912184 if test $_pkg_short_errors_supported = yes; then
12260 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1`
12185 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
1226112186 else
12262 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-$GTK_API_VERSION >= $GTK_REQUIRED" 2>&1`
12187 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
1226312188 fi
1226412189 # Put the nasty error message in config.log where it belongs
1226512190 echo "$GTK_PKG_ERRORS" >&5
1226612191
12267 as_fn_error $? "Package requirements (gtk+-$GTK_API_VERSION >= $GTK_REQUIRED) were not met:
12192 as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED) were not met:
1226812193
1226912194 $GTK_PKG_ERRORS
1227012195
1378113706 DATADIRNAME=lib
1378213707 fi
1378313708
13709 ;;
13710 *-*-openbsd*)
13711 CATOBJEXT=.mo
13712 DATADIRNAME=share
1378413713 ;;
1378513714 *)
1378613715 CATOBJEXT=.mo
1391513844
1391613845
1391713846
13918 ac_config_files="$ac_config_files Makefile po/Makefile.in polkitgtk/Makefile polkitgtk/polkit-gtk-1.pc src/Makefile docs/version.xml docs/Makefile"
13847 ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile"
1391913848
1392013849
1392113850 cat >confcache <<\_ACEOF
1448814417 # report actual input values of CONFIG_FILES etc. instead of their
1448914418 # values after options handling.
1449014419 ac_log="
14491 This file was extended by polkit-gnome $as_me 0.102, which was
14420 This file was extended by polkit-gnome $as_me 0.104, which was
1449214421 generated by GNU Autoconf 2.68. Invocation command line was
1449314422
1449414423 CONFIG_FILES = $CONFIG_FILES
1455414483 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1455514484 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1455614485 ac_cs_version="\\
14557 polkit-gnome config.status 0.102
14486 polkit-gnome config.status 0.104
1455814487 configured by $0, generated by GNU Autoconf 2.68,
1455914488 with options \\"\$ac_cs_config\\"
1456014489
1496714896 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
1496814897 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1496914898 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14970 "polkitgtk/Makefile") CONFIG_FILES="$CONFIG_FILES polkitgtk/Makefile" ;;
14971 "polkitgtk/polkit-gtk-1.pc") CONFIG_FILES="$CONFIG_FILES polkitgtk/polkit-gtk-1.pc" ;;
1497214899 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14973 "docs/version.xml") CONFIG_FILES="$CONFIG_FILES docs/version.xml" ;;
14974 "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
1497514900 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
1497614901
1497714902 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
0 AC_INIT([polkit-gnome],[0.102],[http://lists.freedesktop.org/mailman/listinfo/polkit-devel],[polkit-gnome])
0 AC_INIT([polkit-gnome],[0.104],[http://lists.freedesktop.org/mailman/listinfo/polkit-devel],[polkit-gnome])
11
22 AM_INIT_AUTOMAKE([1.9 foreign dist-bzip2 no-dist-gzip])
33
116116 fi
117117 fi
118118
119 # *****
120 # GNOME
121 # *****
122
123 GNOME_COMMON_INIT
124 GNOME_DEBUG_CHECK
125 GNOME_COMPILE_WARNINGS([maximum])
126 GNOME_MAINTAINER_MODE_DEFINES
127
128119 # ***************************
129120 # Check for required packages
130121 # ***************************
131122
132123 POLKIT_AGENT_REQUIRED=0.97
133124 POLKIT_GOBJECT_REQUIRED=0.97
134
135 AC_MSG_CHECKING([which gtk+ version to compile against])
136 AC_ARG_WITH([gtk],
137 [AS_HELP_STRING([--with-gtk=2.0|3.0],[which gtk+ version to compile against (default: 2.0)])],
138 [case "$with_gtk" in
139 2.0|3.0) ;;
140 *) AC_MSG_ERROR([invalid gtk version specified]) ;;
141 esac],
142 [with_gtk=2.0])
143 AC_MSG_RESULT([$with_gtk])
144 case "$with_gtk" in
145 2.0) GTK_API_VERSION=2.0
146 GTK_REQUIRED=2.17.1
147 ;;
148 3.0) GTK_API_VERSION=3.0
149 GTK_REQUIRED=3.0.0
150 ;;
151 esac
152 AC_SUBST(GTK_API_VERSION)
153
154
155 PKG_CHECK_MODULES(GTK, gtk+-$GTK_API_VERSION >= $GTK_REQUIRED)
125 GTK_REQUIRED=3.0.0
126
127 PKG_CHECK_MODULES(GTK, gtk+-3.0 >= $GTK_REQUIRED)
156128 AC_SUBST(GTK_CFLAGS)
157129 AC_SUBST(GTK_LIBS)
158130
212184 AC_CONFIG_FILES([
213185 Makefile
214186 po/Makefile.in
215 polkitgtk/Makefile
216 polkitgtk/polkit-gtk-1.pc
217187 src/Makefile
218 docs/version.xml
219 docs/Makefile
220188 ])
221189
222190 AC_OUTPUT
+0
-86
docs/Makefile.am less more
0
1 NULL =
2
3 AUTOMAKE_OPTIONS = 1.7
4
5 # The name of the module.
6 DOC_MODULE=polkit-gtk-1
7
8 # The top-level SGML file.
9 DOC_MAIN_SGML_FILE=polkit-gtk-1-docs.xml
10
11 # Extra options to supply to gtkdoc-scan
12 SCAN_OPTIONS=--ignore-headers=config.h
13
14 # The directory containing the source code. Relative to $(srcdir)
15 DOC_SOURCE_DIR=../polkitgtk
16
17 # Used for dependencies
18 HFILE_GLOB=$(top_srcdir)/polkitgtk/*.h
19 CFILE_GLOB=$(top_srcdir)/polkitgtk/*.c
20
21 # Headers to ignore
22 IGNORE_HFILES= \
23 $(NULL)
24
25 # CFLAGS and LDFLAGS for compiling scan program. Only needed
26 # if $(DOC_MODULE).types is non-empty.
27 INCLUDES = \
28 $(POLKIT_GOBJECT_CFLAGS) \
29 $(GTK_CFLAGS) \
30 -I$(top_srcdir)/polkitgtk \
31 $(NULL)
32
33 GTKDOC_LIBS = \
34 $(POLKIT_GOBJECT_LIBS) \
35 $(GTK_LIBS) \
36 $(top_builddir)/polkitgtk/libpolkit-gtk-1.la \
37 $(NULL)
38
39 # Extra options to supply to gtkdoc-mkdb
40 MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=polkit
41
42 # Extra options to supply to gtkdoc-mktmpl
43 MKTMPL_OPTIONS=
44
45 # Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE)
46 content_files = \
47 version.xml \
48 $(NULL)
49
50 # Images to copy into HTML directory
51 HTML_IMAGES = \
52 polkit-lock-button-locked.png \
53 polkit-lock-button-not-authorized.png \
54 polkit-lock-button-unlocked.png \
55 polkit-lock-button-lock-down.png \
56 $(NULL)
57
58 # Extra options to supply to gtkdoc-fixref
59 FIXXREF_OPTIONS=
60
61 if ENABLE_GTK_DOC
62 include $(top_srcdir)/gtk-doc.make
63 else
64 CLEANFILES =
65 EXTRA_DIST = $(HTML_IMAGES)
66 endif
67
68 CLEANFILES += *~ \
69 polkit-gtk-1-scan.* \
70 polkit-gtk-1.args \
71 polkit-gtk-1.hierarchy \
72 polkit-gtk-1.interfaces \
73 polkit-gtk-1.prerequisites \
74 polkit-gtk-1.signals \
75 *.bak \
76 polkit-gtk-1-decl-list.txt \
77 polkit-gtk-1-decl.txt \
78 polkit-gtk-1-overrides.txt \
79 polkit-gtk-1-undeclared.txt \
80 polkit-gtk-1-undocumented.txt \
81 *.stamp \
82 version.xml \
83 -rf html xml \
84 $(NULL)
85
+0
-758
docs/Makefile.in less more
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
5 # Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17 # -*- mode: makefile -*-
18
19 ####################################
20 # Everything below here is generic #
21 ####################################
22 VPATH = @srcdir@
23 pkgdatadir = $(datadir)/@PACKAGE@
24 pkgincludedir = $(includedir)/@PACKAGE@
25 pkglibdir = $(libdir)/@PACKAGE@
26 pkglibexecdir = $(libexecdir)/@PACKAGE@
27 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
28 install_sh_DATA = $(install_sh) -c -m 644
29 install_sh_PROGRAM = $(install_sh) -c
30 install_sh_SCRIPT = $(install_sh) -c
31 INSTALL_HEADER = $(INSTALL_DATA)
32 transform = $(program_transform_name)
33 NORMAL_INSTALL = :
34 PRE_INSTALL = :
35 POST_INSTALL = :
36 NORMAL_UNINSTALL = :
37 PRE_UNINSTALL = :
38 POST_UNINSTALL = :
39 build_triplet = @build@
40 host_triplet = @host@
41 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
42 $(srcdir)/version.xml.in $(top_srcdir)/gtk-doc.make
43 subdir = docs
44 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
45 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
46 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
47 $(ACLOCAL_M4)
48 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
49 CONFIG_HEADER = $(top_builddir)/config.h
50 CONFIG_CLEAN_FILES = version.xml
51 CONFIG_CLEAN_VPATH_FILES =
52 AM_V_GEN = $(am__v_GEN_$(V))
53 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
54 am__v_GEN_0 = @echo " GEN " $@;
55 AM_V_at = $(am__v_at_$(V))
56 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
57 am__v_at_0 = @
58 SOURCES =
59 DIST_SOURCES =
60 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
61 ACLOCAL = @ACLOCAL@
62 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
63 ALL_LINGUAS = @ALL_LINGUAS@
64 AMTAR = @AMTAR@
65 AM_CFLAGS = @AM_CFLAGS@
66 AM_CPPFLAGS = @AM_CPPFLAGS@
67 AM_CXXFLAGS = @AM_CXXFLAGS@
68 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
69 AM_LDFLAGS = @AM_LDFLAGS@
70 AR = @AR@
71 AUTOCONF = @AUTOCONF@
72 AUTOHEADER = @AUTOHEADER@
73 AUTOMAKE = @AUTOMAKE@
74 AWK = @AWK@
75 CATALOGS = @CATALOGS@
76 CATOBJEXT = @CATOBJEXT@
77 CC = @CC@
78 CCDEPMODE = @CCDEPMODE@
79 CFLAGS = @CFLAGS@
80 CPP = @CPP@
81 CPPFLAGS = @CPPFLAGS@
82 CYGPATH_W = @CYGPATH_W@
83 DATADIRNAME = @DATADIRNAME@
84 DEFS = @DEFS@
85 DEPDIR = @DEPDIR@
86 DISABLE_DEPRECATED = @DISABLE_DEPRECATED@
87 DLLTOOL = @DLLTOOL@
88 DSYMUTIL = @DSYMUTIL@
89 DUMPBIN = @DUMPBIN@
90 ECHO_C = @ECHO_C@
91 ECHO_N = @ECHO_N@
92 ECHO_T = @ECHO_T@
93 EGREP = @EGREP@
94 EXEEXT = @EXEEXT@
95 FGREP = @FGREP@
96 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
97 GIRDIR = @GIRDIR@
98 GIRTYPELIBDIR = @GIRTYPELIBDIR@
99 GMOFILES = @GMOFILES@
100 GMSGFMT = @GMSGFMT@
101 GREP = @GREP@
102 GTKDOC_CHECK = @GTKDOC_CHECK@
103 GTKDOC_MKPDF = @GTKDOC_MKPDF@
104 GTKDOC_REBASE = @GTKDOC_REBASE@
105 GTK_API_VERSION = @GTK_API_VERSION@
106 GTK_CFLAGS = @GTK_CFLAGS@
107 GTK_LIBS = @GTK_LIBS@
108 G_IR_COMPILER = @G_IR_COMPILER@
109 G_IR_GENERATE = @G_IR_GENERATE@
110 G_IR_SCANNER = @G_IR_SCANNER@
111 HTML_DIR = @HTML_DIR@
112 INSTALL = @INSTALL@
113 INSTALL_DATA = @INSTALL_DATA@
114 INSTALL_PROGRAM = @INSTALL_PROGRAM@
115 INSTALL_SCRIPT = @INSTALL_SCRIPT@
116 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
117 INSTOBJEXT = @INSTOBJEXT@
118 INTLLIBS = @INTLLIBS@
119 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
120 INTLTOOL_MERGE = @INTLTOOL_MERGE@
121 INTLTOOL_PERL = @INTLTOOL_PERL@
122 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
123 INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
124 INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
125 LD = @LD@
126 LDFLAGS = @LDFLAGS@
127 LIBOBJS = @LIBOBJS@
128 LIBS = @LIBS@
129 LIBTOOL = @LIBTOOL@
130 LIPO = @LIPO@
131 LN_S = @LN_S@
132 LTLIBOBJS = @LTLIBOBJS@
133 LT_AGE = @LT_AGE@
134 LT_CURRENT = @LT_CURRENT@
135 LT_REVISION = @LT_REVISION@
136 MAINT = @MAINT@
137 MAKEINFO = @MAKEINFO@
138 MANIFEST_TOOL = @MANIFEST_TOOL@
139 MKDIR_P = @MKDIR_P@
140 MKINSTALLDIRS = @MKINSTALLDIRS@
141 MSGFMT = @MSGFMT@
142 MSGFMT_OPTS = @MSGFMT_OPTS@
143 MSGMERGE = @MSGMERGE@
144 NM = @NM@
145 NMEDIT = @NMEDIT@
146 OBJDUMP = @OBJDUMP@
147 OBJEXT = @OBJEXT@
148 OTOOL = @OTOOL@
149 OTOOL64 = @OTOOL64@
150 PACKAGE = @PACKAGE@
151 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
152 PACKAGE_NAME = @PACKAGE_NAME@
153 PACKAGE_STRING = @PACKAGE_STRING@
154 PACKAGE_TARNAME = @PACKAGE_TARNAME@
155 PACKAGE_URL = @PACKAGE_URL@
156 PACKAGE_VERSION = @PACKAGE_VERSION@
157 PATH_SEPARATOR = @PATH_SEPARATOR@
158 PKG_CONFIG = @PKG_CONFIG@
159 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
160 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
161 POFILES = @POFILES@
162 POLKIT_AGENT_CFLAGS = @POLKIT_AGENT_CFLAGS@
163 POLKIT_AGENT_LIBS = @POLKIT_AGENT_LIBS@
164 POLKIT_GOBJECT_CFLAGS = @POLKIT_GOBJECT_CFLAGS@
165 POLKIT_GOBJECT_LIBS = @POLKIT_GOBJECT_LIBS@
166 POSUB = @POSUB@
167 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
168 PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
169 RANLIB = @RANLIB@
170 SED = @SED@
171 SET_MAKE = @SET_MAKE@
172 SHELL = @SHELL@
173 STRIP = @STRIP@
174 USE_NLS = @USE_NLS@
175 VERSION = @VERSION@
176 WARN_CFLAGS = @WARN_CFLAGS@
177 XGETTEXT = @XGETTEXT@
178 abs_builddir = @abs_builddir@
179 abs_srcdir = @abs_srcdir@
180 abs_top_builddir = @abs_top_builddir@
181 abs_top_srcdir = @abs_top_srcdir@
182 ac_ct_AR = @ac_ct_AR@
183 ac_ct_CC = @ac_ct_CC@
184 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
185 am__include = @am__include@
186 am__leading_dot = @am__leading_dot@
187 am__quote = @am__quote@
188 am__tar = @am__tar@
189 am__untar = @am__untar@
190 bindir = @bindir@
191 build = @build@
192 build_alias = @build_alias@
193 build_cpu = @build_cpu@
194 build_os = @build_os@
195 build_vendor = @build_vendor@
196 builddir = @builddir@
197 datadir = @datadir@
198 datarootdir = @datarootdir@
199 docdir = @docdir@
200 dvidir = @dvidir@
201 exec_prefix = @exec_prefix@
202 host = @host@
203 host_alias = @host_alias@
204 host_cpu = @host_cpu@
205 host_os = @host_os@
206 host_vendor = @host_vendor@
207 htmldir = @htmldir@
208 includedir = @includedir@
209 infodir = @infodir@
210 install_sh = @install_sh@
211 libdir = @libdir@
212 libexecdir = @libexecdir@
213 localedir = @localedir@
214 localstatedir = @localstatedir@
215 mandir = @mandir@
216 mkdir_p = @mkdir_p@
217 oldincludedir = @oldincludedir@
218 pdfdir = @pdfdir@
219 prefix = @prefix@
220 program_transform_name = @program_transform_name@
221 psdir = @psdir@
222 sbindir = @sbindir@
223 sharedstatedir = @sharedstatedir@
224 srcdir = @srcdir@
225 sysconfdir = @sysconfdir@
226 target_alias = @target_alias@
227 top_build_prefix = @top_build_prefix@
228 top_builddir = @top_builddir@
229 top_srcdir = @top_srcdir@
230 NULL =
231 AUTOMAKE_OPTIONS = 1.7
232
233 # The name of the module.
234 DOC_MODULE = polkit-gtk-1
235
236 # The top-level SGML file.
237 DOC_MAIN_SGML_FILE = polkit-gtk-1-docs.xml
238
239 # Extra options to supply to gtkdoc-scan
240 SCAN_OPTIONS = --ignore-headers=config.h
241
242 # The directory containing the source code. Relative to $(srcdir)
243 DOC_SOURCE_DIR = ../polkitgtk
244
245 # Used for dependencies
246 HFILE_GLOB = $(top_srcdir)/polkitgtk/*.h
247 CFILE_GLOB = $(top_srcdir)/polkitgtk/*.c
248
249 # Headers to ignore
250 IGNORE_HFILES = \
251 $(NULL)
252
253
254 # CFLAGS and LDFLAGS for compiling scan program. Only needed
255 # if $(DOC_MODULE).types is non-empty.
256 INCLUDES = \
257 $(POLKIT_GOBJECT_CFLAGS) \
258 $(GTK_CFLAGS) \
259 -I$(top_srcdir)/polkitgtk \
260 $(NULL)
261
262 GTKDOC_LIBS = \
263 $(POLKIT_GOBJECT_LIBS) \
264 $(GTK_LIBS) \
265 $(top_builddir)/polkitgtk/libpolkit-gtk-1.la \
266 $(NULL)
267
268
269 # Extra options to supply to gtkdoc-mkdb
270 MKDB_OPTIONS = --sgml-mode --output-format=xml --name-space=polkit
271
272 # Extra options to supply to gtkdoc-mktmpl
273 MKTMPL_OPTIONS =
274
275 # Non-autogenerated SGML files to be included in $(DOC_MAIN_SGML_FILE)
276 content_files = \
277 version.xml \
278 $(NULL)
279
280
281 # Images to copy into HTML directory
282 HTML_IMAGES = \
283 polkit-lock-button-locked.png \
284 polkit-lock-button-not-authorized.png \
285 polkit-lock-button-unlocked.png \
286 polkit-lock-button-lock-down.png \
287 $(NULL)
288
289
290 # Extra options to supply to gtkdoc-fixref
291 FIXXREF_OPTIONS =
292 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
293 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
294 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
295 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
296 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
297 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
298
299 # We set GPATH here; this gives us semantics for GNU make
300 # which are more like other make's VPATH, when it comes to
301 # whether a source that is a target of one rule is then
302 # searched for in VPATH/GPATH.
303 #
304 @ENABLE_GTK_DOC_TRUE@GPATH = $(srcdir)
305 @ENABLE_GTK_DOC_TRUE@TARGET_DIR = $(HTML_DIR)/$(DOC_MODULE)
306 @ENABLE_GTK_DOC_TRUE@SETUP_FILES = \
307 @ENABLE_GTK_DOC_TRUE@ $(content_files) \
308 @ENABLE_GTK_DOC_TRUE@ $(DOC_MAIN_SGML_FILE) \
309 @ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE)-sections.txt \
310 @ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE)-overrides.txt
311
312 @ENABLE_GTK_DOC_FALSE@EXTRA_DIST = $(HTML_IMAGES)
313 @ENABLE_GTK_DOC_TRUE@EXTRA_DIST = \
314 @ENABLE_GTK_DOC_TRUE@ $(SETUP_FILES)
315
316 @ENABLE_GTK_DOC_TRUE@DOC_STAMPS = setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \
317 @ENABLE_GTK_DOC_TRUE@ html-build.stamp pdf-build.stamp \
318 @ENABLE_GTK_DOC_TRUE@ setup.stamp tmpl.stamp sgml.stamp html.stamp pdf.stamp
319
320 @ENABLE_GTK_DOC_TRUE@SCANOBJ_FILES = \
321 @ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE).args \
322 @ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE).hierarchy \
323 @ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE).interfaces \
324 @ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE).prerequisites \
325 @ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE).signals
326
327 @ENABLE_GTK_DOC_TRUE@REPORT_FILES = \
328 @ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE)-undocumented.txt \
329 @ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE)-undeclared.txt \
330 @ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE)-unused.txt
331
332 @ENABLE_GTK_DOC_FALSE@CLEANFILES = *~ polkit-gtk-1-scan.* \
333 @ENABLE_GTK_DOC_FALSE@ polkit-gtk-1.args polkit-gtk-1.hierarchy \
334 @ENABLE_GTK_DOC_FALSE@ polkit-gtk-1.interfaces \
335 @ENABLE_GTK_DOC_FALSE@ polkit-gtk-1.prerequisites \
336 @ENABLE_GTK_DOC_FALSE@ polkit-gtk-1.signals *.bak \
337 @ENABLE_GTK_DOC_FALSE@ polkit-gtk-1-decl-list.txt \
338 @ENABLE_GTK_DOC_FALSE@ polkit-gtk-1-decl.txt \
339 @ENABLE_GTK_DOC_FALSE@ polkit-gtk-1-overrides.txt \
340 @ENABLE_GTK_DOC_FALSE@ polkit-gtk-1-undeclared.txt \
341 @ENABLE_GTK_DOC_FALSE@ polkit-gtk-1-undocumented.txt *.stamp \
342 @ENABLE_GTK_DOC_FALSE@ version.xml -rf html xml $(NULL)
343 @ENABLE_GTK_DOC_TRUE@CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) \
344 @ENABLE_GTK_DOC_TRUE@ $(DOC_STAMPS) *~ polkit-gtk-1-scan.* \
345 @ENABLE_GTK_DOC_TRUE@ polkit-gtk-1.args polkit-gtk-1.hierarchy \
346 @ENABLE_GTK_DOC_TRUE@ polkit-gtk-1.interfaces \
347 @ENABLE_GTK_DOC_TRUE@ polkit-gtk-1.prerequisites \
348 @ENABLE_GTK_DOC_TRUE@ polkit-gtk-1.signals *.bak \
349 @ENABLE_GTK_DOC_TRUE@ polkit-gtk-1-decl-list.txt \
350 @ENABLE_GTK_DOC_TRUE@ polkit-gtk-1-decl.txt \
351 @ENABLE_GTK_DOC_TRUE@ polkit-gtk-1-overrides.txt \
352 @ENABLE_GTK_DOC_TRUE@ polkit-gtk-1-undeclared.txt \
353 @ENABLE_GTK_DOC_TRUE@ polkit-gtk-1-undocumented.txt *.stamp \
354 @ENABLE_GTK_DOC_TRUE@ version.xml -rf html xml $(NULL)
355 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
356 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
357 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
358 @ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
359 all: all-am
360
361 .SUFFIXES:
362 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(top_srcdir)/gtk-doc.make $(am__configure_deps)
363 @for dep in $?; do \
364 case '$(am__configure_deps)' in \
365 *$$dep*) \
366 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
367 && { if test -f $@; then exit 0; else break; fi; }; \
368 exit 1;; \
369 esac; \
370 done; \
371 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign docs/Makefile'; \
372 $(am__cd) $(top_srcdir) && \
373 $(AUTOMAKE) --foreign docs/Makefile
374 .PRECIOUS: Makefile
375 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
376 @case '$?' in \
377 *config.status*) \
378 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
379 *) \
380 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
381 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
382 esac;
383
384 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
385 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
386
387 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
388 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
389 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
390 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
391 $(am__aclocal_m4_deps):
392 version.xml: $(top_builddir)/config.status $(srcdir)/version.xml.in
393 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
394
395 mostlyclean-libtool:
396 -rm -f *.lo
397
398 clean-libtool:
399 -rm -rf .libs _libs
400 tags: TAGS
401 TAGS:
402
403 ctags: CTAGS
404 CTAGS:
405
406 @ENABLE_GTK_DOC_FALSE@dist-hook:
407
408 distdir: $(DISTFILES)
409 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
410 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
411 list='$(DISTFILES)'; \
412 dist_files=`for file in $$list; do echo $$file; done | \
413 sed -e "s|^$$srcdirstrip/||;t" \
414 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
415 case $$dist_files in \
416 */*) $(MKDIR_P) `echo "$$dist_files" | \
417 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
418 sort -u` ;; \
419 esac; \
420 for file in $$dist_files; do \
421 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
422 if test -d $$d/$$file; then \
423 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
424 if test -d "$(distdir)/$$file"; then \
425 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
426 fi; \
427 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
428 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
429 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
430 fi; \
431 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
432 else \
433 test -f "$(distdir)/$$file" \
434 || cp -p $$d/$$file "$(distdir)/$$file" \
435 || exit 1; \
436 fi; \
437 done
438 $(MAKE) $(AM_MAKEFLAGS) \
439 top_distdir="$(top_distdir)" distdir="$(distdir)" \
440 dist-hook
441 check-am: all-am
442 check: check-am
443 @ENABLE_GTK_DOC_FALSE@all-local:
444 all-am: Makefile all-local
445 installdirs:
446 install: install-am
447 install-exec: install-exec-am
448 install-data: install-data-am
449 uninstall: uninstall-am
450
451 install-am: all-am
452 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
453
454 installcheck: installcheck-am
455 install-strip:
456 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
457 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
458 `test -z '$(STRIP)' || \
459 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
460 mostlyclean-generic:
461
462 clean-generic:
463 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
464
465 distclean-generic:
466 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
467 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
468
469 maintainer-clean-generic:
470 @echo "This command is intended for maintainers to use"
471 @echo "it deletes files that may require special tools to rebuild."
472 @ENABLE_GTK_DOC_FALSE@uninstall-local:
473 @ENABLE_GTK_DOC_FALSE@distclean-local:
474 @ENABLE_GTK_DOC_FALSE@install-data-local:
475 @ENABLE_GTK_DOC_FALSE@maintainer-clean-local:
476 @ENABLE_GTK_DOC_FALSE@clean-local:
477 clean: clean-am
478
479 clean-am: clean-generic clean-libtool clean-local mostlyclean-am
480
481 distclean: distclean-am
482 -rm -f Makefile
483 distclean-am: clean-am distclean-generic distclean-local
484
485 dvi: dvi-am
486
487 dvi-am:
488
489 html: html-am
490
491 html-am:
492
493 info: info-am
494
495 info-am:
496
497 install-data-am: install-data-local
498
499 install-dvi: install-dvi-am
500
501 install-dvi-am:
502
503 install-exec-am:
504
505 install-html: install-html-am
506
507 install-html-am:
508
509 install-info: install-info-am
510
511 install-info-am:
512
513 install-man:
514
515 install-pdf: install-pdf-am
516
517 install-pdf-am:
518
519 install-ps: install-ps-am
520
521 install-ps-am:
522
523 installcheck-am:
524
525 maintainer-clean: maintainer-clean-am
526 -rm -f Makefile
527 maintainer-clean-am: distclean-am maintainer-clean-generic \
528 maintainer-clean-local
529
530 mostlyclean: mostlyclean-am
531
532 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
533
534 pdf: pdf-am
535
536 pdf-am:
537
538 ps: ps-am
539
540 ps-am:
541
542 uninstall-am: uninstall-local
543
544 .MAKE: install-am install-strip
545
546 .PHONY: all all-am all-local check check-am clean clean-generic \
547 clean-libtool clean-local dist-hook distclean \
548 distclean-generic distclean-libtool distclean-local distdir \
549 dvi dvi-am html html-am info info-am install install-am \
550 install-data install-data-am install-data-local install-dvi \
551 install-dvi-am install-exec install-exec-am install-html \
552 install-html-am install-info install-info-am install-man \
553 install-pdf install-pdf-am install-ps install-ps-am \
554 install-strip installcheck installcheck-am installdirs \
555 maintainer-clean maintainer-clean-generic \
556 maintainer-clean-local mostlyclean mostlyclean-generic \
557 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
558 uninstall-local
559
560
561 @ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
562 #all-local:
563
564 @ENABLE_GTK_DOC_TRUE@docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
565
566 @ENABLE_GTK_DOC_TRUE@$(REPORT_FILES): sgml-build.stamp
567
568 #### setup ####
569
570 @ENABLE_GTK_DOC_TRUE@setup-build.stamp:
571 @ENABLE_GTK_DOC_TRUE@ -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
572 @ENABLE_GTK_DOC_TRUE@ echo 'gtk-doc: Preparing build'; \
573 @ENABLE_GTK_DOC_TRUE@ files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
574 @ENABLE_GTK_DOC_TRUE@ if test "x$$files" != "x" ; then \
575 @ENABLE_GTK_DOC_TRUE@ for file in $$files ; do \
576 @ENABLE_GTK_DOC_TRUE@ test -f $(abs_srcdir)/$$file && \
577 @ENABLE_GTK_DOC_TRUE@ cp -p $(abs_srcdir)/$$file $(abs_builddir)/; \
578 @ENABLE_GTK_DOC_TRUE@ done \
579 @ENABLE_GTK_DOC_TRUE@ fi; \
580 @ENABLE_GTK_DOC_TRUE@ test -f $(abs_srcdir)/tmpl && \
581 @ENABLE_GTK_DOC_TRUE@ cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
582 @ENABLE_GTK_DOC_TRUE@ fi
583 @ENABLE_GTK_DOC_TRUE@ @touch setup-build.stamp
584
585 @ENABLE_GTK_DOC_TRUE@setup.stamp: setup-build.stamp
586 @ENABLE_GTK_DOC_TRUE@ @true
587
588 #### scan ####
589
590 @ENABLE_GTK_DOC_TRUE@scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
591 @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Scanning header files'
592 @ENABLE_GTK_DOC_TRUE@ @_source_dir='' ; \
593 @ENABLE_GTK_DOC_TRUE@ for i in $(DOC_SOURCE_DIR) ; do \
594 @ENABLE_GTK_DOC_TRUE@ _source_dir="$${_source_dir} --source-dir=$$i" ; \
595 @ENABLE_GTK_DOC_TRUE@ done ; \
596 @ENABLE_GTK_DOC_TRUE@ gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
597 @ENABLE_GTK_DOC_TRUE@ @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
598 @ENABLE_GTK_DOC_TRUE@ CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) ; \
599 @ENABLE_GTK_DOC_TRUE@ else \
600 @ENABLE_GTK_DOC_TRUE@ for i in $(SCANOBJ_FILES) ; do \
601 @ENABLE_GTK_DOC_TRUE@ test -f $$i || touch $$i ; \
602 @ENABLE_GTK_DOC_TRUE@ done \
603 @ENABLE_GTK_DOC_TRUE@ fi
604 @ENABLE_GTK_DOC_TRUE@ @touch scan-build.stamp
605
606 @ENABLE_GTK_DOC_TRUE@$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
607 @ENABLE_GTK_DOC_TRUE@ @true
608
609 #### templates ####
610
611 @ENABLE_GTK_DOC_TRUE@tmpl-build.stamp: setup.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
612 @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Rebuilding template files'
613 @ENABLE_GTK_DOC_TRUE@ @gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
614 @ENABLE_GTK_DOC_TRUE@ @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
615 @ENABLE_GTK_DOC_TRUE@ if test -w $(abs_srcdir) ; then \
616 @ENABLE_GTK_DOC_TRUE@ cp -rp $(abs_builddir)/tmpl $(abs_srcdir)/; \
617 @ENABLE_GTK_DOC_TRUE@ fi \
618 @ENABLE_GTK_DOC_TRUE@ fi
619 @ENABLE_GTK_DOC_TRUE@ @touch tmpl-build.stamp
620
621 @ENABLE_GTK_DOC_TRUE@tmpl.stamp: tmpl-build.stamp
622 @ENABLE_GTK_DOC_TRUE@ @true
623
624 @ENABLE_GTK_DOC_TRUE@$(srcdir)/tmpl/*.sgml:
625 @ENABLE_GTK_DOC_TRUE@ @true
626
627 #### xml ####
628
629 @ENABLE_GTK_DOC_TRUE@sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
630 @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Building XML'
631 @ENABLE_GTK_DOC_TRUE@ @-chmod -R u+w $(srcdir)
632 @ENABLE_GTK_DOC_TRUE@ @_source_dir='' ; \
633 @ENABLE_GTK_DOC_TRUE@ for i in $(DOC_SOURCE_DIR) ; do \
634 @ENABLE_GTK_DOC_TRUE@ _source_dir="$${_source_dir} --source-dir=$$i" ; \
635 @ENABLE_GTK_DOC_TRUE@ done ; \
636 @ENABLE_GTK_DOC_TRUE@ gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS)
637 @ENABLE_GTK_DOC_TRUE@ @touch sgml-build.stamp
638
639 @ENABLE_GTK_DOC_TRUE@sgml.stamp: sgml-build.stamp
640 @ENABLE_GTK_DOC_TRUE@ @true
641
642 #### html ####
643
644 @ENABLE_GTK_DOC_TRUE@html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
645 @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Building HTML'
646 @ENABLE_GTK_DOC_TRUE@ @rm -rf html
647 @ENABLE_GTK_DOC_TRUE@ @mkdir html
648 @ENABLE_GTK_DOC_TRUE@ @mkhtml_options=""; \
649 @ENABLE_GTK_DOC_TRUE@ gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
650 @ENABLE_GTK_DOC_TRUE@ if test "$(?)" = "0"; then \
651 @ENABLE_GTK_DOC_TRUE@ mkhtml_options=--path="$(abs_srcdir)"; \
652 @ENABLE_GTK_DOC_TRUE@ fi; \
653 @ENABLE_GTK_DOC_TRUE@ cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
654 @ENABLE_GTK_DOC_TRUE@ -@test "x$(HTML_IMAGES)" = "x" || \
655 @ENABLE_GTK_DOC_TRUE@ for file in $(HTML_IMAGES) ; do \
656 @ENABLE_GTK_DOC_TRUE@ if test -f $(abs_srcdir)/$$file ; then \
657 @ENABLE_GTK_DOC_TRUE@ cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
658 @ENABLE_GTK_DOC_TRUE@ fi; \
659 @ENABLE_GTK_DOC_TRUE@ if test -f $(abs_builddir)/$$file ; then \
660 @ENABLE_GTK_DOC_TRUE@ cp $(abs_builddir)/$$file $(abs_builddir)/html; \
661 @ENABLE_GTK_DOC_TRUE@ fi; \
662 @ENABLE_GTK_DOC_TRUE@ done;
663 @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Fixing cross-references'
664 @ENABLE_GTK_DOC_TRUE@ @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
665 @ENABLE_GTK_DOC_TRUE@ @touch html-build.stamp
666
667 #### pdf ####
668
669 @ENABLE_GTK_DOC_TRUE@pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
670 @ENABLE_GTK_DOC_TRUE@ @echo 'gtk-doc: Building PDF'
671 @ENABLE_GTK_DOC_TRUE@ @rm -rf $(DOC_MODULE).pdf
672 @ENABLE_GTK_DOC_TRUE@ @mkpdf_imgdirs=""; \
673 @ENABLE_GTK_DOC_TRUE@ if test "x$(HTML_IMAGES)" != "x"; then \
674 @ENABLE_GTK_DOC_TRUE@ for img in $(HTML_IMAGES); do \
675 @ENABLE_GTK_DOC_TRUE@ part=`dirname $$img`; \
676 @ENABLE_GTK_DOC_TRUE@ echo $$mkpdf_imgdirs | grep >/dev/null "\-\-imgdir=$$part "; \
677 @ENABLE_GTK_DOC_TRUE@ if test $$? != 0; then \
678 @ENABLE_GTK_DOC_TRUE@ mkpdf_imgdirs="$$mkpdf_imgdirs --imgdir=$$part"; \
679 @ENABLE_GTK_DOC_TRUE@ fi; \
680 @ENABLE_GTK_DOC_TRUE@ done; \
681 @ENABLE_GTK_DOC_TRUE@ fi; \
682 @ENABLE_GTK_DOC_TRUE@ gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
683 @ENABLE_GTK_DOC_TRUE@ @touch pdf-build.stamp
684
685 ##############
686
687 @ENABLE_GTK_DOC_TRUE@clean-local:
688 @ENABLE_GTK_DOC_TRUE@ rm -f *~ *.bak
689 @ENABLE_GTK_DOC_TRUE@ rm -rf .libs
690
691 @ENABLE_GTK_DOC_TRUE@distclean-local:
692 @ENABLE_GTK_DOC_TRUE@ rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
693 @ENABLE_GTK_DOC_TRUE@ $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
694 @ENABLE_GTK_DOC_TRUE@ if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
695 @ENABLE_GTK_DOC_TRUE@ rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
696 @ENABLE_GTK_DOC_TRUE@ rm -rf tmpl; \
697 @ENABLE_GTK_DOC_TRUE@ fi
698
699 @ENABLE_GTK_DOC_TRUE@maintainer-clean-local: clean
700 @ENABLE_GTK_DOC_TRUE@ rm -rf xml html
701
702 @ENABLE_GTK_DOC_TRUE@install-data-local:
703 @ENABLE_GTK_DOC_TRUE@ @installfiles=`echo $(srcdir)/html/*`; \
704 @ENABLE_GTK_DOC_TRUE@ if test "$$installfiles" = '$(srcdir)/html/*'; \
705 @ENABLE_GTK_DOC_TRUE@ then echo '-- Nothing to install' ; \
706 @ENABLE_GTK_DOC_TRUE@ else \
707 @ENABLE_GTK_DOC_TRUE@ if test -n "$(DOC_MODULE_VERSION)"; then \
708 @ENABLE_GTK_DOC_TRUE@ installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
709 @ENABLE_GTK_DOC_TRUE@ else \
710 @ENABLE_GTK_DOC_TRUE@ installdir="$(DESTDIR)$(TARGET_DIR)"; \
711 @ENABLE_GTK_DOC_TRUE@ fi; \
712 @ENABLE_GTK_DOC_TRUE@ $(mkinstalldirs) $${installdir} ; \
713 @ENABLE_GTK_DOC_TRUE@ for i in $$installfiles; do \
714 @ENABLE_GTK_DOC_TRUE@ echo '-- Installing '$$i ; \
715 @ENABLE_GTK_DOC_TRUE@ $(INSTALL_DATA) $$i $${installdir}; \
716 @ENABLE_GTK_DOC_TRUE@ done; \
717 @ENABLE_GTK_DOC_TRUE@ if test -n "$(DOC_MODULE_VERSION)"; then \
718 @ENABLE_GTK_DOC_TRUE@ mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
719 @ENABLE_GTK_DOC_TRUE@ $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
720 @ENABLE_GTK_DOC_TRUE@ mv -f $${installdir}/$(DOC_MODULE).devhelp \
721 @ENABLE_GTK_DOC_TRUE@ $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
722 @ENABLE_GTK_DOC_TRUE@ fi; \
723 @ENABLE_GTK_DOC_TRUE@ $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
724 @ENABLE_GTK_DOC_TRUE@ fi
725
726 @ENABLE_GTK_DOC_TRUE@uninstall-local:
727 @ENABLE_GTK_DOC_TRUE@ @if test -n "$(DOC_MODULE_VERSION)"; then \
728 @ENABLE_GTK_DOC_TRUE@ installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
729 @ENABLE_GTK_DOC_TRUE@ else \
730 @ENABLE_GTK_DOC_TRUE@ installdir="$(DESTDIR)$(TARGET_DIR)"; \
731 @ENABLE_GTK_DOC_TRUE@ fi; \
732 @ENABLE_GTK_DOC_TRUE@ rm -rf $${installdir}
733
734 #
735 # Require gtk-doc when making dist
736 #
737 @ENABLE_GTK_DOC_TRUE@dist-check-gtkdoc:
738 #dist-check-gtkdoc:
739 # @echo "*** gtk-doc must be installed and enabled in order to make dist"
740 # @false
741
742 @ENABLE_GTK_DOC_TRUE@dist-hook: dist-check-gtkdoc dist-hook-local
743 @ENABLE_GTK_DOC_TRUE@ mkdir $(distdir)/tmpl
744 @ENABLE_GTK_DOC_TRUE@ mkdir $(distdir)/html
745 @ENABLE_GTK_DOC_TRUE@ -cp $(build)/tmpl/*.sgml $(distdir)/tmpl
746 @ENABLE_GTK_DOC_TRUE@ cp $(builddir)/html/* $(distdir)/html
747 @ENABLE_GTK_DOC_TRUE@ -cp $(builddir)/$(DOC_MODULE).pdf $(distdir)/
748 @ENABLE_GTK_DOC_TRUE@ -cp $(build)/$(DOC_MODULE).types $(distdir)/
749 @ENABLE_GTK_DOC_TRUE@ -cp $(build)/$(DOC_MODULE)-sections.txt $(distdir)/
750 @ENABLE_GTK_DOC_TRUE@ cd $(distdir) && rm -f $(DISTCLEANFILES)
751 @ENABLE_GTK_DOC_TRUE@ $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
752
753 @ENABLE_GTK_DOC_TRUE@.PHONY : dist-hook-local docs
754
755 # Tell versions [3.59,3.63) of GNU make to not export all variables.
756 # Otherwise a system limit (for SysV at least) may be exceeded.
757 .NOEXPORT:
docs/polkit-lock-button-lock-down.png less more
Binary diff not shown
docs/polkit-lock-button-locked.png less more
Binary diff not shown
docs/polkit-lock-button-not-authorized.png less more
Binary diff not shown
docs/polkit-lock-button-unlocked.png less more
Binary diff not shown
+0
-1
docs/version.xml.in less more
0 @VERSION@
+0
-264
gtk-doc.make less more
0 # -*- mode: makefile -*-
1
2 ####################################
3 # Everything below here is generic #
4 ####################################
5
6 if GTK_DOC_USE_LIBTOOL
7 GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
8 GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
9 GTKDOC_RUN = $(LIBTOOL) --mode=execute
10 else
11 GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
12 GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
13 GTKDOC_RUN =
14 endif
15
16 # We set GPATH here; this gives us semantics for GNU make
17 # which are more like other make's VPATH, when it comes to
18 # whether a source that is a target of one rule is then
19 # searched for in VPATH/GPATH.
20 #
21 GPATH = $(srcdir)
22
23 TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)
24
25 SETUP_FILES = \
26 $(content_files) \
27 $(DOC_MAIN_SGML_FILE) \
28 $(DOC_MODULE)-sections.txt \
29 $(DOC_MODULE)-overrides.txt
30
31 EXTRA_DIST = \
32 $(SETUP_FILES)
33
34 DOC_STAMPS=setup-build.stamp scan-build.stamp tmpl-build.stamp sgml-build.stamp \
35 html-build.stamp pdf-build.stamp \
36 setup.stamp tmpl.stamp sgml.stamp html.stamp pdf.stamp
37
38 SCANOBJ_FILES = \
39 $(DOC_MODULE).args \
40 $(DOC_MODULE).hierarchy \
41 $(DOC_MODULE).interfaces \
42 $(DOC_MODULE).prerequisites \
43 $(DOC_MODULE).signals
44
45 REPORT_FILES = \
46 $(DOC_MODULE)-undocumented.txt \
47 $(DOC_MODULE)-undeclared.txt \
48 $(DOC_MODULE)-unused.txt
49
50 CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
51
52 if ENABLE_GTK_DOC
53 if GTK_DOC_BUILD_HTML
54 HTML_BUILD_STAMP=html-build.stamp
55 else
56 HTML_BUILD_STAMP=
57 endif
58 if GTK_DOC_BUILD_PDF
59 PDF_BUILD_STAMP=pdf-build.stamp
60 else
61 PDF_BUILD_STAMP=
62 endif
63
64 all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
65 else
66 all-local:
67 endif
68
69 docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
70
71 $(REPORT_FILES): sgml-build.stamp
72
73 #### setup ####
74
75 setup-build.stamp:
76 -@if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
77 echo 'gtk-doc: Preparing build'; \
78 files=`echo $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types`; \
79 if test "x$$files" != "x" ; then \
80 for file in $$files ; do \
81 test -f $(abs_srcdir)/$$file && \
82 cp -p $(abs_srcdir)/$$file $(abs_builddir)/; \
83 done \
84 fi; \
85 test -f $(abs_srcdir)/tmpl && \
86 cp -rp $(abs_srcdir)/tmpl $(abs_builddir)/; \
87 fi
88 @touch setup-build.stamp
89
90
91 setup.stamp: setup-build.stamp
92 @true
93
94
95 #### scan ####
96
97 scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
98 @echo 'gtk-doc: Scanning header files'
99 @_source_dir='' ; \
100 for i in $(DOC_SOURCE_DIR) ; do \
101 _source_dir="$${_source_dir} --source-dir=$$i" ; \
102 done ; \
103 gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
104 @if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \
105 CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) ; \
106 else \
107 for i in $(SCANOBJ_FILES) ; do \
108 test -f $$i || touch $$i ; \
109 done \
110 fi
111 @touch scan-build.stamp
112
113 $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
114 @true
115
116 #### templates ####
117
118 tmpl-build.stamp: setup.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
119 @echo 'gtk-doc: Rebuilding template files'
120 @gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
121 @if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
122 if test -w $(abs_srcdir) ; then \
123 cp -rp $(abs_builddir)/tmpl $(abs_srcdir)/; \
124 fi \
125 fi
126 @touch tmpl-build.stamp
127
128 tmpl.stamp: tmpl-build.stamp
129 @true
130
131 $(srcdir)/tmpl/*.sgml:
132 @true
133
134 #### xml ####
135
136 sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
137 @echo 'gtk-doc: Building XML'
138 @-chmod -R u+w $(srcdir)
139 @_source_dir='' ; \
140 for i in $(DOC_SOURCE_DIR) ; do \
141 _source_dir="$${_source_dir} --source-dir=$$i" ; \
142 done ; \
143 gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS)
144 @touch sgml-build.stamp
145
146 sgml.stamp: sgml-build.stamp
147 @true
148
149 #### html ####
150
151 html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
152 @echo 'gtk-doc: Building HTML'
153 @rm -rf html
154 @mkdir html
155 @mkhtml_options=""; \
156 gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
157 if test "$(?)" = "0"; then \
158 mkhtml_options=--path="$(abs_srcdir)"; \
159 fi; \
160 cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
161 -@test "x$(HTML_IMAGES)" = "x" || \
162 for file in $(HTML_IMAGES) ; do \
163 if test -f $(abs_srcdir)/$$file ; then \
164 cp $(abs_srcdir)/$$file $(abs_builddir)/html; \
165 fi; \
166 if test -f $(abs_builddir)/$$file ; then \
167 cp $(abs_builddir)/$$file $(abs_builddir)/html; \
168 fi; \
169 done;
170 @echo 'gtk-doc: Fixing cross-references'
171 @gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
172 @touch html-build.stamp
173
174 #### pdf ####
175
176 pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
177 @echo 'gtk-doc: Building PDF'
178 @rm -rf $(DOC_MODULE).pdf
179 @mkpdf_imgdirs=""; \
180 if test "x$(HTML_IMAGES)" != "x"; then \
181 for img in $(HTML_IMAGES); do \
182 part=`dirname $$img`; \
183 echo $$mkpdf_imgdirs | grep >/dev/null "\-\-imgdir=$$part "; \
184 if test $$? != 0; then \
185 mkpdf_imgdirs="$$mkpdf_imgdirs --imgdir=$$part"; \
186 fi; \
187 done; \
188 fi; \
189 gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
190 @touch pdf-build.stamp
191
192 ##############
193
194 clean-local:
195 rm -f *~ *.bak
196 rm -rf .libs
197
198 distclean-local:
199 rm -rf xml html $(REPORT_FILES) $(DOC_MODULE).pdf \
200 $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
201 if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \
202 rm -f $(SETUP_FILES) $(expand_content_files) $(DOC_MODULE).types; \
203 rm -rf tmpl; \
204 fi
205
206 maintainer-clean-local: clean
207 rm -rf xml html
208
209 install-data-local:
210 @installfiles=`echo $(srcdir)/html/*`; \
211 if test "$$installfiles" = '$(srcdir)/html/*'; \
212 then echo '-- Nothing to install' ; \
213 else \
214 if test -n "$(DOC_MODULE_VERSION)"; then \
215 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
216 else \
217 installdir="$(DESTDIR)$(TARGET_DIR)"; \
218 fi; \
219 $(mkinstalldirs) $${installdir} ; \
220 for i in $$installfiles; do \
221 echo '-- Installing '$$i ; \
222 $(INSTALL_DATA) $$i $${installdir}; \
223 done; \
224 if test -n "$(DOC_MODULE_VERSION)"; then \
225 mv -f $${installdir}/$(DOC_MODULE).devhelp2 \
226 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \
227 mv -f $${installdir}/$(DOC_MODULE).devhelp \
228 $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
229 fi; \
230 $(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
231 fi
232
233 uninstall-local:
234 @if test -n "$(DOC_MODULE_VERSION)"; then \
235 installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
236 else \
237 installdir="$(DESTDIR)$(TARGET_DIR)"; \
238 fi; \
239 rm -rf $${installdir}
240
241 #
242 # Require gtk-doc when making dist
243 #
244 if ENABLE_GTK_DOC
245 dist-check-gtkdoc:
246 else
247 dist-check-gtkdoc:
248 @echo "*** gtk-doc must be installed and enabled in order to make dist"
249 @false
250 endif
251
252 dist-hook: dist-check-gtkdoc dist-hook-local
253 mkdir $(distdir)/tmpl
254 mkdir $(distdir)/html
255 -cp $(build)/tmpl/*.sgml $(distdir)/tmpl
256 cp $(builddir)/html/* $(distdir)/html
257 -cp $(builddir)/$(DOC_MODULE).pdf $(distdir)/
258 -cp $(build)/$(DOC_MODULE).types $(distdir)/
259 -cp $(build)/$(DOC_MODULE)-sections.txt $(distdir)/
260 cd $(distdir) && rm -f $(DISTCLEANFILES)
261 $(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
262
263 .PHONY : dist-hook-local docs
00 # List of source files containing translatable strings.
11 # Please keep this file sorted alphabetically.
22 [encoding: UTF-8]
3 polkitgtk/polkitlockbutton.c
43 src/main.c
54 src/polkitgnomeauthenticationdialog.c
65 src/polkitgnomeauthenticator.c
+126
-153
po/ca.po less more
11 # Copyright (C) 2007 David Zeuthen
22 # This file is distributed under the same license as the PolicyKit-gnome package.
33 # David Planella Molas <david.planella@gmail.com>, 2008, 2009.
4 # Gil Forcada <gilforcada@guifi.net>, 2011.
45 #
56 msgid ""
67 msgstr ""
78 "Project-Id-Version: PolicyKit-gnome\n"
89 "Report-Msgid-Bugs-To: \n"
9 "POT-Creation-Date: 2011-04-02 13:19+0200\n"
10 "PO-Revision-Date: 2011-04-02 13:20+0200\n"
11 "Last-Translator: David Planella <david.planella@gmail.com>\n"
12 "Language-Team: Catalan <tradgnome@softcatala.net>\n"
10 "POT-Creation-Date: 2011-10-01 16:06+0200\n"
11 "PO-Revision-Date: 2011-10-01 16:07+0200\n"
12 "Last-Translator: Gil Forcada <gilforcada@guifi.net>\n"
13 "Language-Team: català; valencià <tradgnome@softcatala.org>\n"
1314 "Language: ca\n"
1415 "MIME-Version: 1.0\n"
1516 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #: ../polkitgtk/polkitlockbutton.c:458
19 msgid "Action Identifier"
20 msgstr "Identificador de l'acció"
21
22 #: ../polkitgtk/polkitlockbutton.c:459
23 msgid "The action identifier to use for the button"
24 msgstr "L'identificador de l'acció a utilitzar pel botó"
25
26 #: ../polkitgtk/polkitlockbutton.c:475
27 msgid "Is Authorized"
28 msgstr "És autoritzat"
29
30 #: ../polkitgtk/polkitlockbutton.c:476
31 msgid "Whether the process is authorized"
32 msgstr "Si el procés és autoritzat"
33
34 #: ../polkitgtk/polkitlockbutton.c:491
35 msgid "Is Visible"
36 msgstr "És visible"
37
38 #: ../polkitgtk/polkitlockbutton.c:492
39 msgid "Whether the widget is visible"
40 msgstr "Si el giny és visible"
41
42 #: ../polkitgtk/polkitlockbutton.c:507
43 msgid "Can Obtain"
44 msgstr "Pot obtenir"
45
46 #: ../polkitgtk/polkitlockbutton.c:508
47 msgid "Whether authorization can be obtained"
48 msgstr "Si es pot obtenir l'autorització"
49
50 #: ../polkitgtk/polkitlockbutton.c:523 ../polkitgtk/polkitlockbutton.c:625
51 msgid "Unlock Text"
52 msgstr "Text de desbloqueig"
53
54 #: ../polkitgtk/polkitlockbutton.c:524
55 msgid "The text to display when prompting the user to unlock."
56 msgstr "El text que es mostrarà a l'usuari per a desbloquejar."
57
58 #: ../polkitgtk/polkitlockbutton.c:525
59 msgid "Click to make changes"
60 msgstr "Feu clic per a fer canvis"
61
62 #: ../polkitgtk/polkitlockbutton.c:540 ../polkitgtk/polkitlockbutton.c:642
63 msgid "Unlock Tooltip"
64 msgstr "Indicador de funció per a desbloquejar"
65
66 #: ../polkitgtk/polkitlockbutton.c:541
67 msgid "The tooltip to display when prompting the user to unlock."
68 msgstr "L'indicador de funció que es mostrarà a l'usuari per a desbloquejar."
69
70 #: ../polkitgtk/polkitlockbutton.c:542
71 msgid "Authentication is needed to make changes."
72 msgstr "Cal l'autenticació per a realitzar canvis."
73
74 #: ../polkitgtk/polkitlockbutton.c:557
75 msgid "Lock Text"
76 msgstr "Text de bloqueig"
77
78 #: ../polkitgtk/polkitlockbutton.c:558
79 msgid "The text to display when prompting the user to lock."
80 msgstr "El text que es mostrarà a l'usuari per a bloquejar."
81
82 #: ../polkitgtk/polkitlockbutton.c:559
83 msgid "Click to prevent changes"
84 msgstr "Feu clic per a evitar canvis"
85
86 #: ../polkitgtk/polkitlockbutton.c:574
87 msgid "Lock Tooltip"
88 msgstr "Indicador de funció per a bloquejar"
89
90 #: ../polkitgtk/polkitlockbutton.c:575
91 msgid "The tooltip to display when prompting the user to lock."
92 msgstr "L'indicador de funció que es mostrarà a l'usuari per bloquejar."
93
94 #: ../polkitgtk/polkitlockbutton.c:576
95 msgid "To prevent further changes, click the lock."
96 msgstr "Per a evitar més canvis, feu clic a bloquejar."
97
98 #: ../polkitgtk/polkitlockbutton.c:591
99 msgid "Lock Down Text"
100 msgstr "Text de restricció"
101
102 #: ../polkitgtk/polkitlockbutton.c:592
103 msgid ""
104 "The text to display when prompting the user to lock down the action for all "
105 "users."
106 msgstr ""
107 "El text que es mostrarà a l'usuari per a restringir l'acció per a tots els "
108 "usuaris."
109
110 #: ../polkitgtk/polkitlockbutton.c:593
111 msgid "Click to lock down"
112 msgstr "Feu clic per a restringir"
113
114 #: ../polkitgtk/polkitlockbutton.c:608
115 msgid "Lock Down Tooltip"
116 msgstr "Indicador de funció per a restringir"
117
118 #: ../polkitgtk/polkitlockbutton.c:609
119 msgid ""
120 "The tooltip to display when prompting the user to lock down the action for "
121 "all users."
122 msgstr ""
123 "L'indicador de funció que es mostrarà a l'usuari per a restringir l'acció "
124 "per a tots els usuaris."
125
126 #: ../polkitgtk/polkitlockbutton.c:610
127 msgid ""
128 "To prevent users without administrative privileges from making changes, "
129 "click the lock."
130 msgstr ""
131 "Per a evitar que els usuaris sense permisos d'administració facin canvis feu "
132 "clic a restringir."
133
134 #: ../polkitgtk/polkitlockbutton.c:626
135 msgid ""
136 "The text to display when the user cannot obtain authorization through "
137 "authentication."
138 msgstr ""
139 "El text que es mostrarà a l'usuari quan no pugui obtenir l'autorització tot "
140 "i autenticar-se."
141
142 #: ../polkitgtk/polkitlockbutton.c:627
143 msgid "Not authorized to make changes"
144 msgstr "No esteu autoritzat a fer canvis"
145
146 #: ../polkitgtk/polkitlockbutton.c:643
147 msgid ""
148 "The tooltip to display when the user cannot obtain authorization through "
149 "authentication."
150 msgstr ""
151 "L'indicador de funció que es mostrarà a l'usuari quan no pugui obtenir "
152 "l'autorització tot i autenticar-se."
153
154 #: ../polkitgtk/polkitlockbutton.c:644
155 msgid "System policy prevents changes. Contact your system administator."
156 msgstr ""
157 "La política del sistema impedeix fer canvis. Contacteu amb l'administrador "
158 "del sistema."
17 "Content-Transfer-Encoding: 8bits\n"
18 "Plural-Forms: nplurals=2; plural=n != 1;\n"
15919
16020 #: ../src/polkitgnomeauthenticationdialog.c:159
16121 msgid "Select user..."
19353 "Authentication as the super user is required to perform this action."
19454 msgstr ""
19555 "Una aplicació està intentant realitzar una acció que requereix privilegis. "
196 "Cal autenticar-se com a usuari primari per a dur a terme l'acció."
56 "Cal autenticar-se com a l'usuari primari per a dur a terme l'acció."
19757
19858 #: ../src/polkitgnomeauthenticationdialog.c:625
199 #: ../src/polkitgnomeauthenticator.c:301
59 #: ../src/polkitgnomeauthenticator.c:300
20060 msgid "_Password:"
20161 msgstr "_Contrasenya:"
20262
22787 msgid "Authenticate"
22888 msgstr "Autentica"
22989
230 #: ../src/polkitgnomeauthenticator.c:297
90 #: ../src/polkitgnomeauthenticator.c:296
23191 #, c-format
23292 msgid "_Password for %s:"
23393 msgstr "_Contrasenya per a %s:"
23494
235 #: ../src/polkitgnomeauthenticator.c:457
95 #: ../src/polkitgnomeauthenticator.c:456
23696 msgid "Authentication Failure"
237 msgstr "Fallada d'autenticació"
97 msgstr "Ha fallat l'autenticació"
23898
23999 #: ../src/polkitgnomelistener.c:164
240 msgid "Authentation dialog was dismissed by the user"
100 msgid "Authentication dialog was dismissed by the user"
241101 msgstr "L'usuari ha descartat el diàleg d'autenticació"
102
103 #~ msgid "Action Identifier"
104 #~ msgstr "Identificador de l'acció"
105
106 #~ msgid "The action identifier to use for the button"
107 #~ msgstr "L'identificador de l'acció a utilitzar pel botó"
108
109 #~ msgid "Is Authorized"
110 #~ msgstr "És autoritzat"
111
112 #~ msgid "Whether the process is authorized"
113 #~ msgstr "Si el procés és autoritzat"
114
115 #~ msgid "Is Visible"
116 #~ msgstr "És visible"
117
118 #~ msgid "Whether the widget is visible"
119 #~ msgstr "Si el giny és visible"
120
121 #~ msgid "Can Obtain"
122 #~ msgstr "Pot obtenir"
123
124 #~ msgid "Whether authorization can be obtained"
125 #~ msgstr "Si es pot obtenir l'autorització"
126
127 #~ msgid "Unlock Text"
128 #~ msgstr "Text de desbloqueig"
129
130 #~ msgid "The text to display when prompting the user to unlock."
131 #~ msgstr "El text que es mostrarà a l'usuari per a desbloquejar."
132
133 #~ msgid "Click to make changes"
134 #~ msgstr "Feu clic per a fer canvis"
135
136 #~ msgid "Unlock Tooltip"
137 #~ msgstr "Indicador de funció per a desbloquejar"
138
139 #~ msgid "The tooltip to display when prompting the user to unlock."
140 #~ msgstr ""
141 #~ "L'indicador de funció que es mostrarà a l'usuari per a desbloquejar."
142
143 #~ msgid "Authentication is needed to make changes."
144 #~ msgstr "Cal l'autenticació per a realitzar canvis."
145
146 #~ msgid "Lock Text"
147 #~ msgstr "Text de bloqueig"
148
149 #~ msgid "The text to display when prompting the user to lock."
150 #~ msgstr "El text que es mostrarà a l'usuari per a bloquejar."
151
152 #~ msgid "Click to prevent changes"
153 #~ msgstr "Feu clic per a evitar canvis"
154
155 #~ msgid "Lock Tooltip"
156 #~ msgstr "Indicador de funció per a bloquejar"
157
158 #~ msgid "The tooltip to display when prompting the user to lock."
159 #~ msgstr "L'indicador de funció que es mostrarà a l'usuari per bloquejar."
160
161 #~ msgid "To prevent further changes, click the lock."
162 #~ msgstr "Per a evitar més canvis, feu clic a bloquejar."
163
164 #~ msgid "Lock Down Text"
165 #~ msgstr "Text de restricció"
166
167 #~ msgid ""
168 #~ "The text to display when prompting the user to lock down the action for "
169 #~ "all users."
170 #~ msgstr ""
171 #~ "El text que es mostrarà a l'usuari per a restringir l'acció per a tots "
172 #~ "els usuaris."
173
174 #~ msgid "Click to lock down"
175 #~ msgstr "Feu clic per a restringir"
176
177 #~ msgid "Lock Down Tooltip"
178 #~ msgstr "Indicador de funció per a restringir"
179
180 #~ msgid ""
181 #~ "The tooltip to display when prompting the user to lock down the action "
182 #~ "for all users."
183 #~ msgstr ""
184 #~ "L'indicador de funció que es mostrarà a l'usuari per a restringir l'acció "
185 #~ "per a tots els usuaris."
186
187 #~ msgid ""
188 #~ "To prevent users without administrative privileges from making changes, "
189 #~ "click the lock."
190 #~ msgstr ""
191 #~ "Per a evitar que els usuaris sense permisos d'administració facin canvis "
192 #~ "feu clic a restringir."
193
194 #~ msgid ""
195 #~ "The text to display when the user cannot obtain authorization through "
196 #~ "authentication."
197 #~ msgstr ""
198 #~ "El text que es mostrarà a l'usuari quan no pugui obtenir l'autorització "
199 #~ "tot i autenticar-se."
200
201 #~ msgid "Not authorized to make changes"
202 #~ msgstr "No esteu autoritzat a fer canvis"
203
204 #~ msgid ""
205 #~ "The tooltip to display when the user cannot obtain authorization through "
206 #~ "authentication."
207 #~ msgstr ""
208 #~ "L'indicador de funció que es mostrarà a l'usuari quan no pugui obtenir "
209 #~ "l'autorització tot i autenticar-se."
210
211 #~ msgid "System policy prevents changes. Contact your system administator."
212 #~ msgstr ""
213 #~ "La política del sistema impedeix fer canvis. Contacteu amb "
214 #~ "l'administrador del sistema."
242215
243216 #~ msgid ""
244217 #~ "This button is locked down so only users with administrative privileges "
11 # Copyright (C) 2007 David Zeuthen
22 # This file is distributed under the same license as the PolicyKit-gnome package.
33 # David Planella Molas <david.planella@gmail.com>, 2008, 2009.
4 # Gil Forcada <gilforcada@guifi.net>, 2011.
45 #
56 msgid ""
67 msgstr ""
78 "Project-Id-Version: PolicyKit-gnome\n"
89 "Report-Msgid-Bugs-To: \n"
9 "POT-Creation-Date: 2010-10-29 23:37+0100\n"
10 "PO-Revision-Date: 2009-10-28 08:15+0100\n"
11 "Last-Translator: David Planella <david.planella@gmail.com>\n"
12 "Language-Team: Catalan <tradgnome@softcatala.net>\n"
13 "Language: ca\n"
10 "POT-Creation-Date: 2011-10-01 16:08+0200\n"
11 "PO-Revision-Date: 2011-10-01 16:07+0200\n"
12 "Last-Translator: Gil Forcada <gilforcada@guifi.net>\n"
13 "Language-Team: català; valencià <tradgnome@softcatala.org>\n"
14 "Language: ca-XV\n"
1415 "MIME-Version: 1.0\n"
1516 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17
18 #: ../polkitgtk/polkitlockbutton.c:458
19 msgid "Action Identifier"
20 msgstr "Identificador de l'acció"
21
22 #: ../polkitgtk/polkitlockbutton.c:459
23 msgid "The action identifier to use for the button"
24 msgstr "L'identificador de l'acció a utilitzar pel botó"
25
26 #: ../polkitgtk/polkitlockbutton.c:475
27 msgid "Is Authorized"
28 msgstr "És autoritzat"
29
30 #: ../polkitgtk/polkitlockbutton.c:476
31 msgid "Whether the process is authorized"
32 msgstr "Si el procés és autoritzat"
33
34 #: ../polkitgtk/polkitlockbutton.c:491
35 msgid "Is Visible"
36 msgstr "És visible"
37
38 #: ../polkitgtk/polkitlockbutton.c:492
39 msgid "Whether the widget is visible"
40 msgstr "Si el giny és visible"
41
42 #: ../polkitgtk/polkitlockbutton.c:507
43 msgid "Can Obtain"
44 msgstr "Pot obtindre"
45
46 #: ../polkitgtk/polkitlockbutton.c:508
47 msgid "Whether authorization can be obtained"
48 msgstr "Si es pot obtindre l'autorització"
49
50 #: ../polkitgtk/polkitlockbutton.c:523 ../polkitgtk/polkitlockbutton.c:625
51 msgid "Unlock Text"
52 msgstr "Text de desbloqueig"
53
54 #: ../polkitgtk/polkitlockbutton.c:524
55 msgid "The text to display when prompting the user to unlock."
56 msgstr "El text que es mostrarà a l'usuari per a desbloquejar."
57
58 #: ../polkitgtk/polkitlockbutton.c:525
59 msgid "Click to make changes"
60 msgstr "Feu clic per a fer canvis"
61
62 #: ../polkitgtk/polkitlockbutton.c:540 ../polkitgtk/polkitlockbutton.c:642
63 msgid "Unlock Tooltip"
64 msgstr "Indicador de funció per a desbloquejar"
65
66 #: ../polkitgtk/polkitlockbutton.c:541
67 msgid "The tooltip to display when prompting the user to unlock."
68 msgstr "L'indicador de funció que es mostrarà a l'usuari per a desbloquejar."
69
70 #: ../polkitgtk/polkitlockbutton.c:542
71 msgid "Authentication is needed to make changes."
72 msgstr "Cal l'autenticació per a realitzar canvis."
73
74 #: ../polkitgtk/polkitlockbutton.c:557
75 msgid "Lock Text"
76 msgstr "Text de bloqueig"
77
78 #: ../polkitgtk/polkitlockbutton.c:558
79 msgid "The text to display when prompting the user to lock."
80 msgstr "El text que es mostrarà a l'usuari per a bloquejar."
81
82 #: ../polkitgtk/polkitlockbutton.c:559
83 msgid "Click to prevent changes"
84 msgstr "Feu clic per a evitar canvis"
85
86 #: ../polkitgtk/polkitlockbutton.c:574
87 msgid "Lock Tooltip"
88 msgstr "Indicador de funció per a bloquejar"
89
90 #: ../polkitgtk/polkitlockbutton.c:575
91 msgid "The tooltip to display when prompting the user to lock."
92 msgstr "L'indicador de funció que es mostrarà a l'usuari per bloquejar."
93
94 #: ../polkitgtk/polkitlockbutton.c:576
95 msgid "To prevent further changes, click the lock."
96 msgstr "Per a evitar més canvis, feu clic a bloquejar."
97
98 #: ../polkitgtk/polkitlockbutton.c:591
99 msgid "Lock Down Text"
100 msgstr "Text de restricció"
101
102 #: ../polkitgtk/polkitlockbutton.c:592
103 msgid ""
104 "The text to display when prompting the user to lock down the action for all "
105 "users."
106 msgstr ""
107 "El text que es mostrarà a l'usuari per a restringir l'acció per a tots els "
108 "usuaris."
109
110 #: ../polkitgtk/polkitlockbutton.c:593
111 msgid "Click to lock down"
112 msgstr "Feu clic per a restringir"
113
114 #: ../polkitgtk/polkitlockbutton.c:608
115 msgid "Lock Down Tooltip"
116 msgstr "Indicador de funció per a restringir"
117
118 #: ../polkitgtk/polkitlockbutton.c:609
119 msgid ""
120 "The tooltip to display when prompting the user to lock down the action for "
121 "all users."
122 msgstr ""
123 "L'indicador de funció que es mostrarà a l'usuari per a restringir l'acció "
124 "per a tots els usuaris."
125
126 #: ../polkitgtk/polkitlockbutton.c:610
127 msgid ""
128 "To prevent users without administrative privileges from making changes, "
129 "click the lock."
130 msgstr ""
131 "Per a evitar que els usuaris sense permisos d'administració facen canvis feu "
132 "clic a restringir."
133
134 #: ../polkitgtk/polkitlockbutton.c:626
135 msgid ""
136 "The text to display when the user cannot obtain authorization through "
137 "authentication."
138 msgstr ""
139 "El text que es mostrarà a l'usuari quan no puga obtindre l'autorització tot "
140 "i autenticar-se."
141
142 #: ../polkitgtk/polkitlockbutton.c:627
143 msgid "Not authorized to make changes"
144 msgstr "No esteu autoritzat a fer canvis"
145
146 #: ../polkitgtk/polkitlockbutton.c:643
147 msgid ""
148 "The tooltip to display when the user cannot obtain authorization through "
149 "authentication."
150 msgstr ""
151 "L'indicador de funció que es mostrarà a l'usuari quan no puga obtindre "
152 "l'autorització tot i autenticar-se."
153
154 #: ../polkitgtk/polkitlockbutton.c:644
155 msgid "System policy prevents changes. Contact your system administator."
156 msgstr ""
157 "La política del sistema impedeix fer canvis. Contacteu amb l'administrador "
158 "del sistema."
159
160 #: ../src/main.c:128
161 msgid "Click the icon to drop all elevated privileges"
162 msgstr "Feu clic a la icona per a treure tots els privilegis"
17 "Content-Transfer-Encoding: 8bits\n"
18 "Plural-Forms: nplurals=2; plural=n != 1;\n"
16319
16420 #: ../src/polkitgnomeauthenticationdialog.c:159
16521 msgid "Select user..."
17026 msgid "%s (%s)"
17127 msgstr "%s (%s)"
17228
173 #: ../src/polkitgnomeauthenticationdialog.c:531
29 #: ../src/polkitgnomeauthenticationdialog.c:537
17430 msgid "_Authenticate"
17531 msgstr "_Autentica"
17632
177 #: ../src/polkitgnomeauthenticationdialog.c:571
33 #: ../src/polkitgnomeauthenticationdialog.c:576
17834 msgid ""
17935 "An application is attempting to perform an action that requires privileges. "
18036 "Authentication as one of the users below is required to perform this action."
18238 "Una aplicació està intentant realitzar una acció que requereix privilegis. "
18339 "Cal autenticar-se com a un dels usuaris d'ací sota per a dur a terme l'acció."
18440
185 #: ../src/polkitgnomeauthenticationdialog.c:579
41 #: ../src/polkitgnomeauthenticationdialog.c:584
18642 msgid ""
18743 "An application is attempting to perform an action that requires privileges. "
18844 "Authentication is required to perform this action."
19046 "Una aplicació està intentant realitzar una acció que requereix privilegis. "
19147 "Cal autenticar-se per a dur a terme l'acció."
19248
193 #: ../src/polkitgnomeauthenticationdialog.c:585
49 #: ../src/polkitgnomeauthenticationdialog.c:590
19450 msgid ""
19551 "An application is attempting to perform an action that requires privileges. "
19652 "Authentication as the super user is required to perform this action."
19753 msgstr ""
19854 "Una aplicació està intentant realitzar una acció que requereix privilegis. "
199 "Cal autenticar-se com a usuari primari per a dur a terme l'acció."
200
201 #: ../src/polkitgnomeauthenticationdialog.c:620
202 #: ../src/polkitgnomeauthenticator.c:298
55 "Cal autenticar-se com a l'usuari primari per a dur a terme l'acció."
56
57 #: ../src/polkitgnomeauthenticationdialog.c:625
58 #: ../src/polkitgnomeauthenticator.c:300
20359 msgid "_Password:"
20460 msgstr "_Contrasenya:"
20561
20662 #. Details
207 #: ../src/polkitgnomeauthenticationdialog.c:638
63 #: ../src/polkitgnomeauthenticationdialog.c:643
20864 msgid "<small><b>_Details</b></small>"
20965 msgstr "<small><b>_Detalls</b></small>"
21066
211 #: ../src/polkitgnomeauthenticationdialog.c:691
67 #: ../src/polkitgnomeauthenticationdialog.c:699
21268 msgid "<small><b>Action:</b></small>"
21369 msgstr "<small><b>Acció:</b></small>"
21470
215 #: ../src/polkitgnomeauthenticationdialog.c:694
71 #: ../src/polkitgnomeauthenticationdialog.c:702
21672 #, c-format
21773 msgid "Click to edit %s"
21874 msgstr "Feu clic per a editar %s"
21975
220 #: ../src/polkitgnomeauthenticationdialog.c:708
76 #: ../src/polkitgnomeauthenticationdialog.c:716
22177 msgid "<small><b>Vendor:</b></small>"
22278 msgstr "<small><b>Proveïdor:</b></small>"
22379
224 #: ../src/polkitgnomeauthenticationdialog.c:710
80 #: ../src/polkitgnomeauthenticationdialog.c:718
22581 #, c-format
22682 msgid "Click to open %s"
22783 msgstr "Feu clic per a obrir %s"
22884
229 #: ../src/polkitgnomeauthenticationdialog.c:873
85 #: ../src/polkitgnomeauthenticationdialog.c:881
23086 msgid "Authenticate"
23187 msgstr "Autentica"
23288
233 #: ../src/polkitgnomeauthenticator.c:294
89 #: ../src/polkitgnomeauthenticator.c:296
23490 #, c-format
23591 msgid "_Password for %s:"
23692 msgstr "_Contrasenya per a %s:"
23793
238 #: ../src/polkitgnomeauthenticator.c:454
94 #: ../src/polkitgnomeauthenticator.c:456
23995 msgid "Authentication Failure"
240 msgstr "Fallada d'autenticació"
241
242 #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1
243 msgid "PolicyKit Authentication Agent"
244 msgstr "Agent d'autenticació del PolicyKit"
96 msgstr "Ha fallat l'autenticació"
97
98 #: ../src/polkitgnomelistener.c:164
99 msgid "Authentication dialog was dismissed by the user"
100 msgstr "L'usuari ha descartat el diàleg d'autenticació"
101
102 #~ msgid "Action Identifier"
103 #~ msgstr "Identificador de l'acció"
104
105 #~ msgid "The action identifier to use for the button"
106 #~ msgstr "L'identificador de l'acció a utilitzar pel botó"
107
108 #~ msgid "Is Authorized"
109 #~ msgstr "És autoritzat"
110
111 #~ msgid "Whether the process is authorized"
112 #~ msgstr "Si el procés és autoritzat"
113
114 #~ msgid "Is Visible"
115 #~ msgstr "És visible"
116
117 #~ msgid "Whether the widget is visible"
118 #~ msgstr "Si el giny és visible"
119
120 #~ msgid "Can Obtain"
121 #~ msgstr "Pot obtenir"
122
123 #~ msgid "Whether authorization can be obtained"
124 #~ msgstr "Si es pot obtenir l'autorització"
125
126 #~ msgid "Unlock Text"
127 #~ msgstr "Text de desbloqueig"
128
129 #~ msgid "The text to display when prompting the user to unlock."
130 #~ msgstr "El text que es mostrarà a l'usuari per a desbloquejar."
131
132 #~ msgid "Click to make changes"
133 #~ msgstr "Feu clic per a fer canvis"
134
135 #~ msgid "Unlock Tooltip"
136 #~ msgstr "Indicador de funció per a desbloquejar"
137
138 #~ msgid "The tooltip to display when prompting the user to unlock."
139 #~ msgstr ""
140 #~ "L'indicador de funció que es mostrarà a l'usuari per a desbloquejar."
141
142 #~ msgid "Authentication is needed to make changes."
143 #~ msgstr "Cal l'autenticació per a realitzar canvis."
144
145 #~ msgid "Lock Text"
146 #~ msgstr "Text de bloqueig"
147
148 #~ msgid "The text to display when prompting the user to lock."
149 #~ msgstr "El text que es mostrarà a l'usuari per a bloquejar."
150
151 #~ msgid "Click to prevent changes"
152 #~ msgstr "Feu clic per a evitar canvis"
153
154 #~ msgid "Lock Tooltip"
155 #~ msgstr "Indicador de funció per a bloquejar"
156
157 #~ msgid "The tooltip to display when prompting the user to lock."
158 #~ msgstr "L'indicador de funció que es mostrarà a l'usuari per bloquejar."
159
160 #~ msgid "To prevent further changes, click the lock."
161 #~ msgstr "Per a evitar més canvis, feu clic a bloquejar."
162
163 #~ msgid "Lock Down Text"
164 #~ msgstr "Text de restricció"
165
166 #~ msgid ""
167 #~ "The text to display when prompting the user to lock down the action for "
168 #~ "all users."
169 #~ msgstr ""
170 #~ "El text que es mostrarà a l'usuari per a restringir l'acció per a tots "
171 #~ "els usuaris."
172
173 #~ msgid "Click to lock down"
174 #~ msgstr "Feu clic per a restringir"
175
176 #~ msgid "Lock Down Tooltip"
177 #~ msgstr "Indicador de funció per a restringir"
178
179 #~ msgid ""
180 #~ "The tooltip to display when prompting the user to lock down the action "
181 #~ "for all users."
182 #~ msgstr ""
183 #~ "L'indicador de funció que es mostrarà a l'usuari per a restringir l'acció "
184 #~ "per a tots els usuaris."
185
186 #~ msgid ""
187 #~ "To prevent users without administrative privileges from making changes, "
188 #~ "click the lock."
189 #~ msgstr ""
190 #~ "Per a evitar que els usuaris sense permisos d'administració facin canvis "
191 #~ "feu clic a restringir."
192
193 #~ msgid ""
194 #~ "The text to display when the user cannot obtain authorization through "
195 #~ "authentication."
196 #~ msgstr ""
197 #~ "El text que es mostrarà a l'usuari quan no pugui obtenir l'autorització "
198 #~ "tot i autenticar-se."
199
200 #~ msgid "Not authorized to make changes"
201 #~ msgstr "No esteu autoritzat a fer canvis"
202
203 #~ msgid ""
204 #~ "The tooltip to display when the user cannot obtain authorization through "
205 #~ "authentication."
206 #~ msgstr ""
207 #~ "L'indicador de funció que es mostrarà a l'usuari quan no pugui obtenir "
208 #~ "l'autorització tot i autenticar-se."
209
210 #~ msgid "System policy prevents changes. Contact your system administator."
211 #~ msgstr ""
212 #~ "La política del sistema impedeix fer canvis. Contacteu amb "
213 #~ "l'administrador del sistema."
245214
246215 #~ msgid ""
247216 #~ "This button is locked down so only users with administrative privileges "
250219 #~ "Aquest botó està restringit de manera que només els usuaris amb permisos "
251220 #~ "d'administració poden desbloquejar-lo. Feu clic amb el botó secundari per "
252221 #~ "a suprimir la restricció."
222
223 #~ msgid "Click the icon to drop all elevated privileges"
224 #~ msgstr "Feu clic a la icona per a treure tots els privilegis"
225
226 #~ msgid "PolicyKit Authentication Agent"
227 #~ msgstr "Agent d'autenticació del PolicyKit"
253228
254229 #~ msgid "Authorizations"
255230 #~ msgstr "Autoritzacions"
99 msgstr ""
1010 "Project-Id-Version: policykit-gnome\n"
1111 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
12 "product=policykit-gnome&component=general\n"
13 "POT-Creation-Date: 2011-03-03 18:50+0000\n"
14 "PO-Revision-Date: 2011-03-12 13:15+0100\n"
12 "product=policykit-gnome&keywords=I18N+L10N&component=general\n"
13 "POT-Creation-Date: 2011-08-30 15:24+0000\n"
14 "PO-Revision-Date: 2011-09-09 11:17+0200\n"
1515 "Last-Translator: Marek Černocký <marek@manet.cz>\n"
1616 "Language-Team: Czech <gnome-cs-list@gnome.org>\n"
1717 "MIME-Version: 1.0\n"
18 "Language: cs\n"
1918 "Content-Type: text/plain; charset=UTF-8\n"
2019 "Content-Transfer-Encoding: 8bit\n"
20 "Language: cs\n"
2121 "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
2222 "X-Generator: Lokalize 1.0\n"
2323
248248 msgstr "Selhání ověření"
249249
250250 #: ../src/polkitgnomelistener.c:164
251 msgid "Authentation dialog was dismissed by the user"
252 msgstr "Dialogové okno ověření bylo uživatelem odmítnuto"
253
254 #~ msgid ""
255 #~ "This button is locked down so only users with administrative privileges "
256 #~ "can unlock it. Right-click the button to remove the lock down."
257 #~ msgstr ""
258 #~ "Toto tlačítko je uzamknuto, takže jej mohou odemknout pouze uživatelé s "
259 #~ "oprávněním správce. Uzamknutí odstraníte kliknutím pravým tlačítkem myši "
260 #~ "na tlačítko."
261
262 #~ msgid "Click the icon to drop all elevated privileges"
263 #~ msgstr "Kliknutím na ikonu zrušíte zvýšená oprávnění"
264
265 #~ msgid "PolicyKit Authentication Agent"
266 #~ msgstr "Ověřovací agent PolicyKit"
267
268 #~ msgid "Authorizations"
269 #~ msgstr "Oprávnění"
270
271 #~ msgid "Configure authorizations"
272 #~ msgstr "Nastavit oprávnění"
273
274 #~ msgid ""
275 #~ "A list of PolicyKit action where the \"retain authorization\" checkbox "
276 #~ "isn't checked by default; this list is maintained by the authentication "
277 #~ "dialog code itself. For example, if a user unchecks the \"retain "
278 #~ "authorization\" check box for an action and successfully obtains an "
279 #~ "authorization for the action, the action will be added to this list."
280 #~ msgstr ""
281 #~ "Seznam akcí PolicyKit, u kterých není zaškrtávací políčko \"zachovat "
282 #~ "oprávnění\" standardně zaškrtnuto; tento seznam se udržuje sám přes "
283 #~ "ověřovací okno. Například, pokud uživatel odškrtne zaškrtávací políčko "
284 #~ "\"zachovat oprávnění\" pro akci a pak k ní toto oprávnění úspěšně získá, "
285 #~ "bude akce přidána do tohoto seznamu."
286
287 #~ msgid ""
288 #~ "A list of actions where the \"retain authorization\" checkbox isn't "
289 #~ "checked by default"
290 #~ msgstr ""
291 #~ "Seznam akcí, u kterých není zaškrtávací políčko \"zachovat oprávnění\" "
292 #~ "standardně zaškrtnuto"
293
294 #~ msgid ""
295 #~ "If set to true, the authentication dialog from PolicyKit-gnome will grab "
296 #~ "the keyboard, so that you will not be able to type in other programs "
297 #~ "while the dialog is active. Use this if your window manager does not "
298 #~ "focus the authentication dialog automatically, and you want to avoid "
299 #~ "accidentally typing passwords in other programs."
300 #~ msgstr ""
301 #~ "Pokud nastavíte na hodnotu PRAVDA, ověřovací okno PolicyKit-gnome "
302 #~ "převezme klávesnici, takže nebudete moci psát v jiných programech, dokud "
303 #~ "bude okno aktivní. Toto použijte, pokud váš správce oken automaticky "
304 #~ "nezaregistruje ověřovací okno a chcete se vyhnout nechtěnému psaní hesla "
305 #~ "do jiných programů."
306
307 #~ msgid ""
308 #~ "If set to true, then \"retain authorization\" check box (if present) is "
309 #~ "checked by default in the authentication dialog unless the action is "
310 #~ "mentioned in the \"/desktop/gnome/policykit/"
311 #~ "auth_dialog_retain_authorization_blacklist\" key."
312 #~ msgstr ""
313 #~ "Pokud nastavíte na hodnotu PRAVDA, pak je zaškrtávací políčko \"zachovat "
314 #~ "oprávnění\" (pokud je přítomno) v ověřovacím okně standardně zaškrtnuto, "
315 #~ "pokud ne, akce je uvedena v klíči \"/desktop/gnome/policykit/"
316 #~ "auth_dialog_retain_authorization_blacklist\"."
317
318 #~ msgid "Whether the authentication dialog should grab the keyboard"
319 #~ msgstr "Jestli má ověřovací okno převzít klávesnici"
320
321 #~ msgid "Whether the retain authorization check box is checked by default"
322 #~ msgstr ""
323 #~ "Jestli je zaškrtávací políčko \"zachovat oprávnění\" standardně zaškrtnuto"
324
325 #~ msgid "Copyright © 2007 David Zeuthen"
326 #~ msgstr "Copyright © 2007 David Zeuthen"
327
328 #~ msgid "PolicyKit-gnome Website"
329 #~ msgstr "Webová stránka PolicyKit-gnome"
330
331 #~ msgid "PolicyKit-gnome demo"
332 #~ msgstr "Demo PolicyKit-gnome"
333
334 #~ msgid "PolicyKit for the GNOME desktop"
335 #~ msgstr "PolicyKit pro pracovní prostředí GNOME"
336
337 #~ msgid "_File"
338 #~ msgstr "_Soubor"
339
340 #~ msgid "_Actions"
341 #~ msgstr "_Akce"
342
343 #~ msgid "_Help"
344 #~ msgstr "_Nápověda"
345
346 #~ msgid "_Quit"
347 #~ msgstr "U_končit"
348
349 #~ msgid "Quit"
350 #~ msgstr "Ukončit"
351
352 #~ msgid "_About"
353 #~ msgstr "_O aplikaci"
354
355 #~ msgid "About"
356 #~ msgstr "O aplikaci"
357
358 #~ msgid ""
359 #~ "Making the helper <b>Frobnicate</b> requires the user to authenticate. "
360 #~ "The authorization is kept for the life time of the process"
361 #~ msgstr ""
362 #~ "Vytvoření pomocníka <b>Frobnicate</b> vyžaduje ověření uživatele. "
363 #~ "Oprávnění je zachováno po dobu trvání procesu"
364
365 #~ msgid ""
366 #~ "Making the helper <b>Jump</b> requires the user to authenticate. This is "
367 #~ "a one-shot authorization."
368 #~ msgstr ""
369 #~ "Vytvoření pomocníka <b>Přeskočit</b> vyžaduje ověření uživatele. Toto je "
370 #~ "jednorázové oprávnění."
371
372 #~ msgid "Jump!"
373 #~ msgstr "Přeskočit!"
374
375 #~ msgid ""
376 #~ "Making the helper <b>Tweak</b> requires a system administrator to "
377 #~ "authenticate. This instance overrides the defaults set in "
378 #~ "polkit_gnome_action_new()."
379 #~ msgstr ""
380 #~ "Vytvoření pomocníka <b>Přizpůsobit</b> vyžaduje ověření administrátora "
381 #~ "systému. Tato instance zruší výchozí nastavení v polkit_gnome_action_new"
382 #~ "()."
383
384 #~ msgid "Tweak!"
385 #~ msgstr "Přizpůsobit!"
386
387 #~ msgid "Tweak"
388 #~ msgstr "Přizpůsobit"
389
390 #~ msgid "Tweak (long)"
391 #~ msgstr "Přizpůsobit (dlouho)"
392
393 #~ msgid "If your admin wasn't annoying, you could do this"
394 #~ msgstr "Pokud nebyl váš administrátor proti, mohli byste tohle provádět"
395
396 #~ msgid "Tweak..."
397 #~ msgstr "Přizpůsobit..."
398
399 #~ msgid "Tweak... (long)"
400 #~ msgstr "Přizpůsobit... (dlouho)"
401
402 #~ msgid "Tweak! (long)"
403 #~ msgstr "Přizpůsobit! (dlouho)"
404
405 #~ msgid "Go ahead, tweak tweak tweak!"
406 #~ msgstr "Pokračujte a přizpůsobujte!"
407
408 #~ msgid ""
409 #~ "Making the helper <b>Twiddle</b> requires a system administrator to "
410 #~ "authenticate. Once authenticated, this privilege can be retained "
411 #~ "indefinitely."
412 #~ msgstr ""
413 #~ "Vytvoření pomocníka <b>Twiddle</b> vyžaduje ověření administrátora "
414 #~ "systému. Jakmile je ověřen, toto oprávnění může být zachováno natrvalo."
415
416 #~ msgid ""
417 #~ "Making the helper <b>Punch</b> requires the user to authenticate. Once "
418 #~ "authenticated, this privilege can be retained for the remainder of the "
419 #~ "desktop session."
420 #~ msgstr ""
421 #~ "Vytvoření pomocníka <b>Punch</b> vyžaduje ověření uživatele. Jakmile je "
422 #~ "ověřen, toto oprávnění může být zachováno po zbytek sezení."
423
424 #~ msgid ""
425 #~ "The <b>Toggle</b> action demonstrates the use of PolicyKit to drive a "
426 #~ "GtkToggleButton; it's an intuitive way to ask users to give up "
427 #~ "authorizations when they are done with them. E.g. the button is 'pressed "
428 #~ "in' exactlywhen the authorization is held. Toggling the button means "
429 #~ "obtaining resp. revoking the authorization in question."
430 #~ msgstr ""
431 #~ "Akce <b>Přepnout</b> ukazuje použití PolicyKit při ovládání "
432 #~ "GtkToggleButton, je to intuitivní způsob požádání uživatele o zřeknutí se "
433 #~ "oprávnění, která už nepotřebuje. Např. tlačítko je \"stlačeno\" přesně ve "
434 #~ "chvíli, kdy už jsou oprávnění vlastněna. Přepnutí tlačítka znamená "
435 #~ "získání, popř. zrušení příslušného oprávnění."
436
437 #~ msgid ""
438 #~ "<i>Tip: try editing /etc/PolicyKit/Policy.conf and see the proxy widgets "
439 #~ "update in real-time.</i>."
440 #~ msgstr ""
441 #~ "<i>Tip: zkuste upravit /etc/PolicyKit/Policy.conf a podívat se na "
442 #~ "aktualizaci grafických pomůcek proxy v reálném čase.</i>."
443
444 #~ msgid "Jump"
445 #~ msgstr "Přeskočit"
446
447 #~ msgid "Toggle"
448 #~ msgstr "Přepnout"
449
450 #~ msgid "Authenticating..."
451 #~ msgstr "Ověřuje se..."
452
453 #~ msgid "Don't exit after 30 seconds of inactivity"
454 #~ msgstr "Neukončujte po 30 sekundách nečinnosti"
455
456 #~ msgid "PolicyKit GNOME session daemon"
457 #~ msgstr "Démon sezení PolicyKit GNOME"
458
459 #~ msgid "Starting PolicyKit GNOME session daemon version %s"
460 #~ msgstr "Spouští se démon sezení PolicyKit GNOME verze %s"
461
462 #~ msgid "_Remember authorization for this session"
463 #~ msgstr "_Pamatovat si oprávnění pro toto sezení"
464
465 #~ msgid "_Remember authorization"
466 #~ msgstr "_Pamatovat si oprávnění"
467
468 #~ msgid "For this _session only"
469 #~ msgstr "Jen pro toto _sezení"
470
471 #~ msgid "<small><b>Application:</b></small>"
472 #~ msgstr "<small><b>Aplikace:</b></small>"
473
474 #~ msgid "(unknown"
475 #~ msgstr "(neznámý"
476
477 #~ msgid "_Password for root:"
478 #~ msgstr "_Heslo root:"
479
480 #~ msgid "_Password or swipe finger for %s:"
481 #~ msgstr "_Heslo nebo otisk prstu pro %s:"
482
483 #~ msgid "_Password or swipe finger for root:"
484 #~ msgstr "_Heslo nebo otisk prstu pro root:"
485
486 #~ msgid "_Password or swipe finger:"
487 #~ msgstr "_Heslo nebo otisk prstu:"
488
489 #~ msgid "No"
490 #~ msgstr "Ne"
491
492 #~ msgid "Admin Authentication (one shot)"
493 #~ msgstr "Administrátorské ověření (jednorázové)"
494
495 #~ msgid "Admin Authentication (keep session)"
496 #~ msgstr "Administrátorské ověření (jen pro toto sezení)"
497
498 #~ msgid "Admin Authentication (keep indefinitely)"
499 #~ msgstr "Administrátorské ověření (zachovat natrvalo)"
500
501 #~ msgid "Authentication (one shot)"
502 #~ msgstr "Ověření (jednorázové)"
503
504 #~ msgid "Authentication (keep session)"
505 #~ msgstr "Ověření (jen pro toto sezení)"
506
507 #~ msgid "Authentication (keep indefinitely)"
508 #~ msgstr "Ověření (zachovat natrvalo)"
509
510 #~ msgid "Yes"
511 #~ msgstr "Ano"
512
513 #~ msgid ", "
514 #~ msgstr ", "
515
516 #~ msgid "Must be on console"
517 #~ msgstr "Musí být v konzole"
518
519 #~ msgid "Must be in active session"
520 #~ msgstr "Musí být v aktivním sezení"
521
522 #~ msgid "Must be program %s"
523 #~ msgstr "Jen pokud jde o program %s"
524
525 #~ msgid "Must be SELinux Context %s"
526 #~ msgstr "Jen pokud jde o kontext SELinux %s"
527
528 #~ msgid "A moment ago"
529 #~ msgstr "Před chvílí"
530
531 #~ msgid "1 minute ago"
532 #~ msgstr "Před 1 min"
533
534 #~ msgid "%d minutes ago"
535 #~ msgstr "Před %d min"
536
537 #~ msgid "1 hour ago"
538 #~ msgstr "Před 1 hodinou"
539
540 #~ msgid "%d hours ago"
541 #~ msgstr "Před %d hod."
542
543 #~ msgid "1 day ago"
544 #~ msgstr "Před 1 dnem"
545
546 #~ msgid "%d days ago"
547 #~ msgstr "Před %d dny"
548
549 #~ msgid "Auth as %s (uid %d)"
550 #~ msgstr "Ověření jako %s (uid %d)"
551
552 #~ msgid "Auth as uid %d"
553 #~ msgstr "Ověření jako uid %d"
554
555 #~ msgid "Blocked by %s (uid %d)"
556 #~ msgstr "Blokováno od %s (uid %d)"
557
558 #~ msgid "Blocked by uid %d"
559 #~ msgstr "Blokováno od uid %d"
560
561 #~ msgid "Granted by %s (uid %d)"
562 #~ msgstr "Uděleno od %s (uid %d)"
563
564 #~ msgid "Granted by uid %d"
565 #~ msgstr "Uděleno od uid %d"
566
567 #~ msgid "Single shot pid %d (%s)"
568 #~ msgstr "Jednorázové pid %d (%s)"
569
570 #~ msgid "pid %d (%s)"
571 #~ msgstr "pid %d (%s)"
572
573 #~ msgid "This session"
574 #~ msgstr "Toto sezení"
575
576 #~ msgid "Always"
577 #~ msgstr "Vždy"
578
579 #~ msgid "None"
580 #~ msgstr "Žádné"
581
582 #~ msgid "Grant Negative Authorization"
583 #~ msgstr "Udělit záporné oprávnění"
584
585 #~ msgid "Grant Authorization"
586 #~ msgstr "Udělit oprávnění"
587
588 #~ msgid ""
589 #~ "<b><big>Granting a negative authorization for the <i>%s</i> action "
590 #~ "requires more information</big></b>"
591 #~ msgstr ""
592 #~ "<b><big>K udělení záporného oprávnění pro akci <i>%s</i> je potřeba více "
593 #~ "informací</big></b>"
594
595 #~ msgid ""
596 #~ "<b><big>Granting an authorization for the <i>%s</i> action requires more "
597 #~ "information</big></b>"
598 #~ msgstr ""
599 #~ "<b><big>K udělení oprávnění pro akci <i>%s</i> je potřeba více informací</"
600 #~ "big></b>"
601
602 #~ msgid ""
603 #~ "Select the user to block for the action and, optionally, any constraints "
604 #~ "on the negative authorization that you are about to grant."
605 #~ msgstr ""
606 #~ "Vyberte uživatele, kterého chcete blokovat pro akci a volitelně nějaká "
607 #~ "omezení při záporném oprávnění, které se chystáte udělit."
608
609 #~ msgid ""
610 #~ "Select the beneficiary and, optionally, how to constrain the "
611 #~ "authorization that you are about to grant."
612 #~ msgstr ""
613 #~ "Vyberte příjemce a volitelně způsob omezení oprávnění, které se chystáte "
614 #~ "udělit."
615
616 #~ msgid "<b>Beneficiary</b>"
617 #~ msgstr "<b>Příjemce</b>"
618
619 #~ msgid "Select the user that will receive the negative authorization."
620 #~ msgstr "Vyberte uživatele, který dostane záporné oprávnění."
621
622 #~ msgid "Select the user that will receive the authorization."
623 #~ msgstr "Vyberte uživatele, který dostane oprávnění."
624
625 #~ msgid "_Show system users"
626 #~ msgstr "_Zobrazit uživatele systému"
627
628 #~ msgid "<b>Constraints</b>"
629 #~ msgstr "<b>Omezení</b>"
630
631 #~ msgid ""
632 #~ "Constraints limits the authorization such that it only applies under "
633 #~ "certain circumstances."
634 #~ msgstr ""
635 #~ "Hranice omezení oprávnění taková, že se použije jen za určitých okolností."
636
637 #~ msgid "_None"
638 #~ msgstr "Žád_né"
639
640 #~ msgid "Must be _in active session"
641 #~ msgstr "Musí být v akt_ivním sezení"
642
643 #~ msgid "Must be on _local console"
644 #~ msgstr "Musí být v místní konzo_le"
645
646 #~ msgid "Must be in _active session on local console"
647 #~ msgstr "Musí být v _aktivním sezení v místní konzole"
648
649 #~ msgid "_Block..."
650 #~ msgstr "_Blokovat..."
651
652 #~ msgid "_Grant..."
653 #~ msgstr "_Udělit..."
654
655 #~ msgid "Edit Implicit Authorizations"
656 #~ msgstr "Upravte implicitní oprávnění"
657
658 #~ msgid "<b><big>Choose new implicit authorizations</big></b>"
659 #~ msgstr "<b><big>Zvolte nová implicitní oprávnění</big></b>"
660
661 #~ msgid ""
662 #~ "Implicit authorizations are authorizations that are granted automatically "
663 #~ "to users under certain circumstances. Choose what is required for the "
664 #~ "action <i>%s</i>."
665 #~ msgstr ""
666 #~ "Implicitní oprávnění jsou oprávnění, která jsou uživatelům automaticky "
667 #~ "udělena za určitých okolností. Zvolte, co je vyžadováno pro akci <i>%s</"
668 #~ "i>."
669
670 #~ msgid "<i>Anyone:</i>"
671 #~ msgstr "<i>Kdokoliv:</i>"
672
673 #~ msgid "<i>Console:</i>"
674 #~ msgstr "<i>Konzola:</i>"
675
676 #~ msgid "<i>Active Console:</i>"
677 #~ msgstr "<i>Aktivní konzola:</i>"
678
679 #~ msgid "_Modify..."
680 #~ msgstr "_Změnit..."
681
682 #~ msgid "<b>Action</b>"
683 #~ msgstr "<b>Akce</b>"
684
685 #~ msgid "<i>Description:</i>"
686 #~ msgstr "<i>Popis:</i>"
687
688 #~ msgid "<i>Vendor:</i>"
689 #~ msgstr "<i>Dodavatel:</i>"
690
691 #~ msgid "<b>Implicit Authorizations</b>"
692 #~ msgstr "<b>Implicitní oprávnění</b>"
693
694 #~ msgid ""
695 #~ "Implicit authorizations are authorizations automatically given to users "
696 #~ "based on certain criteria such as if they are on the local console."
697 #~ msgstr ""
698 #~ "Implicitní oprávnění jsou oprávnění, která jsou uživatelům automaticky "
699 #~ "udělena na základě určitých kritérií, jako např. zda jsou v místní "
700 #~ "konzole."
701
702 #~ msgid "_Edit..."
703 #~ msgstr "U_pravit..."
704
705 #~ msgid "Revert To _Defaults..."
706 #~ msgstr "Obnovit výchozí ho_dnoty..."
707
708 #~ msgid "<b>Explicit Authorizations</b>"
709 #~ msgstr "<b>Explicitní oprávnění</b>"
710
711 #~ msgid ""
712 #~ "This list displays authorizations that are either obtained through "
713 #~ "authentication or specifically given to the entity in question. Blocked "
714 #~ "authorizations are marked with a STOP sign."
715 #~ msgstr ""
716 #~ "Tento seznam zobrazuje oprávnění, která jsou buď získána přes ověření, "
717 #~ "nebo specificky udělena příslušnému subjektu. Blokovaná oprávnění jsou "
718 #~ "označena znakem STOP."
719
720 #~ msgid "Entity"
721 #~ msgstr "Subjekt"
722
723 #~ msgid "Scope"
724 #~ msgstr "Rozsah"
725
726 #~ msgid "How"
727 #~ msgstr "Jak"
728
729 #~ msgid "Constraints"
730 #~ msgstr "Omezení"
731
732 #~ msgid "_Revoke"
733 #~ msgstr "_Zrušit"
734
735 #~ msgid "_Revoke..."
736 #~ msgstr "_Zrušit..."
737
738 #~ msgid "_Show authorizations from all users..."
739 #~ msgstr "_Zobrazit oprávnění všech uživatelů..."
740
741 #~ msgid "_Show authorizations from all users"
742 #~ msgstr "_Zobrazit oprávnění všech uživatelů"
743
744 #~ msgid "Select an action"
745 #~ msgstr "Vyberte akci"
251 msgid "Authentication dialog was dismissed by the user"
252 msgstr "Dialogové okno ověření bylo uživatelem odmítnuto"
55 # # authenticate -
66 # #
77 # Denis Washington <denisw@svn.gnome.org>, 2008.
8 # Mario Blättermann <mariobl@freenet.de>, 2009.
8 # Mario Blättermann <mariobl@freenet.de>, 2009, 2011.
99 # Christian Kirbach <Christian.Kirbach@googlemail.com>, 2009.
1010 # Paul Seyfert <pseyfert@mathphys.fsk.uni-heidelberg.de>, 2011.
1111 #
1414 "Project-Id-Version: policykit-gnome\n"
1515 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
1616 "product=policykit-gnome&keywords=I18N+L10N&component=general\n"
17 "POT-Creation-Date: 2011-04-02 11:22+0000\n"
18 "PO-Revision-Date: 2011-04-03 12:45+0200\n"
19 "Last-Translator: Paul Seyfert <pseyfert@mathphys.fsk.uni-heidelberg.de>\n"
17 "POT-Creation-Date: 2011-08-30 15:24+0000\n"
18 "PO-Revision-Date: 2011-09-05 19:46+0100\n"
19 "Last-Translator: Mario Blättermann <mariobl@freenet.de>\n"
2020 "Language-Team: German <gnome-de@gnome.org>\n"
2121 "MIME-Version: 1.0\n"
2222 "Content-Type: text/plain; charset=UTF-8\n"
133133
134134 #: ../polkitgtk/polkitlockbutton.c:610
135135 msgid ""
136 "To prevent users without administrative privileges from making changes, "
137 "click the lock."
136 "To prevent users without administrative privileges from making changes, click "
137 "the lock."
138138 msgstr ""
139139 "Klicken Sie auf das Schloss, um zu verhindern, dass Benutzer ohne "
140140 "administrative Rechte Änderungen durchführen können."
144144 "The text to display when the user cannot obtain authorization through "
145145 "authentication."
146146 msgstr ""
147 "Der Anzeigetext, wenn ein Benutzer keine Legitimation durch "
148 "Authentifizierung erlangen kann."
147 "Der Anzeigetext, wenn ein Benutzer keine Legitimation durch Authentifizierung "
148 "erlangen kann."
149149
150150 #: ../polkitgtk/polkitlockbutton.c:627
151151 msgid "Not authorized to make changes"
246246 msgstr "Legitimation gescheitert"
247247
248248 #: ../src/polkitgnomelistener.c:164
249 msgid "Authentation dialog was dismissed by the user"
250 msgstr "Authentifizierungsdialog wurde vom Nutzer geschlossen"
249 msgid "Authentication dialog was dismissed by the user"
250 msgstr "Legitimierungsdialog wurde vom Nutzer geschlossen"
251251
252252 #~ msgid ""
253253 #~ "This button is locked down so only users with administrative privileges "
271271
272272 #~ msgid ""
273273 #~ "If set to true, the authentication dialog from PolicyKit-gnome will grab "
274 #~ "the keyboard, so that you will not be able to type in other programs "
275 #~ "while the dialog is active. Use this if your window manager does not "
276 #~ "focus the authentication dialog automatically, and you want to avoid "
277 #~ "accidentally typing passwords in other programs."
274 #~ "the keyboard, so that you will not be able to type in other programs while "
275 #~ "the dialog is active. Use this if your window manager does not focus the "
276 #~ "authentication dialog automatically, and you want to avoid accidentally "
277 #~ "typing passwords in other programs."
278278 #~ msgstr ""
279279 #~ "Ist dies auf wahr gesetzt, zieht der Legitimationsdialog Tastatureingaben "
280280 #~ "auf sich, sodass es nicht möglich ist, in anderen Programmen zu tippen, "
465465 #~ "<b><big>Granting a negative authorization for the <i>%s</i> action "
466466 #~ "requires more information</big></b>"
467467 #~ msgstr ""
468 #~ "<b><big>Das Verweigern des Zugriffs auf die Aktion <i>%s</i> efordert "
469 #~ "mehr Informationen</big></b>"
468 #~ "<b><big>Das Verweigern des Zugriffs auf die Aktion <i>%s</i> efordert mehr "
469 #~ "Informationen</big></b>"
470470
471471 #~ msgid ""
472472 #~ "<b><big>Granting an authorization for the <i>%s</i> action requires more "
484484 #~ "gelten sollen."
485485
486486 #~ msgid ""
487 #~ "Select the beneficiary and, optionally, how to constrain the "
488 #~ "authorization that you are about to grant."
489 #~ msgstr ""
490 #~ "Wählen Sie den durch die Zugriffsgewährung Begünstigten und, optional, "
491 #~ "wie die Gewährung eingeschränkt werden soll."
487 #~ "Select the beneficiary and, optionally, how to constrain the authorization "
488 #~ "that you are about to grant."
489 #~ msgstr ""
490 #~ "Wählen Sie den durch die Zugriffsgewährung Begünstigten und, optional, wie "
491 #~ "die Gewährung eingeschränkt werden soll."
492492
493493 #~ msgid "<b>Beneficiary</b>"
494494 #~ msgstr "<b>Begünstigter:</b>"
543543 #~ "action <i>%s</i>."
544544 #~ msgstr ""
545545 #~ "Implizite Berechtigungen sind Berechtigungen, die unter bestimmten "
546 #~ "Umständen an alle Benutzer vergeben werden. Wählen Sie, was für die "
547 #~ "Aktion <i>%s</i> nötig ist."
546 #~ "Umständen an alle Benutzer vergeben werden. Wählen Sie, was für die Aktion "
547 #~ "<i>%s</i> nötig ist."
548548
549549 #~ msgid "<i>Anyone:</i>"
550550 #~ msgstr "<i>Jeder:</i>"
574574 #~ "Implicit authorizations are authorizations automatically given to users "
575575 #~ "based on certain criteria such as if they are on the local console."
576576 #~ msgstr ""
577 #~ "Implizite Berechtigungen sind Berechtigungen, die basierend auf "
578 #~ "bestimmten Kriterien automatisch an Benutzer vergeben werden, "
579 #~ "beispielsweise ob sie an der lokalen Konsole sind."
577 #~ "Implizite Berechtigungen sind Berechtigungen, die basierend auf bestimmten "
578 #~ "Kriterien automatisch an Benutzer vergeben werden, beispielsweise ob sie "
579 #~ "an der lokalen Konsole sind."
580580
581581 #~ msgid "_Edit..."
582582 #~ msgstr "_Bearbeiten …"
1010 msgstr ""
1111 "Project-Id-Version: policykit-gnome.HEAD\n"
1212 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
13 "product=policykit-gnome&component=general\n"
14 "POT-Creation-Date: 2011-03-03 18:50+0000\n"
15 "PO-Revision-Date: 2011-03-04 10:08+0100\n"
13 "product=policykit-gnome&keywords=I18N+L10N&component=general\n"
14 "POT-Creation-Date: 2011-08-30 15:24+0000\n"
15 "PO-Revision-Date: 2011-08-30 17:34+0200\n"
1616 "Last-Translator: Daniel Mustieles <daniel.mustieles@gmail.com>\n"
1717 "Language-Team: Español <gnome-es-list@gnome.org>\n"
1818 "MIME-Version: 1.0\n"
244244 msgstr "Fallo de autenticación"
245245
246246 #: ../src/polkitgnomelistener.c:164
247 msgid "Authentation dialog was dismissed by the user"
247 #| msgid "Authentation dialog was dismissed by the user"
248 msgid "Authentication dialog was dismissed by the user"
248249 msgstr "El usuario rechazó el diálogo de autenticación"
249250
250251 #~ msgid ""
+148
-173
po/eu.po less more
11 # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
22 # This file is distributed under the same license as the PACKAGE package.
33 #
4 # Iñaki Larrañaga Murgoitio <dooteo@euskalgnu.org>, 2009.
4 # Iñaki Larrañaga Murgoitio <dooteo@euskalgnu.org>, 2009, 2011.
55 msgid ""
66 msgstr ""
77 "Project-Id-Version: eu\n"
88 "Report-Msgid-Bugs-To: \n"
9 "POT-Creation-Date: 2009-09-14 10:20+0200\n"
10 "PO-Revision-Date: 2009-09-14 10:33+0200\n"
9 "POT-Creation-Date: 2011-09-26 16:02+0200\n"
10 "PO-Revision-Date: 2011-09-26 16:01+0200\n"
1111 "Last-Translator: Iñaki Larrañaga Murgoitio <dooteo@euskalgnu.org>\n"
1212 "Language-Team: Basque <itzulpena@euskalgnu.org>\n"
13 "Language: eu\n"
1314 "MIME-Version: 1.0\n"
1415 "Content-Type: text/plain; charset=UTF-8\n"
1516 "Content-Transfer-Encoding: 8bit\n"
16 "X-Generator: KBabel 1.11.4\n"
17 "X-Generator: Lokalize 1.0\n"
1718 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
19 #: ../polkitgtk/polkitlockbutton.c:460
20 msgid "Action Identifier"
21 msgstr "Ekintzaren identifikatzailea"
22
23 #: ../polkitgtk/polkitlockbutton.c:461
24 msgid "The action identifier to use for the button"
25 msgstr "Ekintzaren identifikatzailea botoian erabiltzeko"
26
27 #: ../polkitgtk/polkitlockbutton.c:477
28 msgid "Is Authorized"
29 msgstr "Baimenduta dago"
30
31 #: ../polkitgtk/polkitlockbutton.c:478
32 msgid "Whether the process is authorized"
33 msgstr "Prozesua baimenduta dagoen edo ez"
34
35 #: ../polkitgtk/polkitlockbutton.c:493
36 msgid "Is Visible"
37 msgstr "Ikusgai dago"
38
39 #: ../polkitgtk/polkitlockbutton.c:494
40 msgid "Whether the widget is visible"
41 msgstr "Trepeta ikusgai dagoen edo ez"
42
43 #: ../polkitgtk/polkitlockbutton.c:509
44 msgid "Can Obtain"
45 msgstr "Lor daiteke"
46
47 #: ../polkitgtk/polkitlockbutton.c:510
48 msgid "Whether authorization can be obtained"
49 msgstr "Baimena lor daitekeen edo ez"
50
51 #: ../polkitgtk/polkitlockbutton.c:525 ../polkitgtk/polkitlockbutton.c:627
52 msgid "Unlock Text"
53 msgstr "Desblokeatze-testua"
54
55 #: ../polkitgtk/polkitlockbutton.c:526
56 msgid "The text to display when prompting the user to unlock."
57 msgstr "Bistaratuko den testua erabitzaileari desblokeatzeko galdetzean."
58
59 #: ../polkitgtk/polkitlockbutton.c:527
60 msgid "Click to make changes"
61 msgstr "Egin klik aldaketak burutzeko"
62
63 #: ../polkitgtk/polkitlockbutton.c:542 ../polkitgtk/polkitlockbutton.c:644
64 msgid "Unlock Tooltip"
65 msgstr "Desblokeatze-argibidea"
66
67 #: ../polkitgtk/polkitlockbutton.c:543
68 msgid "The tooltip to display when prompting the user to unlock."
69 msgstr "Bistaratuko den argibidea erabitzaileari desblokeatzeko galdetzean."
70
71 #: ../polkitgtk/polkitlockbutton.c:544
72 msgid "Authentication is needed to make changes."
73 msgstr "Autentifitzea behar da aldaketak egiteko."
74
75 #: ../polkitgtk/polkitlockbutton.c:559
76 msgid "Lock Text"
77 msgstr "Blokeatze-testua"
78
79 #: ../polkitgtk/polkitlockbutton.c:560
80 msgid "The text to display when prompting the user to lock."
81 msgstr "Bistaratuko den testua erabitzaileari blokeatzeko galdetzean."
82
83 #: ../polkitgtk/polkitlockbutton.c:561
84 msgid "Click to prevent changes"
85 msgstr "Egin klik aldaketak galarazteko"
86
87 #: ../polkitgtk/polkitlockbutton.c:576
88 msgid "Lock Tooltip"
89 msgstr "Blokeatze-argibidea"
90
91 #: ../polkitgtk/polkitlockbutton.c:577
92 msgid "The tooltip to display when prompting the user to lock."
93 msgstr "Bistaratuko den argibidea erabitzaileari blokeatzeko galdetzean."
94
95 #: ../polkitgtk/polkitlockbutton.c:578
96 msgid "To prevent further changes, click the lock."
97 msgstr "Aldaketa gehiago saihesteko, egin klik blokeoan."
98
99 #: ../polkitgtk/polkitlockbutton.c:593
100 msgid "Lock Down Text"
101 msgstr "Blokeatze-testua"
102
103 #: ../polkitgtk/polkitlockbutton.c:594
104 msgid ""
105 "The text to display when prompting the user to lock down the action for all "
106 "users."
107 msgstr "Bistaratuko den testua erabiltzaile guztientzako ekintza blokeatzeko galdetzean erabitzaileari."
108
109 #: ../polkitgtk/polkitlockbutton.c:595
110 msgid "Click to lock down"
111 msgstr "Egin klik blokeatzeko"
112
113 #: ../polkitgtk/polkitlockbutton.c:610
114 msgid "Lock Down Tooltip"
115 msgstr "Blokeatze-argibidea"
116
117 #: ../polkitgtk/polkitlockbutton.c:611
118 msgid ""
119 "The tooltip to display when prompting the user to lock down the action for "
120 "all users."
121 msgstr "Bistaratuko den testua erabiltzaile guztientzako ekintza blokeatzeko galdetzean erabitzaileari."
122
123 #: ../polkitgtk/polkitlockbutton.c:612
124 msgid ""
125 "To prevent users without administrative privileges from making changes, "
126 "click the lock."
127 msgstr ""
128 "Egin klik blokeoan administratzailearen pribilegiorik ez dituzten erabiltzaileek aldaketak "
129 "egitea saihesteko."
130
131 #: ../polkitgtk/polkitlockbutton.c:628
132 msgid ""
133 "The text to display when the user cannot obtain authorization through "
134 "authentication."
135 msgstr ""
136 "Bistaratuko den testua erabiltzaileak ezin duenean baimenik lortu "
137 "autentifikazioaren bidez."
138
139 #: ../polkitgtk/polkitlockbutton.c:629
140 msgid "Not authorized to make changes"
141 msgstr "Baimenik ez aldaketak egiteko"
142
143 #: ../polkitgtk/polkitlockbutton.c:645
144 msgid ""
145 "The tooltip to display when the user cannot obtain authorization through "
146 "authentication."
147 msgstr ""
148 "Bistaratuko den argibidea erabiltzaileak ezin duenean baimenik lortu "
149 "autentifikazioaren bidez."
150
151 #: ../polkitgtk/polkitlockbutton.c:646
152 msgid "System policy prevents changes. Contact your system administator."
153 msgstr "Sistemako arauek aldaketa saihesten dituzte. Jar zaitez administratzailearekin harremanetan."
154
155 #. Translators: this string is appended to the tooltip if the action is
156 #. * currently locked down
157 #: ../polkitgtk/polkitlockbutton.c:767
158 msgid ""
159 "This button is locked down so only users with administrative privileges can "
160 "unlock it. Right-click the button to remove the lock down."
161 msgstr ""
162 "Botoi hau blokeatuta dago, eta administratzailearen pribilegioak dituzten "
163 "erabiltzaileek soilik desblokea dezakete. Egin klik saguaren eskuineko botoiarekin "
164 "blokeoa kentzeko."
165
166 #: ../src/main.c:128
167 msgid "Click the icon to drop all elevated privileges"
168 msgstr "Egin klik ikonoan lortutako lehentasun guztiak jaregiteko"
16919
17020 #: ../src/polkitgnomeauthenticationdialog.c:159
17121 msgid "Select user..."
17626 msgid "%s (%s)"
17727 msgstr "%s (%s)"
17828
179 #: ../src/polkitgnomeauthenticationdialog.c:529
29 #: ../src/polkitgnomeauthenticationdialog.c:537
18030 msgid "_Authenticate"
18131 msgstr "_Autentifikatu"
18232
183 #: ../src/polkitgnomeauthenticationdialog.c:566
33 #: ../src/polkitgnomeauthenticationdialog.c:576
18434 msgid ""
18535 "An application is attempting to perform an action that requires privileges. "
18636 "Authentication as one of the users below is required to perform this action."
18939 "Ekintza hau lantzeko, azpiko erabiltzaileetako bat bezala autentifikatu "
19040 "behar da."
19141
192 #: ../src/polkitgnomeauthenticationdialog.c:574
42 #: ../src/polkitgnomeauthenticationdialog.c:584
19343 msgid ""
19444 "An application is attempting to perform an action that requires privileges. "
19545 "Authentication is required to perform this action."
19747 "Aplikazio bat baimena behar duen ekintza bat lantzen saiatzen ari da. "
19848 "Ekintza hau lantzeko, autentifikatu egin behar da."
19949
200 #: ../src/polkitgnomeauthenticationdialog.c:580
50 #: ../src/polkitgnomeauthenticationdialog.c:590
20151 msgid ""
20252 "An application is attempting to perform an action that requires privileges. "
20353 "Authentication as the super user is required to perform this action."
20555 "Aplikazio bat baimena behar duen ekintza bat lantzen saiatzen ari da. "
20656 "Ekintza hau lantzeko, supererabiltzaile gisa autentifikatu behar da."
20757
208 #: ../src/polkitgnomeauthenticationdialog.c:615
209 #: ../src/polkitgnomeauthenticator.c:289
58 #: ../src/polkitgnomeauthenticationdialog.c:625
59 #: ../src/polkitgnomeauthenticator.c:300
21060 msgid "_Password:"
21161 msgstr "_Pasahitza:"
21262
21363 #. Details
214 #: ../src/polkitgnomeauthenticationdialog.c:633
64 #: ../src/polkitgnomeauthenticationdialog.c:643
21565 msgid "<small><b>_Details</b></small>"
21666 msgstr "<small><b>_Xehetasunak</b></small>"
21767
218 #: ../src/polkitgnomeauthenticationdialog.c:686
68 #: ../src/polkitgnomeauthenticationdialog.c:699
21969 msgid "<small><b>Action:</b></small>"
22070 msgstr "<small><b>Ekintza:</b></small>"
22171
222 #: ../src/polkitgnomeauthenticationdialog.c:689
72 #: ../src/polkitgnomeauthenticationdialog.c:702
22373 #, c-format
22474 msgid "Click to edit %s"
22575 msgstr "Egin klik %s editatzeko"
22676
227 #: ../src/polkitgnomeauthenticationdialog.c:703
77 #: ../src/polkitgnomeauthenticationdialog.c:716
22878 msgid "<small><b>Vendor:</b></small>"
22979 msgstr "<small><b>Hornitzailea:</b></small>"
23080
231 #: ../src/polkitgnomeauthenticationdialog.c:705
81 #: ../src/polkitgnomeauthenticationdialog.c:718
23282 #, c-format
23383 msgid "Click to open %s"
23484 msgstr "Egin klik %s irekitzeko"
23585
236 #: ../src/polkitgnomeauthenticationdialog.c:868
86 #: ../src/polkitgnomeauthenticationdialog.c:881
23787 msgid "Authenticate"
23888 msgstr "Autentifikatu"
23989
240 #: ../src/polkitgnomeauthenticator.c:285
90 #: ../src/polkitgnomeauthenticator.c:296
24191 #, c-format
24292 msgid "_Password for %s:"
24393 msgstr "%s(r)en _pasahitza:"
24494
245 #: ../src/polkitgnomeauthenticator.c:445
95 #: ../src/polkitgnomeauthenticator.c:456
24696 msgid "Authentication Failure"
24797 msgstr "Autentifikazioak huts egin du"
24898
249 #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1
250 msgid "PolicyKit Authentication Agent"
251 msgstr "PolicyKit autentifikatzeko agentea"
252
99 #: ../src/polkitgnomelistener.c:164
100 msgid "Authentication dialog was dismissed by the user"
101 msgstr "Erabiltzaileak autentifikatzeko elkarrizketa-koadroa itxi du"
102
103 #~ msgid "Action Identifier"
104 #~ msgstr "Ekintzaren identifikatzailea"
105
106 #~ msgid "The action identifier to use for the button"
107 #~ msgstr "Ekintzaren identifikatzailea botoian erabiltzeko"
108
109 #~ msgid "Is Authorized"
110 #~ msgstr "Baimenduta dago"
111
112 #~ msgid "Whether the process is authorized"
113 #~ msgstr "Prozesua baimenduta dagoen edo ez"
114
115 #~ msgid "Is Visible"
116 #~ msgstr "Ikusgai dago"
117
118 #~ msgid "Whether the widget is visible"
119 #~ msgstr "Trepeta ikusgai dagoen edo ez"
120
121 #~ msgid "Can Obtain"
122 #~ msgstr "Lor daiteke"
123
124 #~ msgid "Whether authorization can be obtained"
125 #~ msgstr "Baimena lor daitekeen edo ez"
126
127 #~ msgid "Unlock Text"
128 #~ msgstr "Desblokeatze-testua"
129
130 #~ msgid "The text to display when prompting the user to unlock."
131 #~ msgstr "Bistaratuko den testua erabitzaileari desblokeatzeko galdetzean."
132
133 #~ msgid "Click to make changes"
134 #~ msgstr "Egin klik aldaketak burutzeko"
135
136 #~ msgid "Unlock Tooltip"
137 #~ msgstr "Desblokeatze-argibidea"
138
139 #~ msgid "The tooltip to display when prompting the user to unlock."
140 #~ msgstr "Bistaratuko den argibidea erabitzaileari desblokeatzeko galdetzean."
141
142 #~ msgid "Authentication is needed to make changes."
143 #~ msgstr "Autentifitzea behar da aldaketak egiteko."
144
145 #~ msgid "Lock Text"
146 #~ msgstr "Blokeatze-testua"
147
148 #~ msgid "The text to display when prompting the user to lock."
149 #~ msgstr "Bistaratuko den testua erabitzaileari blokeatzeko galdetzean."
150
151 #~ msgid "Click to prevent changes"
152 #~ msgstr "Egin klik aldaketak galarazteko"
153
154 #~ msgid "Lock Tooltip"
155 #~ msgstr "Blokeatze-argibidea"
156
157 #~ msgid "The tooltip to display when prompting the user to lock."
158 #~ msgstr "Bistaratuko den argibidea erabitzaileari blokeatzeko galdetzean."
159
160 #~ msgid "To prevent further changes, click the lock."
161 #~ msgstr "Aldaketa gehiago saihesteko, egin klik blokeoan."
162
163 #~ msgid "Lock Down Text"
164 #~ msgstr "Blokeatze-testua"
165
166 #~ msgid ""
167 #~ "The text to display when prompting the user to lock down the action for "
168 #~ "all users."
169 #~ msgstr ""
170 #~ "Bistaratuko den testua erabiltzaile guztientzako ekintza blokeatzeko "
171 #~ "galdetzean erabitzaileari."
172
173 #~ msgid "Click to lock down"
174 #~ msgstr "Egin klik blokeatzeko"
175
176 #~ msgid "Lock Down Tooltip"
177 #~ msgstr "Blokeatze-argibidea"
178
179 #~ msgid ""
180 #~ "The tooltip to display when prompting the user to lock down the action "
181 #~ "for all users."
182 #~ msgstr ""
183 #~ "Bistaratuko den testua erabiltzaile guztientzako ekintza blokeatzeko "
184 #~ "galdetzean erabitzaileari."
185
186 #~ msgid ""
187 #~ "To prevent users without administrative privileges from making changes, "
188 #~ "click the lock."
189 #~ msgstr ""
190 #~ "Egin klik blokeoan administratzailearen pribilegiorik ez dituzten "
191 #~ "erabiltzaileek aldaketak egitea saihesteko."
192
193 #~ msgid ""
194 #~ "The text to display when the user cannot obtain authorization through "
195 #~ "authentication."
196 #~ msgstr ""
197 #~ "Bistaratuko den testua erabiltzaileak ezin duenean baimenik lortu "
198 #~ "autentifikazioaren bidez."
199
200 #~ msgid "Not authorized to make changes"
201 #~ msgstr "Baimenik ez aldaketak egiteko"
202
203 #~ msgid ""
204 #~ "The tooltip to display when the user cannot obtain authorization through "
205 #~ "authentication."
206 #~ msgstr ""
207 #~ "Bistaratuko den argibidea erabiltzaileak ezin duenean baimenik lortu "
208 #~ "autentifikazioaren bidez."
209
210 #~ msgid "System policy prevents changes. Contact your system administator."
211 #~ msgstr ""
212 #~ "Sistemako arauek aldaketa saihesten dituzte. Jar zaitez "
213 #~ "administratzailearekin harremanetan."
214
215 #~ msgid ""
216 #~ "This button is locked down so only users with administrative privileges "
217 #~ "can unlock it. Right-click the button to remove the lock down."
218 #~ msgstr ""
219 #~ "Botoi hau blokeatuta dago, eta administratzailearen pribilegioak dituzten "
220 #~ "erabiltzaileek soilik desblokea dezakete. Egin klik saguaren eskuineko "
221 #~ "botoiarekin blokeoa kentzeko."
222
223 #~ msgid "Click the icon to drop all elevated privileges"
224 #~ msgstr "Egin klik ikonoan lortutako lehentasun guztiak jaregiteko"
225
226 #~ msgid "PolicyKit Authentication Agent"
227 #~ msgstr "PolicyKit autentifikatzeko agentea"
00 # Galician translation for policykit-gnome.
11 # Copyright (C) 2009 policykit-gnome's COPYRIGHT HOLDER
22 # This file is distributed under the same license as the policykit-gnome package.
3 # Fran Diéguez <fran.dieguez@mabishu.com>, 2009.
3 # Fran Diéguez <frandieguez@gnome.org>, 2009, 2011.
44 #
55 msgid ""
66 msgstr ""
77 "Project-Id-Version: policykit-gnome master\n"
8 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
9 "product=policykit-gnome&component=general\n"
10 "POT-Creation-Date: 2010-02-27 12:57+0000\n"
11 "PO-Revision-Date: 2009-12-28 23:36+0100\n"
12 "Last-Translator: Fran Diéguez <fran.dieguez@glug.es>\n"
13 "Language-Team: Galician <gnome@mancomun.org>\n"
8 "Report-Msgid-Bugs-To: \n"
9 "POT-Creation-Date: 2011-08-28 17:41+0200\n"
10 "PO-Revision-Date: 2011-08-28 17:41+0200\n"
11 "Last-Translator: Fran Diéguez <frandieguez@gnome.org>\n"
12 "Language-Team: Galician <gnome-l10n-gl@gnome.org>\n"
13 "Language: gl\n"
1414 "MIME-Version: 1.0\n"
1515 "Content-Type: text/plain; charset=UTF-8\n"
1616 "Content-Transfer-Encoding: 8bit\n"
17
18 #: ../polkitgtk/polkitlockbutton.c:460
17 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
18
19 #: ../polkitgtk/polkitlockbutton.c:458
1920 msgid "Action Identifier"
2021 msgstr "Identificador de acción"
2122
22 #: ../polkitgtk/polkitlockbutton.c:461
23 #: ../polkitgtk/polkitlockbutton.c:459
2324 msgid "The action identifier to use for the button"
2425 msgstr "O identificador de acción a empregar para este botón"
2526
26 #: ../polkitgtk/polkitlockbutton.c:477
27 #: ../polkitgtk/polkitlockbutton.c:475
2728 msgid "Is Authorized"
2829 msgstr "Está autorizado"
2930
30 #: ../polkitgtk/polkitlockbutton.c:478
31 #: ../polkitgtk/polkitlockbutton.c:476
3132 msgid "Whether the process is authorized"
3233 msgstr "Indica se o proceso está autorizado"
3334
34 #: ../polkitgtk/polkitlockbutton.c:493
35 #: ../polkitgtk/polkitlockbutton.c:491
3536 msgid "Is Visible"
3637 msgstr "É visíbel"
3738
38 #: ../polkitgtk/polkitlockbutton.c:494
39 #: ../polkitgtk/polkitlockbutton.c:492
3940 msgid "Whether the widget is visible"
4041 msgstr "Indica se o widget é visíbel"
4142
42 #: ../polkitgtk/polkitlockbutton.c:509
43 #: ../polkitgtk/polkitlockbutton.c:507
4344 msgid "Can Obtain"
4445 msgstr "Pode obterse"
4546
46 #: ../polkitgtk/polkitlockbutton.c:510
47 #: ../polkitgtk/polkitlockbutton.c:508
4748 msgid "Whether authorization can be obtained"
4849 msgstr "Indica se se pode obter a autorización"
4950
50 #: ../polkitgtk/polkitlockbutton.c:525 ../polkitgtk/polkitlockbutton.c:627
51 #: ../polkitgtk/polkitlockbutton.c:523 ../polkitgtk/polkitlockbutton.c:625
5152 msgid "Unlock Text"
5253 msgstr "Desbloquear texto"
5354
54 #: ../polkitgtk/polkitlockbutton.c:526
55 #: ../polkitgtk/polkitlockbutton.c:524
5556 msgid "The text to display when prompting the user to unlock."
5657 msgstr "O texto a mostrar cando se pregunte ao usuario para desbloquear."
5758
58 #: ../polkitgtk/polkitlockbutton.c:527
59 #: ../polkitgtk/polkitlockbutton.c:525
5960 msgid "Click to make changes"
6061 msgstr "Faga clic para facer cambios"
6162
62 #: ../polkitgtk/polkitlockbutton.c:542 ../polkitgtk/polkitlockbutton.c:644
63 #: ../polkitgtk/polkitlockbutton.c:540 ../polkitgtk/polkitlockbutton.c:642
6364 msgid "Unlock Tooltip"
6465 msgstr "Desbloquear suxestión"
6566
66 #: ../polkitgtk/polkitlockbutton.c:543
67 #: ../polkitgtk/polkitlockbutton.c:541
6768 msgid "The tooltip to display when prompting the user to unlock."
6869 msgstr "A suxestión a mostrar cando se pregunte ao usuario para desbloquear."
6970
70 #: ../polkitgtk/polkitlockbutton.c:544
71 #: ../polkitgtk/polkitlockbutton.c:542
7172 msgid "Authentication is needed to make changes."
7273 msgstr "Requírese autenticarse para facer cambios."
7374
74 #: ../polkitgtk/polkitlockbutton.c:559
75 #: ../polkitgtk/polkitlockbutton.c:557
7576 msgid "Lock Text"
7677 msgstr "Texto de bloqueo"
7778
78 #: ../polkitgtk/polkitlockbutton.c:560
79 #: ../polkitgtk/polkitlockbutton.c:558
7980 msgid "The text to display when prompting the user to lock."
8081 msgstr "O texto a mostrar cando se pregunte ao usuario para bloquear."
8182
82 #: ../polkitgtk/polkitlockbutton.c:561
83 #: ../polkitgtk/polkitlockbutton.c:559
8384 msgid "Click to prevent changes"
8485 msgstr "Faga clic para evitar os cambios."
8586
86 #: ../polkitgtk/polkitlockbutton.c:576
87 #: ../polkitgtk/polkitlockbutton.c:574
8788 msgid "Lock Tooltip"
8889 msgstr "Suxestión de bloqueo"
8990
90 #: ../polkitgtk/polkitlockbutton.c:577
91 #: ../polkitgtk/polkitlockbutton.c:575
9192 msgid "The tooltip to display when prompting the user to lock."
9293 msgstr "A suxestión a mostrar cando se pregunte ao usuario para bloquear."
9394
94 #: ../polkitgtk/polkitlockbutton.c:578
95 #: ../polkitgtk/polkitlockbutton.c:576
9596 msgid "To prevent further changes, click the lock."
9697 msgstr "Para previr os seguintes cambios, prema en bloquear."
9798
98 #: ../polkitgtk/polkitlockbutton.c:593
99 #: ../polkitgtk/polkitlockbutton.c:591
99100 msgid "Lock Down Text"
100101 msgstr "Suxestión de bloqueo"
101102
102 #: ../polkitgtk/polkitlockbutton.c:594
103 #: ../polkitgtk/polkitlockbutton.c:592
103104 msgid ""
104105 "The text to display when prompting the user to lock down the action for all "
105106 "users."
107108 "O texto a mostrar cando se pregunte ao usuario para bloquear para todos os "
108109 "usuarios."
109110
110 #: ../polkitgtk/polkitlockbutton.c:595
111 #: ../polkitgtk/polkitlockbutton.c:593
111112 msgid "Click to lock down"
112113 msgstr "Faga clic para bloquear"
113114
114 #: ../polkitgtk/polkitlockbutton.c:610
115 #: ../polkitgtk/polkitlockbutton.c:608
115116 msgid "Lock Down Tooltip"
116117 msgstr "Suxestión de bloqueo"
117118
118 #: ../polkitgtk/polkitlockbutton.c:611
119 #: ../polkitgtk/polkitlockbutton.c:609
119120 msgid ""
120121 "The tooltip to display when prompting the user to lock down the action for "
121122 "all users."
123124 "A suxestión a mostrar cando se pregunte ao usuario para bloquear unha acción "
124125 "para todos os usuarios."
125126
126 #: ../polkitgtk/polkitlockbutton.c:612
127 #: ../polkitgtk/polkitlockbutton.c:610
127128 msgid ""
128129 "To prevent users without administrative privileges from making changes, "
129130 "click the lock."
131132 "Para previr que aos usuarios sen privilexios de administración fagan cambios "
132133 "prema en bloquear."
133134
134 #: ../polkitgtk/polkitlockbutton.c:628
135 #: ../polkitgtk/polkitlockbutton.c:626
135136 msgid ""
136137 "The text to display when the user cannot obtain authorization through "
137138 "authentication."
139140 "O texto a mostarr cando o usuario non poida obter autorización a través da "
140141 "autenticación."
141142
142 #: ../polkitgtk/polkitlockbutton.c:629
143 #: ../polkitgtk/polkitlockbutton.c:627
143144 msgid "Not authorized to make changes"
144145 msgstr "Non está autorizado a facer cambios"
145146
146 #: ../polkitgtk/polkitlockbutton.c:645
147 #: ../polkitgtk/polkitlockbutton.c:643
147148 msgid ""
148149 "The tooltip to display when the user cannot obtain authorization through "
149150 "authentication."
151152 "A suxestión a mostrar cando o usuario non poida obter autorización a través "
152153 "da autenticación."
153154
154 #: ../polkitgtk/polkitlockbutton.c:646
155 #: ../polkitgtk/polkitlockbutton.c:644
155156 msgid "System policy prevents changes. Contact your system administator."
156157 msgstr ""
157158 "A política do sistema evita os cambios. Contacte co seu administrador de "
158159 "sistemas."
159
160 #. Translators: this string is appended to the tooltip if the action is
161 #. * currently locked down
162 #: ../polkitgtk/polkitlockbutton.c:767
163 msgid ""
164 "This button is locked down so only users with administrative privileges can "
165 "unlock it. Right-click the button to remove the lock down."
166 msgstr ""
167 "Este botón esta bloqueado polo que só os usuarios con privilexios de "
168 "administración poden desbloquealo. Prema co botón dereito no botón para "
169 "eliminar o bloqueo."
170
171 #: ../src/main.c:128
172 msgid "Click the icon to drop all elevated privileges"
173 msgstr "Faga clic na icona para eliminar todos os privilexios elevados"
174160
175161 #: ../src/polkitgnomeauthenticationdialog.c:159
176162 msgid "Select user..."
181167 msgid "%s (%s)"
182168 msgstr "%s (%s)"
183169
184 #: ../src/polkitgnomeauthenticationdialog.c:529
170 #: ../src/polkitgnomeauthenticationdialog.c:537
185171 msgid "_Authenticate"
186172 msgstr "_Autenticar"
187173
188 #: ../src/polkitgnomeauthenticationdialog.c:566
174 #: ../src/polkitgnomeauthenticationdialog.c:576
189175 msgid ""
190176 "An application is attempting to perform an action that requires privileges. "
191177 "Authentication as one of the users below is required to perform this action."
194180 "Requírese a autenticación como un dos usuarios de abaixo para levar a cabo "
195181 "esta acción."
196182
197 #: ../src/polkitgnomeauthenticationdialog.c:574
183 #: ../src/polkitgnomeauthenticationdialog.c:584
198184 msgid ""
199185 "An application is attempting to perform an action that requires privileges. "
200186 "Authentication is required to perform this action."
202188 "Un aplicativo tentou levar a cabo unha acción que require privilexios. "
203189 "Requírese a autenticación para levar a cabo esta acción."
204190
205 #: ../src/polkitgnomeauthenticationdialog.c:580
191 #: ../src/polkitgnomeauthenticationdialog.c:590
206192 msgid ""
207193 "An application is attempting to perform an action that requires privileges. "
208194 "Authentication as the super user is required to perform this action."
210196 "Un aplicativo tentou levar a cabo unha acción que require privilexios. "
211197 "Requírese a autenticación como un superusuario para levar a cabo esta acción."
212198
213 #: ../src/polkitgnomeauthenticationdialog.c:615
214 #: ../src/polkitgnomeauthenticator.c:289
199 #: ../src/polkitgnomeauthenticationdialog.c:625
200 #: ../src/polkitgnomeauthenticator.c:301
215201 msgid "_Password:"
216202 msgstr "_Contrasinal:"
217203
218204 #. Details
219 #: ../src/polkitgnomeauthenticationdialog.c:633
205 #: ../src/polkitgnomeauthenticationdialog.c:643
220206 msgid "<small><b>_Details</b></small>"
221207 msgstr "<small><b>_Detalles</b></small>"
222208
223 #: ../src/polkitgnomeauthenticationdialog.c:686
209 #: ../src/polkitgnomeauthenticationdialog.c:699
224210 msgid "<small><b>Action:</b></small>"
225211 msgstr "<small><b>Acción:</b></small>"
226212
227 #: ../src/polkitgnomeauthenticationdialog.c:689
213 #: ../src/polkitgnomeauthenticationdialog.c:702
228214 #, c-format
229215 msgid "Click to edit %s"
230216 msgstr "Faga clic para editar %s"
231217
232 #: ../src/polkitgnomeauthenticationdialog.c:703
218 #: ../src/polkitgnomeauthenticationdialog.c:716
233219 msgid "<small><b>Vendor:</b></small>"
234220 msgstr "<small><b>Provedor:</b></small>"
235221
236 #: ../src/polkitgnomeauthenticationdialog.c:705
222 #: ../src/polkitgnomeauthenticationdialog.c:718
237223 #, c-format
238224 msgid "Click to open %s"
239225 msgstr "Faga clic para abrir %s"
240226
241 #: ../src/polkitgnomeauthenticationdialog.c:868
227 #: ../src/polkitgnomeauthenticationdialog.c:881
242228 msgid "Authenticate"
243229 msgstr "Autenticar"
244230
245 #: ../src/polkitgnomeauthenticator.c:285
231 #: ../src/polkitgnomeauthenticator.c:297
246232 #, c-format
247233 msgid "_Password for %s:"
248234 msgstr "_Contrasinal para %s:"
249235
250 #: ../src/polkitgnomeauthenticator.c:445
236 #: ../src/polkitgnomeauthenticator.c:457
251237 msgid "Authentication Failure"
252238 msgstr "Ocorre un fallo na autenticación"
253239
254 #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1
255 msgid "PolicyKit Authentication Agent"
256 msgstr "Axente de autenticación PolicyKit"
240 #: ../src/polkitgnomelistener.c:164
241 msgid "Authentation dialog was dismissed by the user"
242 msgstr "O usuario rexeitou o diálogo de autenticación"
243
244 #~ msgid ""
245 #~ "This button is locked down so only users with administrative privileges "
246 #~ "can unlock it. Right-click the button to remove the lock down."
247 #~ msgstr ""
248 #~ "Este botón esta bloqueado polo que só os usuarios con privilexios de "
249 #~ "administración poden desbloquealo. Prema co botón dereito no botón para "
250 #~ "eliminar o bloqueo."
251
252 #~ msgid "Click the icon to drop all elevated privileges"
253 #~ msgstr "Faga clic na icona para eliminar todos os privilexios elevados"
254
255 #~ msgid "PolicyKit Authentication Agent"
256 #~ msgstr "Axente de autenticación PolicyKit"
+136
-180
po/it.po less more
00 # Italian translation of policykit-gnome.
11 # Copyright (C) 2008 Free Software Foundation, Inc.
22 # This file is distributed under the same license as the policykit-gnome package.
3 # Gianvito Cavasoli <janvitus@ubuntu-it.org>, 2008, 2009.
4 #
3 # Gianvito Cavasoli <gianvito@gmx.it>, 2008, 2009, 2011.
54 #
65 msgid ""
76 msgstr ""
87 "Project-Id-Version: policykit-gnome 0.9\n"
98 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
10 "product=policykit-gnome&component=general\n"
11 "POT-Creation-Date: 2009-12-02 09:50+0000\n"
12 "PO-Revision-Date: 2009-12-02 11:06+0100\n"
13 "Last-Translator: Gianvito Cavasoli <janvitus@ubuntu-it.org>\n"
9 "product=policykit-gnome&keywords=I18N+L10N&component=general\n"
10 "POT-Creation-Date: 2011-09-15 15:33+0000\n"
11 "PO-Revision-Date: 2011-09-24 15:06+0200\n"
12 "Last-Translator: Gianvito Cavasoli <gianvito@gmx.it>\n"
1413 "Language-Team: Italiana <tp@lists.linux.it>\n"
1514 "MIME-Version: 1.0\n"
1615 "Content-Type: text/plain; charset=UTF-8\n"
1716 "Content-Transfer-Encoding: 8bit\n"
1817 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
1918
20 #: ../polkitgtk/polkitlockbutton.c:460
21 msgid "Action Identifier"
22 msgstr "Identificatore di azione"
23
24 #: ../polkitgtk/polkitlockbutton.c:461
25 msgid "The action identifier to use for the button"
26 msgstr "Identificatore di azione da utilizzare per il pulsante"
27
28 #: ../polkitgtk/polkitlockbutton.c:477
29 msgid "Is Authorized"
30 msgstr "È autorizzato"
31
32 #: ../polkitgtk/polkitlockbutton.c:478
33 msgid "Whether the process is authorized"
34 msgstr "Indica se il processo è autorizzato"
35
36 #: ../polkitgtk/polkitlockbutton.c:493
37 msgid "Is Visible"
38 msgstr "È visibile"
39
40 #: ../polkitgtk/polkitlockbutton.c:494
41 msgid "Whether the widget is visible"
42 msgstr "Indica se il widget è visibile"
43
44 #: ../polkitgtk/polkitlockbutton.c:509
45 msgid "Can Obtain"
46 msgstr "Può ottenere"
47
48 #: ../polkitgtk/polkitlockbutton.c:510
49 msgid "Whether authorization can be obtained"
50 msgstr "Indica se l'autorizzazione può essere ottenuta"
51
52 #: ../polkitgtk/polkitlockbutton.c:525 ../polkitgtk/polkitlockbutton.c:627
53 msgid "Unlock Text"
54 msgstr "Testo di sblocco"
55
56 #: ../polkitgtk/polkitlockbutton.c:526
57 msgid "The text to display when prompting the user to unlock."
58 msgstr "Il testo da mostrare quando si chiede all'utente di sbloccare."
59
60 #: ../polkitgtk/polkitlockbutton.c:527
61 msgid "Click to make changes"
62 msgstr "Fare clic per apportare le modifiche"
63
64 #: ../polkitgtk/polkitlockbutton.c:542 ../polkitgtk/polkitlockbutton.c:644
65 msgid "Unlock Tooltip"
66 msgstr "Suggerimento di sblocco"
67
68 #: ../polkitgtk/polkitlockbutton.c:543
69 msgid "The tooltip to display when prompting the user to unlock."
70 msgstr "Il suggerimento da mostrare quando si chiede all'utente di sbloccare."
71
72 #: ../polkitgtk/polkitlockbutton.c:544
73 msgid "Authentication is needed to make changes."
74 msgstr "È necessaria l'autenticazione per apportare modifiche."
75
76 #: ../polkitgtk/polkitlockbutton.c:559
77 msgid "Lock Text"
78 msgstr "Testo di blocco"
79
80 #: ../polkitgtk/polkitlockbutton.c:560
81 msgid "The text to display when prompting the user to lock."
82 msgstr "Il testo da mostrare quando si chiede all'utente di bloccare."
83
84 #: ../polkitgtk/polkitlockbutton.c:561
85 msgid "Click to prevent changes"
86 msgstr "Fare clic per impedire le modifiche"
87
88 #: ../polkitgtk/polkitlockbutton.c:576
89 msgid "Lock Tooltip"
90 msgstr "Suggerimento di blocco"
91
92 #: ../polkitgtk/polkitlockbutton.c:577
93 msgid "The tooltip to display when prompting the user to lock."
94 msgstr "Il suggerimento da mostrare quando si chiede all'utente di bloccare."
95
96 #: ../polkitgtk/polkitlockbutton.c:578
97 msgid "To prevent further changes, click the lock."
98 msgstr "Per impedire ulteriori modifiche, fare clic sul blocco."
99
100 #: ../polkitgtk/polkitlockbutton.c:593
101 msgid "Lock Down Text"
102 msgstr "Testo di blocco permanente"
103
104 #: ../polkitgtk/polkitlockbutton.c:594
105 msgid ""
106 "The text to display when prompting the user to lock down the action for all "
107 "users."
108 msgstr ""
109 "Il testo da mostrare quando si chiede all'utente di bloccare permanentemente "
110 "l'azione per tutti gli utenti."
111
112 #: ../polkitgtk/polkitlockbutton.c:595
113 msgid "Click to lock down"
114 msgstr "Fare clic per bloccare permanentemente"
115
116 #: ../polkitgtk/polkitlockbutton.c:610
117 msgid "Lock Down Tooltip"
118 msgstr "Suggerimento di blocco permanente"
119
120 #: ../polkitgtk/polkitlockbutton.c:611
121 msgid ""
122 "The tooltip to display when prompting the user to lock down the action for "
123 "all users."
124 msgstr ""
125 "Il suggerimento da mostrare quando si chiede all'utente di bloccare "
126 "permanentemente l'azione per tutti gli utenti."
127
128 #: ../polkitgtk/polkitlockbutton.c:612
129 msgid ""
130 "To prevent users without administrative privileges from making changes, "
131 "click the lock."
132 msgstr ""
133 "Per impedire agli utenti senza privilegi amministrativi di apportare "
134 "modifiche, fare clic sul blocco."
135
136 #: ../polkitgtk/polkitlockbutton.c:628
137 msgid ""
138 "The text to display when the user cannot obtain authorization through "
139 "authentication."
140 msgstr ""
141 "Il testo da mostrare quando l'utente non può ottenere l'autorizzazione "
142 "tramite l'autenticazione."
143
144 #: ../polkitgtk/polkitlockbutton.c:629
145 msgid "Not authorized to make changes"
146 msgstr "Non autorizzato per apportare modifiche"
147
148 #: ../polkitgtk/polkitlockbutton.c:645
149 msgid ""
150 "The tooltip to display when the user cannot obtain authorization through "
151 "authentication."
152 msgstr ""
153 "Il suggerimento da mostrare quando l'utente non può ottenere "
154 "l'autorizzazione tramite l'autenticazione."
155
156 #: ../polkitgtk/polkitlockbutton.c:646
157 msgid "System policy prevents changes. Contact your system administator."
158 msgstr ""
159 "Le politiche del sistema impediscono le modifiche. Contattare "
160 "l'amministratore di sistema."
161
162 #. Translators: this string is appended to the tooltip if the action is
163 #. * currently locked down
164 #: ../polkitgtk/polkitlockbutton.c:767
165 msgid ""
166 "This button is locked down so only users with administrative privileges can "
167 "unlock it. Right-click the button to remove the lock down."
168 msgstr ""
169 "Il pulsante è bloccato permanentemente in modo che solo gli utenti con "
170 "privilegi amministrativi possono sbloccarlo. Fare clic destro sul pulsante "
171 "per rimuovere il blocco permanente."
172
173 #: ../src/main.c:128
174 msgid "Click the icon to drop all elevated privileges"
175 msgstr "Fare clic sull'icona per ritirare tutti i privilegi elevati"
176
17719 #: ../src/polkitgnomeauthenticationdialog.c:159
17820 msgid "Select user..."
17921 msgstr "Seleziona utente..."
18325 msgid "%s (%s)"
18426 msgstr "%s (%s)"
18527
186 #: ../src/polkitgnomeauthenticationdialog.c:529
28 #: ../src/polkitgnomeauthenticationdialog.c:537
18729 msgid "_Authenticate"
18830 msgstr "_Autentica"
18931
190 #: ../src/polkitgnomeauthenticationdialog.c:566
32 #: ../src/polkitgnomeauthenticationdialog.c:576
19133 msgid ""
19234 "An application is attempting to perform an action that requires privileges. "
19335 "Authentication as one of the users below is required to perform this action."
19638 "privilegi. È richiesto autenticarsi come uno degli utenti elencati sotto per "
19739 "eseguire tale azione."
19840
199 #: ../src/polkitgnomeauthenticationdialog.c:574
41 #: ../src/polkitgnomeauthenticationdialog.c:584
20042 msgid ""
20143 "An application is attempting to perform an action that requires privileges. "
20244 "Authentication is required to perform this action."
20446 "Un'applicazione sta tentando di compiere un'azione che richiede dei "
20547 "privilegi. È richiesto autenticarsi per eseguire tale azione."
20648
207 #: ../src/polkitgnomeauthenticationdialog.c:580
49 #: ../src/polkitgnomeauthenticationdialog.c:590
20850 msgid ""
20951 "An application is attempting to perform an action that requires privileges. "
21052 "Authentication as the super user is required to perform this action."
21355 "privilegi. È richiesto autenticarsi come super utente per eseguire tale "
21456 "azione."
21557
216 #: ../src/polkitgnomeauthenticationdialog.c:615
217 #: ../src/polkitgnomeauthenticator.c:289
58 #: ../src/polkitgnomeauthenticationdialog.c:625
59 #: ../src/polkitgnomeauthenticator.c:300
21860 msgid "_Password:"
21961 msgstr "Pass_word:"
22062
22163 #. Details
222 #: ../src/polkitgnomeauthenticationdialog.c:633
64 #: ../src/polkitgnomeauthenticationdialog.c:643
22365 msgid "<small><b>_Details</b></small>"
22466 msgstr "<small><b>_Dettagli</b></small>"
22567
226 #: ../src/polkitgnomeauthenticationdialog.c:686
68 #: ../src/polkitgnomeauthenticationdialog.c:699
22769 msgid "<small><b>Action:</b></small>"
22870 msgstr "<small><b>Azione:</b></small>"
22971
230 #: ../src/polkitgnomeauthenticationdialog.c:689
72 #: ../src/polkitgnomeauthenticationdialog.c:702
23173 #, c-format
23274 msgid "Click to edit %s"
23375 msgstr "Fare clic per modificare %s"
23476
235 #: ../src/polkitgnomeauthenticationdialog.c:703
77 #: ../src/polkitgnomeauthenticationdialog.c:716
23678 msgid "<small><b>Vendor:</b></small>"
23779 msgstr "<small><b>Fornitore:</b></small>"
23880
239 #: ../src/polkitgnomeauthenticationdialog.c:705
81 #: ../src/polkitgnomeauthenticationdialog.c:718
24082 #, c-format
24183 msgid "Click to open %s"
24284 msgstr "Fare clic per aprire %s"
24385
244 #: ../src/polkitgnomeauthenticationdialog.c:868
86 #: ../src/polkitgnomeauthenticationdialog.c:881
24587 msgid "Authenticate"
24688 msgstr "Autentica"
24789
248 #: ../src/polkitgnomeauthenticator.c:285
90 #: ../src/polkitgnomeauthenticator.c:296
24991 #, c-format
25092 msgid "_Password for %s:"
25193 msgstr "Pass_word per %s:"
25294
253 #: ../src/polkitgnomeauthenticator.c:445
95 #: ../src/polkitgnomeauthenticator.c:456
25496 msgid "Authentication Failure"
25597 msgstr "Autenticazione non riuscita"
25698
257 #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1
258 msgid "PolicyKit Authentication Agent"
259 msgstr "Agente di autenticazione per PolicyKit"
99 #: ../src/polkitgnomelistener.c:164
100 msgid "Authentication dialog was dismissed by the user"
101 msgstr "Il dialogo di autenticazione è stato annullato dall'utente"
102
103 #~ msgid "Action Identifier"
104 #~ msgstr "Identificatore di azione"
105
106 #~ msgid "The action identifier to use for the button"
107 #~ msgstr "Identificatore di azione da utilizzare per il pulsante"
108
109 #~ msgid "Is Authorized"
110 #~ msgstr "È autorizzato"
111
112 #~ msgid "Whether the process is authorized"
113 #~ msgstr "Indica se il processo è autorizzato"
114
115 #~ msgid "Is Visible"
116 #~ msgstr "È visibile"
117
118 #~ msgid "Whether the widget is visible"
119 #~ msgstr "Indica se il widget è visibile"
120
121 #~ msgid "Can Obtain"
122 #~ msgstr "Può ottenere"
123
124 #~ msgid "Whether authorization can be obtained"
125 #~ msgstr "Indica se l'autorizzazione può essere ottenuta"
126
127 #~ msgid "Unlock Text"
128 #~ msgstr "Testo di sblocco"
129
130 #~ msgid "The text to display when prompting the user to unlock."
131 #~ msgstr "Il testo da mostrare quando si chiede all'utente di sbloccare."
132
133 #~ msgid "Click to make changes"
134 #~ msgstr "Fare clic per apportare le modifiche"
135
136 #~ msgid "Unlock Tooltip"
137 #~ msgstr "Suggerimento di sblocco"
138
139 #~ msgid "The tooltip to display when prompting the user to unlock."
140 #~ msgstr ""
141 #~ "Il suggerimento da mostrare quando si chiede all'utente di sbloccare."
142
143 #~ msgid "Authentication is needed to make changes."
144 #~ msgstr "È necessaria l'autenticazione per apportare modifiche."
145
146 #~ msgid "Lock Text"
147 #~ msgstr "Testo di blocco"
148
149 #~ msgid "The text to display when prompting the user to lock."
150 #~ msgstr "Il testo da mostrare quando si chiede all'utente di bloccare."
151
152 #~ msgid "Click to prevent changes"
153 #~ msgstr "Fare clic per impedire le modifiche"
154
155 #~ msgid "Lock Tooltip"
156 #~ msgstr "Suggerimento di blocco"
157
158 #~ msgid "The tooltip to display when prompting the user to lock."
159 #~ msgstr ""
160 #~ "Il suggerimento da mostrare quando si chiede all'utente di bloccare."
161
162 #~ msgid "To prevent further changes, click the lock."
163 #~ msgstr "Per impedire ulteriori modifiche, fare clic sul blocco."
164
165 #~ msgid "Lock Down Text"
166 #~ msgstr "Testo di blocco permanente"
167
168 #~ msgid ""
169 #~ "The text to display when prompting the user to lock down the action for "
170 #~ "all users."
171 #~ msgstr ""
172 #~ "Il testo da mostrare quando si chiede all'utente di bloccare "
173 #~ "permanentemente l'azione per tutti gli utenti."
174
175 #~ msgid "Click to lock down"
176 #~ msgstr "Fare clic per bloccare permanentemente"
177
178 #~ msgid "Lock Down Tooltip"
179 #~ msgstr "Suggerimento di blocco permanente"
180
181 #~ msgid ""
182 #~ "The tooltip to display when prompting the user to lock down the action "
183 #~ "for all users."
184 #~ msgstr ""
185 #~ "Il suggerimento da mostrare quando si chiede all'utente di bloccare "
186 #~ "permanentemente l'azione per tutti gli utenti."
187
188 #~ msgid ""
189 #~ "To prevent users without administrative privileges from making changes, "
190 #~ "click the lock."
191 #~ msgstr ""
192 #~ "Per impedire agli utenti senza privilegi amministrativi di apportare "
193 #~ "modifiche, fare clic sul blocco."
194
195 #~ msgid ""
196 #~ "The text to display when the user cannot obtain authorization through "
197 #~ "authentication."
198 #~ msgstr ""
199 #~ "Il testo da mostrare quando l'utente non può ottenere l'autorizzazione "
200 #~ "tramite l'autenticazione."
201
202 #~ msgid "Not authorized to make changes"
203 #~ msgstr "Non autorizzato per apportare modifiche"
204
205 #~ msgid ""
206 #~ "The tooltip to display when the user cannot obtain authorization through "
207 #~ "authentication."
208 #~ msgstr ""
209 #~ "Il suggerimento da mostrare quando l'utente non può ottenere "
210 #~ "l'autorizzazione tramite l'autenticazione."
211
212 #~ msgid "System policy prevents changes. Contact your system administator."
213 #~ msgstr ""
214 #~ "Le politiche del sistema impediscono le modifiche. Contattare "
215 #~ "l'amministratore di sistema."
77 msgstr ""
88 "Project-Id-Version: PolicyKit-gnome\n"
99 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2011-03-09 21:06+0100\n"
11 "PO-Revision-Date: 2011-03-09 21:07+0100\n"
10 "POT-Creation-Date: 2011-09-01 02:32+0200\n"
11 "PO-Revision-Date: 2011-09-01 02:33+0200\n"
1212 "Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
1313 "Language-Team: Polish <gnomepl@aviary.pl>\n"
1414 "Language: pl\n"
246246 msgstr "Błąd uwierzytelniania"
247247
248248 #: ../src/polkitgnomelistener.c:164
249 msgid "Authentation dialog was dismissed by the user"
249 msgid "Authentication dialog was dismissed by the user"
250250 msgstr "Okno dialogowe uwierzytelnienia zostało odrzucone przez użytkownika"
22 # This file is distributed under the same license as the PolicyKit-gnome package.
33 #
44 # Matej Urbančič <mateju@svn.gnome.org>, 2010 - 2011.
5 # Martin Srebotnjak <miles@filmsi.net>, 2011.
56 #
67 msgid ""
78 msgstr ""
89 "Project-Id-Version: PolicyKit-gnome master\n"
9 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=policykit-gnome&component=general\n"
10 "POT-Creation-Date: 2011-03-05 10:04+0000\n"
11 "PO-Revision-Date: 2011-03-09 13:08+0100\n"
12 "Last-Translator: Matej Urbančič <mateju@svn.gnome.org>\n"
10 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=policykit-gnome&keywords=I18N+L10N&component=general\n"
11 "POT-Creation-Date: 2011-08-30 15:24+0000\n"
12 "PO-Revision-Date: 2011-09-04 15:23+0100\n"
13 "Last-Translator: Martin Srebotnjak <miles@filmsi.net>\n"
1314 "Language-Team: Slovenian GNOME Translation Team <gnome-si@googlegroups.com>\n"
1415 "MIME-Version: 1.0\n"
1516 "Content-Type: text/plain; charset=UTF-8\n"
208209 msgstr "Napaka overitve"
209210
210211 #: ../src/polkitgnomelistener.c:164
211 msgid "Authentation dialog was dismissed by the user"
212 #| msgid "Authentation dialog was dismissed by the user"
213 msgid "Authentication dialog was dismissed by the user"
212214 msgstr "Pogovorno okno overitve je zaprl uporabnik"
213215
214216 #~ msgid ""
66 msgid ""
77 msgstr ""
88 "Project-Id-Version: policykit-gnome VERSION\n"
9 "Report-Msgid-Bugs-To: \n"
10 "POT-Creation-Date: 2009-10-03 21:55+0800\n"
11 "PO-Revision-Date: 2010-09-26 00:26+0800\n"
9 "Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
10 "product=policykit-gnome&keywords=I18N+L10N&component=general\n"
11 "POT-Creation-Date: 2011-09-09 09:20+0000\n"
12 "PO-Revision-Date: 2011-09-12 21:56+0800\n"
1213 "Last-Translator: Aron Xu <happyaron.xu@gmail.com>\n"
1314 "Language-Team: \n"
1415 "MIME-Version: 1.0\n"
1516 "Content-Type: text/plain; charset=UTF-8\n"
1617 "Content-Transfer-Encoding: 8bit\n"
1718
18 #: ../polkitgtk/polkitlockbutton.c:460
19 #: ../polkitgtk/polkitlockbutton.c:458
1920 msgid "Action Identifier"
2021 msgstr "动作识别"
2122
22 #: ../polkitgtk/polkitlockbutton.c:461
23 #: ../polkitgtk/polkitlockbutton.c:459
2324 msgid "The action identifier to use for the button"
2425 msgstr "用在按钮上的动作识别"
2526
26 #: ../polkitgtk/polkitlockbutton.c:477
27 #: ../polkitgtk/polkitlockbutton.c:475
2728 msgid "Is Authorized"
2829 msgstr "是被授权"
2930
30 #: ../polkitgtk/polkitlockbutton.c:478
31 #: ../polkitgtk/polkitlockbutton.c:476
3132 msgid "Whether the process is authorized"
3233 msgstr "操作是否被授权"
3334
34 #: ../polkitgtk/polkitlockbutton.c:493
35 #: ../polkitgtk/polkitlockbutton.c:491
3536 msgid "Is Visible"
3637 msgstr "是可见"
3738
38 #: ../polkitgtk/polkitlockbutton.c:494
39 #: ../polkitgtk/polkitlockbutton.c:492
3940 msgid "Whether the widget is visible"
4041 msgstr "部件是否可见"
4142
42 #: ../polkitgtk/polkitlockbutton.c:509
43 #: ../polkitgtk/polkitlockbutton.c:507
4344 msgid "Can Obtain"
4445 msgstr "可以获取"
4546
46 #: ../polkitgtk/polkitlockbutton.c:510
47 #: ../polkitgtk/polkitlockbutton.c:508
4748 msgid "Whether authorization can be obtained"
4849 msgstr "授权是否可以被获取"
4950
50 #: ../polkitgtk/polkitlockbutton.c:525 ../polkitgtk/polkitlockbutton.c:627
51 #: ../polkitgtk/polkitlockbutton.c:523 ../polkitgtk/polkitlockbutton.c:625
5152 msgid "Unlock Text"
5253 msgstr "不锁定文字"
5354
54 #: ../polkitgtk/polkitlockbutton.c:526
55 #: ../polkitgtk/polkitlockbutton.c:524
5556 msgid "The text to display when prompting the user to unlock."
5657 msgstr "当提示用户解锁时显示的文字。"
5758
58 #: ../polkitgtk/polkitlockbutton.c:527
59 #: ../polkitgtk/polkitlockbutton.c:525
5960 msgid "Click to make changes"
6061 msgstr "点击来进行改变"
6162
62 #: ../polkitgtk/polkitlockbutton.c:542 ../polkitgtk/polkitlockbutton.c:644
63 #: ../polkitgtk/polkitlockbutton.c:540 ../polkitgtk/polkitlockbutton.c:642
6364 msgid "Unlock Tooltip"
6465 msgstr "解锁提示"
6566
66 #: ../polkitgtk/polkitlockbutton.c:543
67 #: ../polkitgtk/polkitlockbutton.c:541
6768 msgid "The tooltip to display when prompting the user to unlock."
6869 msgstr "当提示用户解锁时显示的文字。"
6970
70 #: ../polkitgtk/polkitlockbutton.c:544
71 #: ../polkitgtk/polkitlockbutton.c:542
7172 msgid "Authentication is needed to make changes."
7273 msgstr "需要认证以做出改变。"
7374
74 #: ../polkitgtk/polkitlockbutton.c:559
75 #: ../polkitgtk/polkitlockbutton.c:557
7576 msgid "Lock Text"
7677 msgstr "锁定文字"
7778
78 #: ../polkitgtk/polkitlockbutton.c:560
79 #: ../polkitgtk/polkitlockbutton.c:558
7980 msgid "The text to display when prompting the user to lock."
8081 msgstr "当提示用户锁定时显示的文字。"
8182
82 #: ../polkitgtk/polkitlockbutton.c:561
83 #: ../polkitgtk/polkitlockbutton.c:559
8384 msgid "Click to prevent changes"
8485 msgstr "单击以防止更改"
8586
86 #: ../polkitgtk/polkitlockbutton.c:576
87 #: ../polkitgtk/polkitlockbutton.c:574
8788 msgid "Lock Tooltip"
8889 msgstr "锁定提示"
8990
90 #: ../polkitgtk/polkitlockbutton.c:577
91 #: ../polkitgtk/polkitlockbutton.c:575
9192 msgid "The tooltip to display when prompting the user to lock."
9293 msgstr "当提示用户锁定时显示的文字。"
9394
94 #: ../polkitgtk/polkitlockbutton.c:578
95 #: ../polkitgtk/polkitlockbutton.c:576
9596 msgid "To prevent further changes, click the lock."
9697 msgstr "要阻止修改,请点击锁定。"
9798
98 #: ../polkitgtk/polkitlockbutton.c:593
99 #: ../polkitgtk/polkitlockbutton.c:591
99100 msgid "Lock Down Text"
100101 msgstr "锁定文字"
101102
102 #: ../polkitgtk/polkitlockbutton.c:594
103 #: ../polkitgtk/polkitlockbutton.c:592
103104 msgid ""
104105 "The text to display when prompting the user to lock down the action for all "
105106 "users."
106107 msgstr "当提示用户锁定时显示的文字。"
107108
108 #: ../polkitgtk/polkitlockbutton.c:595
109 #: ../polkitgtk/polkitlockbutton.c:593
109110 msgid "Click to lock down"
110111 msgstr "单击以锁定"
111112
112 #: ../polkitgtk/polkitlockbutton.c:610
113 #: ../polkitgtk/polkitlockbutton.c:608
113114 msgid "Lock Down Tooltip"
114115 msgstr "锁定提示"
115116
116 #: ../polkitgtk/polkitlockbutton.c:611
117 #: ../polkitgtk/polkitlockbutton.c:609
117118 msgid ""
118119 "The tooltip to display when prompting the user to lock down the action for "
119120 "all users."
120121 msgstr "当提示用户锁定时显示的文字。"
121122
122 #: ../polkitgtk/polkitlockbutton.c:612
123 #: ../polkitgtk/polkitlockbutton.c:610
123124 msgid ""
124125 "To prevent users without administrative privileges from making changes, "
125126 "click the lock."
126127 msgstr "为了防止用户没有管理员权限来做更改,点击这个锁。"
127128
128 #: ../polkitgtk/polkitlockbutton.c:628
129 #: ../polkitgtk/polkitlockbutton.c:626
129130 msgid ""
130131 "The text to display when the user cannot obtain authorization through "
131132 "authentication."
132133 msgstr "当用户不能通过认证来获得认证时显示的文字。"
133134
134 #: ../polkitgtk/polkitlockbutton.c:629
135 #: ../polkitgtk/polkitlockbutton.c:627
135136 msgid "Not authorized to make changes"
136137 msgstr "没有被认证来做出改变"
137138
138 #: ../polkitgtk/polkitlockbutton.c:645
139 #: ../polkitgtk/polkitlockbutton.c:643
139140 msgid ""
140141 "The tooltip to display when the user cannot obtain authorization through "
141142 "authentication."
142143 msgstr "当用户不能通过认证时显示的文字。"
143144
144 #: ../polkitgtk/polkitlockbutton.c:646
145 #: ../polkitgtk/polkitlockbutton.c:644
145146 msgid "System policy prevents changes. Contact your system administator."
146147 msgstr "系统设置阻止了更改,请联系系统管理人员。"
147
148 #. Translators: this string is appended to the tooltip if the action is
149 #. * currently locked down
150 #: ../polkitgtk/polkitlockbutton.c:767
151 msgid ""
152 "This button is locked down so only users with administrative privileges can "
153 "unlock it. Right-click the button to remove the lock down."
154 msgstr ""
155 "这个按钮是被锁定的,只有有管理权限的用户才能解锁。右键单击该按钮来移除锁定。"
156
157 #: ../src/main.c:128
158 msgid "Click the icon to drop all elevated privileges"
159 msgstr "点击图标来放下所有提升的权限"
160148
161149 #: ../src/polkitgnomeauthenticationdialog.c:159
162150 msgid "Select user..."
167155 msgid "%s (%s)"
168156 msgstr "%s (%s)"
169157
170 #: ../src/polkitgnomeauthenticationdialog.c:529
158 #: ../src/polkitgnomeauthenticationdialog.c:537
171159 msgid "_Authenticate"
172160 msgstr "授权(_A)"
173161
174 #: ../src/polkitgnomeauthenticationdialog.c:566
162 #: ../src/polkitgnomeauthenticationdialog.c:576
175163 msgid ""
176164 "An application is attempting to perform an action that requires privileges. "
177165 "Authentication as one of the users below is required to perform this action."
178166 msgstr ""
179167 "一个程序正试图执行一个需要特权的动作。要求授权为下列用户之一来执行该动作。"
180168
181 #: ../src/polkitgnomeauthenticationdialog.c:574
169 #: ../src/polkitgnomeauthenticationdialog.c:584
182170 msgid ""
183171 "An application is attempting to perform an action that requires privileges. "
184172 "Authentication is required to perform this action."
185173 msgstr "一个程序正试图执行一个需要特权的动作。要求授权以执行该动作。"
186174
187 #: ../src/polkitgnomeauthenticationdialog.c:580
175 #: ../src/polkitgnomeauthenticationdialog.c:590
188176 msgid ""
189177 "An application is attempting to perform an action that requires privileges. "
190178 "Authentication as the super user is required to perform this action."
191179 msgstr "一个程序正试图执行一个需要特权的动作。要求授权为超级用户来执行该动作。"
192180
193 #: ../src/polkitgnomeauthenticationdialog.c:615
194 #: ../src/polkitgnomeauthenticator.c:289
181 #: ../src/polkitgnomeauthenticationdialog.c:625
182 #: ../src/polkitgnomeauthenticator.c:301
195183 msgid "_Password:"
196184 msgstr "密码(_P):"
197185
198186 #. Details
199 #: ../src/polkitgnomeauthenticationdialog.c:633
187 #: ../src/polkitgnomeauthenticationdialog.c:643
200188 msgid "<small><b>_Details</b></small>"
201189 msgstr "<small><b>详情(_D)</b></small>"
202190
203 #: ../src/polkitgnomeauthenticationdialog.c:686
191 #: ../src/polkitgnomeauthenticationdialog.c:699
204192 msgid "<small><b>Action:</b></small>"
205193 msgstr "<small><b>动作:</b></small>"
206194
207 #: ../src/polkitgnomeauthenticationdialog.c:689
195 #: ../src/polkitgnomeauthenticationdialog.c:702
208196 #, c-format
209197 msgid "Click to edit %s"
210198 msgstr "单击以编辑 %s"
211199
212 #: ../src/polkitgnomeauthenticationdialog.c:703
200 #: ../src/polkitgnomeauthenticationdialog.c:716
213201 msgid "<small><b>Vendor:</b></small>"
214202 msgstr "<small><b>提供者:</b></small>"
215203
216 #: ../src/polkitgnomeauthenticationdialog.c:705
204 #: ../src/polkitgnomeauthenticationdialog.c:718
217205 #, c-format
218206 msgid "Click to open %s"
219207 msgstr "单击以打开 %s"
220208
221 #: ../src/polkitgnomeauthenticationdialog.c:868
209 #: ../src/polkitgnomeauthenticationdialog.c:881
222210 msgid "Authenticate"
223211 msgstr "授权"
224212
225 #: ../src/polkitgnomeauthenticator.c:285
213 #: ../src/polkitgnomeauthenticator.c:297
226214 #, c-format
227215 msgid "_Password for %s:"
228216 msgstr "%s 的密码(_P):"
229217
230 #: ../src/polkitgnomeauthenticator.c:445
218 #: ../src/polkitgnomeauthenticator.c:457
231219 msgid "Authentication Failure"
232220 msgstr "认证失败"
233221
234 #: ../src/polkit-gnome-authentication-agent-1.desktop.in.in.h:1
235 msgid "PolicyKit Authentication Agent"
236 msgstr "PolicyKit 认证代理"
222 #: ../src/polkitgnomelistener.c:164
223 msgid "Authentication dialog was dismissed by the user"
224 msgstr "用户关掉了认证对话框"
225
226 #~ msgid ""
227 #~ "This button is locked down so only users with administrative privileges "
228 #~ "can unlock it. Right-click the button to remove the lock down."
229 #~ msgstr ""
230 #~ "这个按钮是被锁定的,只有有管理权限的用户才能解锁。右键单击该按钮来移除锁"
231 #~ "定。"
232
233 #~ msgid "Click the icon to drop all elevated privileges"
234 #~ msgstr "点击图标来放下所有提升的权限"
235
236 #~ msgid "PolicyKit Authentication Agent"
237 #~ msgstr "PolicyKit 认证代理"
237238
238239 #~ msgid "Authorizations"
239240 #~ msgstr "授权"
+0
-106
polkitgtk/Makefile.am less more
0
1 NULL =
2
3 lib_LTLIBRARIES=libpolkit-gtk-1.la
4
5 libpolkit_gtk_1includedir=$(includedir)/polkit-gtk-1/polkitgtk
6
7 libpolkit_gtk_1include_HEADERS = \
8 polkitgtk.h \
9 polkitgtktypes.h \
10 polkitlockbutton.h \
11 $(NULL)
12
13 libpolkit_gtk_1_la_SOURCES = \
14 polkitgtk.h \
15 polkitgtktypes.h \
16 polkitlockbutton.h polkitlockbutton.c \
17 $(NULL)
18
19 libpolkit_gtk_1_la_CPPFLAGS = \
20 -I$(top_srcdir) \
21 -I$(top_builddir) \
22 -I$(top_srcdir)/polkitgtk \
23 -I$(top_builddir)/polkitgtk \
24 -DG_LOG_DOMAIN=\"polkitgtk\" \
25 -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
26 $(DISABLE_DEPRECATED) \
27 $(AM_CPPFLAGS) \
28 -DPOLKIT_GTK_COMPILATION \
29 $(NULL)
30
31 libpolkit_gtk_1_la_CFLAGS = \
32 $(POLKIT_GOBJECT_CFLAGS) \
33 $(GTK_CFLAGS) \
34 $(WARN_CFLAGS) \
35 $(AM_CFLAGS) \
36 $(NULL)
37
38 libpolkit_gtk_1_la_LIBADD = \
39 $(POLKIT_GOBJECT_LIBS) \
40 $(GTK_LIBS) \
41 $(INTLLIBS) \
42 $(NULL)
43
44
45 libpolkit_gtk_1_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
46 -export-dynamic -no-undefined -export-symbols-regex '(^polkit_.*)'
47
48 pkgconfigdir = $(libdir)/pkgconfig
49 pkgconfig_DATA = polkit-gtk-1.pc
50
51 noinst_PROGRAMS = example
52
53 example_SOURCES = example.c
54 example_CFLAGS = \
55 -I$(top_srcdir) \
56 -I$(top_builddir) \
57 $(POLKIT_GOBJECT_CFLAGS) \
58 $(GTK_CFLAGS) \
59 $(WARN_CFLAGS) \
60 $(AM_CFLAGS) \
61 $(NULL)
62
63 example_LDADD = \
64 $(POLKIT_GOBJECT_LIBS) \
65 $(GTK_LIBS) \
66 $(INTLLIBS) \
67 libpolkit-gtk-1.la \
68 $(NULL)
69
70 if ENABLE_INTROSPECTION
71 girdir = $(GIRDIR)
72 gir_DATA = PolkitGtk-1.0.gir
73
74 typelibsdir = $(GIRTYPELIBDIR)
75 typelibs_DATA = PolkitGtk-1.0.typelib
76
77 PolkitGtk-1.0.gir: libpolkit-gtk-1.la $(G_IR_SCANNER) Makefile.am
78 $(G_IR_SCANNER) -v \
79 --namespace PolkitGtk \
80 --strip-prefix=Polkit \
81 --nsversion=1.0 \
82 --include=Gtk-$(GTK_API_VERSION) \
83 --include=Polkit-1.0 \
84 --library=polkit-gtk-1 \
85 --output $@ \
86 --pkg=polkit-gobject-1 \
87 --pkg=gtk+-$(GTK_API_VERSION) \
88 --libtool=$(top_builddir)/libtool \
89 -I$(top_srcdir) \
90 -DPOLKIT_GTK_COMPILATION \
91 $(srcdir)/polkitgtk.h \
92 $(srcdir)/polkitgtktypes.h \
93 $(srcdir)/polkitlockbutton.h \
94 $(NULL)
95
96 PolkitGtk-1.0.typelib: PolkitGtk-1.0.gir $(G_IR_COMPILER)
97 $(G_IR_COMPILER) $< -o $@
98
99 endif # ENABLE_INTROSPECTION
100
101 CLEANFILES = $(BUILT_SOURCES) $(pkgconfig_DATA) $(gir_DATA) $(typelibs_DATA)
102
103 clean-local :
104 rm -f *~ $(BUILT_SOURCES)
105
+0
-832
polkitgtk/Makefile.in less more
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
1 # @configure_input@
2
3 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
5 # Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
9
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13 # PARTICULAR PURPOSE.
14
15 @SET_MAKE@
16
17
18
19
20 VPATH = @srcdir@
21 pkgdatadir = $(datadir)/@PACKAGE@
22 pkgincludedir = $(includedir)/@PACKAGE@
23 pkglibdir = $(libdir)/@PACKAGE@
24 pkglibexecdir = $(libexecdir)/@PACKAGE@
25 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26 install_sh_DATA = $(install_sh) -c -m 644
27 install_sh_PROGRAM = $(install_sh) -c
28 install_sh_SCRIPT = $(install_sh) -c
29 INSTALL_HEADER = $(INSTALL_DATA)
30 transform = $(program_transform_name)
31 NORMAL_INSTALL = :
32 PRE_INSTALL = :
33 POST_INSTALL = :
34 NORMAL_UNINSTALL = :
35 PRE_UNINSTALL = :
36 POST_UNINSTALL = :
37 build_triplet = @build@
38 host_triplet = @host@
39 noinst_PROGRAMS = example$(EXEEXT)
40 subdir = polkitgtk
41 DIST_COMMON = $(libpolkit_gtk_1include_HEADERS) $(srcdir)/Makefile.am \
42 $(srcdir)/Makefile.in $(srcdir)/polkit-gtk-1.pc.in
43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
45 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
46 $(ACLOCAL_M4)
47 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
48 CONFIG_HEADER = $(top_builddir)/config.h
49 CONFIG_CLEAN_FILES = polkit-gtk-1.pc
50 CONFIG_CLEAN_VPATH_FILES =
51 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
52 am__vpath_adj = case $$p in \
53 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
54 *) f=$$p;; \
55 esac;
56 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
57 am__install_max = 40
58 am__nobase_strip_setup = \
59 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
60 am__nobase_strip = \
61 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
62 am__nobase_list = $(am__nobase_strip_setup); \
63 for p in $$list; do echo "$$p $$p"; done | \
64 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
65 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
66 if (++n[$$2] == $(am__install_max)) \
67 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
68 END { for (dir in files) print dir, files[dir] }'
69 am__base_list = \
70 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
71 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
72 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(girdir)" \
73 "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(typelibsdir)" \
74 "$(DESTDIR)$(libpolkit_gtk_1includedir)"
75 LTLIBRARIES = $(lib_LTLIBRARIES)
76 am__DEPENDENCIES_1 =
77 libpolkit_gtk_1_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \
78 $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
79 $(am__DEPENDENCIES_1)
80 am__objects_1 =
81 am_libpolkit_gtk_1_la_OBJECTS = \
82 libpolkit_gtk_1_la-polkitlockbutton.lo $(am__objects_1)
83 libpolkit_gtk_1_la_OBJECTS = $(am_libpolkit_gtk_1_la_OBJECTS)
84 AM_V_lt = $(am__v_lt_$(V))
85 am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
86 am__v_lt_0 = --silent
87 libpolkit_gtk_1_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
88 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
89 $(libpolkit_gtk_1_la_CFLAGS) $(CFLAGS) \
90 $(libpolkit_gtk_1_la_LDFLAGS) $(LDFLAGS) -o $@
91 PROGRAMS = $(noinst_PROGRAMS)
92 am_example_OBJECTS = example-example.$(OBJEXT)
93 example_OBJECTS = $(am_example_OBJECTS)
94 example_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
95 $(am__DEPENDENCIES_1) libpolkit-gtk-1.la $(am__DEPENDENCIES_1)
96 example_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
97 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(example_CFLAGS) \
98 $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
99 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
100 depcomp = $(SHELL) $(top_srcdir)/depcomp
101 am__depfiles_maybe = depfiles
102 am__mv = mv -f
103 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
104 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
105 LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
106 $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
107 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
108 $(AM_CFLAGS) $(CFLAGS)
109 AM_V_CC = $(am__v_CC_$(V))
110 am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
111 am__v_CC_0 = @echo " CC " $@;
112 AM_V_at = $(am__v_at_$(V))
113 am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
114 am__v_at_0 = @
115 CCLD = $(CC)
116 LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
117 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
118 $(AM_LDFLAGS) $(LDFLAGS) -o $@
119 AM_V_CCLD = $(am__v_CCLD_$(V))
120 am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
121 am__v_CCLD_0 = @echo " CCLD " $@;
122 AM_V_GEN = $(am__v_GEN_$(V))
123 am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
124 am__v_GEN_0 = @echo " GEN " $@;
125 SOURCES = $(libpolkit_gtk_1_la_SOURCES) $(example_SOURCES)
126 DIST_SOURCES = $(libpolkit_gtk_1_la_SOURCES) $(example_SOURCES)
127 DATA = $(gir_DATA) $(pkgconfig_DATA) $(typelibs_DATA)
128 HEADERS = $(libpolkit_gtk_1include_HEADERS)
129 ETAGS = etags
130 CTAGS = ctags
131 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
132 ACLOCAL = @ACLOCAL@
133 ACLOCAL_AMFLAGS = @ACLOCAL_AMFLAGS@
134 ALL_LINGUAS = @ALL_LINGUAS@
135 AMTAR = @AMTAR@
136 AM_CFLAGS = @AM_CFLAGS@
137 AM_CPPFLAGS = @AM_CPPFLAGS@
138 AM_CXXFLAGS = @AM_CXXFLAGS@
139 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
140 AM_LDFLAGS = @AM_LDFLAGS@
141 AR = @AR@
142 AUTOCONF = @AUTOCONF@
143 AUTOHEADER = @AUTOHEADER@
144 AUTOMAKE = @AUTOMAKE@
145 AWK = @AWK@
146 CATALOGS = @CATALOGS@
147 CATOBJEXT = @CATOBJEXT@
148 CC = @CC@
149 CCDEPMODE = @CCDEPMODE@
150 CFLAGS = @CFLAGS@
151 CPP = @CPP@
152 CPPFLAGS = @CPPFLAGS@
153 CYGPATH_W = @CYGPATH_W@
154 DATADIRNAME = @DATADIRNAME@
155 DEFS = @DEFS@
156 DEPDIR = @DEPDIR@
157 DISABLE_DEPRECATED = @DISABLE_DEPRECATED@
158 DLLTOOL = @DLLTOOL@
159 DSYMUTIL = @DSYMUTIL@
160 DUMPBIN = @DUMPBIN@
161 ECHO_C = @ECHO_C@
162 ECHO_N = @ECHO_N@
163 ECHO_T = @ECHO_T@
164 EGREP = @EGREP@
165 EXEEXT = @EXEEXT@
166 FGREP = @FGREP@
167 GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
168 GIRDIR = @GIRDIR@
169 GIRTYPELIBDIR = @GIRTYPELIBDIR@
170 GMOFILES = @GMOFILES@
171 GMSGFMT = @GMSGFMT@
172 GREP = @GREP@
173 GTKDOC_CHECK = @GTKDOC_CHECK@
174 GTKDOC_MKPDF = @GTKDOC_MKPDF@
175 GTKDOC_REBASE = @GTKDOC_REBASE@
176 GTK_API_VERSION = @GTK_API_VERSION@
177 GTK_CFLAGS = @GTK_CFLAGS@
178 GTK_LIBS = @GTK_LIBS@
179 G_IR_COMPILER = @G_IR_COMPILER@
180 G_IR_GENERATE = @G_IR_GENERATE@
181 G_IR_SCANNER = @G_IR_SCANNER@
182 HTML_DIR = @HTML_DIR@
183 INSTALL = @INSTALL@
184 INSTALL_DATA = @INSTALL_DATA@
185 INSTALL_PROGRAM = @INSTALL_PROGRAM@
186 INSTALL_SCRIPT = @INSTALL_SCRIPT@
187 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
188 INSTOBJEXT = @INSTOBJEXT@
189 INTLLIBS = @INTLLIBS@
190 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
191 INTLTOOL_MERGE = @INTLTOOL_MERGE@
192 INTLTOOL_PERL = @INTLTOOL_PERL@
193 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
194 INTROSPECTION_CFLAGS = @INTROSPECTION_CFLAGS@
195 INTROSPECTION_LIBS = @INTROSPECTION_LIBS@
196 LD = @LD@
197 LDFLAGS = @LDFLAGS@
198 LIBOBJS = @LIBOBJS@
199 LIBS = @LIBS@
200 LIBTOOL = @LIBTOOL@
201 LIPO = @LIPO@
202 LN_S = @LN_S@
203 LTLIBOBJS = @LTLIBOBJS@
204 LT_AGE = @LT_AGE@
205 LT_CURRENT = @LT_CURRENT@
206 LT_REVISION = @LT_REVISION@
207 MAINT = @MAINT@
208 MAKEINFO = @MAKEINFO@
209 MANIFEST_TOOL = @MANIFEST_TOOL@
210 MKDIR_P = @MKDIR_P@
211 MKINSTALLDIRS = @MKINSTALLDIRS@
212 MSGFMT = @MSGFMT@
213 MSGFMT_OPTS = @MSGFMT_OPTS@
214 MSGMERGE = @MSGMERGE@
215 NM = @NM@
216 NMEDIT = @NMEDIT@
217 OBJDUMP = @OBJDUMP@
218 OBJEXT = @OBJEXT@
219 OTOOL = @OTOOL@
220 OTOOL64 = @OTOOL64@
221 PACKAGE = @PACKAGE@
222 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
223 PACKAGE_NAME = @PACKAGE_NAME@
224 PACKAGE_STRING = @PACKAGE_STRING@
225 PACKAGE_TARNAME = @PACKAGE_TARNAME@
226 PACKAGE_URL = @PACKAGE_URL@
227 PACKAGE_VERSION = @PACKAGE_VERSION@
228 PATH_SEPARATOR = @PATH_SEPARATOR@
229 PKG_CONFIG = @PKG_CONFIG@
230 PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
231 PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
232 POFILES = @POFILES@
233 POLKIT_AGENT_CFLAGS = @POLKIT_AGENT_CFLAGS@
234 POLKIT_AGENT_LIBS = @POLKIT_AGENT_LIBS@
235 POLKIT_GOBJECT_CFLAGS = @POLKIT_GOBJECT_CFLAGS@
236 POLKIT_GOBJECT_LIBS = @POLKIT_GOBJECT_LIBS@
237 POSUB = @POSUB@
238 PO_IN_DATADIR_FALSE = @PO_IN_DATADIR_FALSE@
239 PO_IN_DATADIR_TRUE = @PO_IN_DATADIR_TRUE@
240 RANLIB = @RANLIB@
241 SED = @SED@
242 SET_MAKE = @SET_MAKE@
243 SHELL = @SHELL@
244 STRIP = @STRIP@
245 USE_NLS = @USE_NLS@
246 VERSION = @VERSION@
247 WARN_CFLAGS = @WARN_CFLAGS@
248 XGETTEXT = @XGETTEXT@
249 abs_builddir = @abs_builddir@
250 abs_srcdir = @abs_srcdir@
251 abs_top_builddir = @abs_top_builddir@
252 abs_top_srcdir = @abs_top_srcdir@
253 ac_ct_AR = @ac_ct_AR@
254 ac_ct_CC = @ac_ct_CC@
255 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
256 am__include = @am__include@
257 am__leading_dot = @am__leading_dot@
258 am__quote = @am__quote@
259 am__tar = @am__tar@
260 am__untar = @am__untar@
261 bindir = @bindir@
262 build = @build@
263 build_alias = @build_alias@
264 build_cpu = @build_cpu@
265 build_os = @build_os@
266 build_vendor = @build_vendor@
267 builddir = @builddir@
268 datadir = @datadir@
269 datarootdir = @datarootdir@
270 docdir = @docdir@
271 dvidir = @dvidir@
272 exec_prefix = @exec_prefix@
273 host = @host@
274 host_alias = @host_alias@
275 host_cpu = @host_cpu@
276 host_os = @host_os@
277 host_vendor = @host_vendor@
278 htmldir = @htmldir@
279 includedir = @includedir@
280 infodir = @infodir@
281 install_sh = @install_sh@
282 libdir = @libdir@
283 libexecdir = @libexecdir@
284 localedir = @localedir@
285 localstatedir = @localstatedir@
286 mandir = @mandir@
287 mkdir_p = @mkdir_p@
288 oldincludedir = @oldincludedir@
289 pdfdir = @pdfdir@
290 prefix = @prefix@
291 program_transform_name = @program_transform_name@
292 psdir = @psdir@
293 sbindir = @sbindir@
294 sharedstatedir = @sharedstatedir@
295 srcdir = @srcdir@
296 sysconfdir = @sysconfdir@
297 target_alias = @target_alias@
298 top_build_prefix = @top_build_prefix@
299 top_builddir = @top_builddir@
300 top_srcdir = @top_srcdir@
301 NULL =
302 lib_LTLIBRARIES = libpolkit-gtk-1.la
303 libpolkit_gtk_1includedir = $(includedir)/polkit-gtk-1/polkitgtk
304 libpolkit_gtk_1include_HEADERS = \
305 polkitgtk.h \
306 polkitgtktypes.h \
307 polkitlockbutton.h \
308 $(NULL)
309
310 libpolkit_gtk_1_la_SOURCES = \
311 polkitgtk.h \
312 polkitgtktypes.h \
313 polkitlockbutton.h polkitlockbutton.c \
314 $(NULL)
315
316 libpolkit_gtk_1_la_CPPFLAGS = \
317 -I$(top_srcdir) \
318 -I$(top_builddir) \
319 -I$(top_srcdir)/polkitgtk \
320 -I$(top_builddir)/polkitgtk \
321 -DG_LOG_DOMAIN=\"polkitgtk\" \
322 -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
323 $(DISABLE_DEPRECATED) \
324 $(AM_CPPFLAGS) \
325 -DPOLKIT_GTK_COMPILATION \
326 $(NULL)
327
328 libpolkit_gtk_1_la_CFLAGS = \
329 $(POLKIT_GOBJECT_CFLAGS) \
330 $(GTK_CFLAGS) \
331 $(WARN_CFLAGS) \
332 $(AM_CFLAGS) \
333 $(NULL)
334
335 libpolkit_gtk_1_la_LIBADD = \
336 $(POLKIT_GOBJECT_LIBS) \
337 $(GTK_LIBS) \
338 $(INTLLIBS) \
339 $(NULL)
340
341 libpolkit_gtk_1_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) \
342 -export-dynamic -no-undefined -export-symbols-regex '(^polkit_.*)'
343
344 pkgconfigdir = $(libdir)/pkgconfig
345 pkgconfig_DATA = polkit-gtk-1.pc
346 example_SOURCES = example.c
347 example_CFLAGS = \
348 -I$(top_srcdir) \
349 -I$(top_builddir) \
350 $(POLKIT_GOBJECT_CFLAGS) \
351 $(GTK_CFLAGS) \
352 $(WARN_CFLAGS) \
353 $(AM_CFLAGS) \
354 $(NULL)
355
356 example_LDADD = \
357 $(POLKIT_GOBJECT_LIBS) \
358 $(GTK_LIBS) \
359 $(INTLLIBS) \
360 libpolkit-gtk-1.la \
361 $(NULL)
362
363 @ENABLE_INTROSPECTION_TRUE@girdir = $(GIRDIR)
364 @ENABLE_INTROSPECTION_TRUE@gir_DATA = PolkitGtk-1.0.gir
365 @ENABLE_INTROSPECTION_TRUE@typelibsdir = $(GIRTYPELIBDIR)
366 @ENABLE_INTROSPECTION_TRUE@typelibs_DATA = PolkitGtk-1.0.typelib
367 CLEANFILES = $(BUILT_SOURCES) $(pkgconfig_DATA) $(gir_DATA) $(typelibs_DATA)
368 all: all-am
369
370 .SUFFIXES:
371 .SUFFIXES: .c .lo .o .obj
372 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
373 @for dep in $?; do \
374 case '$(am__configure_deps)' in \
375 *$$dep*) \
376 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
377 && { if test -f $@; then exit 0; else break; fi; }; \
378 exit 1;; \
379 esac; \
380 done; \
381 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign polkitgtk/Makefile'; \
382 $(am__cd) $(top_srcdir) && \
383 $(AUTOMAKE) --foreign polkitgtk/Makefile
384 .PRECIOUS: Makefile
385 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
386 @case '$?' in \
387 *config.status*) \
388 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
389 *) \
390 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
391 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
392 esac;
393
394 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
395 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
396
397 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
398 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
399 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
400 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
401 $(am__aclocal_m4_deps):
402 polkit-gtk-1.pc: $(top_builddir)/config.status $(srcdir)/polkit-gtk-1.pc.in
403 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
404 install-libLTLIBRARIES: $(lib_LTLIBRARIES)
405 @$(NORMAL_INSTALL)
406 test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
407 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
408 list2=; for p in $$list; do \
409 if test -f $$p; then \
410 list2="$$list2 $$p"; \
411 else :; fi; \
412 done; \
413 test -z "$$list2" || { \
414 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
415 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
416 }
417
418 uninstall-libLTLIBRARIES:
419 @$(NORMAL_UNINSTALL)
420 @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
421 for p in $$list; do \
422 $(am__strip_dir) \
423 echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
424 $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
425 done
426
427 clean-libLTLIBRARIES:
428 -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
429 @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
430 dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
431 test "$$dir" != "$$p" || dir=.; \
432 echo "rm -f \"$${dir}/so_locations\""; \
433 rm -f "$${dir}/so_locations"; \
434 done
435 libpolkit-gtk-1.la: $(libpolkit_gtk_1_la_OBJECTS) $(libpolkit_gtk_1_la_DEPENDENCIES)
436 $(AM_V_CCLD)$(libpolkit_gtk_1_la_LINK) -rpath $(libdir) $(libpolkit_gtk_1_la_OBJECTS) $(libpolkit_gtk_1_la_LIBADD) $(LIBS)
437
438 clean-noinstPROGRAMS:
439 @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
440 echo " rm -f" $$list; \
441 rm -f $$list || exit $$?; \
442 test -n "$(EXEEXT)" || exit 0; \
443 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
444 echo " rm -f" $$list; \
445 rm -f $$list
446 example$(EXEEXT): $(example_OBJECTS) $(example_DEPENDENCIES)
447 @rm -f example$(EXEEXT)
448 $(AM_V_CCLD)$(example_LINK) $(example_OBJECTS) $(example_LDADD) $(LIBS)
449
450 mostlyclean-compile:
451 -rm -f *.$(OBJEXT)
452
453 distclean-compile:
454 -rm -f *.tab.c
455
456 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/example-example.Po@am__quote@
457 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libpolkit_gtk_1_la-polkitlockbutton.Plo@am__quote@
458
459 .c.o:
460 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
461 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
462 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
463 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
464 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
465 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
466
467 .c.obj:
468 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
469 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
470 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
471 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
472 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
473 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
474
475 .c.lo:
476 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
477 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
478 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
479 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
480 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
481 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
482
483 libpolkit_gtk_1_la-polkitlockbutton.lo: polkitlockbutton.c
484 @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpolkit_gtk_1_la_CPPFLAGS) $(CPPFLAGS) $(libpolkit_gtk_1_la_CFLAGS) $(CFLAGS) -MT libpolkit_gtk_1_la-polkitlockbutton.lo -MD -MP -MF $(DEPDIR)/libpolkit_gtk_1_la-polkitlockbutton.Tpo -c -o libpolkit_gtk_1_la-polkitlockbutton.lo `test -f 'polkitlockbutton.c' || echo '$(srcdir)/'`polkitlockbutton.c
485 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libpolkit_gtk_1_la-polkitlockbutton.Tpo $(DEPDIR)/libpolkit_gtk_1_la-polkitlockbutton.Plo
486 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
487 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='polkitlockbutton.c' object='libpolkit_gtk_1_la-polkitlockbutton.lo' libtool=yes @AMDEPBACKSLASH@
488 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
489 @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libpolkit_gtk_1_la_CPPFLAGS) $(CPPFLAGS) $(libpolkit_gtk_1_la_CFLAGS) $(CFLAGS) -c -o libpolkit_gtk_1_la-polkitlockbutton.lo `test -f 'polkitlockbutton.c' || echo '$(srcdir)/'`polkitlockbutton.c
490
491 example-example.o: example.c
492 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(example_CFLAGS) $(CFLAGS) -MT example-example.o -MD -MP -MF $(DEPDIR)/example-example.Tpo -c -o example-example.o `test -f 'example.c' || echo '$(srcdir)/'`example.c
493 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/example-example.Tpo $(DEPDIR)/example-example.Po
494 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
495 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='example.c' object='example-example.o' libtool=no @AMDEPBACKSLASH@
496 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
497 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(example_CFLAGS) $(CFLAGS) -c -o example-example.o `test -f 'example.c' || echo '$(srcdir)/'`example.c
498
499 example-example.obj: example.c
500 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(example_CFLAGS) $(CFLAGS) -MT example-example.obj -MD -MP -MF $(DEPDIR)/example-example.Tpo -c -o example-example.obj `if test -f 'example.c'; then $(CYGPATH_W) 'example.c'; else $(CYGPATH_W) '$(srcdir)/example.c'; fi`
501 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/example-example.Tpo $(DEPDIR)/example-example.Po
502 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
503 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='example.c' object='example-example.obj' libtool=no @AMDEPBACKSLASH@
504 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
505 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(example_CFLAGS) $(CFLAGS) -c -o example-example.obj `if test -f 'example.c'; then $(CYGPATH_W) 'example.c'; else $(CYGPATH_W) '$(srcdir)/example.c'; fi`
506
507 mostlyclean-libtool:
508 -rm -f *.lo
509
510 clean-libtool:
511 -rm -rf .libs _libs
512 install-girDATA: $(gir_DATA)
513 @$(NORMAL_INSTALL)
514 test -z "$(girdir)" || $(MKDIR_P) "$(DESTDIR)$(girdir)"
515 @list='$(gir_DATA)'; test -n "$(girdir)" || list=; \
516 for p in $$list; do \
517 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
518 echo "$$d$$p"; \
519 done | $(am__base_list) | \
520 while read files; do \
521 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(girdir)'"; \
522 $(INSTALL_DATA) $$files "$(DESTDIR)$(girdir)" || exit $$?; \
523 done
524
525 uninstall-girDATA:
526 @$(NORMAL_UNINSTALL)
527 @list='$(gir_DATA)'; test -n "$(girdir)" || list=; \
528 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
529 test -n "$$files" || exit 0; \
530 echo " ( cd '$(DESTDIR)$(girdir)' && rm -f" $$files ")"; \
531 cd "$(DESTDIR)$(girdir)" && rm -f $$files
532 install-pkgconfigDATA: $(pkgconfig_DATA)
533 @$(NORMAL_INSTALL)
534 test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
535 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
536 for p in $$list; do \
537 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
538 echo "$$d$$p"; \
539 done | $(am__base_list) | \
540 while read files; do \
541 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
542 $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
543 done
544
545 uninstall-pkgconfigDATA:
546 @$(NORMAL_UNINSTALL)
547 @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
548 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
549 test -n "$$files" || exit 0; \
550 echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \
551 cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files
552 install-typelibsDATA: $(typelibs_DATA)
553 @$(NORMAL_INSTALL)
554 test -z "$(typelibsdir)" || $(MKDIR_P) "$(DESTDIR)$(typelibsdir)"
555 @list='$(typelibs_DATA)'; test -n "$(typelibsdir)" || list=; \
556 for p in $$list; do \
557 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
558 echo "$$d$$p"; \
559 done | $(am__base_list) | \
560 while read files; do \
561 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(typelibsdir)'"; \
562 $(INSTALL_DATA) $$files "$(DESTDIR)$(typelibsdir)" || exit $$?; \
563 done
564
565 uninstall-typelibsDATA:
566 @$(NORMAL_UNINSTALL)
567 @list='$(typelibs_DATA)'; test -n "$(typelibsdir)" || list=; \
568 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
569 test -n "$$files" || exit 0; \
570 echo " ( cd '$(DESTDIR)$(typelibsdir)' && rm -f" $$files ")"; \
571 cd "$(DESTDIR)$(typelibsdir)" && rm -f $$files
572 install-libpolkit_gtk_1includeHEADERS: $(libpolkit_gtk_1include_HEADERS)
573 @$(NORMAL_INSTALL)
574 test -z "$(libpolkit_gtk_1includedir)" || $(MKDIR_P) "$(DESTDIR)$(libpolkit_gtk_1includedir)"
575 @list='$(libpolkit_gtk_1include_HEADERS)'; test -n "$(libpolkit_gtk_1includedir)" || list=; \
576 for p in $$list; do \
577 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
578 echo "$$d$$p"; \
579 done | $(am__base_list) | \
580 while read files; do \
581 echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libpolkit_gtk_1includedir)'"; \
582 $(INSTALL_HEADER) $$files "$(DESTDIR)$(libpolkit_gtk_1includedir)" || exit $$?; \
583 done
584
585 uninstall-libpolkit_gtk_1includeHEADERS:
586 @$(NORMAL_UNINSTALL)
587 @list='$(libpolkit_gtk_1include_HEADERS)'; test -n "$(libpolkit_gtk_1includedir)" || list=; \
588 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
589 test -n "$$files" || exit 0; \
590 echo " ( cd '$(DESTDIR)$(libpolkit_gtk_1includedir)' && rm -f" $$files ")"; \
591 cd "$(DESTDIR)$(libpolkit_gtk_1includedir)" && rm -f $$files
592
593 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
594 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
595 unique=`for i in $$list; do \
596 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
597 done | \
598 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
599 END { if (nonempty) { for (i in files) print i; }; }'`; \
600 mkid -fID $$unique
601 tags: TAGS
602
603 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
604 $(TAGS_FILES) $(LISP)
605 set x; \
606 here=`pwd`; \
607 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
608 unique=`for i in $$list; do \
609 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
610 done | \
611 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
612 END { if (nonempty) { for (i in files) print i; }; }'`; \
613 shift; \
614 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
615 test -n "$$unique" || unique=$$empty_fix; \
616 if test $$# -gt 0; then \
617 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
618 "$$@" $$unique; \
619 else \
620 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
621 $$unique; \
622 fi; \
623 fi
624 ctags: CTAGS
625 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
626 $(TAGS_FILES) $(LISP)
627 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
628 unique=`for i in $$list; do \
629 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
630 done | \
631 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
632 END { if (nonempty) { for (i in files) print i; }; }'`; \
633 test -z "$(CTAGS_ARGS)$$unique" \
634 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
635 $$unique
636
637 GTAGS:
638 here=`$(am__cd) $(top_builddir) && pwd` \
639 && $(am__cd) $(top_srcdir) \
640 && gtags -i $(GTAGS_ARGS) "$$here"
641
642 distclean-tags:
643 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
644
645 distdir: $(DISTFILES)
646 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
647 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
648 list='$(DISTFILES)'; \
649 dist_files=`for file in $$list; do echo $$file; done | \
650 sed -e "s|^$$srcdirstrip/||;t" \
651 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
652 case $$dist_files in \
653 */*) $(MKDIR_P) `echo "$$dist_files" | \
654 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
655 sort -u` ;; \
656 esac; \
657 for file in $$dist_files; do \
658 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
659 if test -d $$d/$$file; then \
660 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
661 if test -d "$(distdir)/$$file"; then \
662 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
663 fi; \
664 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
665 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
666 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
667 fi; \
668 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
669 else \
670 test -f "$(distdir)/$$file" \
671 || cp -p $$d/$$file "$(distdir)/$$file" \
672 || exit 1; \
673 fi; \
674 done
675 check-am: all-am
676 check: check-am
677 all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) $(HEADERS)
678 installdirs:
679 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(girdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(typelibsdir)" "$(DESTDIR)$(libpolkit_gtk_1includedir)"; do \
680 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
681 done
682 install: install-am
683 install-exec: install-exec-am
684 install-data: install-data-am
685 uninstall: uninstall-am
686
687 install-am: all-am
688 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
689
690 installcheck: installcheck-am
691 install-strip:
692 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
693 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
694 `test -z '$(STRIP)' || \
695 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
696 mostlyclean-generic:
697
698 clean-generic:
699 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
700
701 distclean-generic:
702 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
703 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
704
705 maintainer-clean-generic:
706 @echo "This command is intended for maintainers to use"
707 @echo "it deletes files that may require special tools to rebuild."
708 clean: clean-am
709
710 clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \
711 clean-noinstPROGRAMS mostlyclean-am
712
713 distclean: distclean-am
714 -rm -rf ./$(DEPDIR)
715 -rm -f Makefile
716 distclean-am: clean-am distclean-compile distclean-generic \
717 distclean-tags
718
719 dvi: dvi-am
720
721 dvi-am:
722
723 html: html-am
724
725 html-am:
726
727 info: info-am
728
729 info-am:
730
731 install-data-am: install-girDATA install-libpolkit_gtk_1includeHEADERS \
732 install-pkgconfigDATA install-typelibsDATA
733
734 install-dvi: install-dvi-am
735
736 install-dvi-am:
737
738 install-exec-am: install-libLTLIBRARIES
739
740 install-html: install-html-am
741
742 install-html-am:
743
744 install-info: install-info-am
745
746 install-info-am:
747
748 install-man:
749
750 install-pdf: install-pdf-am
751
752 install-pdf-am:
753
754 install-ps: install-ps-am
755
756 install-ps-am:
757
758 installcheck-am:
759
760 maintainer-clean: maintainer-clean-am
761 -rm -rf ./$(DEPDIR)
762 -rm -f Makefile
763 maintainer-clean-am: distclean-am maintainer-clean-generic
764
765 mostlyclean: mostlyclean-am
766
767 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
768 mostlyclean-libtool
769
770 pdf: pdf-am
771
772 pdf-am:
773
774 ps: ps-am
775
776 ps-am:
777
778 uninstall-am: uninstall-girDATA uninstall-libLTLIBRARIES \
779 uninstall-libpolkit_gtk_1includeHEADERS \
780 uninstall-pkgconfigDATA uninstall-typelibsDATA
781
782 .MAKE: install-am install-strip
783
784 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
785 clean-libLTLIBRARIES clean-libtool clean-local \
786 clean-noinstPROGRAMS ctags distclean distclean-compile \
787 distclean-generic distclean-libtool distclean-tags distdir dvi \
788 dvi-am html html-am info info-am install install-am \
789 install-data install-data-am install-dvi install-dvi-am \
790 install-exec install-exec-am install-girDATA install-html \
791 install-html-am install-info install-info-am \
792 install-libLTLIBRARIES install-libpolkit_gtk_1includeHEADERS \
793 install-man install-pdf install-pdf-am install-pkgconfigDATA \
794 install-ps install-ps-am install-strip install-typelibsDATA \
795 installcheck installcheck-am installdirs maintainer-clean \
796 maintainer-clean-generic mostlyclean mostlyclean-compile \
797 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
798 tags uninstall uninstall-am uninstall-girDATA \
799 uninstall-libLTLIBRARIES \
800 uninstall-libpolkit_gtk_1includeHEADERS \
801 uninstall-pkgconfigDATA uninstall-typelibsDATA
802
803
804 @ENABLE_INTROSPECTION_TRUE@PolkitGtk-1.0.gir: libpolkit-gtk-1.la $(G_IR_SCANNER) Makefile.am
805 @ENABLE_INTROSPECTION_TRUE@ $(G_IR_SCANNER) -v \
806 @ENABLE_INTROSPECTION_TRUE@ --namespace PolkitGtk \
807 @ENABLE_INTROSPECTION_TRUE@ --strip-prefix=Polkit \
808 @ENABLE_INTROSPECTION_TRUE@ --nsversion=1.0 \
809 @ENABLE_INTROSPECTION_TRUE@ --include=Gtk-$(GTK_API_VERSION) \
810 @ENABLE_INTROSPECTION_TRUE@ --include=Polkit-1.0 \
811 @ENABLE_INTROSPECTION_TRUE@ --library=polkit-gtk-1 \
812 @ENABLE_INTROSPECTION_TRUE@ --output $@ \
813 @ENABLE_INTROSPECTION_TRUE@ --pkg=polkit-gobject-1 \
814 @ENABLE_INTROSPECTION_TRUE@ --pkg=gtk+-$(GTK_API_VERSION) \
815 @ENABLE_INTROSPECTION_TRUE@ --libtool=$(top_builddir)/libtool \
816 @ENABLE_INTROSPECTION_TRUE@ -I$(top_srcdir) \
817 @ENABLE_INTROSPECTION_TRUE@ -DPOLKIT_GTK_COMPILATION \
818 @ENABLE_INTROSPECTION_TRUE@ $(srcdir)/polkitgtk.h \
819 @ENABLE_INTROSPECTION_TRUE@ $(srcdir)/polkitgtktypes.h \
820 @ENABLE_INTROSPECTION_TRUE@ $(srcdir)/polkitlockbutton.h \
821 @ENABLE_INTROSPECTION_TRUE@ $(NULL)
822
823 @ENABLE_INTROSPECTION_TRUE@PolkitGtk-1.0.typelib: PolkitGtk-1.0.gir $(G_IR_COMPILER)
824 @ENABLE_INTROSPECTION_TRUE@ $(G_IR_COMPILER) $< -o $@
825
826 clean-local :
827 rm -f *~ $(BUILT_SOURCES)
828
829 # Tell versions [3.59,3.63) of GNU make to not export all variables.
830 # Otherwise a system limit (for SysV at least) may be exceeded.
831 .NOEXPORT:
+0
-198
polkitgtk/example.c less more
0 /*
1 * Copyright (C) 2009 Red Hat, Inc.
2 *
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) any later version.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General
14 * Public License along with this library; if not, write to the
15 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
16 * Boston, MA 02111-1307, USA.
17 *
18 * Author: David Zeuthen <davidz@redhat.com>
19 */
20
21 #include <polkitgtk/polkitgtk.h>
22
23 static PolkitAuthority *authority = NULL;
24 const gchar *action_id = NULL;
25 static PolkitSubject *system_bus_name_subject = NULL;
26 static PolkitSubject *unix_process_subject = NULL;
27 static GtkWidget *system_bus_name_authorized_label = NULL;
28 static GtkWidget *unix_process_authorized_label = NULL;
29
30 static void
31 update_one (PolkitSubject *subject,
32 GtkWidget *label)
33 {
34 PolkitAuthorizationResult *result;
35 GError *error;
36 GString *s;
37 gchar *subject_str;
38
39 s = g_string_new (NULL);
40 subject_str = polkit_subject_to_string (subject);
41 g_string_append_printf (s, "Result for subject `%s': ", subject_str);
42 g_free (subject_str);
43
44 error = NULL;
45 result = polkit_authority_check_authorization_sync (authority,
46 subject,
47 action_id,
48 NULL,
49 POLKIT_CHECK_AUTHORIZATION_FLAGS_NONE,
50 NULL,
51 &error);
52 if (result == NULL)
53 {
54 g_string_append_printf (s,
55 "failed: %s", error->message);
56 g_error_free (error);
57 }
58 else
59 {
60 g_string_append_printf (s,
61 "authorized=%d challenge=%d retains=%d temporary=%d",
62 polkit_authorization_result_get_is_authorized (result),
63 polkit_authorization_result_get_is_challenge (result),
64 polkit_authorization_result_get_retains_authorization (result),
65 polkit_authorization_result_get_temporary_authorization_id (result) != NULL);
66 g_object_unref (result);
67 }
68
69 gtk_label_set_text (GTK_LABEL (label), s->str);
70 g_string_free (s, TRUE);
71 }
72
73 static void
74 update_labels (void)
75 {
76 update_one (system_bus_name_subject, system_bus_name_authorized_label);
77 update_one (unix_process_subject, unix_process_authorized_label);
78 }
79
80 static void
81 on_authority_changed (PolkitAuthority *authority,
82 gpointer user_data)
83 {
84 update_labels ();
85 }
86
87 static void
88 on_button_changed (PolkitLockButton *button,
89 gpointer user_data)
90 {
91 GtkWidget *entry = GTK_WIDGET (user_data);
92
93 gtk_widget_set_sensitive (entry,
94 polkit_lock_button_get_is_authorized (button));
95 }
96
97 int
98 main (int argc, char *argv[])
99 {
100 GDBusConnection *bus;
101 GtkWidget *window;
102 GtkWidget *label;
103 GtkWidget *button;
104 GtkWidget *entry;
105 GtkWidget *vbox;
106 GError *error;
107 gchar *s;
108
109 gtk_init (&argc, &argv);
110
111 if (argc != 2)
112 {
113 g_printerr ("usage: %s <action_id>\n", argv[0]);
114 goto out;
115 }
116 action_id = argv[1];
117
118 error = NULL;
119 bus = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL /* GCancellable* */, &error);
120 if (bus == NULL)
121 {
122 g_printerr ("Failed connecting to system bus: %s\n", error->message);
123 g_error_free (error);
124 goto out;
125 }
126
127 window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
128 gtk_window_set_resizable (GTK_WINDOW (window), TRUE);
129
130 vbox = gtk_vbox_new (FALSE, 12);
131 gtk_container_set_border_width (GTK_CONTAINER (window), 12);
132 gtk_container_add (GTK_CONTAINER (window), vbox);
133
134 s = g_strdup_printf ("Showing PolkitLockButton for action id: %s", action_id);
135 label = gtk_label_new (s);
136 gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
137 gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
138 gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
139 g_free (s);
140
141 label = gtk_label_new (NULL);
142 gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
143 gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
144 gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
145 system_bus_name_authorized_label = label;
146
147 label = gtk_label_new (NULL);
148 gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
149 gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
150 gtk_box_pack_start (GTK_BOX (vbox), label, FALSE, FALSE, 0);
151 unix_process_authorized_label = label;
152
153 entry = gtk_entry_new ();
154 gtk_box_pack_start (GTK_BOX (vbox), entry, FALSE, FALSE, 0);
155
156 button = polkit_lock_button_new (action_id);
157 g_signal_connect (button,
158 "changed",
159 G_CALLBACK (on_button_changed),
160 entry);
161 gtk_box_pack_start (GTK_BOX (vbox), button, FALSE, FALSE, 0);
162
163
164 system_bus_name_subject = polkit_system_bus_name_new (g_dbus_connection_get_unique_name (bus));
165 unix_process_subject = polkit_unix_process_new (getpid ());
166
167 error = NULL;
168 authority = polkit_authority_get_sync (NULL /* GCancellable* */, &error);
169 if (authority == NULL)
170 {
171 g_printerr ("Failed getting the authority: %s\n", error->message);
172 g_error_free (error);
173 goto out;
174 }
175
176 g_debug ("backend: name=`%s' version=`%s' features=%d",
177 polkit_authority_get_backend_name (authority),
178 polkit_authority_get_backend_version (authority),
179 polkit_authority_get_backend_features (authority));
180 g_signal_connect (authority,
181 "changed",
182 G_CALLBACK (on_authority_changed),
183 NULL);
184
185 update_labels ();
186
187 gtk_widget_set_sensitive (entry,
188 polkit_lock_button_get_is_authorized (POLKIT_LOCK_BUTTON (button)));
189
190 gtk_widget_show_all (window);
191 gtk_window_present (GTK_WINDOW (window));
192
193 gtk_main ();
194
195 out:
196 return 0;
197 }
+0
-11
polkitgtk/polkit-gtk-1.pc.in less more
0 prefix=@prefix@
1 exec_prefix=@exec_prefix@
2 libdir=@libdir@
3 includedir=@includedir@
4
5 Name: polkit-gtk-1
6 Description: PolicyKit GTK+ widgets
7 Version: @VERSION@
8 Libs: -L${libdir} -lpolkit-gtk-1
9 Cflags: -I${includedir}/polkit-gtk-1
10 Requires: polkit-gobject-1
+0
-32
polkitgtk/polkitgtk.h less more
0 /*
1 * Copyright (C) 2009 Red Hat, Inc.
2 *
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) any later version.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General
14 * Public License along with this library; if not, write to the
15 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
16 * Boston, MA 02111-1307, USA.
17 *
18 * Author: David Zeuthen <davidz@redhat.com>
19 */
20
21 #ifndef __POLKIT_GTK_H
22 #define __POLKIT_GTK_H
23
24 #define _POLKIT_GTK_INSIDE_POLKIT_GTK_H 1
25
26 #include <polkitgtk/polkitgtktypes.h>
27 #include <polkitgtk/polkitlockbutton.h>
28
29 #undef _POLKIT_GTK_INSIDE_POLKIT_GTK_H
30
31 #endif /* __POLKIT_GTK_H */
+0
-35
polkitgtk/polkitgtktypes.h less more
0 /*
1 * Copyright (C) 2009 Red Hat, Inc.
2 *
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) any later version.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General
14 * Public License along with this library; if not, write to the
15 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
16 * Boston, MA 02111-1307, USA.
17 *
18 * Author: David Zeuthen <davidz@redhat.com>
19 */
20
21 #if !defined (_POLKIT_GTK_INSIDE_POLKIT_GTK_H) && !defined (POLKIT_GTK_COMPILATION)
22 #error "Only <polkitgtk/polkitgtk.h> can be included directly, this file may disappear or change contents."
23 #endif
24
25 #ifndef __POLKIT_GTK_TYPES_H
26 #define __POLKIT_GTK_TYPES_H
27
28 #include <gtk/gtk.h>
29 #include <polkit/polkit.h>
30
31 struct _PolkitLockButton;
32 typedef struct _PolkitLockButton PolkitLockButton;
33
34 #endif /* __POLKIT_GTK_TYPES_H */
+0
-1224
polkitgtk/polkitlockbutton.c less more
0 /*
1 * Copyright (C) 2009 Red Hat, Inc.
2 *
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) any later version.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General
14 * Public License along with this library; if not, write to the
15 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
16 * Boston, MA 02111-1307, USA.
17 *
18 * Author: David Zeuthen <davidz@redhat.com>
19 */
20
21 #include "config.h"
22
23 #include <glib/gi18n-lib.h>
24 #include <string.h>
25 #include <polkit/polkit.h>
26
27 #include "polkitlockbutton.h"
28
29 /**
30 * SECTION:polkitlockbutton
31 * @title: PolkitLockButton
32 * @short_description: Widget for obtaining/revoking authorizations
33 * @stability: Stable
34 *
35 * #PolkitLockButton is a widget that can be used in control panels to
36 * allow users to obtain and revoke authorizations needed for the
37 * control panel UI to function.
38 *
39 * If the user lacks the authorization but authorization can be
40 * obtained through authentication, the widget looks like this
41 * <mediaobject id="lock-button-locked">
42 * <imageobject>
43 * <imagedata fileref="polkit-lock-button-locked.png" format="PNG"/>
44 * </imageobject>
45 * </mediaobject>
46 * and the user can click the button to obtain the authorization. This
47 * will pop up an authentication dialog.
48 * Once authorization is obtained, the widget changes to this
49 * <mediaobject id="lock-button-unlocked">
50 * <imageobject>
51 * <imagedata fileref="polkit-lock-button-unlocked.png" format="PNG"/>
52 * </imageobject>
53 * </mediaobject>
54 * and the authorization can be dropped by clicking the button.
55 * If the user is not able to obtain authorization at all, the widget
56 * looks like this
57 * <mediaobject id="lock-button-unlocked-not-authorized">
58 * <imageobject>
59 * <imagedata fileref="polkit-lock-button-not-authorized.png" format="PNG"/>
60 * </imageobject>
61 * </mediaobject>
62 * If the user is authorized (either implicitly via the .policy file
63 * defaults or through e.g. Local Authority configuration) and no
64 * authentication is necessary and the Authority Implementation
65 * supports lock-down, the widget looks like this
66 * <mediaobject id="lock-button-unlocked-lock-down">
67 * <imageobject>
68 * <imagedata fileref="polkit-lock-button-lock-down.png" format="PNG"/>
69 * </imageobject>
70 * </mediaobject>
71 * allowing the user to lock down the action. The lockdown can be
72 * removed by right clicking the button - the user can discover this
73 * through the tooltip. If the Authority implementation does not
74 * support lockdown, the widget will be hidden.
75 *
76 * Finally, if the user is not authorized but authorization can be
77 * obtained and the obtained authorization will be a one-shot
78 * authorization, the widget will be hidden. This means that any
79 * attempt to use the Mechanism that requires authorization for the
80 * specified action will always prompt for authentication. This
81 * condition happens exactly when
82 * (!polkit_lock_button_get_is_authorized() &&
83 * polkit_lock_button_get_can_obtain() &&
84 * !polkit_lock_button_get_is_visible()) is %TRUE.
85 *
86 * Typically #PolkitLockButton is only useful for actions where
87 * authorization is obtained through authentication (and retained) or
88 * where users are implictly authorized (cf. the defaults specified in
89 * the <literal>.policy</literal> file for the action) but note that
90 * this behavior can be overridden by the Authority implementation.
91 *
92 * The typical usage of this widget is like this:
93 * <programlisting>
94 * static void
95 * update_sensitivity_according_to_lock_button (FooBar *bar)
96 * {
97 * gboolean make_sensitive;
98 *
99 * make_sensitive = FALSE;
100 * if (polkit_lock_button_get_is_authorized (POLKIT_LOCK_BUTTON (bar->priv->lock_button)))
101 * {
102 * make_sensitive = TRUE;
103 * }
104 * else
105 * {
106 * /<!-- -->* Catch the case where authorization is one-shot - this means
107 * * an authentication dialog will be shown every time a widget the user
108 * * manipulates calls into the Mechanism.
109 * *<!-- -->/
110 * if (polkit_lock_button_get_can_obtain (POLKIT_LOCK_BUTTON (bar->priv->lock_button)) &&
111 * !polkit_lock_button_get_is_visible (POLKIT_LOCK_BUTTON (bar->priv->lock_button)))
112 * make_sensitive = TRUE;
113 * }
114 *
115 *
116 * /<!-- -->* Make all widgets relying on authorization sensitive according to
117 * * the value of make_sensitive.
118 * *<!-- -->/
119 * }
120 *
121 * static void
122 * on_lock_button_changed (PolkitLockButton *button,
123 * gpointer user_data)
124 * {
125 * FooBar *bar = FOO_BAR (user_data);
126 *
127 * update_sensitivity_according_to_lock_button (bar);
128 * }
129 *
130 * static void
131 * foo_bar_init (FooBar *bar)
132 * {
133 * /<!-- -->* Construct other widgets *<!-- -->/
134 *
135 * bar->priv->lock_button = polkit_lock_button_new ("org.project.mechanism.action-name");
136 * g_signal_connect (bar->priv->lock_button,
137 * "changed",
138 * G_CALLBACK (on_lock_button_changed),
139 * bar);
140 * update_sensitity_according_to_lock_button (bar);
141 *
142 * /<!-- -->* Pack bar->priv->lock_button into widget hierarchy *<!-- -->/
143 * }
144 * </programlisting>
145 */
146
147 struct _PolkitLockButtonPrivate
148 {
149 PolkitAuthority *authority;
150 PolkitSubject *subject;
151 gchar *action_id;
152
153 gchar *text_unlock;
154 gchar *text_lock;
155 gchar *text_lock_down;
156 gchar *text_not_authorized;
157
158 gchar *tooltip_unlock;
159 gchar *tooltip_lock;
160 gchar *tooltip_lock_down;
161 gchar *tooltip_not_authorized;
162
163 GtkWidget *button;
164 GtkWidget *label;
165
166 gboolean can_obtain;
167 gboolean retains_after_challenge;
168 gboolean authorized;
169 gboolean hidden;
170
171 /* is non-NULL exactly when we are authorized and have a temporary authorization */
172 gchar *tmp_authz_id;
173
174 /* This is non-NULL exactly when we have a non-interactive check outstanding */
175 GCancellable *check_cancellable;
176
177 /* This is non-NULL exactly when we have an interactive check outstanding */
178 GCancellable *interactive_check_cancellable;
179
180 };
181
182 enum
183 {
184 PROP_0,
185 PROP_ACTION_ID,
186 PROP_IS_AUTHORIZED,
187 PROP_IS_VISIBLE,
188 PROP_CAN_OBTAIN,
189 PROP_TEXT_UNLOCK,
190 PROP_TEXT_LOCK,
191 PROP_TEXT_LOCK_DOWN,
192 PROP_TEXT_NOT_AUTHORIZED,
193 PROP_TOOLTIP_UNLOCK,
194 PROP_TOOLTIP_LOCK,
195 PROP_TOOLTIP_LOCK_DOWN,
196 PROP_TOOLTIP_NOT_AUTHORIZED,
197 };
198
199 enum
200 {
201 CHANGED_SIGNAL,
202 LAST_SIGNAL,
203 };
204
205 static guint signals[LAST_SIGNAL] = {0, };
206
207 static void initiate_check (PolkitLockButton *button);
208 static void do_sync_check (PolkitLockButton *button);
209 static void update_state (PolkitLockButton *button);
210
211 static void on_authority_changed (PolkitAuthority *authority,
212 gpointer user_data);
213
214 static void on_clicked (GtkButton *button,
215 gpointer user_data);
216
217 G_DEFINE_TYPE (PolkitLockButton, polkit_lock_button, GTK_TYPE_BOX);
218
219 static void
220 polkit_lock_button_finalize (GObject *object)
221 {
222 PolkitLockButton *button = POLKIT_LOCK_BUTTON (object);
223
224 g_free (button->priv->action_id);
225 g_free (button->priv->tmp_authz_id);
226 g_object_unref (button->priv->subject);
227
228 if (button->priv->check_cancellable != NULL)
229 {
230 g_cancellable_cancel (button->priv->check_cancellable);
231 g_object_unref (button->priv->check_cancellable);
232 }
233
234 if (button->priv->interactive_check_cancellable != NULL)
235 {
236 g_cancellable_cancel (button->priv->interactive_check_cancellable);
237 g_object_unref (button->priv->interactive_check_cancellable);
238 }
239
240 g_signal_handlers_disconnect_by_func (button->priv->authority,
241 on_authority_changed,
242 button);
243 g_object_unref (button->priv->authority);
244
245 if (G_OBJECT_CLASS (polkit_lock_button_parent_class)->finalize != NULL)
246 G_OBJECT_CLASS (polkit_lock_button_parent_class)->finalize (object);
247 }
248
249 static void
250 polkit_lock_button_get_property (GObject *object,
251 guint property_id,
252 GValue *value,
253 GParamSpec *pspec)
254 {
255 PolkitLockButton *button = POLKIT_LOCK_BUTTON (object);
256
257 switch (property_id)
258 {
259 case PROP_ACTION_ID:
260 g_value_set_string (value, button->priv->action_id);
261 break;
262
263 case PROP_IS_AUTHORIZED:
264 g_value_set_boolean (value, button->priv->authorized);
265 break;
266
267 case PROP_IS_VISIBLE:
268 g_value_set_boolean (value, !button->priv->hidden);
269 break;
270
271 case PROP_CAN_OBTAIN:
272 g_value_set_boolean (value, button->priv->can_obtain);
273 break;
274
275 case PROP_TEXT_UNLOCK:
276 g_value_set_string (value, button->priv->text_unlock);
277 break;
278
279 case PROP_TEXT_LOCK:
280 g_value_set_string (value, button->priv->text_lock);
281 break;
282
283 case PROP_TEXT_LOCK_DOWN:
284 g_value_set_string (value, button->priv->text_lock_down);
285 break;
286
287 case PROP_TEXT_NOT_AUTHORIZED:
288 g_value_set_string (value, button->priv->text_not_authorized);
289 break;
290
291 case PROP_TOOLTIP_UNLOCK:
292 g_value_set_string (value, button->priv->tooltip_unlock);
293 break;
294
295 case PROP_TOOLTIP_LOCK:
296 g_value_set_string (value, button->priv->tooltip_lock);
297 break;
298
299 case PROP_TOOLTIP_LOCK_DOWN:
300 g_value_set_string (value, button->priv->tooltip_lock_down);
301 break;
302
303 case PROP_TOOLTIP_NOT_AUTHORIZED:
304 g_value_set_string (value, button->priv->tooltip_not_authorized);
305 break;
306
307 default:
308 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
309 break;
310 }
311 }
312
313 static void
314 polkit_lock_button_set_property (GObject *object,
315 guint property_id,
316 const GValue *value,
317 GParamSpec *pspec)
318 {
319 PolkitLockButton *button = POLKIT_LOCK_BUTTON (object);
320
321 switch (property_id)
322 {
323 case PROP_ACTION_ID:
324 button->priv->action_id = g_value_dup_string (value);
325 break;
326
327 case PROP_TEXT_UNLOCK:
328 polkit_lock_button_set_unlock_text (button, g_value_get_string (value));
329 break;
330
331 case PROP_TEXT_LOCK:
332 polkit_lock_button_set_lock_text (button, g_value_get_string (value));
333 break;
334
335 case PROP_TEXT_LOCK_DOWN:
336 polkit_lock_button_set_lock_down_text (button, g_value_get_string (value));
337 break;
338
339 case PROP_TEXT_NOT_AUTHORIZED:
340 polkit_lock_button_set_not_authorized_text (button, g_value_get_string (value));
341 break;
342
343 case PROP_TOOLTIP_UNLOCK:
344 polkit_lock_button_set_unlock_tooltip (button, g_value_get_string (value));
345 break;
346
347 case PROP_TOOLTIP_LOCK:
348 polkit_lock_button_set_lock_tooltip (button, g_value_get_string (value));
349 break;
350
351 case PROP_TOOLTIP_LOCK_DOWN:
352 polkit_lock_button_set_lock_down_tooltip (button, g_value_get_string (value));
353 break;
354
355 case PROP_TOOLTIP_NOT_AUTHORIZED:
356 polkit_lock_button_set_not_authorized_tooltip (button, g_value_get_string (value));
357 break;
358
359 default:
360 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
361 break;
362 }
363 }
364
365
366 static void
367 polkit_lock_button_init (PolkitLockButton *button)
368 {
369 button->priv = G_TYPE_INSTANCE_GET_PRIVATE (button,
370 POLKIT_TYPE_LOCK_BUTTON,
371 PolkitLockButtonPrivate);
372
373 }
374
375 static void
376 polkit_lock_button_constructed (GObject *object)
377 {
378 PolkitLockButton *button = POLKIT_LOCK_BUTTON (object);
379 GError *error;
380
381 gtk_box_set_spacing (GTK_BOX (button), 2);
382
383 /* TODO: should be async+failable (e.g. GAsyncInitable) instead of this */
384 error = NULL;
385 button->priv->authority = polkit_authority_get_sync (NULL /* GCancellable* */, &error);
386 if (button->priv->authority == NULL)
387 {
388 g_critical ("Error getting authority: %s", error->message);
389 g_error_free (error);
390 }
391 g_signal_connect (button->priv->authority,
392 "changed",
393 G_CALLBACK (on_authority_changed),
394 button);
395
396 button->priv->button = gtk_button_new ();
397 gtk_button_set_relief (GTK_BUTTON (button->priv->button), GTK_RELIEF_NONE);
398 /* image is set in update_state() */
399 g_signal_connect (button->priv->button,
400 "clicked",
401 G_CALLBACK (on_clicked),
402 button);
403
404 gtk_box_pack_start (GTK_BOX (button),
405 button->priv->button,
406 FALSE,
407 FALSE,
408 0);
409
410 button->priv->label = gtk_label_new ("");
411 gtk_box_pack_start (GTK_BOX (button),
412 button->priv->label,
413 FALSE,
414 FALSE,
415 0);
416
417 /* take control of visibility of child widgets */
418 gtk_widget_set_no_show_all (button->priv->button, TRUE);
419 gtk_widget_set_no_show_all (button->priv->label, TRUE);
420
421 if (button->priv->subject == NULL)
422 {
423 button->priv->subject = polkit_unix_process_new (getpid ());
424 }
425
426 /* synchronously check on construction - TODO: we could implement GAsyncInitable
427 * in the future to avoid this sync check
428 */
429 do_sync_check (button);
430
431 update_state (button);
432
433 if (G_OBJECT_CLASS (polkit_lock_button_parent_class)->constructed != NULL)
434 G_OBJECT_CLASS (polkit_lock_button_parent_class)->constructed (object);
435 }
436
437 static void
438 polkit_lock_button_class_init (PolkitLockButtonClass *klass)
439 {
440 GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
441
442 gobject_class->finalize = polkit_lock_button_finalize;
443 gobject_class->get_property = polkit_lock_button_get_property;
444 gobject_class->set_property = polkit_lock_button_set_property;
445 gobject_class->constructed = polkit_lock_button_constructed;
446
447 g_type_class_add_private (klass, sizeof (PolkitLockButtonPrivate));
448
449 /**
450 * PolkitLockButton:action-id:
451 *
452 * The action identifier to use for the button.
453 */
454 g_object_class_install_property (gobject_class,
455 PROP_ACTION_ID,
456 g_param_spec_string ("action-id",
457 _("Action Identifier"),
458 _("The action identifier to use for the button"),
459 NULL,
460 G_PARAM_READWRITE |
461 G_PARAM_CONSTRUCT_ONLY |
462 G_PARAM_STATIC_NAME |
463 G_PARAM_STATIC_NICK |
464 G_PARAM_STATIC_BLURB));
465
466 /**
467 * PolkitLockButton:is-authorized:
468 *
469 * Whether the process is authorized.
470 */
471 g_object_class_install_property (gobject_class,
472 PROP_IS_AUTHORIZED,
473 g_param_spec_boolean ("is-authorized",
474 _("Is Authorized"),
475 _("Whether the process is authorized"),
476 FALSE,
477 G_PARAM_READABLE |
478 G_PARAM_STATIC_NAME |
479 G_PARAM_STATIC_NICK |
480 G_PARAM_STATIC_BLURB));
481
482 /**
483 * PolkitLockButton:is-visible:
484 *
485 * Whether the widget is visible.
486 */
487 g_object_class_install_property (gobject_class,
488 PROP_IS_VISIBLE,
489 g_param_spec_boolean ("is-visible",
490 _("Is Visible"),
491 _("Whether the widget is visible"),
492 TRUE,
493 G_PARAM_READABLE |
494 G_PARAM_STATIC_NAME |
495 G_PARAM_STATIC_NICK |
496 G_PARAM_STATIC_BLURB));
497
498 /**
499 * PolkitLockButton:can-obtain:
500 *
501 * Whether authorization can be obtained.
502 */
503 g_object_class_install_property (gobject_class,
504 PROP_CAN_OBTAIN,
505 g_param_spec_boolean ("can-obtain",
506 _("Can Obtain"),
507 _("Whether authorization can be obtained"),
508 FALSE,
509 G_PARAM_READABLE |
510 G_PARAM_STATIC_NAME |
511 G_PARAM_STATIC_NICK |
512 G_PARAM_STATIC_BLURB));
513
514 /**
515 * PolkitLockButton:text-unlock:
516 *
517 * The text to display when prompting the user to unlock.
518 */
519 g_object_class_install_property (gobject_class,
520 PROP_TEXT_UNLOCK,
521 g_param_spec_string ("text-unlock",
522 _("Unlock Text"),
523 _("The text to display when prompting the user to unlock."),
524 _("Click to make changes"),
525 G_PARAM_READWRITE |
526 G_PARAM_CONSTRUCT |
527 G_PARAM_STATIC_NAME |
528 G_PARAM_STATIC_NICK |
529 G_PARAM_STATIC_BLURB));
530
531 /**
532 * PolkitLockButton:tooltip-unlock:
533 *
534 * The tooltip to display when prompting the user to unlock.
535 */
536 g_object_class_install_property (gobject_class,
537 PROP_TOOLTIP_UNLOCK,
538 g_param_spec_string ("tooltip-unlock",
539 _("Unlock Tooltip"),
540 _("The tooltip to display when prompting the user to unlock."),
541 _("Authentication is needed to make changes."),
542 G_PARAM_READWRITE |
543 G_PARAM_CONSTRUCT |
544 G_PARAM_STATIC_NAME |
545 G_PARAM_STATIC_NICK |
546 G_PARAM_STATIC_BLURB));
547
548 /**
549 * PolkitLockButton:text-lock:
550 *
551 * The text to display when prompting the user to lock.
552 */
553 g_object_class_install_property (gobject_class,
554 PROP_TEXT_LOCK,
555 g_param_spec_string ("text-lock",
556 _("Lock Text"),
557 _("The text to display when prompting the user to lock."),
558 _("Click to prevent changes"),
559 G_PARAM_READWRITE |
560 G_PARAM_CONSTRUCT |
561 G_PARAM_STATIC_NAME |
562 G_PARAM_STATIC_NICK |
563 G_PARAM_STATIC_BLURB));
564
565 /**
566 * PolkitLockButton:tooltip-lock:
567 *
568 * The tooltip to display when prompting the user to lock.
569 */
570 g_object_class_install_property (gobject_class,
571 PROP_TOOLTIP_LOCK,
572 g_param_spec_string ("tooltip-lock",
573 _("Lock Tooltip"),
574 _("The tooltip to display when prompting the user to lock."),
575 _("To prevent further changes, click the lock."),
576 G_PARAM_READWRITE |
577 G_PARAM_CONSTRUCT |
578 G_PARAM_STATIC_NAME |
579 G_PARAM_STATIC_NICK |
580 G_PARAM_STATIC_BLURB));
581
582 /**
583 * PolkitLockButton:text-lock-down:
584 *
585 * The text to display when prompting the user to lock down the action for all users.
586 */
587 g_object_class_install_property (gobject_class,
588 PROP_TEXT_LOCK_DOWN,
589 g_param_spec_string ("text-lock-down",
590 _("Lock Down Text"),
591 _("The text to display when prompting the user to lock down the action for all users."),
592 _("Click to lock down"),
593 G_PARAM_READWRITE |
594 G_PARAM_CONSTRUCT |
595 G_PARAM_STATIC_NAME |
596 G_PARAM_STATIC_NICK |
597 G_PARAM_STATIC_BLURB));
598
599 /**
600 * PolkitLockButton:tooltip-lock-down:
601 *
602 * The tooltip to display when prompting the user to lock down the action for all users.
603 */
604 g_object_class_install_property (gobject_class,
605 PROP_TOOLTIP_LOCK_DOWN,
606 g_param_spec_string ("tooltip-lock-down",
607 _("Lock Down Tooltip"),
608 _("The tooltip to display when prompting the user to lock down the action for all users."),
609 _("To prevent users without administrative privileges from making changes, click the lock."),
610 G_PARAM_READWRITE |
611 G_PARAM_CONSTRUCT |
612 G_PARAM_STATIC_NAME |
613 G_PARAM_STATIC_NICK |
614 G_PARAM_STATIC_BLURB));
615
616 /**
617 * PolkitLockButton:text-not-authorized:
618 *
619 * The text to display when the user cannot obtain authorization through authentication.
620 */
621 g_object_class_install_property (gobject_class,
622 PROP_TEXT_NOT_AUTHORIZED,
623 g_param_spec_string ("text-not-authorized",
624 _("Unlock Text"),
625 _("The text to display when the user cannot obtain authorization through authentication."),
626 _("Not authorized to make changes"),
627 G_PARAM_READWRITE |
628 G_PARAM_CONSTRUCT |
629 G_PARAM_STATIC_NAME |
630 G_PARAM_STATIC_NICK |
631 G_PARAM_STATIC_BLURB));
632
633 /**
634 * PolkitLockButton:tooltip-not-authorized:
635 *
636 * The tooltip to display when the user cannot obtain authorization through authentication.
637 */
638 g_object_class_install_property (gobject_class,
639 PROP_TOOLTIP_NOT_AUTHORIZED,
640 g_param_spec_string ("tooltip-not-authorized",
641 _("Unlock Tooltip"),
642 _("The tooltip to display when the user cannot obtain authorization through authentication."),
643 _("System policy prevents changes. Contact your system administator."),
644 G_PARAM_READWRITE |
645 G_PARAM_CONSTRUCT |
646 G_PARAM_STATIC_NAME |
647 G_PARAM_STATIC_NICK |
648 G_PARAM_STATIC_BLURB));
649
650 /**
651 * PolkitLockButton::changed:
652 * @button: A #PolkitLockButton.
653 *
654 * Emitted when something on @button changes.
655 */
656 signals[CHANGED_SIGNAL] = g_signal_new ("changed",
657 G_TYPE_FROM_CLASS (klass),
658 G_SIGNAL_RUN_LAST,
659 G_STRUCT_OFFSET (PolkitLockButtonClass, changed),
660 NULL,
661 NULL,
662 g_cclosure_marshal_VOID__VOID,
663 G_TYPE_NONE,
664 0);
665
666 }
667
668 /**
669 * polkit_lock_button_new:
670 * @action_id: An action identifer.
671 *
672 * Constructs a #PolkitLockButton for @action_id.
673 *
674 * Returns: A #PolkitLockButton.
675 */
676 GtkWidget *
677 polkit_lock_button_new (const gchar *action_id)
678 {
679 g_return_val_if_fail (action_id != NULL, NULL);
680
681 return GTK_WIDGET (g_object_new (POLKIT_TYPE_LOCK_BUTTON,
682 "action-id", action_id,
683 NULL));
684 }
685
686 static void
687 update_state (PolkitLockButton *button)
688 {
689 const gchar *text;
690 const gchar *tooltip;
691 gboolean sensitive;
692 gboolean old_hidden;
693 GtkWidget *image;
694
695 old_hidden = button->priv->hidden;
696 button->priv->hidden = FALSE;
697
698 if (button->priv->authorized)
699 {
700 text = button->priv->text_lock;
701 tooltip = button->priv->tooltip_lock;
702 sensitive = TRUE;
703 /* if the authorization isn't temporary => ask if user wants to lock the authorization down the
704 * authority we're using has that capability
705 */
706 if (button->priv->tmp_authz_id == NULL)
707 {
708 //button->priv->hidden = TRUE;
709 }
710 }
711 else
712 {
713 if (button->priv->can_obtain && button->priv->retains_after_challenge)
714 {
715 /* can retain and obtain authorization => show the unlock button */
716 text = button->priv->text_unlock;
717 tooltip = button->priv->tooltip_unlock;
718 g_free (button->priv->tmp_authz_id);
719 button->priv->tmp_authz_id = NULL;
720 sensitive = TRUE;
721 }
722 else
723 {
724 if (button->priv->can_obtain)
725 {
726 /* we can obtain authorization, we just can't retain it => hidden */
727 button->priv->hidden = TRUE;
728 }
729 else
730 {
731 /* cannot even obtain authorization => tell user he can't have a pony */
732 text = button->priv->text_not_authorized;
733 tooltip = button->priv->tooltip_not_authorized;
734 g_free (button->priv->tmp_authz_id);
735 button->priv->tmp_authz_id = NULL;
736 sensitive = FALSE;
737 }
738 }
739 }
740
741 image = gtk_image_new_from_icon_name (button->priv->authorized ? "changes-allow" : "changes-prevent",
742 GTK_ICON_SIZE_SMALL_TOOLBAR);
743 gtk_button_set_image (GTK_BUTTON (button->priv->button), image);
744 gtk_label_set_text (GTK_LABEL (button->priv->label), text);
745 gtk_widget_set_sensitive (button->priv->button, sensitive);
746
747 gtk_widget_set_tooltip_markup (GTK_WIDGET (button->priv->label), tooltip);
748 gtk_widget_set_tooltip_markup (GTK_WIDGET (button->priv->button), tooltip);
749
750 if (button->priv->hidden)
751 {
752 gtk_widget_hide (button->priv->button);
753 gtk_widget_hide (button->priv->label);
754 }
755 else
756 {
757 gtk_widget_show (button->priv->button);
758 gtk_widget_show (button->priv->label);
759 }
760
761 if (old_hidden != button->priv->hidden)
762 g_object_notify (G_OBJECT (button), "is-visible");
763 }
764
765 static void
766 on_authority_changed (PolkitAuthority *authority,
767 gpointer user_data)
768 {
769 PolkitLockButton *button = POLKIT_LOCK_BUTTON (user_data);
770 initiate_check (button);
771 }
772
773 static void
774 process_result (PolkitLockButton *button,
775 PolkitAuthorizationResult *result)
776 {
777 gboolean old_can_obtain;
778 gboolean old_authorized;
779
780 old_can_obtain = button->priv->can_obtain;
781 old_authorized = button->priv->authorized;
782 button->priv->can_obtain = polkit_authorization_result_get_is_challenge (result);
783 button->priv->authorized = polkit_authorization_result_get_is_authorized (result);
784
785 /* save the temporary authorization id */
786 g_free (button->priv->tmp_authz_id);
787 button->priv->tmp_authz_id = g_strdup (polkit_authorization_result_get_temporary_authorization_id (result));
788 button->priv->retains_after_challenge = polkit_authorization_result_get_retains_authorization (result);
789
790 update_state (button);
791
792 if (old_can_obtain != button->priv->can_obtain ||
793 old_authorized != button->priv->authorized)
794 {
795 g_signal_emit (button,
796 signals[CHANGED_SIGNAL],
797 0);
798 }
799
800 if (old_can_obtain != button->priv->can_obtain)
801 g_object_notify (G_OBJECT (button), "can-obtain");
802
803 if (old_authorized != button->priv->authorized)
804 g_object_notify (G_OBJECT (button), "is-authorized");
805 }
806
807 static void
808 check_cb (GObject *source_object,
809 GAsyncResult *res,
810 gpointer user_data)
811 {
812 PolkitAuthority *authority = POLKIT_AUTHORITY (source_object);
813 PolkitLockButton *button = POLKIT_LOCK_BUTTON (user_data);
814 PolkitAuthorizationResult *result;
815 GError *error;
816
817 error = NULL;
818 result = polkit_authority_check_authorization_finish (authority,
819 res,
820 &error);
821 if (error != NULL)
822 {
823 g_warning ("Error checking authorization for action id `%s': %s",
824 button->priv->action_id,
825 error->message);
826 g_error_free (error);
827 }
828 else
829 {
830 process_result (button, result);
831 }
832
833 if (result != NULL)
834 g_object_unref (result);
835
836 if (button->priv->check_cancellable != NULL)
837 {
838 g_object_unref (button->priv->check_cancellable);
839 button->priv->check_cancellable = NULL;
840 }
841 }
842
843 static void
844 initiate_check (PolkitLockButton *button)
845 {
846
847 /* if we have a check pending already, then do nothing */
848 if (button->priv->check_cancellable != NULL)
849 goto out;
850
851 button->priv->check_cancellable = g_cancellable_new ();
852
853 polkit_authority_check_authorization (button->priv->authority,
854 button->priv->subject,
855 button->priv->action_id,
856 NULL, /* PolkitDetails */
857 POLKIT_CHECK_AUTHORIZATION_FLAGS_NONE,
858 button->priv->check_cancellable,
859 check_cb,
860 button);
861
862 out:
863 ;
864 }
865
866 static void
867 do_sync_check (PolkitLockButton *button)
868 {
869 GError *error;
870 PolkitAuthorizationResult *result;
871
872 error = NULL;
873 result = polkit_authority_check_authorization_sync (button->priv->authority,
874 button->priv->subject,
875 button->priv->action_id,
876 NULL, /* PolkitDetails */
877 POLKIT_CHECK_AUTHORIZATION_FLAGS_NONE,
878 NULL, /* cancellable */
879 &error);
880 if (error != NULL)
881 {
882 g_warning ("Error sync-checking authorization for action id `%s': %s",
883 button->priv->action_id,
884 error->message);
885 g_error_free (error);
886 }
887 else
888 {
889 process_result (button, result);
890 }
891
892 if (result != NULL)
893 g_object_unref (result);
894 }
895
896 static void
897 interactive_check_cb (GObject *source_object,
898 GAsyncResult *res,
899 gpointer user_data)
900 {
901 PolkitAuthority *authority = POLKIT_AUTHORITY (source_object);
902 PolkitLockButton *button = POLKIT_LOCK_BUTTON (user_data);
903 PolkitAuthorizationResult *result;
904 PolkitDetails *details;
905 GError *error;
906
907 error = NULL;
908 result = polkit_authority_check_authorization_finish (authority,
909 res,
910 &error);
911 if (error != NULL)
912 {
913 g_warning ("Error obtaining authorization for action id `%s': %s",
914 button->priv->action_id,
915 error->message);
916 g_error_free (error);
917 goto out;
918 }
919
920 /* state is updated in the ::changed signal handler */
921
922 /* save the temporary authorization id */
923 details = polkit_authorization_result_get_details (result);
924 if (details != NULL)
925 {
926 button->priv->tmp_authz_id = g_strdup (polkit_details_lookup (details,
927 "polkit.temporary_authorization_id"));
928 }
929
930 out:
931 if (result != NULL)
932 g_object_unref (result);
933
934 if (button->priv->interactive_check_cancellable != NULL)
935 {
936 g_object_unref (button->priv->interactive_check_cancellable);
937 button->priv->interactive_check_cancellable = NULL;
938 }
939 }
940
941 static void
942 on_clicked (GtkButton *_button,
943 gpointer user_data)
944 {
945 PolkitLockButton *button = POLKIT_LOCK_BUTTON (user_data);
946
947 if (!button->priv->authorized && button->priv->can_obtain)
948 {
949 /* if we already have a pending interactive check, then do nothing */
950 if (button->priv->interactive_check_cancellable != NULL)
951 goto out;
952
953 button->priv->interactive_check_cancellable = g_cancellable_new ();
954
955 polkit_authority_check_authorization (button->priv->authority,
956 button->priv->subject,
957 button->priv->action_id,
958 NULL, /* PolkitDetails */
959 POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION,
960 button->priv->interactive_check_cancellable,
961 interactive_check_cb,
962 button);
963 }
964 else if (button->priv->authorized && button->priv->tmp_authz_id != NULL)
965 {
966 polkit_authority_revoke_temporary_authorization_by_id (button->priv->authority,
967 button->priv->tmp_authz_id,
968 NULL, /* cancellable */
969 NULL, /* callback */
970 NULL); /* user_data */
971 }
972
973 out:
974
975 update_state (button);
976 }
977
978 /**
979 * polkit_lock_button_get_is_authorized:
980 * @button: A #PolkitLockButton.
981 *
982 * Gets whether the process is authorized.
983 *
984 * Returns: %TRUE if authorized.
985 */
986 gboolean
987 polkit_lock_button_get_is_authorized (PolkitLockButton *button)
988 {
989 g_return_val_if_fail (POLKIT_IS_LOCK_BUTTON (button), FALSE);
990 return button->priv->authorized;
991 }
992
993 /**
994 * polkit_lock_button_get_can_obtain:
995 * @button: A #PolkitLockButton.
996 *
997 * Gets whether the user can obtain an authorization through
998 * authentication.
999 *
1000 * Returns: Whether the authorization is obtainable.
1001 */
1002 gboolean
1003 polkit_lock_button_get_can_obtain (PolkitLockButton *button)
1004 {
1005 g_return_val_if_fail (POLKIT_IS_LOCK_BUTTON (button), FALSE);
1006 return button->priv->can_obtain;
1007 }
1008
1009 /**
1010 * polkit_lock_button_get_is_visible:
1011 * @button: A #PolkitLockButton.
1012 *
1013 * Gets whether @button is currently being shown.
1014 *
1015 * Returns: %TRUE if @button has any visible UI elements.
1016 */
1017 gboolean
1018 polkit_lock_button_get_is_visible (PolkitLockButton *button)
1019 {
1020 g_return_val_if_fail (POLKIT_IS_LOCK_BUTTON (button), FALSE);
1021 return ! button->priv->hidden;
1022 }
1023
1024 /**
1025 * polkit_lock_button_set_unlock_text:
1026 * @button: A #PolkitLockButton.
1027 * @text: The text to set.
1028 *
1029 * Makes @button display @text when not authorized and clicking the button will obtain the authorization.
1030 */
1031 void
1032 polkit_lock_button_set_unlock_text (PolkitLockButton *button,
1033 const gchar *text)
1034 {
1035 g_return_if_fail (POLKIT_IS_LOCK_BUTTON (button));
1036 g_return_if_fail (text != NULL);
1037
1038 if (button->priv->text_unlock != NULL)
1039 {
1040 button->priv->text_unlock = g_strdup (text);
1041 update_state (button);
1042 }
1043 else
1044 {
1045 button->priv->text_unlock = g_strdup (text);
1046 }
1047 }
1048
1049 /**
1050 * polkit_lock_button_set_lock_text:
1051 * @button: A #PolkitLockButton.
1052 * @text: The text to set.
1053 *
1054 * Makes @button display @text when authorized and clicking the button will revoke the authorization.
1055 */
1056 void
1057 polkit_lock_button_set_lock_text (PolkitLockButton *button,
1058 const gchar *text)
1059 {
1060 g_return_if_fail (POLKIT_IS_LOCK_BUTTON (button));
1061 g_return_if_fail (text != NULL);
1062
1063 if (button->priv->text_lock != NULL)
1064 {
1065 button->priv->text_lock = g_strdup (text);
1066 update_state (button);
1067 }
1068 else
1069 {
1070 button->priv->text_lock = g_strdup (text);
1071 }
1072 }
1073
1074 /**
1075 * polkit_lock_button_set_lock_down_text:
1076 * @button: A #PolkitLockButton.
1077 * @text: The text to set.
1078 *
1079 * Makes @button display @text when authorized and it is possible to lock down the action.
1080 */
1081 void
1082 polkit_lock_button_set_lock_down_text (PolkitLockButton *button,
1083 const gchar *text)
1084 {
1085 g_return_if_fail (POLKIT_IS_LOCK_BUTTON (button));
1086 g_return_if_fail (text != NULL);
1087
1088 if (button->priv->text_lock_down != NULL)
1089 {
1090 button->priv->text_lock_down = g_strdup (text);
1091 update_state (button);
1092 }
1093 else
1094 {
1095 button->priv->text_lock_down = g_strdup (text);
1096 }
1097 }
1098
1099 /**
1100 * polkit_lock_button_set_not_authorized_text:
1101 * @button: A #PolkitLockButton.
1102 * @text: The text to set.
1103 *
1104 * Makes @button display @text when an authorization cannot be obtained.
1105 */
1106 void
1107 polkit_lock_button_set_not_authorized_text (PolkitLockButton *button,
1108 const gchar *text)
1109 {
1110 g_return_if_fail (POLKIT_IS_LOCK_BUTTON (button));
1111 g_return_if_fail (text != NULL);
1112
1113 if (button->priv->text_not_authorized != NULL)
1114 {
1115 button->priv->text_not_authorized = g_strdup (text);
1116 update_state (button);
1117 }
1118 else
1119 {
1120 button->priv->text_not_authorized = g_strdup (text);
1121 }
1122 }
1123
1124
1125 /**
1126 * polkit_lock_button_set_unlock_tooltip:
1127 * @button: A #PolkitLockButton.
1128 * @tooltip: The text of the tooltip.
1129 *
1130 * Makes @button display @tooltip when not authorized and clicking the button will obtain the authorization.
1131 */
1132 void
1133 polkit_lock_button_set_unlock_tooltip (PolkitLockButton *button,
1134 const gchar *tooltip)
1135 {
1136 g_return_if_fail (POLKIT_IS_LOCK_BUTTON (button));
1137 g_return_if_fail (tooltip != NULL);
1138
1139 if (button->priv->tooltip_unlock != NULL)
1140 {
1141 button->priv->tooltip_unlock = g_strdup (tooltip);
1142 update_state (button);
1143 }
1144 else
1145 {
1146 button->priv->tooltip_unlock = g_strdup (tooltip);
1147 }
1148 }
1149
1150 /**
1151 * polkit_lock_button_set_lock_tooltip:
1152 * @button: A #PolkitLockButton.
1153 * @tooltip: The text of the tooltip.
1154 *
1155 * Makes @button display @tooltip when authorized and clicking the button will revoke the authorization.
1156 */
1157 void
1158 polkit_lock_button_set_lock_tooltip (PolkitLockButton *button,
1159 const gchar *tooltip)
1160 {
1161 g_return_if_fail (POLKIT_IS_LOCK_BUTTON (button));
1162 g_return_if_fail (tooltip != NULL);
1163
1164 if (button->priv->tooltip_lock != NULL)
1165 {
1166 button->priv->tooltip_lock = g_strdup (tooltip);
1167 update_state (button);
1168 }
1169 else
1170 {
1171 button->priv->tooltip_lock = g_strdup (tooltip);
1172 }
1173 }
1174
1175 /**
1176 * polkit_lock_button_set_lock_down_tooltip:
1177 * @button: A #PolkitLockButton.
1178 * @tooltip: The text of the tooltip.
1179 *
1180 * Makes @button display @tooltip when authorized and it is possible to lock down the action.
1181 */
1182 void
1183 polkit_lock_button_set_lock_down_tooltip (PolkitLockButton *button,
1184 const gchar *tooltip)
1185 {
1186 g_return_if_fail (POLKIT_IS_LOCK_BUTTON (button));
1187 g_return_if_fail (tooltip != NULL);
1188
1189 if (button->priv->tooltip_lock_down != NULL)
1190 {
1191 button->priv->tooltip_lock_down = g_strdup (tooltip);
1192 update_state (button);
1193 }
1194 else
1195 {
1196 button->priv->tooltip_lock_down = g_strdup (tooltip);
1197 }
1198 }
1199
1200 /**
1201 * polkit_lock_button_set_not_authorized_tooltip:
1202 * @button: A #PolkitLockButton.
1203 * @tooltip: The text of the tooltip.
1204 *
1205 * Makes @button display @tooltip when an authorization cannot be obtained.
1206 */
1207 void
1208 polkit_lock_button_set_not_authorized_tooltip (PolkitLockButton *button,
1209 const gchar *tooltip)
1210 {
1211 g_return_if_fail (POLKIT_IS_LOCK_BUTTON (button));
1212 g_return_if_fail (tooltip != NULL);
1213
1214 if (button->priv->tooltip_not_authorized != NULL)
1215 {
1216 button->priv->tooltip_not_authorized = g_strdup (tooltip);
1217 update_state (button);
1218 }
1219 else
1220 {
1221 button->priv->tooltip_not_authorized = g_strdup (tooltip);
1222 }
1223 }
+0
-117
polkitgtk/polkitlockbutton.h less more
0 /*
1 * Copyright (C) 2009 Red Hat, Inc.
2 *
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) any later version.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General
14 * Public License along with this library; if not, write to the
15 * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
16 * Boston, MA 02111-1307, USA.
17 *
18 * Author: David Zeuthen <davidz@redhat.com>
19 */
20
21 #if !defined (_POLKIT_GTK_INSIDE_POLKIT_GTK_H) && !defined (POLKIT_GTK_COMPILATION)
22 #error "Only <polkitgtk/polkitgtk.h> can be included directly, this file may disappear or change contents."
23 #endif
24
25 #ifndef POLKIT_LOCK_BUTTON_H
26 #define POLKIT_LOCK_BUTTON_H
27
28 #include <polkitgtk/polkitgtktypes.h>
29
30 #define POLKIT_TYPE_LOCK_BUTTON (polkit_lock_button_get_type ())
31 #define POLKIT_LOCK_BUTTON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), POLKIT_TYPE_LOCK_BUTTON, PolkitLockButton))
32 #define POLKIT_LOCK_BUTTON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), POLKIT_LOCK_BUTTON, PolkitLockButtonClass))
33 #define POLKIT_IS_LOCK_BUTTON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), POLKIT_TYPE_LOCK_BUTTON))
34 #define POLKIT_IS_LOCK_BUTTON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), POLKIT_TYPE_LOCK_BUTTON))
35 #define POLKIT_LOCK_BUTTON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), POLKIT_TYPE_LOCK_BUTTON, PolkitLockButtonClass))
36
37 typedef struct _PolkitLockButtonClass PolkitLockButtonClass;
38 typedef struct _PolkitLockButtonPrivate PolkitLockButtonPrivate;
39
40 /**
41 * PolkitLockButton:
42 * @parent: The parent instance.
43 *
44 * The #PolkitLockButton structure contains only private data and
45 * should be accessed using the provided API.
46 */
47 struct _PolkitLockButton
48 {
49 GtkBox parent;
50
51 /*< private >*/
52 PolkitLockButtonPrivate *priv;
53 };
54
55 /**
56 * PolkitLockButtonClass:
57 * @parent_class: The parent class structure.
58 * @changed: Signal class handler for the #PolkitLockButton::changed signal.
59 *
60 * Class structure for #PolkitLockButton.
61 */
62 struct _PolkitLockButtonClass
63 {
64 GtkBoxClass parent_class;
65
66 /* Signals */
67 void (*changed) (PolkitLockButton *button);
68
69 /*< private >*/
70 /* Padding for future expansion */
71 void (*_polkit_reserved0) (void);
72 void (*_polkit_reserved1) (void);
73 void (*_polkit_reserved2) (void);
74 void (*_polkit_reserved3) (void);
75 void (*_polkit_reserved4) (void);
76 void (*_polkit_reserved5) (void);
77 void (*_polkit_reserved6) (void);
78 void (*_polkit_reserved7) (void);
79 void (*_polkit_reserved8) (void);
80 void (*_polkit_reserved9) (void);
81 void (*_polkit_reserved10) (void);
82 void (*_polkit_reserved11) (void);
83 void (*_polkit_reserved12) (void);
84 void (*_polkit_reserved13) (void);
85 void (*_polkit_reserved14) (void);
86 void (*_polkit_reserved15) (void);
87 };
88
89
90 GType polkit_lock_button_get_type (void) G_GNUC_CONST;
91 GtkWidget *polkit_lock_button_new (const gchar *action_id);
92 gboolean polkit_lock_button_get_is_authorized (PolkitLockButton *button);
93 gboolean polkit_lock_button_get_is_visible (PolkitLockButton *button);
94 gboolean polkit_lock_button_get_can_obtain (PolkitLockButton *button);
95
96 void polkit_lock_button_set_unlock_text (PolkitLockButton *button,
97 const gchar *text);
98 void polkit_lock_button_set_unlock_tooltip (PolkitLockButton *button,
99 const gchar *tooltip);
100
101 void polkit_lock_button_set_lock_text (PolkitLockButton *button,
102 const gchar *text);
103 void polkit_lock_button_set_lock_tooltip (PolkitLockButton *button,
104 const gchar *tooltip);
105
106 void polkit_lock_button_set_lock_down_text (PolkitLockButton *button,
107 const gchar *text);
108 void polkit_lock_button_set_lock_down_tooltip (PolkitLockButton *button,
109 const gchar *tooltip);
110
111 void polkit_lock_button_set_not_authorized_text (PolkitLockButton *button,
112 const gchar *text);
113 void polkit_lock_button_set_not_authorized_tooltip (PolkitLockButton *button,
114 const gchar *tooltip);
115
116 #endif /* POLKIT_LOCK_BUTTON_H */
33 FULL_LIBEXECDIR=$(libexecdir)
44
55 libexec_PROGRAMS = polkit-gnome-authentication-agent-1
6
7 polkitgnomemarshal.h polkitgnomemarshal.c : Makefile.am $(srcdir)/polkitgnomemarshal.list
8 glib-genmarshal --prefix=_polkit_gnome_marshal $(srcdir)/polkitgnomemarshal.list --header > polkitgnomemarshal.h.tmp && mv polkitgnomemarshal.h.tmp polkitgnomemarshal.h
9 (echo "#include \"polkitgnomemarshal.h\""; glib-genmarshal --prefix=_polkit_gnome_marshal $(srcdir)/polkitgnomemarshal.list --body) > polkitgnomemarshal.c.tmp && mv polkitgnomemarshal.c.tmp polkitgnomemarshal.c
10 touch polkitgnomemarshal.stamp
11
12 BUILT_SOURCES = polkitgnomemarshal.h polkitgnomemarshal.c
136
147 polkit_gnome_authentication_agent_1_SOURCES = \
158 polkitgnomelistener.h polkitgnomelistener.c \
4639 $(POLKIT_GOBJECT_LIBS) \
4740 $(INTLLIBS)
4841
49 EXTRA_DIST = polkitgnomemarshal.list
50
5142 clean-local :
5243 rm -f *~
4646 CONFIG_CLEAN_VPATH_FILES =
4747 am__installdirs = "$(DESTDIR)$(libexecdir)"
4848 PROGRAMS = $(libexec_PROGRAMS)
49 am__objects_1 = polkit_gnome_authentication_agent_1-polkitgnomemarshal.$(OBJEXT)
50 am__objects_2 =
49 am__objects_1 =
5150 am_polkit_gnome_authentication_agent_1_OBJECTS = polkit_gnome_authentication_agent_1-polkitgnomelistener.$(OBJEXT) \
5251 polkit_gnome_authentication_agent_1-polkitgnomeauthenticator.$(OBJEXT) \
5352 polkit_gnome_authentication_agent_1-polkitgnomeauthenticationdialog.$(OBJEXT) \
5453 polkit_gnome_authentication_agent_1-main.$(OBJEXT) \
55 $(am__objects_1) $(am__objects_2)
54 $(am__objects_1)
5655 polkit_gnome_authentication_agent_1_OBJECTS = \
5756 $(am_polkit_gnome_authentication_agent_1_OBJECTS)
5857 am__DEPENDENCIES_1 =
140139 GMSGFMT = @GMSGFMT@
141140 GREP = @GREP@
142141 GTKDOC_CHECK = @GTKDOC_CHECK@
142 GTKDOC_DEPS_CFLAGS = @GTKDOC_DEPS_CFLAGS@
143 GTKDOC_DEPS_LIBS = @GTKDOC_DEPS_LIBS@
143144 GTKDOC_MKPDF = @GTKDOC_MKPDF@
144145 GTKDOC_REBASE = @GTKDOC_REBASE@
145 GTK_API_VERSION = @GTK_API_VERSION@
146146 GTK_CFLAGS = @GTK_CFLAGS@
147147 GTK_LIBS = @GTK_LIBS@
148148 G_IR_COMPILER = @G_IR_COMPILER@
269269 top_srcdir = @top_srcdir@
270270 NULL =
271271 FULL_LIBEXECDIR = $(libexecdir)
272 BUILT_SOURCES = polkitgnomemarshal.h polkitgnomemarshal.c
273272 polkit_gnome_authentication_agent_1_SOURCES = \
274273 polkitgnomelistener.h polkitgnomelistener.c \
275274 polkitgnomeauthenticator.h polkitgnomeauthenticator.c \
305304 $(POLKIT_GOBJECT_LIBS) \
306305 $(INTLLIBS)
307306
308 EXTRA_DIST = polkitgnomemarshal.list
309 all: $(BUILT_SOURCES)
310 $(MAKE) $(AM_MAKEFLAGS) all-am
307 all: all-am
311308
312309 .SUFFIXES:
313310 .SUFFIXES: .c .lo .o .obj
398395 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/polkit_gnome_authentication_agent_1-polkitgnomeauthenticationdialog.Po@am__quote@
399396 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/polkit_gnome_authentication_agent_1-polkitgnomeauthenticator.Po@am__quote@
400397 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/polkit_gnome_authentication_agent_1-polkitgnomelistener.Po@am__quote@
401 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/polkit_gnome_authentication_agent_1-polkitgnomemarshal.Po@am__quote@
402398
403399 .c.o:
404400 @am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
487483 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='main.c' object='polkit_gnome_authentication_agent_1-main.obj' libtool=no @AMDEPBACKSLASH@
488484 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
489485 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(polkit_gnome_authentication_agent_1_CPPFLAGS) $(CPPFLAGS) $(polkit_gnome_authentication_agent_1_CFLAGS) $(CFLAGS) -c -o polkit_gnome_authentication_agent_1-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`
490
491 polkit_gnome_authentication_agent_1-polkitgnomemarshal.o: polkitgnomemarshal.c
492 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(polkit_gnome_authentication_agent_1_CPPFLAGS) $(CPPFLAGS) $(polkit_gnome_authentication_agent_1_CFLAGS) $(CFLAGS) -MT polkit_gnome_authentication_agent_1-polkitgnomemarshal.o -MD -MP -MF $(DEPDIR)/polkit_gnome_authentication_agent_1-polkitgnomemarshal.Tpo -c -o polkit_gnome_authentication_agent_1-polkitgnomemarshal.o `test -f 'polkitgnomemarshal.c' || echo '$(srcdir)/'`polkitgnomemarshal.c
493 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/polkit_gnome_authentication_agent_1-polkitgnomemarshal.Tpo $(DEPDIR)/polkit_gnome_authentication_agent_1-polkitgnomemarshal.Po
494 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
495 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='polkitgnomemarshal.c' object='polkit_gnome_authentication_agent_1-polkitgnomemarshal.o' libtool=no @AMDEPBACKSLASH@
496 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
497 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(polkit_gnome_authentication_agent_1_CPPFLAGS) $(CPPFLAGS) $(polkit_gnome_authentication_agent_1_CFLAGS) $(CFLAGS) -c -o polkit_gnome_authentication_agent_1-polkitgnomemarshal.o `test -f 'polkitgnomemarshal.c' || echo '$(srcdir)/'`polkitgnomemarshal.c
498
499 polkit_gnome_authentication_agent_1-polkitgnomemarshal.obj: polkitgnomemarshal.c
500 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(polkit_gnome_authentication_agent_1_CPPFLAGS) $(CPPFLAGS) $(polkit_gnome_authentication_agent_1_CFLAGS) $(CFLAGS) -MT polkit_gnome_authentication_agent_1-polkitgnomemarshal.obj -MD -MP -MF $(DEPDIR)/polkit_gnome_authentication_agent_1-polkitgnomemarshal.Tpo -c -o polkit_gnome_authentication_agent_1-polkitgnomemarshal.obj `if test -f 'polkitgnomemarshal.c'; then $(CYGPATH_W) 'polkitgnomemarshal.c'; else $(CYGPATH_W) '$(srcdir)/polkitgnomemarshal.c'; fi`
501 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/polkit_gnome_authentication_agent_1-polkitgnomemarshal.Tpo $(DEPDIR)/polkit_gnome_authentication_agent_1-polkitgnomemarshal.Po
502 @am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
503 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='polkitgnomemarshal.c' object='polkit_gnome_authentication_agent_1-polkitgnomemarshal.obj' libtool=no @AMDEPBACKSLASH@
504 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
505 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(polkit_gnome_authentication_agent_1_CPPFLAGS) $(CPPFLAGS) $(polkit_gnome_authentication_agent_1_CFLAGS) $(CFLAGS) -c -o polkit_gnome_authentication_agent_1-polkitgnomemarshal.obj `if test -f 'polkitgnomemarshal.c'; then $(CYGPATH_W) 'polkitgnomemarshal.c'; else $(CYGPATH_W) '$(srcdir)/polkitgnomemarshal.c'; fi`
506486
507487 mostlyclean-libtool:
508488 -rm -f *.lo
593573 fi; \
594574 done
595575 check-am: all-am
596 check: $(BUILT_SOURCES)
597 $(MAKE) $(AM_MAKEFLAGS) check-am
576 check: check-am
598577 all-am: Makefile $(PROGRAMS)
599578 installdirs:
600579 for dir in "$(DESTDIR)$(libexecdir)"; do \
601580 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
602581 done
603 install: $(BUILT_SOURCES)
604 $(MAKE) $(AM_MAKEFLAGS) install-am
582 install: install-am
605583 install-exec: install-exec-am
606584 install-data: install-data-am
607585 uninstall: uninstall-am
626604 maintainer-clean-generic:
627605 @echo "This command is intended for maintainers to use"
628606 @echo "it deletes files that may require special tools to rebuild."
629 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
630607 clean: clean-am
631608
632609 clean-am: clean-generic clean-libexecPROGRAMS clean-libtool \
698675
699676 uninstall-am: uninstall-libexecPROGRAMS
700677
701 .MAKE: all check install install-am install-strip
678 .MAKE: install-am install-strip
702679
703680 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
704681 clean-libexecPROGRAMS clean-libtool clean-local ctags \
716693 uninstall-libexecPROGRAMS
717694
718695
719 polkitgnomemarshal.h polkitgnomemarshal.c : Makefile.am $(srcdir)/polkitgnomemarshal.list
720 glib-genmarshal --prefix=_polkit_gnome_marshal $(srcdir)/polkitgnomemarshal.list --header > polkitgnomemarshal.h.tmp && mv polkitgnomemarshal.h.tmp polkitgnomemarshal.h
721 (echo "#include \"polkitgnomemarshal.h\""; glib-genmarshal --prefix=_polkit_gnome_marshal $(srcdir)/polkitgnomemarshal.list --body) > polkitgnomemarshal.c.tmp && mv polkitgnomemarshal.c.tmp polkitgnomemarshal.c
722 touch polkitgnomemarshal.stamp
723
724696 clean-local :
725697 rm -f *~
726698
3131
3232 #include "polkitgnomeauthenticator.h"
3333 #include "polkitgnomeauthenticationdialog.h"
34 #include "polkitgnomemarshal.h"
3534
3635 struct _PolkitGnomeAuthenticator
3736 {
137136 0, /* class offset */
138137 NULL, /* accumulator */
139138 NULL, /* accumulator data */
140 _polkit_gnome_marshal_VOID__BOOLEAN_BOOLEAN,
139 NULL, /* use generic marshaller */
141140 G_TYPE_NONE,
142141 2,
143142 G_TYPE_BOOLEAN,
160160 g_simple_async_result_set_error (data->simple,
161161 POLKIT_ERROR,
162162 POLKIT_ERROR_CANCELLED,
163 _("Authentation dialog was dismissed by the user"));
163 _("Authentication dialog was dismissed by the user"));
164164 }
165165 g_simple_async_result_complete (data->simple);
166166 g_object_unref (data->simple);
+0
-89
src/polkitgnomemarshal.c less more
0 #include "polkitgnomemarshal.h"
1
2 #include <glib-object.h>
3
4
5 #ifdef G_ENABLE_DEBUG
6 #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
7 #define g_marshal_value_peek_char(v) g_value_get_char (v)
8 #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
9 #define g_marshal_value_peek_int(v) g_value_get_int (v)
10 #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
11 #define g_marshal_value_peek_long(v) g_value_get_long (v)
12 #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
13 #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
14 #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
15 #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
16 #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
17 #define g_marshal_value_peek_float(v) g_value_get_float (v)
18 #define g_marshal_value_peek_double(v) g_value_get_double (v)
19 #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
20 #define g_marshal_value_peek_param(v) g_value_get_param (v)
21 #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
22 #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
23 #define g_marshal_value_peek_object(v) g_value_get_object (v)
24 #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
25 #else /* !G_ENABLE_DEBUG */
26 /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
27 * Do not access GValues directly in your code. Instead, use the
28 * g_value_get_*() functions
29 */
30 #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
31 #define g_marshal_value_peek_char(v) (v)->data[0].v_int
32 #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
33 #define g_marshal_value_peek_int(v) (v)->data[0].v_int
34 #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
35 #define g_marshal_value_peek_long(v) (v)->data[0].v_long
36 #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
37 #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
38 #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
39 #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
40 #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
41 #define g_marshal_value_peek_float(v) (v)->data[0].v_float
42 #define g_marshal_value_peek_double(v) (v)->data[0].v_double
43 #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
44 #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
45 #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
46 #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
47 #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
48 #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
49 #endif /* !G_ENABLE_DEBUG */
50
51
52 /* VOID:BOOLEAN,BOOLEAN (./polkitgnomemarshal.list:1) */
53 void
54 _polkit_gnome_marshal_VOID__BOOLEAN_BOOLEAN (GClosure *closure,
55 GValue *return_value G_GNUC_UNUSED,
56 guint n_param_values,
57 const GValue *param_values,
58 gpointer invocation_hint G_GNUC_UNUSED,
59 gpointer marshal_data)
60 {
61 typedef void (*GMarshalFunc_VOID__BOOLEAN_BOOLEAN) (gpointer data1,
62 gboolean arg_1,
63 gboolean arg_2,
64 gpointer data2);
65 register GMarshalFunc_VOID__BOOLEAN_BOOLEAN callback;
66 register GCClosure *cc = (GCClosure*) closure;
67 register gpointer data1, data2;
68
69 g_return_if_fail (n_param_values == 3);
70
71 if (G_CCLOSURE_SWAP_DATA (closure))
72 {
73 data1 = closure->data;
74 data2 = g_value_peek_pointer (param_values + 0);
75 }
76 else
77 {
78 data1 = g_value_peek_pointer (param_values + 0);
79 data2 = closure->data;
80 }
81 callback = (GMarshalFunc_VOID__BOOLEAN_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
82
83 callback (data1,
84 g_marshal_value_peek_boolean (param_values + 1),
85 g_marshal_value_peek_boolean (param_values + 2),
86 data2);
87 }
88
+0
-20
src/polkitgnomemarshal.h less more
0
1 #ifndef ___polkit_gnome_marshal_MARSHAL_H__
2 #define ___polkit_gnome_marshal_MARSHAL_H__
3
4 #include <glib-object.h>
5
6 G_BEGIN_DECLS
7
8 /* VOID:BOOLEAN,BOOLEAN (./polkitgnomemarshal.list:1) */
9 extern void _polkit_gnome_marshal_VOID__BOOLEAN_BOOLEAN (GClosure *closure,
10 GValue *return_value,
11 guint n_param_values,
12 const GValue *param_values,
13 gpointer invocation_hint,
14 gpointer marshal_data);
15
16 G_END_DECLS
17
18 #endif /* ___polkit_gnome_marshal_MARSHAL_H__ */
19
+0
-1
src/polkitgnomemarshal.list less more
0 VOID:BOOLEAN,BOOLEAN