Merge lp:~indicator-applet-developers/ubuntu/precise/indicator-session/upstream into lp:~ubuntu-desktop/indicator-session/ubuntu

Proposed by Ted Gould
Status: Merged
Merged at revision: 175
Proposed branch: lp:~indicator-applet-developers/ubuntu/precise/indicator-session/upstream
Merge into: lp:~ubuntu-desktop/indicator-session/ubuntu
Diff against target: 3356 lines (+872/-717)
27 files modified
AUTHORS (+3/-0)
ChangeLog (+81/-0)
aclocal.m4 (+229/-66)
config.h.in (+9/-0)
configure (+249/-135)
configure.ac (+54/-12)
data/Makefile.am (+12/-8)
data/Makefile.in (+27/-27)
debian/changelog (+16/-0)
debian/control (+3/-3)
debian/patches/01-remove-dead-gss-handling.patch (+0/-175)
debian/patches/series (+0/-1)
ltmain.sh (+57/-38)
po/Makefile.in.in (+2/-2)
src/Makefile.am (+16/-5)
src/Makefile.in (+72/-70)
src/apt-watcher.h (+0/-4)
src/device-menu-mgr.c (+28/-26)
src/indicator-session.c (+8/-9)
src/lock-helper.c (+0/-86)
src/lock-helper.h (+0/-3)
src/session-service.c (+0/-4)
src/udev-mgr.h (+0/-4)
src/user-menu-mgr.c (+1/-34)
src/user-menu-mgr.h (+1/-1)
src/user-widget.c (+4/-0)
src/user-widget.h (+0/-4)
To merge this branch: bzr merge lp:~indicator-applet-developers/ubuntu/precise/indicator-session/upstream
Reviewer Review Type Date Requested Status
Ken VanDine Pending
Review via email: mp+92060@code.launchpad.net

Description of the change

0.3.90

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'AUTHORS'
2--- AUTHORS 2011-08-25 12:58:54 +0000
3+++ AUTHORS 2012-02-08 16:05:23 +0000
4@@ -1,12 +1,15 @@
5 # Generated by Makefile. Do not edit.
6
7+ Alberto Mardegan
8 Alexander Sack
9 Christoph Korn
10 Cody Russell
11 Conor Curran
12 Daniel van Vugt
13 David Barth
14+ Dmitry Shachnev
15 Gabor Kelemen
16+ György Balló
17 Jeremy Bicha
18 Ken VanDine
19 Kyle Nitzsche
20
21=== modified file 'ChangeLog'
22--- ChangeLog 2012-02-08 02:41:26 +0000
23+++ ChangeLog 2012-02-08 16:05:23 +0000
24@@ -1,5 +1,86 @@
25 # Generated by Makefile. Do not edit.
26
27+2012-02-07 Ted Gould <ted@gould.cx>
28+
29+ 0.3.90
30+
31+2012-02-07 Ted Gould <ted@gould.cx>
32+
33+ Screensaver code cleanup
34+
35+2012-01-30 Marc Deslauriers <marc.deslauriers@canonical.com>
36+
37+ Remove dead GSS throttling code. Let gnome-settings-daemon
38+ handle locking the screen when UPower requests it.
39+
40+2012-02-07 Ted Gould <ted@gould.cx>
41+
42+ Fix ordering of items on request
43+
44+2011-10-26 Dmitry Shachnev <mitya57@gmail.com>
45+
46+ Swap return values of indicator_session_get_location
47+
48+2012-02-07 Ted Gould <ted@gould.cx>
49+
50+ Removing GOA support
51+
52+2012-02-02 Alberto Mardegan <alberto.mardegan@canonical.com>
53+
54+ Remove "Online accounts" from user menu
55+
56+ The "Online accounts" feature is going to be removed from the control panel in Precise.
57+
58+2012-02-07 Ted Gould <ted@gould.cx>
59+
60+ Fix GTK3 Box Deprecation
61+
62+2012-02-07 Ted Gould <ted@gould.cx>
63+
64+ If we have GTK3 use the new gtk_box_new() function not the deprecated one
65+
66+2012-02-07 Ted Gould <ted@gould.cx>
67+
68+ Adding flags into the build to make sure we know if we're GTK3 or not
69+
70+2012-02-03 Ted Gould <ted@gould.cx>
71+
72+ Updating to dbusmenu 0.5.90
73+
74+2012-01-31 Ted Gould <ted@gould.cx>
75+
76+ Modifying includes to not include libdbusmenu-gtk3 stuff
77+
78+2012-01-31 Ted Gould <ted@gould.cx>
79+
80+ Updating required dbusmenu 0.5.90
81+
82+2011-11-29 Ted Gould <ted@gould.cx>
83+
84+ Making the gtk logout helper and apt optional build time choices
85+
86+2011-11-23 György Balló <ballogy@freestart.hu>
87+
88+ Make APT support optional
89+
90+2011-11-23 György Balló <ballogy@freestart.hu>
91+
92+ Make GTK Logout Helper optional
93+
94+2011-11-29 Ted Gould <ted@gould.cx>
95+
96+ Add name hints to the indicators
97+
98+2011-11-08 Marco Trevisan (Treviño) <mail@3v1n0.net>
99+
100+ Export the indicators name hints
101+
102+ Using the PACKAGE config.h variable both for the users and devices entries.
103+
104+2011-10-28 Conor Curran <conor.curran@canonical.com>
105+
106+ bump version for release
107+
108 2011-10-28 Conor Curran <conor.curran@canonical.com>
109
110 fix the invalid utf8 bug and update ignore file
111
112=== modified file 'aclocal.m4'
113--- aclocal.m4 2011-08-25 19:25:38 +0000
114+++ aclocal.m4 2012-02-08 16:05:23 +0000
115@@ -260,6 +260,10 @@
116 [CATOBJEXT=.mo
117 DATADIRNAME=lib])
118 ;;
119+ *-*-openbsd*)
120+ CATOBJEXT=.mo
121+ DATADIRNAME=share
122+ ;;
123 *)
124 CATOBJEXT=.mo
125 DATADIRNAME=lib
126@@ -581,7 +585,7 @@
127 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 $< [$]@'
128 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 $< [$]@'
129 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 $< [$]@'
130- INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< [$]@'
131+ INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u --no-translations $< [$]@'
132 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 $< [$]@'
133 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 $< [$]@'
134 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 $< [$]@'
135@@ -634,7 +638,7 @@
136 if test $? -ne 0; then
137 AC_MSG_ERROR([perl 5.8.1 is required for intltool])
138 else
139- IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
140+ IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
141 AC_MSG_RESULT([$IT_PERL_VERSION])
142 fi
143 if test "x$2" != "xno-xml"; then
144@@ -733,8 +737,8 @@
145 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
146 #
147 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
148-# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
149-# Inc.
150+# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
151+# Foundation, Inc.
152 # Written by Gordon Matzigkeit, 1996
153 #
154 # This file is free software; the Free Software Foundation gives
155@@ -743,8 +747,8 @@
156
157 m4_define([_LT_COPYING], [dnl
158 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
159-# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
160-# Inc.
161+# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
162+# Foundation, Inc.
163 # Written by Gordon Matzigkeit, 1996
164 #
165 # This file is part of GNU Libtool.
166@@ -878,6 +882,8 @@
167 AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
168 AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
169
170+_LT_DECL([], [PATH_SEPARATOR], [1], [The PATH separator for the build system])dnl
171+dnl
172 _LT_DECL([], [host_alias], [0], [The host system])dnl
173 _LT_DECL([], [host], [0])dnl
174 _LT_DECL([], [host_os], [0])dnl
175@@ -1363,7 +1369,7 @@
176 m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
177 configured by $[0], generated by m4_PACKAGE_STRING.
178
179-Copyright (C) 2010 Free Software Foundation, Inc.
180+Copyright (C) 2011 Free Software Foundation, Inc.
181 This config.lt script is free software; the Free Software Foundation
182 gives unlimited permision to copy, distribute and modify it."
183
184@@ -1527,6 +1533,7 @@
185 m4_case([$1],
186 [C], [_LT_LANG(C)],
187 [C++], [_LT_LANG(CXX)],
188+ [Go], [_LT_LANG(GO)],
189 [Java], [_LT_LANG(GCJ)],
190 [Fortran 77], [_LT_LANG(F77)],
191 [Fortran], [_LT_LANG(FC)],
192@@ -1548,6 +1555,29 @@
193 ])# _LT_LANG
194
195
196+m4_ifndef([AC_PROG_GO], [
197+# NOTE: This macro has been submitted for inclusion into #
198+# GNU Autoconf as AC_PROG_GO. When it is available in #
199+# a released version of Autoconf we should remove this #
200+# macro and use it instead. #
201+m4_defun([AC_PROG_GO],
202+[AC_LANG_PUSH(Go)dnl
203+AC_ARG_VAR([GOC], [Go compiler command])dnl
204+AC_ARG_VAR([GOFLAGS], [Go compiler flags])dnl
205+_AC_ARG_VAR_LDFLAGS()dnl
206+AC_CHECK_TOOL(GOC, gccgo)
207+if test -z "$GOC"; then
208+ if test -n "$ac_tool_prefix"; then
209+ AC_CHECK_PROG(GOC, [${ac_tool_prefix}gccgo], [${ac_tool_prefix}gccgo])
210+ fi
211+fi
212+if test -z "$GOC"; then
213+ AC_CHECK_PROG(GOC, gccgo, gccgo, false)
214+fi
215+])#m4_defun
216+])#m4_ifndef
217+
218+
219 # _LT_LANG_DEFAULT_CONFIG
220 # -----------------------
221 m4_defun([_LT_LANG_DEFAULT_CONFIG],
222@@ -1578,6 +1608,10 @@
223 m4_ifdef([LT_PROG_GCJ],
224 [m4_define([LT_PROG_GCJ], defn([LT_PROG_GCJ])[LT_LANG(GCJ)])])])])])
225
226+AC_PROVIDE_IFELSE([AC_PROG_GO],
227+ [LT_LANG(GO)],
228+ [m4_define([AC_PROG_GO], defn([AC_PROG_GO])[LT_LANG(GO)])])
229+
230 AC_PROVIDE_IFELSE([LT_PROG_RC],
231 [LT_LANG(RC)],
232 [m4_define([LT_PROG_RC], defn([LT_PROG_RC])[LT_LANG(RC)])])
233@@ -1680,7 +1714,13 @@
234 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
235 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
236 _lt_result=$?
237- if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
238+ # If there is a non-empty error log, and "single_module"
239+ # appears in it, assume the flag caused a linker warning
240+ if test -s conftest.err && $GREP single_module conftest.err; then
241+ cat conftest.err >&AS_MESSAGE_LOG_FD
242+ # Otherwise, if the output was created with a 0 exit code from
243+ # the compiler, it worked.
244+ elif test -f libconftest.dylib && test $_lt_result -eq 0; then
245 lt_cv_apple_cc_single_mod=yes
246 else
247 cat conftest.err >&AS_MESSAGE_LOG_FD
248@@ -1688,6 +1728,7 @@
249 rm -rf libconftest.dylib*
250 rm -f conftest.*
251 fi])
252+
253 AC_CACHE_CHECK([for -exported_symbols_list linker flag],
254 [lt_cv_ld_exported_symbols_list],
255 [lt_cv_ld_exported_symbols_list=no
256@@ -1699,6 +1740,7 @@
257 [lt_cv_ld_exported_symbols_list=no])
258 LDFLAGS="$save_LDFLAGS"
259 ])
260+
261 AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
262 [lt_cv_ld_force_load=no
263 cat > conftest.c << _LT_EOF
264@@ -1716,7 +1758,9 @@
265 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
266 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
267 _lt_result=$?
268- if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
269+ if test -s conftest.err && $GREP force_load conftest.err; then
270+ cat conftest.err >&AS_MESSAGE_LOG_FD
271+ elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
272 lt_cv_ld_force_load=yes
273 else
274 cat conftest.err >&AS_MESSAGE_LOG_FD
275@@ -1761,8 +1805,8 @@
276 ])
277
278
279-# _LT_DARWIN_LINKER_FEATURES
280-# --------------------------
281+# _LT_DARWIN_LINKER_FEATURES([TAG])
282+# ---------------------------------
283 # Checks for linker and compiler features on darwin
284 m4_defun([_LT_DARWIN_LINKER_FEATURES],
285 [
286@@ -1773,6 +1817,8 @@
287 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
288 if test "$lt_cv_ld_force_load" = "yes"; then
289 _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
290+ m4_case([$1], [F77], [_LT_TAGVAR(compiler_needs_object, $1)=yes],
291+ [FC], [_LT_TAGVAR(compiler_needs_object, $1)=yes])
292 else
293 _LT_TAGVAR(whole_archive_flag_spec, $1)=''
294 fi
295@@ -2056,14 +2102,27 @@
296 CFLAGS="$SAVE_CFLAGS"
297 fi
298 ;;
299-sparc*-*solaris*)
300+*-*solaris*)
301 # Find out which ABI we are using.
302 echo 'int i;' > conftest.$ac_ext
303 if AC_TRY_EVAL(ac_compile); then
304 case `/usr/bin/file conftest.o` in
305 *64-bit*)
306 case $lt_cv_prog_gnu_ld in
307- yes*) LD="${LD-ld} -m elf64_sparc" ;;
308+ yes*)
309+ case $host in
310+ i?86-*-solaris*)
311+ LD="${LD-ld} -m elf_x86_64"
312+ ;;
313+ sparc*-*-solaris*)
314+ LD="${LD-ld} -m elf64_sparc"
315+ ;;
316+ esac
317+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
318+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
319+ LD="${LD-ld}_sol2"
320+ fi
321+ ;;
322 *)
323 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
324 LD="${LD-ld} -64"
325@@ -2140,13 +2199,13 @@
326 if test -n "$RANLIB"; then
327 case $host_os in
328 openbsd*)
329- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
330+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
331 ;;
332 *)
333- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
334+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
335 ;;
336 esac
337- old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
338+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
339 fi
340
341 case $host_os in
342@@ -2326,6 +2385,11 @@
343 lt_cv_sys_max_cmd_len=196608
344 ;;
345
346+ os2*)
347+ # The test takes a long time on OS/2.
348+ lt_cv_sys_max_cmd_len=8192
349+ ;;
350+
351 osf*)
352 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
353 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
354@@ -2365,7 +2429,7 @@
355 # If test is not a shell built-in, we'll probably end up computing a
356 # maximum length that is only half of the actual maximum length, but
357 # we can't tell.
358- while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
359+ while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
360 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
361 test $i != 17 # 1/2 MB should be enough
362 do
363@@ -2911,7 +2975,7 @@
364
365 case $host_os in
366 aix3*)
367- version_type=linux
368+ version_type=linux # correct to gnu/linux during the next big refactor
369 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
370 shlibpath_var=LIBPATH
371
372@@ -2920,7 +2984,7 @@
373 ;;
374
375 aix[[4-9]]*)
376- version_type=linux
377+ version_type=linux # correct to gnu/linux during the next big refactor
378 need_lib_prefix=no
379 need_version=no
380 hardcode_into_libs=yes
381@@ -2985,7 +3049,7 @@
382 ;;
383
384 bsdi[[45]]*)
385- version_type=linux
386+ version_type=linux # correct to gnu/linux during the next big refactor
387 need_version=no
388 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
389 soname_spec='${libname}${release}${shared_ext}$major'
390@@ -3124,7 +3188,7 @@
391 ;;
392
393 dgux*)
394- version_type=linux
395+ version_type=linux # correct to gnu/linux during the next big refactor
396 need_lib_prefix=no
397 need_version=no
398 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
399@@ -3132,10 +3196,6 @@
400 shlibpath_var=LD_LIBRARY_PATH
401 ;;
402
403-freebsd1*)
404- dynamic_linker=no
405- ;;
406-
407 freebsd* | dragonfly*)
408 # DragonFly does not have aout. When/if they implement a new
409 # versioning mechanism, adjust this.
410@@ -3143,7 +3203,7 @@
411 objformat=`/usr/bin/objformat`
412 else
413 case $host_os in
414- freebsd[[123]]*) objformat=aout ;;
415+ freebsd[[23]].*) objformat=aout ;;
416 *) objformat=elf ;;
417 esac
418 fi
419@@ -3161,7 +3221,7 @@
420 esac
421 shlibpath_var=LD_LIBRARY_PATH
422 case $host_os in
423- freebsd2*)
424+ freebsd2.*)
425 shlibpath_overrides_runpath=yes
426 ;;
427 freebsd3.[[01]]* | freebsdelf3.[[01]]*)
428@@ -3181,7 +3241,7 @@
429 ;;
430
431 gnu*)
432- version_type=linux
433+ version_type=linux # correct to gnu/linux during the next big refactor
434 need_lib_prefix=no
435 need_version=no
436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
437@@ -3192,7 +3252,7 @@
438 ;;
439
440 haiku*)
441- version_type=linux
442+ version_type=linux # correct to gnu/linux during the next big refactor
443 need_lib_prefix=no
444 need_version=no
445 dynamic_linker="$host_os runtime_loader"
446@@ -3253,7 +3313,7 @@
447 ;;
448
449 interix[[3-9]]*)
450- version_type=linux
451+ version_type=linux # correct to gnu/linux during the next big refactor
452 need_lib_prefix=no
453 need_version=no
454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
455@@ -3269,7 +3329,7 @@
456 nonstopux*) version_type=nonstopux ;;
457 *)
458 if test "$lt_cv_prog_gnu_ld" = yes; then
459- version_type=linux
460+ version_type=linux # correct to gnu/linux during the next big refactor
461 else
462 version_type=irix
463 fi ;;
464@@ -3306,9 +3366,9 @@
465 dynamic_linker=no
466 ;;
467
468-# This must be Linux ELF.
469+# This must be glibc/ELF.
470 linux* | k*bsd*-gnu | kopensolaris*-gnu)
471- version_type=linux
472+ version_type=linux # correct to gnu/linux during the next big refactor
473 need_lib_prefix=no
474 need_version=no
475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
476@@ -3383,7 +3443,7 @@
477 ;;
478
479 newsos6)
480- version_type=linux
481+ version_type=linux # correct to gnu/linux during the next big refactor
482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
483 shlibpath_var=LD_LIBRARY_PATH
484 shlibpath_overrides_runpath=yes
485@@ -3452,7 +3512,7 @@
486 ;;
487
488 solaris*)
489- version_type=linux
490+ version_type=linux # correct to gnu/linux during the next big refactor
491 need_lib_prefix=no
492 need_version=no
493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
494@@ -3477,7 +3537,7 @@
495 ;;
496
497 sysv4 | sysv4.3*)
498- version_type=linux
499+ version_type=linux # correct to gnu/linux during the next big refactor
500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
501 soname_spec='${libname}${release}${shared_ext}$major'
502 shlibpath_var=LD_LIBRARY_PATH
503@@ -3501,7 +3561,7 @@
504
505 sysv4*MP*)
506 if test -d /usr/nec ;then
507- version_type=linux
508+ version_type=linux # correct to gnu/linux during the next big refactor
509 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
510 soname_spec='$libname${shared_ext}.$major'
511 shlibpath_var=LD_LIBRARY_PATH
512@@ -3532,7 +3592,7 @@
513
514 tpf*)
515 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
516- version_type=linux
517+ version_type=linux # correct to gnu/linux during the next big refactor
518 need_lib_prefix=no
519 need_version=no
520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
521@@ -3542,7 +3602,7 @@
522 ;;
523
524 uts4*)
525- version_type=linux
526+ version_type=linux # correct to gnu/linux during the next big refactor
527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
528 soname_spec='${libname}${release}${shared_ext}$major'
529 shlibpath_var=LD_LIBRARY_PATH
530@@ -3964,7 +4024,7 @@
531 lt_cv_deplibs_check_method=pass_all
532 ;;
533
534-# This must be Linux ELF.
535+# This must be glibc/ELF.
536 linux* | k*bsd*-gnu | kopensolaris*-gnu)
537 lt_cv_deplibs_check_method=pass_all
538 ;;
539@@ -4384,6 +4444,7 @@
540 # which start with @ or ?.
541 lt_cv_sys_global_symbol_pipe="$AWK ['"\
542 " {last_section=section; section=\$ 3};"\
543+" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
544 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
545 " \$ 0!~/External *\|/{next};"\
546 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
547@@ -4968,7 +5029,9 @@
548 case $cc_basename in
549 nvcc*) # Cuda Compiler Driver 2.2
550 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
551- _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
552+ if test -n "$_LT_TAGVAR(lt_prog_compiler_pic, $1)"; then
553+ _LT_TAGVAR(lt_prog_compiler_pic, $1)="-Xcompiler $_LT_TAGVAR(lt_prog_compiler_pic, $1)"
554+ fi
555 ;;
556 esac
557 else
558@@ -5060,18 +5123,33 @@
559 ;;
560 *)
561 case `$CC -V 2>&1 | sed 5q` in
562- *Sun\ F* | *Sun*Fortran*)
563+ *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [[1-7]].* | *Sun*Fortran*\ 8.[[0-3]]*)
564 # Sun Fortran 8.3 passes all unrecognized flags to the linker
565 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
566 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
567 _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
568 ;;
569+ *Sun\ F* | *Sun*Fortran*)
570+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
571+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
572+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld '
573+ ;;
574 *Sun\ C*)
575 # Sun C 5.9
576 _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
577 _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
578 _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
579 ;;
580+ *Intel*\ [[CF]]*Compiler*)
581+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
582+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
583+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-static'
584+ ;;
585+ *Portland\ Group*)
586+ _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
587+ _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fpic'
588+ _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
589+ ;;
590 esac
591 ;;
592 esac
593@@ -5231,7 +5309,9 @@
594 ;;
595 cygwin* | mingw* | cegcc*)
596 case $cc_basename in
597- cl*) ;;
598+ cl*)
599+ _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
600+ ;;
601 *)
602 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]][[ ]]/s/.* //'\'' | sort | uniq > $export_symbols'
603 _LT_TAGVAR(exclude_expsyms, $1)=['[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname']
604@@ -5259,7 +5339,6 @@
605 _LT_TAGVAR(hardcode_direct, $1)=no
606 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
607 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
608- _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
609 _LT_TAGVAR(hardcode_libdir_separator, $1)=
610 _LT_TAGVAR(hardcode_minus_L, $1)=no
611 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
612@@ -5513,8 +5592,7 @@
613 xlf* | bgf* | bgxlf* | mpixlf*)
614 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
615 _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
616- _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
617- _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
618+ _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
619 _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
620 if test "x$supports_anon_versioning" = xyes; then
621 _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
622@@ -5810,6 +5888,7 @@
623 # The linker will not automatically build a static lib if we build a DLL.
624 # _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
625 _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
626+ _LT_TAGVAR(exclude_expsyms, $1)='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
627 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1,DATA/'\'' | $SED -e '\''/^[[AITW]][[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols'
628 # Don't use ranlib
629 _LT_TAGVAR(old_postinstall_cmds, $1)='chmod 644 $oldlib'
630@@ -5856,10 +5935,6 @@
631 _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
632 ;;
633
634- freebsd1*)
635- _LT_TAGVAR(ld_shlibs, $1)=no
636- ;;
637-
638 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
639 # support. Future versions do this automatically, but an explicit c++rt0.o
640 # does not break anything, and helps significantly (at the cost of a little
641@@ -5872,7 +5947,7 @@
642 ;;
643
644 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
645- freebsd2*)
646+ freebsd2.*)
647 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
648 _LT_TAGVAR(hardcode_direct, $1)=yes
649 _LT_TAGVAR(hardcode_minus_L, $1)=yes
650@@ -5911,7 +5986,6 @@
651 fi
652 if test "$with_gnu_ld" = no; then
653 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
654- _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='+b $libdir'
655 _LT_TAGVAR(hardcode_libdir_separator, $1)=:
656 _LT_TAGVAR(hardcode_direct, $1)=yes
657 _LT_TAGVAR(hardcode_direct_absolute, $1)=yes
658@@ -6353,9 +6427,6 @@
659 _LT_TAGDECL([], [hardcode_libdir_flag_spec], [1],
660 [Flag to hardcode $libdir into a binary during linking.
661 This must work even if $libdir does not exist])
662-_LT_TAGDECL([], [hardcode_libdir_flag_spec_ld], [1],
663- [[If ld is used when linking, flag to hardcode $libdir into a binary
664- during linking. This must work even if $libdir does not exist]])
665 _LT_TAGDECL([], [hardcode_libdir_separator], [1],
666 [Whether we need a single "-rpath" flag with a separated argument])
667 _LT_TAGDECL([], [hardcode_direct], [0],
668@@ -6509,7 +6580,6 @@
669 _LT_TAGVAR(hardcode_direct, $1)=no
670 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
671 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
672-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
673 _LT_TAGVAR(hardcode_libdir_separator, $1)=
674 _LT_TAGVAR(hardcode_minus_L, $1)=no
675 _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
676@@ -6879,7 +6949,7 @@
677 esac
678 ;;
679
680- freebsd[[12]]*)
681+ freebsd2.*)
682 # C++ shared libraries reported to be fairly broken before
683 # switch to ELF
684 _LT_TAGVAR(ld_shlibs, $1)=no
685@@ -7640,12 +7710,18 @@
686 }
687 };
688 _LT_EOF
689+], [$1], [GO], [cat > conftest.$ac_ext <<_LT_EOF
690+package foo
691+func foo() {
692+}
693+_LT_EOF
694 ])
695
696 _lt_libdeps_save_CFLAGS=$CFLAGS
697 case "$CC $CFLAGS " in #(
698 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
699 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
700+*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
701 esac
702
703 dnl Parse the compiler output and extract the necessary
704@@ -7842,7 +7918,6 @@
705 _LT_TAGVAR(hardcode_direct, $1)=no
706 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
707 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
708-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
709 _LT_TAGVAR(hardcode_libdir_separator, $1)=
710 _LT_TAGVAR(hardcode_minus_L, $1)=no
711 _LT_TAGVAR(hardcode_automatic, $1)=no
712@@ -7975,7 +8050,6 @@
713 _LT_TAGVAR(hardcode_direct, $1)=no
714 _LT_TAGVAR(hardcode_direct_absolute, $1)=no
715 _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
716-_LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)=
717 _LT_TAGVAR(hardcode_libdir_separator, $1)=
718 _LT_TAGVAR(hardcode_minus_L, $1)=no
719 _LT_TAGVAR(hardcode_automatic, $1)=no
720@@ -8158,6 +8232,73 @@
721 ])# _LT_LANG_GCJ_CONFIG
722
723
724+# _LT_LANG_GO_CONFIG([TAG])
725+# --------------------------
726+# Ensure that the configuration variables for the GNU Go compiler
727+# are suitably defined. These variables are subsequently used by _LT_CONFIG
728+# to write the compiler configuration to `libtool'.
729+m4_defun([_LT_LANG_GO_CONFIG],
730+[AC_REQUIRE([LT_PROG_GO])dnl
731+AC_LANG_SAVE
732+
733+# Source file extension for Go test sources.
734+ac_ext=go
735+
736+# Object file extension for compiled Go test sources.
737+objext=o
738+_LT_TAGVAR(objext, $1)=$objext
739+
740+# Code to be used in simple compile tests
741+lt_simple_compile_test_code="package main; func main() { }"
742+
743+# Code to be used in simple link tests
744+lt_simple_link_test_code='package main; func main() { }'
745+
746+# ltmain only uses $CC for tagged configurations so make sure $CC is set.
747+_LT_TAG_COMPILER
748+
749+# save warnings/boilerplate of simple test code
750+_LT_COMPILER_BOILERPLATE
751+_LT_LINKER_BOILERPLATE
752+
753+# Allow CC to be a program name with arguments.
754+lt_save_CC=$CC
755+lt_save_CFLAGS=$CFLAGS
756+lt_save_GCC=$GCC
757+GCC=yes
758+CC=${GOC-"gccgo"}
759+CFLAGS=$GOFLAGS
760+compiler=$CC
761+_LT_TAGVAR(compiler, $1)=$CC
762+_LT_TAGVAR(LD, $1)="$LD"
763+_LT_CC_BASENAME([$compiler])
764+
765+# Go did not exist at the time GCC didn't implicitly link libc in.
766+_LT_TAGVAR(archive_cmds_need_lc, $1)=no
767+
768+_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
769+_LT_TAGVAR(reload_flag, $1)=$reload_flag
770+_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
771+
772+if test -n "$compiler"; then
773+ _LT_COMPILER_NO_RTTI($1)
774+ _LT_COMPILER_PIC($1)
775+ _LT_COMPILER_C_O($1)
776+ _LT_COMPILER_FILE_LOCKS($1)
777+ _LT_LINKER_SHLIBS($1)
778+ _LT_LINKER_HARDCODE_LIBPATH($1)
779+
780+ _LT_CONFIG($1)
781+fi
782+
783+AC_LANG_RESTORE
784+
785+GCC=$lt_save_GCC
786+CC=$lt_save_CC
787+CFLAGS=$lt_save_CFLAGS
788+])# _LT_LANG_GO_CONFIG
789+
790+
791 # _LT_LANG_RC_CONFIG([TAG])
792 # -------------------------
793 # Ensure that the configuration variables for the Windows resource compiler
794@@ -8227,6 +8368,13 @@
795 dnl AC_DEFUN([LT_AC_PROG_GCJ], [])
796
797
798+# LT_PROG_GO
799+# ----------
800+AC_DEFUN([LT_PROG_GO],
801+[AC_CHECK_TOOL(GOC, gccgo,)
802+])
803+
804+
805 # LT_PROG_RC
806 # ----------
807 AC_DEFUN([LT_PROG_RC],
808@@ -8891,9 +9039,24 @@
809 # MODE is either `yes' or `no'. If omitted, it defaults to `both'.
810 m4_define([_LT_WITH_PIC],
811 [AC_ARG_WITH([pic],
812- [AS_HELP_STRING([--with-pic],
813+ [AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
814 [try to use only PIC/non-PIC objects @<:@default=use both@:>@])],
815- [pic_mode="$withval"],
816+ [lt_p=${PACKAGE-default}
817+ case $withval in
818+ yes|no) pic_mode=$withval ;;
819+ *)
820+ pic_mode=default
821+ # Look at the argument we got. We use all the common list separators.
822+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
823+ for lt_pkg in $withval; do
824+ IFS="$lt_save_ifs"
825+ if test "X$lt_pkg" = "X$lt_p"; then
826+ pic_mode=yes
827+ fi
828+ done
829+ IFS="$lt_save_ifs"
830+ ;;
831+ esac],
832 [pic_mode=default])
833
834 test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
835@@ -9065,15 +9228,15 @@
836
837 # @configure_input@
838
839-# serial 3293 ltversion.m4
840+# serial 3337 ltversion.m4
841 # This file is part of GNU Libtool
842
843-m4_define([LT_PACKAGE_VERSION], [2.4])
844-m4_define([LT_PACKAGE_REVISION], [1.3293])
845+m4_define([LT_PACKAGE_VERSION], [2.4.2])
846+m4_define([LT_PACKAGE_REVISION], [1.3337])
847
848 AC_DEFUN([LTVERSION_VERSION],
849-[macro_version='2.4'
850-macro_revision='1.3293'
851+[macro_version='2.4.2'
852+macro_revision='1.3337'
853 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
854 _LT_DECL(, macro_revision, 0)
855 ])
856
857=== modified file 'config.h.in'
858--- config.h.in 2010-04-09 16:05:57 +0000
859+++ config.h.in 2012-02-08 16:05:23 +0000
860@@ -9,6 +9,9 @@
861 /* locale directory */
862 #undef GNOMELOCALEDIR
863
864+/* Define to 1 to enable APT support */
865+#undef HAVE_APT
866+
867 /* Define to 1 if you have the `bind_textdomain_codeset' function. */
868 #undef HAVE_BIND_TEXTDOMAIN_CODESET
869
870@@ -21,6 +24,12 @@
871 /* Define if the GNU gettext() function is already present or preinstalled. */
872 #undef HAVE_GETTEXT
873
874+/* whether gtk3 is available */
875+#undef HAVE_GTK3
876+
877+/* Define to 1 to enable GTK Logout Helper */
878+#undef HAVE_GTKLOGOUTHELPER
879+
880 /* Define to 1 if you have the <inttypes.h> header file. */
881 #undef HAVE_INTTYPES_H
882
883
884=== modified file 'configure'
885--- configure 2012-02-08 02:41:26 +0000
886+++ configure 2012-02-08 16:05:23 +0000
887@@ -629,8 +629,14 @@
888 DBUSSERVICEDIR
889 INDICATORICONSDIR
890 INDICATORDIR
891+BUILD_APT_FALSE
892+BUILD_APT_TRUE
893+BUILD_GTKLOGOUTHELPER_FALSE
894+BUILD_GTKLOGOUTHELPER_TRUE
895 GTKLOGOUTHELPER_LIBS
896 GTKLOGOUTHELPER_CFLAGS
897+USE_GTK3_FALSE
898+USE_GTK3_TRUE
899 SESSIONERVICE_LIBS
900 SESSIONERVICE_CFLAGS
901 SESSIONSERVICE_LIBS
902@@ -802,6 +808,8 @@
903 enable_libtool_lock
904 enable_silent_rules
905 with_gtk
906+enable_gtklogouthelper
907+enable_apt
908 enable_localinstall
909 '
910 ac_precious_vars='build_alias
911@@ -1454,13 +1462,16 @@
912 --disable-libtool-lock avoid locking (might break parallel builds)
913 --enable-silent-rules less verbose build output (undo: `make V=1')
914 --disable-silent-rules verbose build output (undo: `make V=0')
915+ --enable-gtklogouthelper
916+ enable GTK Logout Helper
917+ --disable-apt disable APT support
918 --enable-localinstall install all of the files localy instead of system
919 directories (for distcheck)
920
921 Optional Packages:
922 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
923 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
924- --with-pic try to use only PIC/non-PIC objects [default=use
925+ --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
926 both]
927 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
928 --with-sysroot=DIR Search for dependent libraries within DIR
929@@ -2745,7 +2756,7 @@
930
931 # Define the identity of the package.
932 PACKAGE=indicator-session
933- VERSION=0.3.7.1
934+ VERSION=0.3.90
935
936
937 cat >>confdefs.h <<_ACEOF
938@@ -4196,7 +4207,7 @@
939 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 $< $@'
940 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 $< $@'
941 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 $< $@'
942- INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
943+ INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u --no-translations $< $@'
944 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 $< $@'
945 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 $< $@'
946 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 $< $@'
947@@ -4522,7 +4533,7 @@
948 if test $? -ne 0; then
949 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
950 else
951- IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
952+ IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
954 $as_echo "$IT_PERL_VERSION" >&6; }
955 fi
956@@ -5819,8 +5830,8 @@
957
958
959
960-macro_version='2.4'
961-macro_revision='1.3293'
962+macro_version='2.4.2'
963+macro_revision='1.3337'
964
965
966
967@@ -6535,6 +6546,11 @@
968 lt_cv_sys_max_cmd_len=196608
969 ;;
970
971+ os2*)
972+ # The test takes a long time on OS/2.
973+ lt_cv_sys_max_cmd_len=8192
974+ ;;
975+
976 osf*)
977 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
978 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
979@@ -6574,7 +6590,7 @@
980 # If test is not a shell built-in, we'll probably end up computing a
981 # maximum length that is only half of the actual maximum length, but
982 # we can't tell.
983- while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
984+ while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
985 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
986 test $i != 17 # 1/2 MB should be enough
987 do
988@@ -7003,7 +7019,7 @@
989 lt_cv_deplibs_check_method=pass_all
990 ;;
991
992-# This must be Linux ELF.
993+# This must be glibc/ELF.
994 linux* | k*bsd*-gnu | kopensolaris*-gnu)
995 lt_cv_deplibs_check_method=pass_all
996 ;;
997@@ -7643,13 +7659,13 @@
998 if test -n "$RANLIB"; then
999 case $host_os in
1000 openbsd*)
1001- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
1002+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
1003 ;;
1004 *)
1005- old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
1006+ old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
1007 ;;
1008 esac
1009- old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1010+ old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
1011 fi
1012
1013 case $host_os in
1014@@ -7796,6 +7812,7 @@
1015 # which start with @ or ?.
1016 lt_cv_sys_global_symbol_pipe="$AWK '"\
1017 " {last_section=section; section=\$ 3};"\
1018+" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
1019 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
1020 " \$ 0!~/External *\|/{next};"\
1021 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
1022@@ -8184,7 +8201,7 @@
1023 CFLAGS="$SAVE_CFLAGS"
1024 fi
1025 ;;
1026-sparc*-*solaris*)
1027+*-*solaris*)
1028 # Find out which ABI we are using.
1029 echo 'int i;' > conftest.$ac_ext
1030 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1031@@ -8195,7 +8212,20 @@
1032 case `/usr/bin/file conftest.o` in
1033 *64-bit*)
1034 case $lt_cv_prog_gnu_ld in
1035- yes*) LD="${LD-ld} -m elf64_sparc" ;;
1036+ yes*)
1037+ case $host in
1038+ i?86-*-solaris*)
1039+ LD="${LD-ld} -m elf_x86_64"
1040+ ;;
1041+ sparc*-*-solaris*)
1042+ LD="${LD-ld} -m elf64_sparc"
1043+ ;;
1044+ esac
1045+ # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
1046+ if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
1047+ LD="${LD-ld}_sol2"
1048+ fi
1049+ ;;
1050 *)
1051 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
1052 LD="${LD-ld} -64"
1053@@ -8835,7 +8865,13 @@
1054 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
1055 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
1056 _lt_result=$?
1057- if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
1058+ # If there is a non-empty error log, and "single_module"
1059+ # appears in it, assume the flag caused a linker warning
1060+ if test -s conftest.err && $GREP single_module conftest.err; then
1061+ cat conftest.err >&5
1062+ # Otherwise, if the output was created with a 0 exit code from
1063+ # the compiler, it worked.
1064+ elif test -f libconftest.dylib && test $_lt_result -eq 0; then
1065 lt_cv_apple_cc_single_mod=yes
1066 else
1067 cat conftest.err >&5
1068@@ -8846,6 +8882,7 @@
1069 fi
1070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
1071 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
1072+
1073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
1074 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
1075 if ${lt_cv_ld_exported_symbols_list+:} false; then :
1076@@ -8878,6 +8915,7 @@
1077 fi
1078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
1079 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
1080+
1081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
1082 $as_echo_n "checking for -force_load linker flag... " >&6; }
1083 if ${lt_cv_ld_force_load+:} false; then :
1084@@ -8899,7 +8937,9 @@
1085 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
1086 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
1087 _lt_result=$?
1088- if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
1089+ if test -s conftest.err && $GREP force_load conftest.err; then
1090+ cat conftest.err >&5
1091+ elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
1092 lt_cv_ld_force_load=yes
1093 else
1094 cat conftest.err >&5
1095@@ -9054,7 +9094,22 @@
1096
1097 # Check whether --with-pic was given.
1098 if test "${with_pic+set}" = set; then :
1099- withval=$with_pic; pic_mode="$withval"
1100+ withval=$with_pic; lt_p=${PACKAGE-default}
1101+ case $withval in
1102+ yes|no) pic_mode=$withval ;;
1103+ *)
1104+ pic_mode=default
1105+ # Look at the argument we got. We use all the common list separators.
1106+ lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
1107+ for lt_pkg in $withval; do
1108+ IFS="$lt_save_ifs"
1109+ if test "X$lt_pkg" = "X$lt_p"; then
1110+ pic_mode=yes
1111+ fi
1112+ done
1113+ IFS="$lt_save_ifs"
1114+ ;;
1115+ esac
1116 else
1117 pic_mode=default
1118 fi
1119@@ -9132,6 +9187,10 @@
1120
1121
1122
1123+
1124+
1125+
1126+
1127 test -z "$LN_S" && LN_S="ln -s"
1128
1129
1130@@ -9587,7 +9646,9 @@
1131 case $cc_basename in
1132 nvcc*) # Cuda Compiler Driver 2.2
1133 lt_prog_compiler_wl='-Xlinker '
1134- lt_prog_compiler_pic='-Xcompiler -fPIC'
1135+ if test -n "$lt_prog_compiler_pic"; then
1136+ lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
1137+ fi
1138 ;;
1139 esac
1140 else
1141@@ -9678,18 +9739,33 @@
1142 ;;
1143 *)
1144 case `$CC -V 2>&1 | sed 5q` in
1145- *Sun\ F* | *Sun*Fortran*)
1146+ *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
1147 # Sun Fortran 8.3 passes all unrecognized flags to the linker
1148 lt_prog_compiler_pic='-KPIC'
1149 lt_prog_compiler_static='-Bstatic'
1150 lt_prog_compiler_wl=''
1151 ;;
1152+ *Sun\ F* | *Sun*Fortran*)
1153+ lt_prog_compiler_pic='-KPIC'
1154+ lt_prog_compiler_static='-Bstatic'
1155+ lt_prog_compiler_wl='-Qoption ld '
1156+ ;;
1157 *Sun\ C*)
1158 # Sun C 5.9
1159 lt_prog_compiler_pic='-KPIC'
1160 lt_prog_compiler_static='-Bstatic'
1161 lt_prog_compiler_wl='-Wl,'
1162 ;;
1163+ *Intel*\ [CF]*Compiler*)
1164+ lt_prog_compiler_wl='-Wl,'
1165+ lt_prog_compiler_pic='-fPIC'
1166+ lt_prog_compiler_static='-static'
1167+ ;;
1168+ *Portland\ Group*)
1169+ lt_prog_compiler_wl='-Wl,'
1170+ lt_prog_compiler_pic='-fpic'
1171+ lt_prog_compiler_static='-Bstatic'
1172+ ;;
1173 esac
1174 ;;
1175 esac
1176@@ -10051,7 +10127,6 @@
1177 hardcode_direct=no
1178 hardcode_direct_absolute=no
1179 hardcode_libdir_flag_spec=
1180- hardcode_libdir_flag_spec_ld=
1181 hardcode_libdir_separator=
1182 hardcode_minus_L=no
1183 hardcode_shlibpath_var=unsupported
1184@@ -10304,8 +10379,7 @@
1185 xlf* | bgf* | bgxlf* | mpixlf*)
1186 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
1187 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
1188- hardcode_libdir_flag_spec=
1189- hardcode_libdir_flag_spec_ld='-rpath $libdir'
1190+ hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
1191 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
1192 if test "x$supports_anon_versioning" = xyes; then
1193 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
1194@@ -10685,6 +10759,7 @@
1195 # The linker will not automatically build a static lib if we build a DLL.
1196 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
1197 enable_shared_with_static_runtimes=yes
1198+ exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
1199 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
1200 # Don't use ranlib
1201 old_postinstall_cmds='chmod 644 $oldlib'
1202@@ -10730,6 +10805,7 @@
1203 hardcode_shlibpath_var=unsupported
1204 if test "$lt_cv_ld_force_load" = "yes"; then
1205 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
1206+
1207 else
1208 whole_archive_flag_spec=''
1209 fi
1210@@ -10758,10 +10834,6 @@
1211 hardcode_shlibpath_var=no
1212 ;;
1213
1214- freebsd1*)
1215- ld_shlibs=no
1216- ;;
1217-
1218 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
1219 # support. Future versions do this automatically, but an explicit c++rt0.o
1220 # does not break anything, and helps significantly (at the cost of a little
1221@@ -10774,7 +10846,7 @@
1222 ;;
1223
1224 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
1225- freebsd2*)
1226+ freebsd2.*)
1227 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
1228 hardcode_direct=yes
1229 hardcode_minus_L=yes
1230@@ -10813,7 +10885,6 @@
1231 fi
1232 if test "$with_gnu_ld" = no; then
1233 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
1234- hardcode_libdir_flag_spec_ld='+b $libdir'
1235 hardcode_libdir_separator=:
1236 hardcode_direct=yes
1237 hardcode_direct_absolute=yes
1238@@ -11437,11 +11508,6 @@
1239
1240
1241
1242-
1243-
1244-
1245-
1246-
1247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
1248 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1249
1250@@ -11531,7 +11597,7 @@
1251
1252 case $host_os in
1253 aix3*)
1254- version_type=linux
1255+ version_type=linux # correct to gnu/linux during the next big refactor
1256 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
1257 shlibpath_var=LIBPATH
1258
1259@@ -11540,7 +11606,7 @@
1260 ;;
1261
1262 aix[4-9]*)
1263- version_type=linux
1264+ version_type=linux # correct to gnu/linux during the next big refactor
1265 need_lib_prefix=no
1266 need_version=no
1267 hardcode_into_libs=yes
1268@@ -11605,7 +11671,7 @@
1269 ;;
1270
1271 bsdi[45]*)
1272- version_type=linux
1273+ version_type=linux # correct to gnu/linux during the next big refactor
1274 need_version=no
1275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1276 soname_spec='${libname}${release}${shared_ext}$major'
1277@@ -11744,7 +11810,7 @@
1278 ;;
1279
1280 dgux*)
1281- version_type=linux
1282+ version_type=linux # correct to gnu/linux during the next big refactor
1283 need_lib_prefix=no
1284 need_version=no
1285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
1286@@ -11752,10 +11818,6 @@
1287 shlibpath_var=LD_LIBRARY_PATH
1288 ;;
1289
1290-freebsd1*)
1291- dynamic_linker=no
1292- ;;
1293-
1294 freebsd* | dragonfly*)
1295 # DragonFly does not have aout. When/if they implement a new
1296 # versioning mechanism, adjust this.
1297@@ -11763,7 +11825,7 @@
1298 objformat=`/usr/bin/objformat`
1299 else
1300 case $host_os in
1301- freebsd[123]*) objformat=aout ;;
1302+ freebsd[23].*) objformat=aout ;;
1303 *) objformat=elf ;;
1304 esac
1305 fi
1306@@ -11781,7 +11843,7 @@
1307 esac
1308 shlibpath_var=LD_LIBRARY_PATH
1309 case $host_os in
1310- freebsd2*)
1311+ freebsd2.*)
1312 shlibpath_overrides_runpath=yes
1313 ;;
1314 freebsd3.[01]* | freebsdelf3.[01]*)
1315@@ -11801,7 +11863,7 @@
1316 ;;
1317
1318 gnu*)
1319- version_type=linux
1320+ version_type=linux # correct to gnu/linux during the next big refactor
1321 need_lib_prefix=no
1322 need_version=no
1323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
1324@@ -11812,7 +11874,7 @@
1325 ;;
1326
1327 haiku*)
1328- version_type=linux
1329+ version_type=linux # correct to gnu/linux during the next big refactor
1330 need_lib_prefix=no
1331 need_version=no
1332 dynamic_linker="$host_os runtime_loader"
1333@@ -11873,7 +11935,7 @@
1334 ;;
1335
1336 interix[3-9]*)
1337- version_type=linux
1338+ version_type=linux # correct to gnu/linux during the next big refactor
1339 need_lib_prefix=no
1340 need_version=no
1341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
1342@@ -11889,7 +11951,7 @@
1343 nonstopux*) version_type=nonstopux ;;
1344 *)
1345 if test "$lt_cv_prog_gnu_ld" = yes; then
1346- version_type=linux
1347+ version_type=linux # correct to gnu/linux during the next big refactor
1348 else
1349 version_type=irix
1350 fi ;;
1351@@ -11926,9 +11988,9 @@
1352 dynamic_linker=no
1353 ;;
1354
1355-# This must be Linux ELF.
1356+# This must be glibc/ELF.
1357 linux* | k*bsd*-gnu | kopensolaris*-gnu)
1358- version_type=linux
1359+ version_type=linux # correct to gnu/linux during the next big refactor
1360 need_lib_prefix=no
1361 need_version=no
1362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1363@@ -12022,7 +12084,7 @@
1364 ;;
1365
1366 newsos6)
1367- version_type=linux
1368+ version_type=linux # correct to gnu/linux during the next big refactor
1369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1370 shlibpath_var=LD_LIBRARY_PATH
1371 shlibpath_overrides_runpath=yes
1372@@ -12091,7 +12153,7 @@
1373 ;;
1374
1375 solaris*)
1376- version_type=linux
1377+ version_type=linux # correct to gnu/linux during the next big refactor
1378 need_lib_prefix=no
1379 need_version=no
1380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1381@@ -12116,7 +12178,7 @@
1382 ;;
1383
1384 sysv4 | sysv4.3*)
1385- version_type=linux
1386+ version_type=linux # correct to gnu/linux during the next big refactor
1387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1388 soname_spec='${libname}${release}${shared_ext}$major'
1389 shlibpath_var=LD_LIBRARY_PATH
1390@@ -12140,7 +12202,7 @@
1391
1392 sysv4*MP*)
1393 if test -d /usr/nec ;then
1394- version_type=linux
1395+ version_type=linux # correct to gnu/linux during the next big refactor
1396 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
1397 soname_spec='$libname${shared_ext}.$major'
1398 shlibpath_var=LD_LIBRARY_PATH
1399@@ -12171,7 +12233,7 @@
1400
1401 tpf*)
1402 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
1403- version_type=linux
1404+ version_type=linux # correct to gnu/linux during the next big refactor
1405 need_lib_prefix=no
1406 need_version=no
1407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1408@@ -12181,7 +12243,7 @@
1409 ;;
1410
1411 uts4*)
1412- version_type=linux
1413+ version_type=linux # correct to gnu/linux during the next big refactor
1414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
1415 soname_spec='${libname}${release}${shared_ext}$major'
1416 shlibpath_var=LD_LIBRARY_PATH
1417@@ -12963,6 +13025,8 @@
1418
1419
1420
1421+
1422+
1423 ac_config_commands="$ac_config_commands libtool"
1424
1425
1426@@ -12995,7 +13059,7 @@
1427 GTK_REQUIRED_VERSION=2.12
1428 GTK3_REQUIRED_VERSION=3.0
1429 INDICATOR_REQUIRED_VERSION=0.3.19
1430-DBUSMENUGTK_REQUIRED_VERSION=0.4.92
1431+DBUSMENUGTK_REQUIRED_VERSION=0.5.90
1432 POLKIT_REQUIRED_VERSION=0.92
1433
1434
1435@@ -13239,6 +13303,7 @@
1436
1437
1438
1439+
1440 DBUSMENUGLIB_REQUIRED_VERSION=0.1.1
1441
1442 if test "x$with_gtk" = x3; then :
1443@@ -13523,8 +13588,37 @@
1444
1445
1446
1447+ if test "x$with_gtk" = "x3"; then
1448+ USE_GTK3_TRUE=
1449+ USE_GTK3_FALSE='#'
1450+else
1451+ USE_GTK3_TRUE='#'
1452+ USE_GTK3_FALSE=
1453+fi
1454+
1455 if test "x$with_gtk" = x3; then :
1456
1457+
1458+$as_echo "#define HAVE_GTK3 1" >>confdefs.h
1459+
1460+
1461+fi
1462+
1463+###########################
1464+# GTK Logout Helper
1465+###########################
1466+
1467+# Check whether --enable-gtklogouthelper was given.
1468+if test "${enable_gtklogouthelper+set}" = set; then :
1469+ enableval=$enable_gtklogouthelper;
1470+else
1471+ enable_gtklogouthelper=auto
1472+fi
1473+
1474+
1475+if test x"$enable_gtklogouthelper" != x"no" ; then
1476+ if test "x$with_gtk" = x3; then :
1477+
1478 pkg_failed=no
1479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKLOGOUTHELPER" >&5
1480 $as_echo_n "checking for GTKLOGOUTHELPER... " >&6; }
1481@@ -13534,14 +13628,14 @@
1482 elif test -n "$PKG_CONFIG"; then
1483 if test -n "$PKG_CONFIG" && \
1484 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_REQUIRED_VERSION
1485- polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
1486+ polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
1487 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
1488- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
1489+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
1490 ac_status=$?
1491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1492 test $ac_status = 0; }; then
1493 pkg_cv_GTKLOGOUTHELPER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
1494- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
1495+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
1496 test "x$?" != "x0" && pkg_failed=yes
1497 else
1498 pkg_failed=yes
1499@@ -13554,14 +13648,14 @@
1500 elif test -n "$PKG_CONFIG"; then
1501 if test -n "$PKG_CONFIG" && \
1502 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK3_REQUIRED_VERSION
1503- polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
1504+ polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
1505 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
1506- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
1507+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
1508 ac_status=$?
1509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1510 test $ac_status = 0; }; then
1511 pkg_cv_GTKLOGOUTHELPER_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
1512- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
1513+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
1514 test "x$?" != "x0" && pkg_failed=yes
1515 else
1516 pkg_failed=yes
1517@@ -13583,46 +13677,25 @@
1518 fi
1519 if test $_pkg_short_errors_supported = yes; then
1520 GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
1521- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
1522+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
1523 else
1524 GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK3_REQUIRED_VERSION
1525- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
1526+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
1527 fi
1528 # Put the nasty error message in config.log where it belongs
1529 echo "$GTKLOGOUTHELPER_PKG_ERRORS" >&5
1530
1531- as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK3_REQUIRED_VERSION
1532- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION) were not met:
1533-
1534-$GTKLOGOUTHELPER_PKG_ERRORS
1535-
1536-Consider adjusting the PKG_CONFIG_PATH environment variable if you
1537-installed software in a non-standard prefix.
1538-
1539-Alternatively, you may set the environment variables GTKLOGOUTHELPER_CFLAGS
1540-and GTKLOGOUTHELPER_LIBS to avoid the need to call pkg-config.
1541-See the pkg-config man page for more details." "$LINENO" 5
1542+ have_gtklogouthelper=no
1543 elif test $pkg_failed = untried; then
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1545 $as_echo "no" >&6; }
1546- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1547-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1548-as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
1549-is in your PATH or set the PKG_CONFIG environment variable to the full
1550-path to pkg-config.
1551-
1552-Alternatively, you may set the environment variables GTKLOGOUTHELPER_CFLAGS
1553-and GTKLOGOUTHELPER_LIBS to avoid the need to call pkg-config.
1554-See the pkg-config man page for more details.
1555-
1556-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1557-See \`config.log' for more details" "$LINENO" 5; }
1558+ have_gtklogouthelper=no
1559 else
1560 GTKLOGOUTHELPER_CFLAGS=$pkg_cv_GTKLOGOUTHELPER_CFLAGS
1561 GTKLOGOUTHELPER_LIBS=$pkg_cv_GTKLOGOUTHELPER_LIBS
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1563 $as_echo "yes" >&6; }
1564-
1565+ have_gtklogouthelper=yes
1566 fi
1567
1568 elif test "x$with_gtk" = x2; then :
1569@@ -13636,14 +13709,14 @@
1570 elif test -n "$PKG_CONFIG"; then
1571 if test -n "$PKG_CONFIG" && \
1572 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
1573- polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
1574+ polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
1575 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
1576- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
1577+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
1578 ac_status=$?
1579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1580 test $ac_status = 0; }; then
1581 pkg_cv_GTKLOGOUTHELPER_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION
1582- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
1583+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
1584 test "x$?" != "x0" && pkg_failed=yes
1585 else
1586 pkg_failed=yes
1587@@ -13656,14 +13729,14 @@
1588 elif test -n "$PKG_CONFIG"; then
1589 if test -n "$PKG_CONFIG" && \
1590 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION
1591- polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
1592+ polkit-gobject-1 >= \$POLKIT_REQUIRED_VERSION\""; } >&5
1593 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION
1594- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
1595+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION") 2>&5
1596 ac_status=$?
1597 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1598 test $ac_status = 0; }; then
1599 pkg_cv_GTKLOGOUTHELPER_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
1600- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
1601+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>/dev/null`
1602 test "x$?" != "x0" && pkg_failed=yes
1603 else
1604 pkg_failed=yes
1605@@ -13685,54 +13758,76 @@
1606 fi
1607 if test $_pkg_short_errors_supported = yes; then
1608 GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
1609- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
1610+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
1611 else
1612 GTKLOGOUTHELPER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION
1613- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
1614+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION" 2>&1`
1615 fi
1616 # Put the nasty error message in config.log where it belongs
1617 echo "$GTKLOGOUTHELPER_PKG_ERRORS" >&5
1618
1619- as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION
1620- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION) were not met:
1621-
1622-$GTKLOGOUTHELPER_PKG_ERRORS
1623-
1624-Consider adjusting the PKG_CONFIG_PATH environment variable if you
1625-installed software in a non-standard prefix.
1626-
1627-Alternatively, you may set the environment variables GTKLOGOUTHELPER_CFLAGS
1628-and GTKLOGOUTHELPER_LIBS to avoid the need to call pkg-config.
1629-See the pkg-config man page for more details." "$LINENO" 5
1630+ have_gtklogouthelper=no
1631 elif test $pkg_failed = untried; then
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1633 $as_echo "no" >&6; }
1634- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1635-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1636-as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
1637-is in your PATH or set the PKG_CONFIG environment variable to the full
1638-path to pkg-config.
1639-
1640-Alternatively, you may set the environment variables GTKLOGOUTHELPER_CFLAGS
1641-and GTKLOGOUTHELPER_LIBS to avoid the need to call pkg-config.
1642-See the pkg-config man page for more details.
1643-
1644-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
1645-See \`config.log' for more details" "$LINENO" 5; }
1646+ have_gtklogouthelper=no
1647 else
1648 GTKLOGOUTHELPER_CFLAGS=$pkg_cv_GTKLOGOUTHELPER_CFLAGS
1649 GTKLOGOUTHELPER_LIBS=$pkg_cv_GTKLOGOUTHELPER_LIBS
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1651 $as_echo "yes" >&6; }
1652-
1653-fi
1654-
1655-
1656-fi
1657-
1658-
1659-
1660-
1661+ have_gtklogouthelper=yes
1662+fi
1663+
1664+
1665+fi
1666+ if test x${have_gtklogouthelper} = xyes; then
1667+
1668+$as_echo "#define HAVE_GTKLOGOUTHELPER 1" >>confdefs.h
1669+
1670+ fi
1671+ if test x${enable_gtklogouthelper} = xyes && test x${have_gtklogouthelper} = xno; then
1672+ as_fn_error $? "GTK Logout Helper configured but polkit-gobject not found" "$LINENO" 5
1673+ fi
1674+else
1675+ have_gtklogouthelper=no
1676+fi
1677+ if test x${have_gtklogouthelper} = xyes; then
1678+ BUILD_GTKLOGOUTHELPER_TRUE=
1679+ BUILD_GTKLOGOUTHELPER_FALSE='#'
1680+else
1681+ BUILD_GTKLOGOUTHELPER_TRUE='#'
1682+ BUILD_GTKLOGOUTHELPER_FALSE=
1683+fi
1684+
1685+
1686+
1687+
1688+
1689+###########################
1690+# APT support
1691+###########################
1692+# Check whether --enable-apt was given.
1693+if test "${enable_apt+set}" = set; then :
1694+ enableval=$enable_apt;
1695+else
1696+ enable_apt=yes
1697+fi
1698+
1699+ if test "x$enable_apt" != "xno"; then
1700+ BUILD_APT_TRUE=
1701+ BUILD_APT_FALSE='#'
1702+else
1703+ BUILD_APT_TRUE='#'
1704+ BUILD_APT_FALSE=
1705+fi
1706+
1707+
1708+if test "x$enable_apt" != "xno"; then
1709+
1710+$as_echo "#define HAVE_APT 1" >>confdefs.h
1711+
1712+fi
1713
1714 ###########################
1715 # Check to see if we're local
1716@@ -14391,6 +14486,10 @@
1717 fi
1718
1719 ;;
1720+ *-*-openbsd*)
1721+ CATOBJEXT=.mo
1722+ DATADIRNAME=share
1723+ ;;
1724 *)
1725 CATOBJEXT=.mo
1726 DATADIRNAME=lib
1727@@ -14654,6 +14753,18 @@
1728 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
1729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1730 fi
1731+if test -z "${USE_GTK3_TRUE}" && test -z "${USE_GTK3_FALSE}"; then
1732+ as_fn_error $? "conditional \"USE_GTK3\" was never defined.
1733+Usually this means the macro was only invoked conditionally." "$LINENO" 5
1734+fi
1735+if test -z "${BUILD_GTKLOGOUTHELPER_TRUE}" && test -z "${BUILD_GTKLOGOUTHELPER_FALSE}"; then
1736+ as_fn_error $? "conditional \"BUILD_GTKLOGOUTHELPER\" was never defined.
1737+Usually this means the macro was only invoked conditionally." "$LINENO" 5
1738+fi
1739+if test -z "${BUILD_APT_TRUE}" && test -z "${BUILD_APT_FALSE}"; then
1740+ as_fn_error $? "conditional \"BUILD_APT\" was never defined.
1741+Usually this means the macro was only invoked conditionally." "$LINENO" 5
1742+fi
1743
1744 : "${CONFIG_STATUS=./config.status}"
1745 ac_write_fail=0
1746@@ -15266,6 +15377,7 @@
1747 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
1748 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
1749 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
1750+PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
1751 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
1752 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
1753 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
1754@@ -15348,7 +15460,6 @@
1755 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
1756 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
1757 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
1758-hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
1759 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
1760 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
1761 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
1762@@ -15404,6 +15515,7 @@
1763 # Quote evaled strings.
1764 for var in SHELL \
1765 ECHO \
1766+PATH_SEPARATOR \
1767 SED \
1768 GREP \
1769 EGREP \
1770@@ -15454,7 +15566,6 @@
1771 allow_undefined_flag \
1772 no_undefined_flag \
1773 hardcode_libdir_flag_spec \
1774-hardcode_libdir_flag_spec_ld \
1775 hardcode_libdir_separator \
1776 exclude_expsyms \
1777 include_expsyms \
1778@@ -16273,8 +16384,8 @@
1779 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
1780 #
1781 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
1782-# 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
1783-# Inc.
1784+# 2006, 2007, 2008, 2009, 2010, 2011 Free Software
1785+# Foundation, Inc.
1786 # Written by Gordon Matzigkeit, 1996
1787 #
1788 # This file is part of GNU Libtool.
1789@@ -16328,6 +16439,9 @@
1790 # An echo program that protects backslashes.
1791 ECHO=$lt_ECHO
1792
1793+# The PATH separator for the build system.
1794+PATH_SEPARATOR=$lt_PATH_SEPARATOR
1795+
1796 # The host system.
1797 host_alias=$host_alias
1798 host=$host
1799@@ -16629,10 +16743,6 @@
1800 # This must work even if \$libdir does not exist
1801 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
1802
1803-# If ld is used when linking, flag to hardcode \$libdir into a binary
1804-# during linking. This must work even if \$libdir does not exist.
1805-hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
1806-
1807 # Whether we need a single "-rpath" flag with a separated argument.
1808 hardcode_libdir_separator=$lt_hardcode_libdir_separator
1809
1810@@ -16956,6 +17066,8 @@
1811 Prefix: $prefix
1812 Indicator Dir: $INDICATORDIR
1813 Indicator GTK: $with_gtk
1814+ Logout Helper: $have_gtklogouthelper
1815+ APT support: $enable_apt
1816 " >&5
1817 $as_echo "$as_me:
1818
1819@@ -16964,4 +17076,6 @@
1820 Prefix: $prefix
1821 Indicator Dir: $INDICATORDIR
1822 Indicator GTK: $with_gtk
1823+ Logout Helper: $have_gtklogouthelper
1824+ APT support: $enable_apt
1825 " >&6;}
1826
1827=== modified file 'configure.ac'
1828--- configure.ac 2012-02-08 02:49:57 +0000
1829+++ configure.ac 2012-02-08 16:05:23 +0000
1830@@ -4,7 +4,7 @@
1831 AC_PREREQ(2.53)
1832
1833 AM_CONFIG_HEADER(config.h)
1834-AM_INIT_AUTOMAKE(indicator-session, 0.3.7.1)
1835+AM_INIT_AUTOMAKE(indicator-session, 0.3.90)
1836
1837 AM_MAINTAINER_MODE
1838
1839@@ -30,7 +30,7 @@
1840 GTK_REQUIRED_VERSION=2.12
1841 GTK3_REQUIRED_VERSION=3.0
1842 INDICATOR_REQUIRED_VERSION=0.3.19
1843-DBUSMENUGTK_REQUIRED_VERSION=0.4.92
1844+DBUSMENUGTK_REQUIRED_VERSION=0.5.90
1845 POLKIT_REQUIRED_VERSION=0.92
1846
1847 AC_ARG_WITH([gtk],
1848@@ -51,6 +51,7 @@
1849 ],
1850 [AC_MSG_FAILURE([Value for --with-indicator-gtk was neither 2 nor 3])]
1851 )
1852+
1853 AC_SUBST(APPLET_CFLAGS)
1854 AC_SUBST(APPLET_LIBS)
1855
1856@@ -77,21 +78,60 @@
1857 AC_SUBST(SESSIONERVICE_CFLAGS)
1858 AC_SUBST(SESSIONERVICE_LIBS)
1859
1860-AS_IF([test "x$with_gtk" = x3],
1861- [PKG_CHECK_MODULES(GTKLOGOUTHELPER, gtk+-3.0 >= $GTK3_REQUIRED_VERSION
1862- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION)
1863- ],
1864- [test "x$with_gtk" = x2],
1865- [PKG_CHECK_MODULES(GTKLOGOUTHELPER, gtk+-2.0 >= $GTK_REQUIRED_VERSION
1866- polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION)
1867- ]
1868-)
1869-
1870+AM_CONDITIONAL([USE_GTK3], [test "x$with_gtk" = "x3"])
1871+AS_IF([test "x$with_gtk" = x3], [
1872+ AC_DEFINE(HAVE_GTK3, 1, [whether gtk3 is available])
1873+ ])
1874+
1875+###########################
1876+# GTK Logout Helper
1877+###########################
1878+
1879+AC_ARG_ENABLE([gtklogouthelper],
1880+ AS_HELP_STRING([--enable-gtklogouthelper], [enable GTK Logout Helper]),,
1881+ enable_gtklogouthelper=auto)
1882+
1883+if test x"$enable_gtklogouthelper" != x"no" ; then
1884+ AS_IF([test "x$with_gtk" = x3],
1885+ [PKG_CHECK_MODULES(GTKLOGOUTHELPER, gtk+-3.0 >= $GTK3_REQUIRED_VERSION
1886+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION,
1887+ [have_gtklogouthelper=yes],
1888+ [have_gtklogouthelper=no])
1889+ ],
1890+ [test "x$with_gtk" = x2],
1891+ [PKG_CHECK_MODULES(GTKLOGOUTHELPER, gtk+-2.0 >= $GTK_REQUIRED_VERSION
1892+ polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION,
1893+ [have_gtklogouthelper=yes],
1894+ [have_gtklogouthelper=no])
1895+ ]
1896+ )
1897+ if test x${have_gtklogouthelper} = xyes; then
1898+ AC_DEFINE(HAVE_GTKLOGOUTHELPER, 1, [Define to 1 to enable GTK Logout Helper])
1899+ fi
1900+ if test x${enable_gtklogouthelper} = xyes && test x${have_gtklogouthelper} = xno; then
1901+ AC_MSG_ERROR([GTK Logout Helper configured but polkit-gobject not found])
1902+ fi
1903+else
1904+ have_gtklogouthelper=no
1905+fi
1906+AM_CONDITIONAL(BUILD_GTKLOGOUTHELPER, test x${have_gtklogouthelper} = xyes)
1907
1908 AC_SUBST(GTKLOGOUTHELPER_CFLAGS)
1909 AC_SUBST(GTKLOGOUTHELPER_LIBS)
1910
1911 ###########################
1912+# APT support
1913+###########################
1914+AC_ARG_ENABLE([apt],
1915+ AC_HELP_STRING([--disable-apt], [disable APT support]),,
1916+ [enable_apt=yes])
1917+AM_CONDITIONAL([BUILD_APT], [test "x$enable_apt" != "xno"])
1918+
1919+if test "x$enable_apt" != "xno"; then
1920+ AC_DEFINE(HAVE_APT, 1, [Define to 1 to enable APT support])
1921+fi
1922+
1923+###########################
1924 # Check to see if we're local
1925 ###########################
1926
1927@@ -192,4 +232,6 @@
1928 Prefix: $prefix
1929 Indicator Dir: $INDICATORDIR
1930 Indicator GTK: $with_gtk
1931+ Logout Helper: $have_gtklogouthelper
1932+ APT support: $enable_apt
1933 ])
1934
1935=== modified file 'data/Makefile.am'
1936--- data/Makefile.am 2011-08-23 20:28:24 +0000
1937+++ data/Makefile.am 2012-02-08 16:05:23 +0000
1938@@ -18,6 +18,15 @@
1939 convertdir = $(datadir)/GConf/gsettings
1940 dist_convert_DATA = indicator-session.convert
1941
1942+EXTRA_DIST = \
1943+ $(service_in_files) \
1944+ $(gsettings_SCHEMAS:.xml=.xml.in)
1945+
1946+CLEANFILES = \
1947+ $(dbus_services_DATA) \
1948+ $(gsettings_SCHEMAS)
1949+
1950+if BUILD_GTKLOGOUTHELPER
1951 @INTLTOOL_DESKTOP_RULE@
1952
1953 %.desktop.in: %.desktop.in.in
1954@@ -37,14 +46,9 @@
1955 $(logout_helper_desktop_in_in_files:.desktop.in.in=.desktop)
1956 logout_helper_DATA = $(logout_helper_desktop_files)
1957
1958-EXTRA_DIST = \
1959- $(service_in_files) \
1960- $(gsettings_SCHEMAS:.xml=.xml.in) \
1961+EXTRA_DIST += \
1962 $(logout_helper_desktop_in_in_files)
1963
1964-
1965-CLEANFILES = \
1966- $(dbus_services_DATA) \
1967- $(gsettings_SCHEMAS) \
1968+CLEANFILES += \
1969 $(logout_helper_desktop_files)
1970-
1971+endif
1972
1973=== modified file 'data/Makefile.in'
1974--- data/Makefile.in 2011-08-25 19:25:38 +0000
1975+++ data/Makefile.in 2012-02-08 16:05:23 +0000
1976@@ -34,6 +34,12 @@
1977 POST_UNINSTALL = :
1978 build_triplet = @build@
1979 host_triplet = @host@
1980+@BUILD_GTKLOGOUTHELPER_TRUE@am__append_1 = \
1981+@BUILD_GTKLOGOUTHELPER_TRUE@ $(logout_helper_desktop_in_in_files)
1982+
1983+@BUILD_GTKLOGOUTHELPER_TRUE@am__append_2 = \
1984+@BUILD_GTKLOGOUTHELPER_TRUE@ $(logout_helper_desktop_files)
1985+
1986 subdir = data
1987 DIST_COMMON = $(dist_convert_DATA) $(srcdir)/Makefile.am \
1988 $(srcdir)/Makefile.in
1989@@ -285,27 +291,21 @@
1990 gsettings_SCHEMAS = com.canonical.indicator.session.gschema.xml
1991 convertdir = $(datadir)/GConf/gsettings
1992 dist_convert_DATA = indicator-session.convert
1993-logout_helper_desktop_in_in_files = \
1994- indicator-session-lock-screen.desktop.in.in \
1995- indicator-session-logout.desktop.in.in \
1996- indicator-session-restart.desktop.in.in \
1997- indicator-session-shutdown.desktop.in.in
1998-
1999-logout_helperdir = $(datadir)/applications
2000-logout_helper_desktop_files = \
2001- $(logout_helper_desktop_in_in_files:.desktop.in.in=.desktop)
2002-
2003-logout_helper_DATA = $(logout_helper_desktop_files)
2004-EXTRA_DIST = \
2005- $(service_in_files) \
2006- $(gsettings_SCHEMAS:.xml=.xml.in) \
2007- $(logout_helper_desktop_in_in_files)
2008-
2009-CLEANFILES = \
2010- $(dbus_services_DATA) \
2011- $(gsettings_SCHEMAS) \
2012- $(logout_helper_desktop_files)
2013-
2014+EXTRA_DIST = $(service_in_files) $(gsettings_SCHEMAS:.xml=.xml.in) \
2015+ $(am__append_1)
2016+CLEANFILES = $(dbus_services_DATA) $(gsettings_SCHEMAS) \
2017+ $(am__append_2)
2018+@BUILD_GTKLOGOUTHELPER_TRUE@logout_helper_desktop_in_in_files = \
2019+@BUILD_GTKLOGOUTHELPER_TRUE@ indicator-session-lock-screen.desktop.in.in \
2020+@BUILD_GTKLOGOUTHELPER_TRUE@ indicator-session-logout.desktop.in.in \
2021+@BUILD_GTKLOGOUTHELPER_TRUE@ indicator-session-restart.desktop.in.in \
2022+@BUILD_GTKLOGOUTHELPER_TRUE@ indicator-session-shutdown.desktop.in.in
2023+
2024+@BUILD_GTKLOGOUTHELPER_TRUE@logout_helperdir = $(datadir)/applications
2025+@BUILD_GTKLOGOUTHELPER_TRUE@logout_helper_desktop_files = \
2026+@BUILD_GTKLOGOUTHELPER_TRUE@ $(logout_helper_desktop_in_in_files:.desktop.in.in=.desktop)
2027+
2028+@BUILD_GTKLOGOUTHELPER_TRUE@logout_helper_DATA = $(logout_helper_desktop_files)
2029 all: all-recursive
2030
2031 .SUFFIXES:
2032@@ -730,13 +730,13 @@
2033
2034 @GSETTINGS_RULES@
2035
2036-@INTLTOOL_DESKTOP_RULE@
2037+@BUILD_GTKLOGOUTHELPER_TRUE@@INTLTOOL_DESKTOP_RULE@
2038
2039-%.desktop.in: %.desktop.in.in
2040- sed \
2041- -e "s|\@libexecdir\@|$(libexecdir)|" \
2042- -e "s|\@bindir\@|$(bindir)|" \
2043- $< > $@
2044+@BUILD_GTKLOGOUTHELPER_TRUE@%.desktop.in: %.desktop.in.in
2045+@BUILD_GTKLOGOUTHELPER_TRUE@ sed \
2046+@BUILD_GTKLOGOUTHELPER_TRUE@ -e "s|\@libexecdir\@|$(libexecdir)|" \
2047+@BUILD_GTKLOGOUTHELPER_TRUE@ -e "s|\@bindir\@|$(bindir)|" \
2048+@BUILD_GTKLOGOUTHELPER_TRUE@ $< > $@
2049
2050 # Tell versions [3.59,3.63) of GNU make to not export all variables.
2051 # Otherwise a system limit (for SysV at least) may be exceeded.
2052
2053=== modified file 'debian/changelog'
2054--- debian/changelog 2012-02-08 03:03:44 +0000
2055+++ debian/changelog 2012-02-08 16:05:23 +0000
2056@@ -1,3 +1,19 @@
2057+indicator-session (0.3.90-0ubuntu1~ppa1) precise; urgency=low
2058+
2059+ * New upstream release.
2060+ * Screensaver code cleanup
2061+ * Fix ordering of items on request
2062+ * Removing GOA support
2063+ * Fix GTK3 Box Deprecation
2064+ * Updating to dbusmenu 0.5.90
2065+ * Making the gtk logout helper and apt optional build time choices
2066+ * Add name hints to the indicators
2067+ * bump version for release
2068+ * Drop debian/patches/01-remove-dead-gss-handling.patch: Upstream
2069+ * debian/control: Updating dbusmenu dep to 0.5.90
2070+
2071+ -- Ted Gould <ted@ubuntu.com> Tue, 07 Feb 2012 21:19:27 -0600
2072+
2073 indicator-session (0.3.7.1-1ubuntu2) precise; urgency=low
2074
2075 * debian/patches/01-remove-dead-gss-handling.patch: Remove dead GSS
2076
2077=== modified file 'debian/control'
2078--- debian/control 2012-02-08 03:03:44 +0000
2079+++ debian/control 2012-02-08 16:05:23 +0000
2080@@ -12,9 +12,9 @@
2081 gnome-doc-utils,
2082 libindicator-dev (>= 0.3.90),
2083 libindicator3-dev (>= 0.3.90),
2084- libdbusmenu-glib-dev (>= 0.4.92),
2085- libdbusmenu-gtk-dev (>= 0.4.92),
2086- libdbusmenu-gtk3-dev (>= 0.4.92),
2087+ libdbusmenu-glib-dev (>= 0.5.90),
2088+ libdbusmenu-gtk-dev (>= 0.5.90),
2089+ libdbusmenu-gtk3-dev (>= 0.5.90),
2090 libpolkit-gobject-1-dev,
2091 intltool
2092 Standards-Version: 3.9.2
2093
2094=== removed file 'debian/patches/01-remove-dead-gss-handling.patch'
2095--- debian/patches/01-remove-dead-gss-handling.patch 2012-02-08 03:03:44 +0000
2096+++ debian/patches/01-remove-dead-gss-handling.patch 1970-01-01 00:00:00 +0000
2097@@ -1,175 +0,0 @@
2098-Description: Remove dead GSS throttling code. Let gnome-settings-daemon
2099- handle locking the screen when UPower requests it.
2100-Author: Marc Deslauriers <marc.deslauriers@canonical.com>
2101-
2102-Index: indicator-session-0.3.7.1/src/device-menu-mgr.c
2103-===================================================================
2104---- indicator-session-0.3.7.1.orig/src/device-menu-mgr.c 2012-01-28 17:19:05.650929258 -0500
2105-+++ indicator-session-0.3.7.1/src/device-menu-mgr.c 2012-01-28 17:29:47.274923139 -0500
2106-@@ -74,7 +74,6 @@
2107- static void device_menu_mgr_ensure_settings_client (DeviceMenuMgr* self);
2108- static void setup_up (DeviceMenuMgr* self);
2109- static void device_menu_mgr_rebuild_items (DeviceMenuMgr *self);
2110--static void lock_if_possible (DeviceMenuMgr* self);
2111- static void machine_sleep_with_context (DeviceMenuMgr* self,
2112- gchar* type);
2113- static void show_system_settings_with_context (DbusmenuMenuitem * mi,
2114-@@ -162,27 +161,6 @@
2115- return;
2116- }
2117-
2118--/* Check to see if the lockdown key is protecting from
2119-- locking the screen. If not, lock it. */
2120--static void
2121--lock_if_possible (DeviceMenuMgr* self) {
2122-- device_menu_mgr_ensure_settings_client (self);
2123--
2124-- if (!g_settings_get_boolean (lockdown_settings, LOCKDOWN_KEY_SCREENSAVER)) {
2125-- lock_screen (NULL, 0, NULL);
2126-- }
2127-- return;
2128--}
2129--
2130--/* A return from the command to sleep the system. Make sure
2131-- that we unthrottle the screensaver. */
2132--static void
2133--sleep_response (DBusGProxy * proxy, DBusGProxyCall * call, gpointer data)
2134--{
2135-- screensaver_unthrottle();
2136-- return;
2137--}
2138--
2139- static void
2140- machine_sleep_from_suspend (DbusmenuMenuitem * mi,
2141- guint timestamp,
2142-@@ -210,11 +188,9 @@
2143- g_warning("Can not %s as no upower proxy", type);
2144- }
2145-
2146-- screensaver_throttle(type);
2147-- lock_if_possible (self);
2148- dbus_g_proxy_begin_call(up_main_proxy,
2149- type,
2150-- sleep_response,
2151-+ NULL,
2152- NULL,
2153- NULL,
2154- G_TYPE_INVALID);
2155-Index: indicator-session-0.3.7.1/src/lock-helper.c
2156-===================================================================
2157---- indicator-session-0.3.7.1.orig/src/lock-helper.c 2012-01-28 17:19:05.634929258 -0500
2158-+++ indicator-session-0.3.7.1/src/lock-helper.c 2012-01-28 17:19:07.142929243 -0500
2159-@@ -29,8 +29,6 @@
2160-
2161- static DBusGProxy * gss_proxy = NULL;
2162- static GMainLoop * gss_mainloop = NULL;
2163--static guint cookie = 0;
2164--static DBusGProxyCall * cookie_call = NULL;
2165-
2166- static gboolean is_guest = FALSE;
2167-
2168-@@ -38,90 +36,6 @@
2169-
2170- void build_gss_proxy (void);
2171-
2172--/* Checks to see if there is an error and reports
2173-- it. Not much else we can do. */
2174--static void
2175--unthrottle_return (DBusGProxy * proxy, DBusGProxyCall * call, gpointer data)
2176--{
2177-- GError * error = NULL;
2178-- dbus_g_proxy_end_call(proxy, call, &error,
2179-- G_TYPE_INVALID);
2180--
2181-- if (error != NULL) {
2182-- g_warning("Unable to unthrottle: %s", error->message);
2183-- }
2184-- return;
2185--}
2186--
2187--/* Sends an unthrottle if we're throttled. */
2188--void
2189--screensaver_unthrottle (void)
2190--{
2191-- g_return_if_fail(cookie != 0);
2192--
2193-- build_gss_proxy();
2194-- g_return_if_fail(gss_proxy != NULL);
2195--
2196-- dbus_g_proxy_begin_call(gss_proxy, "UnThrottle",
2197-- unthrottle_return, NULL,
2198-- NULL,
2199-- G_TYPE_UINT, cookie,
2200-- G_TYPE_INVALID);
2201--
2202-- cookie = 0;
2203-- return;
2204--}
2205--
2206--/* Gets there return cookie from the throttle command
2207-- and sets things valid */
2208--static void
2209--throttle_return (DBusGProxy * proxy, DBusGProxyCall * call, gpointer data)
2210--{
2211-- GError * error = NULL;
2212-- cookie_call = NULL;
2213--
2214-- dbus_g_proxy_end_call(proxy, call, &error,
2215-- G_TYPE_UINT, &cookie,
2216-- G_TYPE_INVALID);
2217--
2218-- if (error != NULL) {
2219-- g_warning("Unable to throttle the screensaver: %s", error->message);
2220-- return;
2221-- }
2222--
2223--
2224-- if (cookie == 0) {
2225-- g_warning("We didn't get a throttle cookie!");
2226-- }
2227--
2228-- return;
2229--}
2230--
2231--/* Throttling the screensaver by using the screen saver
2232-- command. */
2233--void
2234--screensaver_throttle (gchar * reason)
2235--{
2236-- g_return_if_fail(cookie_call == NULL);
2237-- g_return_if_fail(will_lock_screen());
2238--
2239-- if (cookie != 0) {
2240-- screensaver_unthrottle();
2241-- }
2242--
2243-- build_gss_proxy();
2244-- g_return_if_fail(gss_proxy != NULL);
2245--
2246-- cookie_call = dbus_g_proxy_begin_call(gss_proxy, "Throttle",
2247-- throttle_return, NULL,
2248-- NULL,
2249-- G_TYPE_STRING, "Session Menu",
2250-- G_TYPE_STRING, reason,
2251-- G_TYPE_INVALID);
2252--
2253-- return;
2254--}
2255--
2256- /* This is our logic on whether the screen should be locked
2257- or not. It effects everything else. */
2258- gboolean
2259-Index: indicator-session-0.3.7.1/src/lock-helper.h
2260-===================================================================
2261---- indicator-session-0.3.7.1.orig/src/lock-helper.h 2012-01-28 17:19:05.666929258 -0500
2262-+++ indicator-session-0.3.7.1/src/lock-helper.h 2012-01-28 17:19:07.142929243 -0500
2263-@@ -24,9 +24,6 @@
2264-
2265- #include <libdbusmenu-glib/menuitem.h>
2266-
2267--void screensaver_throttle (gchar * reason);
2268--void screensaver_unthrottle (void);
2269--
2270- gboolean will_lock_screen (void);
2271- void lock_screen (DbusmenuMenuitem * mi, guint timestamp, gpointer data);
2272- gboolean lock_screen_setup (gpointer data);
2273
2274=== removed file 'debian/patches/series'
2275--- debian/patches/series 2012-02-08 03:03:44 +0000
2276+++ debian/patches/series 1970-01-01 00:00:00 +0000
2277@@ -1,1 +0,0 @@
2278-01-remove-dead-gss-handling.patch
2279
2280=== modified file 'ltmain.sh' (properties changed: +x to -x)
2281--- ltmain.sh 2011-06-21 15:39:54 +0000
2282+++ ltmain.sh 2012-02-08 16:05:23 +0000
2283@@ -1,9 +1,9 @@
2284
2285-# libtool (GNU libtool) 2.4
2286+# libtool (GNU libtool) 2.4.2
2287 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
2288
2289 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
2290-# 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
2291+# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
2292 # This is free software; see the source for copying conditions. There is NO
2293 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
2294
2295@@ -41,6 +41,7 @@
2296 # --quiet, --silent don't print informational messages
2297 # --no-quiet, --no-silent
2298 # print informational messages (default)
2299+# --no-warn don't display warning messages
2300 # --tag=TAG use configuration variables from tag TAG
2301 # -v, --verbose print more informational messages than default
2302 # --no-verbose don't print the extra informational messages
2303@@ -69,7 +70,7 @@
2304 # compiler: $LTCC
2305 # compiler flags: $LTCFLAGS
2306 # linker: $LD (gnu? $with_gnu_ld)
2307-# $progname: (GNU libtool) 2.4 Debian-2.4-2ubuntu1
2308+# $progname: (GNU libtool) 2.4.2 Debian-2.4.2-1ubuntu1
2309 # automake: $automake_version
2310 # autoconf: $autoconf_version
2311 #
2312@@ -79,9 +80,9 @@
2313
2314 PROGRAM=libtool
2315 PACKAGE=libtool
2316-VERSION="2.4 Debian-2.4-2ubuntu1"
2317+VERSION="2.4.2 Debian-2.4.2-1ubuntu1"
2318 TIMESTAMP=""
2319-package_revision=1.3293
2320+package_revision=1.3337
2321
2322 # Be Bourne compatible
2323 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2324@@ -136,15 +137,10 @@
2325
2326 : ${CP="cp -f"}
2327 test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
2328-: ${EGREP="/bin/grep -E"}
2329-: ${FGREP="/bin/grep -F"}
2330-: ${GREP="/bin/grep"}
2331-: ${LN_S="ln -s"}
2332 : ${MAKE="make"}
2333 : ${MKDIR="mkdir"}
2334 : ${MV="mv -f"}
2335 : ${RM="rm -f"}
2336-: ${SED="/bin/sed"}
2337 : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
2338 : ${Xsed="$SED -e 1s/^X//"}
2339
2340@@ -387,7 +383,7 @@
2341 ;;
2342 *)
2343 save_IFS="$IFS"
2344- IFS=:
2345+ IFS=${PATH_SEPARATOR-:}
2346 for progdir in $PATH; do
2347 IFS="$save_IFS"
2348 test -x "$progdir/$progname" && break
2349@@ -771,8 +767,8 @@
2350 s*\$LTCFLAGS*'"$LTCFLAGS"'*
2351 s*\$LD*'"$LD"'*
2352 s/\$with_gnu_ld/'"$with_gnu_ld"'/
2353- s/\$automake_version/'"`(automake --version) 2>/dev/null |$SED 1q`"'/
2354- s/\$autoconf_version/'"`(autoconf --version) 2>/dev/null |$SED 1q`"'/
2355+ s/\$automake_version/'"`(${AUTOMAKE-automake} --version) 2>/dev/null |$SED 1q`"'/
2356+ s/\$autoconf_version/'"`(${AUTOCONF-autoconf} --version) 2>/dev/null |$SED 1q`"'/
2357 p
2358 d
2359 }
2360@@ -1052,6 +1048,7 @@
2361 opt_help=false
2362 opt_help_all=false
2363 opt_silent=:
2364+opt_warning=:
2365 opt_verbose=:
2366 opt_silent=false
2367 opt_verbose=false
2368@@ -1120,6 +1117,10 @@
2369 opt_silent=false
2370 func_append preserve_args " $opt"
2371 ;;
2372+ --no-warning|--no-warn)
2373+ opt_warning=false
2374+func_append preserve_args " $opt"
2375+ ;;
2376 --no-verbose)
2377 opt_verbose=false
2378 func_append preserve_args " $opt"
2379@@ -2059,7 +2060,7 @@
2380 *.[cCFSifmso] | \
2381 *.ada | *.adb | *.ads | *.asm | \
2382 *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \
2383- *.[fF][09]? | *.for | *.java | *.obj | *.sx | *.cu | *.cup)
2384+ *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup)
2385 func_xform "$libobj"
2386 libobj=$func_xform_result
2387 ;;
2388@@ -3201,11 +3202,13 @@
2389
2390 # Set up the ranlib parameters.
2391 oldlib="$destdir/$name"
2392+ func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
2393+ tool_oldlib=$func_to_tool_file_result
2394
2395 func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
2396
2397 if test -n "$stripme" && test -n "$old_striplib"; then
2398- func_show_eval "$old_striplib $oldlib" 'exit $?'
2399+ func_show_eval "$old_striplib $tool_oldlib" 'exit $?'
2400 fi
2401
2402 # Do each command in the postinstall commands.
2403@@ -3470,7 +3473,7 @@
2404 # linked before any other PIC object. But we must not use
2405 # pic_flag when linking with -static. The problem exists in
2406 # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1.
2407- *-*-freebsd2*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
2408+ *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*)
2409 pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;;
2410 *-*-hpux*)
2411 pic_flag_for_symtable=" $pic_flag" ;;
2412@@ -3982,14 +3985,17 @@
2413 # launches target application with the remaining arguments.
2414 func_exec_program ()
2415 {
2416- for lt_wr_arg
2417- do
2418- case \$lt_wr_arg in
2419- --lt-*) ;;
2420- *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
2421- esac
2422- shift
2423- done
2424+ case \" \$* \" in
2425+ *\\ --lt-*)
2426+ for lt_wr_arg
2427+ do
2428+ case \$lt_wr_arg in
2429+ --lt-*) ;;
2430+ *) set x \"\$@\" \"\$lt_wr_arg\"; shift;;
2431+ esac
2432+ shift
2433+ done ;;
2434+ esac
2435 func_exec_program_core \${1+\"\$@\"}
2436 }
2437
2438@@ -5057,9 +5063,15 @@
2439 {
2440 EOF
2441 func_emit_wrapper yes |
2442- $SED -e 's/\([\\"]\)/\\\1/g' \
2443- -e 's/^/ fputs ("/' -e 's/$/\\n", f);/'
2444-
2445+ $SED -n -e '
2446+s/^\(.\{79\}\)\(..*\)/\1\
2447+\2/
2448+h
2449+s/\([\\"]\)/\\\1/g
2450+s/$/\\n/
2451+s/\([^\n]*\).*/ fputs ("\1", f);/p
2452+g
2453+D'
2454 cat <<"EOF"
2455 }
2456 EOF
2457@@ -5643,7 +5655,8 @@
2458 continue
2459 ;;
2460
2461- -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
2462+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
2463+ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
2464 func_append compiler_flags " $arg"
2465 func_append compile_command " $arg"
2466 func_append finalize_command " $arg"
2467@@ -6150,7 +6163,8 @@
2468 lib=
2469 found=no
2470 case $deplib in
2471- -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe|-threads)
2472+ -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \
2473+ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*)
2474 if test "$linkmode,$pass" = "prog,link"; then
2475 compile_deplibs="$deplib $compile_deplibs"
2476 finalize_deplibs="$deplib $finalize_deplibs"
2477@@ -6834,7 +6848,7 @@
2478 test "$hardcode_direct_absolute" = no; then
2479 add="$dir/$linklib"
2480 elif test "$hardcode_minus_L" = yes; then
2481- add_dir="-L$dir"
2482+ add_dir="-L$absdir"
2483 # Try looking first in the location we're being installed to.
2484 if test -n "$inst_prefix_dir"; then
2485 case $libdir in
2486@@ -7319,6 +7333,7 @@
2487 # which has an extra 1 added just for fun
2488 #
2489 case $version_type in
2490+ # correct linux to gnu/linux during the next big refactor
2491 darwin|linux|osf|windows|none)
2492 func_arith $number_major + $number_minor
2493 current=$func_arith_result
2494@@ -7438,7 +7453,7 @@
2495 versuffix="$major.$revision"
2496 ;;
2497
2498- linux)
2499+ linux) # correct to gnu/linux during the next big refactor
2500 func_arith $current - $age
2501 major=.$func_arith_result
2502 versuffix="$major.$age.$revision"
2503@@ -8026,6 +8041,11 @@
2504
2505 # Test again, we may have decided not to build it any more
2506 if test "$build_libtool_libs" = yes; then
2507+ # Remove ${wl} instances when linking with ld.
2508+ # FIXME: should test the right _cmds variable.
2509+ case $archive_cmds in
2510+ *\$LD\ *) wl= ;;
2511+ esac
2512 if test "$hardcode_into_libs" = yes; then
2513 # Hardcode the library paths
2514 hardcode_libdirs=
2515@@ -8056,7 +8076,7 @@
2516 elif test -n "$runpath_var"; then
2517 case "$perm_rpath " in
2518 *" $libdir "*) ;;
2519- *) func_apped perm_rpath " $libdir" ;;
2520+ *) func_append perm_rpath " $libdir" ;;
2521 esac
2522 fi
2523 done
2524@@ -8064,11 +8084,7 @@
2525 if test -n "$hardcode_libdir_separator" &&
2526 test -n "$hardcode_libdirs"; then
2527 libdir="$hardcode_libdirs"
2528- if test -n "$hardcode_libdir_flag_spec_ld"; then
2529- eval dep_rpath=\"$hardcode_libdir_flag_spec_ld\"
2530- else
2531- eval dep_rpath=\"$hardcode_libdir_flag_spec\"
2532- fi
2533+ eval "dep_rpath=\"$hardcode_libdir_flag_spec\""
2534 fi
2535 if test -n "$runpath_var" && test -n "$perm_rpath"; then
2536 # We should set the runpath_var.
2537@@ -9158,6 +9174,8 @@
2538 esac
2539 done
2540 fi
2541+ func_to_tool_file "$oldlib" func_convert_file_msys_to_w32
2542+ tool_oldlib=$func_to_tool_file_result
2543 eval cmds=\"$old_archive_cmds\"
2544
2545 func_len " $cmds"
2546@@ -9267,7 +9285,8 @@
2547 *.la)
2548 func_basename "$deplib"
2549 name="$func_basename_result"
2550- eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $deplib`
2551+ func_resolve_sysroot "$deplib"
2552+ eval libdir=`${SED} -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result`
2553 test -z "$libdir" && \
2554 func_fatal_error "\`$deplib' is not a valid libtool archive"
2555 func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name"
2556
2557=== modified file 'po/Makefile.in.in'
2558--- po/Makefile.in.in 2010-04-09 16:05:57 +0000
2559+++ po/Makefile.in.in 2012-02-08 16:05:23 +0000
2560@@ -49,8 +49,8 @@
2561 XGETTEXT = @XGETTEXT@
2562 INTLTOOL_UPDATE = @INTLTOOL_UPDATE@
2563 INTLTOOL_EXTRACT = @INTLTOOL_EXTRACT@
2564-MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist
2565-GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot
2566+MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --dist
2567+GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) XGETTEXT="$(XGETTEXT)" srcdir=$(srcdir) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE) --pot
2568
2569 ALL_LINGUAS = @ALL_LINGUAS@
2570
2571
2572=== modified file 'src/Makefile.am'
2573--- src/Makefile.am 2011-08-31 18:38:17 +0000
2574+++ src/Makefile.am 2012-02-08 16:05:23 +0000
2575@@ -1,7 +1,11 @@
2576
2577 libexec_PROGRAMS = \
2578- indicator-session-service \
2579+ indicator-session-service
2580+
2581+if BUILD_GTKLOGOUTHELPER
2582+libexec_PROGRAMS += \
2583 gtk-logout-helper
2584+endif
2585
2586 ###################
2587 # Indicator Stuff
2588@@ -103,13 +107,18 @@
2589 user-menu-mgr.c \
2590 device-menu-mgr.h \
2591 device-menu-mgr.c \
2592+ udev-mgr.h \
2593+ udev-mgr.c \
2594+ sane-rules.h
2595+
2596+if BUILD_APT
2597+indicator_session_service_SOURCES += \
2598 apt-watcher.h \
2599 apt-watcher.c \
2600 apt-transaction.h \
2601- apt-transaction.c \
2602- udev-mgr.h \
2603- udev-mgr.c \
2604- sane-rules.h
2605+ apt-transaction.c
2606+endif
2607+
2608 indicator_session_service_CFLAGS = \
2609 $(SESSIONSERVICE_CFLAGS) \
2610 $(GCONF_CFLAGS) \
2611@@ -124,6 +133,7 @@
2612 # GTK Logout Stuff
2613 #################
2614
2615+if BUILD_GTKLOGOUTHELPER
2616 gtk_logout_helper_SOURCES = \
2617 gtk-logout-helper.c \
2618 settings-helper.c \
2619@@ -142,6 +152,7 @@
2620 $(SESSIONSERVICE_LIBS) \
2621 $(GTKLOGOUTHELPER_LIBS) \
2622 $(GCONF_LIBS)
2623+endif
2624
2625
2626 ###############
2627
2628=== modified file 'src/Makefile.in'
2629--- src/Makefile.in 2011-08-25 19:25:38 +0000
2630+++ src/Makefile.in 2012-02-08 16:05:23 +0000
2631@@ -35,8 +35,16 @@
2632 POST_UNINSTALL = :
2633 build_triplet = @build@
2634 host_triplet = @host@
2635-libexec_PROGRAMS = indicator-session-service$(EXEEXT) \
2636- gtk-logout-helper$(EXEEXT)
2637+libexec_PROGRAMS = indicator-session-service$(EXEEXT) $(am__EXEEXT_1)
2638+@BUILD_GTKLOGOUTHELPER_TRUE@am__append_1 = \
2639+@BUILD_GTKLOGOUTHELPER_TRUE@ gtk-logout-helper
2640+
2641+@BUILD_APT_TRUE@am__append_2 = \
2642+@BUILD_APT_TRUE@ apt-watcher.h \
2643+@BUILD_APT_TRUE@ apt-watcher.c \
2644+@BUILD_APT_TRUE@ apt-transaction.h \
2645+@BUILD_APT_TRUE@ apt-transaction.c
2646+
2647 subdir = src
2648 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
2649 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
2650@@ -82,18 +90,30 @@
2651 libsession_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
2652 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libsession_la_CFLAGS) \
2653 $(CFLAGS) $(libsession_la_LDFLAGS) $(LDFLAGS) -o $@
2654+@BUILD_GTKLOGOUTHELPER_TRUE@am__EXEEXT_1 = gtk-logout-helper$(EXEEXT)
2655 PROGRAMS = $(libexec_PROGRAMS)
2656-am_gtk_logout_helper_OBJECTS = \
2657- gtk_logout_helper-gtk-logout-helper.$(OBJEXT) \
2658- gtk_logout_helper-settings-helper.$(OBJEXT) \
2659- gtk_logout_helper-dialog.$(OBJEXT)
2660+am__gtk_logout_helper_SOURCES_DIST = gtk-logout-helper.c \
2661+ settings-helper.c settings-helper.h dialog.c dialog.h
2662+@BUILD_GTKLOGOUTHELPER_TRUE@am_gtk_logout_helper_OBJECTS = gtk_logout_helper-gtk-logout-helper.$(OBJEXT) \
2663+@BUILD_GTKLOGOUTHELPER_TRUE@ gtk_logout_helper-settings-helper.$(OBJEXT) \
2664+@BUILD_GTKLOGOUTHELPER_TRUE@ gtk_logout_helper-dialog.$(OBJEXT)
2665 gtk_logout_helper_OBJECTS = $(am_gtk_logout_helper_OBJECTS)
2666-gtk_logout_helper_DEPENDENCIES = $(am__DEPENDENCIES_1) \
2667- $(am__DEPENDENCIES_1)
2668+@BUILD_GTKLOGOUTHELPER_TRUE@gtk_logout_helper_DEPENDENCIES = \
2669+@BUILD_GTKLOGOUTHELPER_TRUE@ $(am__DEPENDENCIES_1) \
2670+@BUILD_GTKLOGOUTHELPER_TRUE@ $(am__DEPENDENCIES_1)
2671 gtk_logout_helper_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \
2672 $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \
2673 $(gtk_logout_helper_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
2674 -o $@
2675+am__indicator_session_service_SOURCES_DIST = lock-helper.c \
2676+ lock-helper.h session-service.c session-dbus.c session-dbus.h \
2677+ gen-session-dbus.xml.c dbusmenu-shared.h settings-helper.c \
2678+ users-service-dbus.h users-service-dbus.c user-menu-mgr.h \
2679+ user-menu-mgr.c device-menu-mgr.h device-menu-mgr.c udev-mgr.h \
2680+ udev-mgr.c sane-rules.h apt-watcher.h apt-watcher.c \
2681+ apt-transaction.h apt-transaction.c
2682+@BUILD_APT_TRUE@am__objects_1 = indicator_session_service-apt-watcher.$(OBJEXT) \
2683+@BUILD_APT_TRUE@ indicator_session_service-apt-transaction.$(OBJEXT)
2684 am_indicator_session_service_OBJECTS = \
2685 indicator_session_service-lock-helper.$(OBJEXT) \
2686 indicator_session_service-session-service.$(OBJEXT) \
2687@@ -103,9 +123,7 @@
2688 indicator_session_service-users-service-dbus.$(OBJEXT) \
2689 indicator_session_service-user-menu-mgr.$(OBJEXT) \
2690 indicator_session_service-device-menu-mgr.$(OBJEXT) \
2691- indicator_session_service-apt-watcher.$(OBJEXT) \
2692- indicator_session_service-apt-transaction.$(OBJEXT) \
2693- indicator_session_service-udev-mgr.$(OBJEXT)
2694+ indicator_session_service-udev-mgr.$(OBJEXT) $(am__objects_1)
2695 indicator_session_service_OBJECTS = \
2696 $(am_indicator_session_service_OBJECTS)
2697 indicator_session_service_DEPENDENCIES = $(am__DEPENDENCIES_1)
2698@@ -141,8 +159,9 @@
2699 am__v_GEN_0 = @echo " GEN " $@;
2700 SOURCES = $(libsession_la_SOURCES) $(gtk_logout_helper_SOURCES) \
2701 $(indicator_session_service_SOURCES)
2702-DIST_SOURCES = $(libsession_la_SOURCES) $(gtk_logout_helper_SOURCES) \
2703- $(indicator_session_service_SOURCES)
2704+DIST_SOURCES = $(libsession_la_SOURCES) \
2705+ $(am__gtk_logout_helper_SOURCES_DIST) \
2706+ $(am__indicator_session_service_SOURCES_DIST)
2707 ETAGS = etags
2708 CTAGS = ctags
2709 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
2710@@ -329,29 +348,12 @@
2711 #################
2712 # Session Stuff
2713 #################
2714-indicator_session_service_SOURCES = \
2715- lock-helper.c \
2716- lock-helper.h \
2717- session-service.c \
2718- session-dbus.c \
2719- session-dbus.h \
2720- gen-session-dbus.xml.c \
2721- dbusmenu-shared.h \
2722- settings-helper.c \
2723- users-service-dbus.h \
2724- users-service-dbus.c \
2725- user-menu-mgr.h \
2726- user-menu-mgr.c \
2727- device-menu-mgr.h \
2728- device-menu-mgr.c \
2729- apt-watcher.h \
2730- apt-watcher.c \
2731- apt-transaction.h \
2732- apt-transaction.c \
2733- udev-mgr.h \
2734- udev-mgr.c \
2735- sane-rules.h
2736-
2737+indicator_session_service_SOURCES = lock-helper.c lock-helper.h \
2738+ session-service.c session-dbus.c session-dbus.h \
2739+ gen-session-dbus.xml.c dbusmenu-shared.h settings-helper.c \
2740+ users-service-dbus.h users-service-dbus.c user-menu-mgr.h \
2741+ user-menu-mgr.c device-menu-mgr.h device-menu-mgr.c udev-mgr.h \
2742+ udev-mgr.c sane-rules.h $(am__append_2)
2743 indicator_session_service_CFLAGS = \
2744 $(SESSIONSERVICE_CFLAGS) \
2745 $(GCONF_CFLAGS) \
2746@@ -367,24 +369,24 @@
2747 #################
2748 # GTK Logout Stuff
2749 #################
2750-gtk_logout_helper_SOURCES = \
2751- gtk-logout-helper.c \
2752- settings-helper.c \
2753- settings-helper.h \
2754- dialog.c \
2755- dialog.h
2756-
2757-gtk_logout_helper_CFLAGS = \
2758- $(SESSIONSERVICE_CFLAGS) \
2759- $(GTKLOGOUTHELPER_CFLAGS) \
2760- $(GCONF_CFLAGS) \
2761- -Wall -Werror \
2762- -DINDICATOR_ICONS_DIR="\"$(INDICATORICONSDIR)\""
2763-
2764-gtk_logout_helper_LDADD = \
2765- $(SESSIONSERVICE_LIBS) \
2766- $(GTKLOGOUTHELPER_LIBS) \
2767- $(GCONF_LIBS)
2768+@BUILD_GTKLOGOUTHELPER_TRUE@gtk_logout_helper_SOURCES = \
2769+@BUILD_GTKLOGOUTHELPER_TRUE@ gtk-logout-helper.c \
2770+@BUILD_GTKLOGOUTHELPER_TRUE@ settings-helper.c \
2771+@BUILD_GTKLOGOUTHELPER_TRUE@ settings-helper.h \
2772+@BUILD_GTKLOGOUTHELPER_TRUE@ dialog.c \
2773+@BUILD_GTKLOGOUTHELPER_TRUE@ dialog.h
2774+
2775+@BUILD_GTKLOGOUTHELPER_TRUE@gtk_logout_helper_CFLAGS = \
2776+@BUILD_GTKLOGOUTHELPER_TRUE@ $(SESSIONSERVICE_CFLAGS) \
2777+@BUILD_GTKLOGOUTHELPER_TRUE@ $(GTKLOGOUTHELPER_CFLAGS) \
2778+@BUILD_GTKLOGOUTHELPER_TRUE@ $(GCONF_CFLAGS) \
2779+@BUILD_GTKLOGOUTHELPER_TRUE@ -Wall -Werror \
2780+@BUILD_GTKLOGOUTHELPER_TRUE@ -DINDICATOR_ICONS_DIR="\"$(INDICATORICONSDIR)\""
2781+
2782+@BUILD_GTKLOGOUTHELPER_TRUE@gtk_logout_helper_LDADD = \
2783+@BUILD_GTKLOGOUTHELPER_TRUE@ $(SESSIONSERVICE_LIBS) \
2784+@BUILD_GTKLOGOUTHELPER_TRUE@ $(GTKLOGOUTHELPER_LIBS) \
2785+@BUILD_GTKLOGOUTHELPER_TRUE@ $(GCONF_LIBS)
2786
2787
2788 ###############
2789@@ -771,6 +773,22 @@
2790 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2791 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_session_service_CFLAGS) $(CFLAGS) -c -o indicator_session_service-device-menu-mgr.obj `if test -f 'device-menu-mgr.c'; then $(CYGPATH_W) 'device-menu-mgr.c'; else $(CYGPATH_W) '$(srcdir)/device-menu-mgr.c'; fi`
2792
2793+indicator_session_service-udev-mgr.o: udev-mgr.c
2794+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_session_service_CFLAGS) $(CFLAGS) -MT indicator_session_service-udev-mgr.o -MD -MP -MF $(DEPDIR)/indicator_session_service-udev-mgr.Tpo -c -o indicator_session_service-udev-mgr.o `test -f 'udev-mgr.c' || echo '$(srcdir)/'`udev-mgr.c
2795+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/indicator_session_service-udev-mgr.Tpo $(DEPDIR)/indicator_session_service-udev-mgr.Po
2796+@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
2797+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='udev-mgr.c' object='indicator_session_service-udev-mgr.o' libtool=no @AMDEPBACKSLASH@
2798+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2799+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_session_service_CFLAGS) $(CFLAGS) -c -o indicator_session_service-udev-mgr.o `test -f 'udev-mgr.c' || echo '$(srcdir)/'`udev-mgr.c
2800+
2801+indicator_session_service-udev-mgr.obj: udev-mgr.c
2802+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_session_service_CFLAGS) $(CFLAGS) -MT indicator_session_service-udev-mgr.obj -MD -MP -MF $(DEPDIR)/indicator_session_service-udev-mgr.Tpo -c -o indicator_session_service-udev-mgr.obj `if test -f 'udev-mgr.c'; then $(CYGPATH_W) 'udev-mgr.c'; else $(CYGPATH_W) '$(srcdir)/udev-mgr.c'; fi`
2803+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/indicator_session_service-udev-mgr.Tpo $(DEPDIR)/indicator_session_service-udev-mgr.Po
2804+@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
2805+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='udev-mgr.c' object='indicator_session_service-udev-mgr.obj' libtool=no @AMDEPBACKSLASH@
2806+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2807+@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_session_service_CFLAGS) $(CFLAGS) -c -o indicator_session_service-udev-mgr.obj `if test -f 'udev-mgr.c'; then $(CYGPATH_W) 'udev-mgr.c'; else $(CYGPATH_W) '$(srcdir)/udev-mgr.c'; fi`
2808+
2809 indicator_session_service-apt-watcher.o: apt-watcher.c
2810 @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_session_service_CFLAGS) $(CFLAGS) -MT indicator_session_service-apt-watcher.o -MD -MP -MF $(DEPDIR)/indicator_session_service-apt-watcher.Tpo -c -o indicator_session_service-apt-watcher.o `test -f 'apt-watcher.c' || echo '$(srcdir)/'`apt-watcher.c
2811 @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/indicator_session_service-apt-watcher.Tpo $(DEPDIR)/indicator_session_service-apt-watcher.Po
2812@@ -803,22 +821,6 @@
2813 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2814 @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_session_service_CFLAGS) $(CFLAGS) -c -o indicator_session_service-apt-transaction.obj `if test -f 'apt-transaction.c'; then $(CYGPATH_W) 'apt-transaction.c'; else $(CYGPATH_W) '$(srcdir)/apt-transaction.c'; fi`
2815
2816-indicator_session_service-udev-mgr.o: udev-mgr.c
2817-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_session_service_CFLAGS) $(CFLAGS) -MT indicator_session_service-udev-mgr.o -MD -MP -MF $(DEPDIR)/indicator_session_service-udev-mgr.Tpo -c -o indicator_session_service-udev-mgr.o `test -f 'udev-mgr.c' || echo '$(srcdir)/'`udev-mgr.c
2818-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/indicator_session_service-udev-mgr.Tpo $(DEPDIR)/indicator_session_service-udev-mgr.Po
2819-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
2820-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='udev-mgr.c' object='indicator_session_service-udev-mgr.o' libtool=no @AMDEPBACKSLASH@
2821-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2822-@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_session_service_CFLAGS) $(CFLAGS) -c -o indicator_session_service-udev-mgr.o `test -f 'udev-mgr.c' || echo '$(srcdir)/'`udev-mgr.c
2823-
2824-indicator_session_service-udev-mgr.obj: udev-mgr.c
2825-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_session_service_CFLAGS) $(CFLAGS) -MT indicator_session_service-udev-mgr.obj -MD -MP -MF $(DEPDIR)/indicator_session_service-udev-mgr.Tpo -c -o indicator_session_service-udev-mgr.obj `if test -f 'udev-mgr.c'; then $(CYGPATH_W) 'udev-mgr.c'; else $(CYGPATH_W) '$(srcdir)/udev-mgr.c'; fi`
2826-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/indicator_session_service-udev-mgr.Tpo $(DEPDIR)/indicator_session_service-udev-mgr.Po
2827-@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
2828-@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='udev-mgr.c' object='indicator_session_service-udev-mgr.obj' libtool=no @AMDEPBACKSLASH@
2829-@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
2830-@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_session_service_CFLAGS) $(CFLAGS) -c -o indicator_session_service-udev-mgr.obj `if test -f 'udev-mgr.c'; then $(CYGPATH_W) 'udev-mgr.c'; else $(CYGPATH_W) '$(srcdir)/udev-mgr.c'; fi`
2831-
2832 mostlyclean-libtool:
2833 -rm -f *.lo
2834
2835
2836=== modified file 'src/apt-watcher.h'
2837--- src/apt-watcher.h 2011-07-22 16:40:20 +0000
2838+++ src/apt-watcher.h 2012-02-08 16:05:23 +0000
2839@@ -25,11 +25,7 @@
2840 #include <libdbusmenu-glib/client.h>
2841
2842 #include <gtk/gtk.h>
2843-#if GTK_CHECK_VERSION(3, 0, 0)
2844-#include <libdbusmenu-gtk3/menuitem.h>
2845-#else
2846 #include <libdbusmenu-gtk/menuitem.h>
2847-#endif
2848
2849 #include "session-dbus.h"
2850
2851
2852=== modified file 'src/device-menu-mgr.c'
2853--- src/device-menu-mgr.c 2011-08-31 14:51:16 +0000
2854+++ src/device-menu-mgr.c 2012-02-08 16:05:23 +0000
2855@@ -17,8 +17,8 @@
2856 with this program. If not, see <http://www.gnu.org/licenses/>.
2857 */
2858
2859+#include <config.h>
2860 #include <libdbusmenu-glib/client.h>
2861-#include <libdbusmenu-gtk3/menuitem.h>
2862
2863 #include "device-menu-mgr.h"
2864 #include "settings-helper.h"
2865@@ -26,7 +26,11 @@
2866 #include "dbusmenu-shared.h"
2867 #include "lock-helper.h"
2868 #include "upower-client.h"
2869+
2870+#ifdef HAVE_APT
2871 #include "apt-watcher.h"
2872+#endif /* HAVE_APT */
2873+
2874 #include "udev-mgr.h"
2875
2876 #define UP_ADDRESS "org.freedesktop.UPower"
2877@@ -40,7 +44,9 @@
2878 GObject parent_instance;
2879 DbusmenuMenuitem* root_item;
2880 SessionDbus* session_dbus_interface;
2881+#ifdef HAVE_APT
2882 AptWatcher* apt_watcher;
2883+#endif /* HAVE_APT */
2884 UdevMgr* udev_mgr;
2885 };
2886
2887@@ -50,7 +56,9 @@
2888 static DbusmenuMenuitem *system_settings_menuitem = NULL;
2889 static DbusmenuMenuitem *display_settings_menuitem = NULL;
2890 static DbusmenuMenuitem *login_settings_menuitem = NULL;
2891+#ifdef HAVE_APT
2892 static DbusmenuMenuitem *software_updates_menuitem = NULL;
2893+#endif /* HAVE_APT */
2894 static DbusmenuMenuitem *printers_menuitem = NULL;
2895 static DbusmenuMenuitem *scanners_menuitem = NULL;
2896 static DbusmenuMenuitem *webcam_menuitem = NULL;
2897@@ -74,7 +82,6 @@
2898 static void device_menu_mgr_ensure_settings_client (DeviceMenuMgr* self);
2899 static void setup_up (DeviceMenuMgr* self);
2900 static void device_menu_mgr_rebuild_items (DeviceMenuMgr *self);
2901-static void lock_if_possible (DeviceMenuMgr* self);
2902 static void machine_sleep_with_context (DeviceMenuMgr* self,
2903 gchar* type);
2904 static void show_system_settings_with_context (DbusmenuMenuitem * mi,
2905@@ -102,7 +109,9 @@
2906 static void
2907 device_menu_mgr_init (DeviceMenuMgr *self)
2908 {
2909+#ifdef HAVE_APT
2910 self->apt_watcher = NULL;
2911+#endif /* HAVE_APT */
2912 self->root_item = dbusmenu_menuitem_new ();
2913 setup_up(self);
2914 g_idle_add(lock_screen_setup, NULL);
2915@@ -162,27 +171,6 @@
2916 return;
2917 }
2918
2919-/* Check to see if the lockdown key is protecting from
2920- locking the screen. If not, lock it. */
2921-static void
2922-lock_if_possible (DeviceMenuMgr* self) {
2923- device_menu_mgr_ensure_settings_client (self);
2924-
2925- if (!g_settings_get_boolean (lockdown_settings, LOCKDOWN_KEY_SCREENSAVER)) {
2926- lock_screen (NULL, 0, NULL);
2927- }
2928- return;
2929-}
2930-
2931-/* A return from the command to sleep the system. Make sure
2932- that we unthrottle the screensaver. */
2933-static void
2934-sleep_response (DBusGProxy * proxy, DBusGProxyCall * call, gpointer data)
2935-{
2936- screensaver_unthrottle();
2937- return;
2938-}
2939-
2940 static void
2941 machine_sleep_from_suspend (DbusmenuMenuitem * mi,
2942 guint timestamp,
2943@@ -210,11 +198,9 @@
2944 g_warning("Can not %s as no upower proxy", type);
2945 }
2946
2947- screensaver_throttle(type);
2948- lock_if_possible (self);
2949 dbus_g_proxy_begin_call(up_main_proxy,
2950 type,
2951- sleep_response,
2952+ NULL,
2953 NULL,
2954 NULL,
2955 G_TYPE_INVALID);
2956@@ -410,7 +396,11 @@
2957 show_dialog (DbusmenuMenuitem * mi, guint timestamp, gchar * type)
2958 {
2959
2960+#ifdef HAVE_GTKLOGOUTHELPER
2961 gchar * helper = g_build_filename(LIBEXECDIR, "gtk-logout-helper", NULL);
2962+#else
2963+ gchar * helper = g_build_filename("gnome-session-quit", NULL);
2964+#endif /* HAVE_GTKLOGOUTHELPER */
2965 gchar * dialog_line = g_strdup_printf("%s --%s", helper, type);
2966 g_free(helper);
2967
2968@@ -480,12 +470,14 @@
2969 {
2970 g_warning("Unable to launch simple-scan: %s", error->message);
2971 g_error_free(error);
2972+#ifdef HAVE_APT
2973 if (!g_spawn_command_line_async("software-center simple-scan", &error))
2974 {
2975 g_warning ("Unable to launch software-centre simple-scan: %s",
2976 error->message);
2977 g_error_free(error);
2978 }
2979+#endif /* HAVE_APT */
2980 }
2981 }
2982
2983@@ -498,12 +490,14 @@
2984 {
2985 g_warning("Unable to launch cheese: %s", error->message);
2986 g_error_free(error);
2987+#ifdef HAVE_APT
2988 if (!g_spawn_command_line_async("software-center cheese", &error))
2989 {
2990 g_warning ("Unable to launch software-centre cheese: %s",
2991 error->message);
2992 g_error_free(error);
2993 }
2994+#endif /* HAVE_APT */
2995 }
2996 }
2997
2998@@ -542,6 +536,7 @@
2999 dbusmenu_menuitem_child_add_position(self->root_item,
3000 login_settings_menuitem,
3001 2);
3002+#ifdef HAVE_APT
3003 software_updates_menuitem = dbusmenu_menuitem_new();
3004 dbusmenu_menuitem_property_set (software_updates_menuitem,
3005 DBUSMENU_MENUITEM_PROP_LABEL,
3006@@ -549,6 +544,7 @@
3007 dbusmenu_menuitem_child_add_position(self->root_item,
3008 software_updates_menuitem,
3009 3);
3010+#endif /* HAVE_APT */
3011
3012 DbusmenuMenuitem * separator1 = dbusmenu_menuitem_new();
3013 dbusmenu_menuitem_property_set (separator1,
3014@@ -726,7 +722,11 @@
3015 dbusmenu_menuitem_child_append (self->root_item, shutdown_mi);
3016 g_signal_connect (G_OBJECT(shutdown_mi),
3017 DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED,
3018+#ifdef HAVE_GTKLOGOUTHELPER
3019 G_CALLBACK(show_dialog), "shutdown");
3020+#else
3021+ G_CALLBACK(show_dialog), "power-off");
3022+#endif /* HAVE_GTKLOGOUTHELPER */
3023
3024 RestartShutdownLogoutMenuItems * restart_shutdown_logout_mi = g_new0 (RestartShutdownLogoutMenuItems, 1);
3025 restart_shutdown_logout_mi->logout_mi = logout_mi;
3026@@ -778,9 +778,11 @@
3027 DeviceMenuMgr* device_mgr = g_object_new (DEVICE_TYPE_MENU_MGR, NULL);
3028 device_mgr->session_dbus_interface = session_dbus;
3029 device_menu_mgr_build_static_items (device_mgr, greeter_mode);
3030+#ifdef HAVE_APT
3031 if (software_updates_menuitem != NULL) {
3032 device_mgr->apt_watcher = apt_watcher_new (session_dbus,
3033 software_updates_menuitem);
3034 }
3035+#endif /* HAVE_APT */
3036 return device_mgr;
3037 }
3038
3039=== modified file 'src/indicator-session.c'
3040--- src/indicator-session.c 2011-09-27 22:05:28 +0000
3041+++ src/indicator-session.c 2012-02-08 16:05:23 +0000
3042@@ -31,11 +31,7 @@
3043 #include <gtk/gtk.h>
3044 #include <gio/gio.h>
3045
3046-#if GTK_CHECK_VERSION(3, 0, 0)
3047-#include <libdbusmenu-gtk3/menu.h>
3048-#else
3049 #include <libdbusmenu-gtk/menu.h>
3050-#endif
3051
3052 #include <libindicator/indicator.h>
3053 #include <libindicator/indicator-object.h>
3054@@ -118,8 +114,8 @@
3055 object_class->finalize = indicator_session_finalize;
3056
3057 IndicatorObjectClass * io_class = INDICATOR_OBJECT_CLASS(klass);
3058- io_class->get_entries = indicator_session_get_entries;
3059- io_class->get_location = indicator_session_get_location;
3060+ io_class->get_entries = indicator_session_get_entries;
3061+ io_class->get_location = indicator_session_get_location;
3062 return;
3063 }
3064
3065@@ -140,6 +136,7 @@
3066
3067 GtkWidget* avatar_icon = NULL;
3068 // users
3069+ self->users.name_hint = PACKAGE"-users";
3070 self->users.menu = GTK_MENU (dbusmenu_gtkmenu_new (INDICATOR_USERS_DBUS_NAME,
3071 INDICATOR_USERS_DBUS_OBJECT));
3072 // Set the image to the default avator image
3073@@ -169,7 +166,9 @@
3074 const gchar *greeter_var;
3075 greeter_var = g_getenv("INDICATOR_GREETER_MODE");
3076 greeter_mode = g_strcmp0(greeter_var, "1") == 0;
3077+
3078 // devices
3079+ self->devices.name_hint = PACKAGE"-devices";
3080 self->devices.menu = GTK_MENU (dbusmenu_gtkmenu_new(INDICATOR_SESSION_DBUS_NAME,
3081 INDICATOR_SESSION_DBUS_OBJECT));
3082 if (greeter_mode){
3083@@ -277,11 +276,11 @@
3084 {
3085 IndicatorSession * self = INDICATOR_SESSION (io);
3086 if (entry == &self->users){
3087+ return 0;
3088+ }
3089+ else if (entry == &self->devices){
3090 return 1;
3091 }
3092- else if (entry == &self->devices){
3093- return 0;
3094- }
3095 g_warning ("IOEntry handed to us to position but we don't own it!");
3096 return 0;
3097 }
3098
3099=== modified file 'src/lock-helper.c'
3100--- src/lock-helper.c 2011-08-18 18:51:48 +0000
3101+++ src/lock-helper.c 2012-02-08 16:05:23 +0000
3102@@ -29,8 +29,6 @@
3103
3104 static DBusGProxy * gss_proxy = NULL;
3105 static GMainLoop * gss_mainloop = NULL;
3106-static guint cookie = 0;
3107-static DBusGProxyCall * cookie_call = NULL;
3108
3109 static gboolean is_guest = FALSE;
3110
3111@@ -38,90 +36,6 @@
3112
3113 void build_gss_proxy (void);
3114
3115-/* Checks to see if there is an error and reports
3116- it. Not much else we can do. */
3117-static void
3118-unthrottle_return (DBusGProxy * proxy, DBusGProxyCall * call, gpointer data)
3119-{
3120- GError * error = NULL;
3121- dbus_g_proxy_end_call(proxy, call, &error,
3122- G_TYPE_INVALID);
3123-
3124- if (error != NULL) {
3125- g_warning("Unable to unthrottle: %s", error->message);
3126- }
3127- return;
3128-}
3129-
3130-/* Sends an unthrottle if we're throttled. */
3131-void
3132-screensaver_unthrottle (void)
3133-{
3134- g_return_if_fail(cookie != 0);
3135-
3136- build_gss_proxy();
3137- g_return_if_fail(gss_proxy != NULL);
3138-
3139- dbus_g_proxy_begin_call(gss_proxy, "UnThrottle",
3140- unthrottle_return, NULL,
3141- NULL,
3142- G_TYPE_UINT, cookie,
3143- G_TYPE_INVALID);
3144-
3145- cookie = 0;
3146- return;
3147-}
3148-
3149-/* Gets there return cookie from the throttle command
3150- and sets things valid */
3151-static void
3152-throttle_return (DBusGProxy * proxy, DBusGProxyCall * call, gpointer data)
3153-{
3154- GError * error = NULL;
3155- cookie_call = NULL;
3156-
3157- dbus_g_proxy_end_call(proxy, call, &error,
3158- G_TYPE_UINT, &cookie,
3159- G_TYPE_INVALID);
3160-
3161- if (error != NULL) {
3162- g_warning("Unable to throttle the screensaver: %s", error->message);
3163- return;
3164- }
3165-
3166-
3167- if (cookie == 0) {
3168- g_warning("We didn't get a throttle cookie!");
3169- }
3170-
3171- return;
3172-}
3173-
3174-/* Throttling the screensaver by using the screen saver
3175- command. */
3176-void
3177-screensaver_throttle (gchar * reason)
3178-{
3179- g_return_if_fail(cookie_call == NULL);
3180- g_return_if_fail(will_lock_screen());
3181-
3182- if (cookie != 0) {
3183- screensaver_unthrottle();
3184- }
3185-
3186- build_gss_proxy();
3187- g_return_if_fail(gss_proxy != NULL);
3188-
3189- cookie_call = dbus_g_proxy_begin_call(gss_proxy, "Throttle",
3190- throttle_return, NULL,
3191- NULL,
3192- G_TYPE_STRING, "Session Menu",
3193- G_TYPE_STRING, reason,
3194- G_TYPE_INVALID);
3195-
3196- return;
3197-}
3198-
3199 /* This is our logic on whether the screen should be locked
3200 or not. It effects everything else. */
3201 gboolean
3202
3203=== modified file 'src/lock-helper.h'
3204--- src/lock-helper.h 2010-08-06 15:43:18 +0000
3205+++ src/lock-helper.h 2012-02-08 16:05:23 +0000
3206@@ -24,9 +24,6 @@
3207
3208 #include <libdbusmenu-glib/menuitem.h>
3209
3210-void screensaver_throttle (gchar * reason);
3211-void screensaver_unthrottle (void);
3212-
3213 gboolean will_lock_screen (void);
3214 void lock_screen (DbusmenuMenuitem * mi, guint timestamp, gpointer data);
3215 gboolean lock_screen_setup (gpointer data);
3216
3217=== modified file 'src/session-service.c'
3218--- src/session-service.c 2011-08-26 14:44:10 +0000
3219+++ src/session-service.c 2012-02-08 16:05:23 +0000
3220@@ -39,11 +39,7 @@
3221 #include <libdbusmenu-glib/client.h>
3222
3223 #include <gtk/gtk.h>
3224-#if GTK_CHECK_VERSION(3, 0, 0)
3225-#include <libdbusmenu-gtk3/menuitem.h>
3226-#else
3227 #include <libdbusmenu-gtk/menuitem.h>
3228-#endif
3229
3230 #include <libindicator/indicator-service.h>
3231
3232
3233=== modified file 'src/udev-mgr.h'
3234--- src/udev-mgr.h 2011-07-27 16:23:28 +0000
3235+++ src/udev-mgr.h 2012-02-08 16:05:23 +0000
3236@@ -24,11 +24,7 @@
3237 #include <libdbusmenu-glib/client.h>
3238
3239 #include <gtk/gtk.h>
3240-#if GTK_CHECK_VERSION(3, 0, 0)
3241-#include <libdbusmenu-gtk3/menuitem.h>
3242-#else
3243 #include <libdbusmenu-gtk/menuitem.h>
3244-#endif
3245
3246 G_BEGIN_DECLS
3247
3248
3249=== modified file 'src/user-menu-mgr.c'
3250--- src/user-menu-mgr.c 2011-10-25 21:25:02 +0000
3251+++ src/user-menu-mgr.c 2012-02-08 16:05:23 +0000
3252@@ -48,9 +48,6 @@
3253 gpointer user_data);
3254 static gint compare_users_by_username (const gchar *a,
3255 const gchar *b);
3256-static void activate_online_accounts (DbusmenuMenuitem *mi,
3257- guint timestamp,
3258- gpointer user_data);
3259 static void activate_user_accounts (DbusmenuMenuitem *mi,
3260 guint timestamp,
3261 gpointer user_data);
3262@@ -255,26 +252,12 @@
3263 }
3264 g_list_free(users);
3265 }
3266- // Add the online accounts and separator
3267+ // Add the user accounts and separator
3268 DbusmenuMenuitem * separator1 = dbusmenu_menuitem_new();
3269 dbusmenu_menuitem_property_set (separator1,
3270 DBUSMENU_MENUITEM_PROP_TYPE,
3271 DBUSMENU_CLIENT_TYPES_SEPARATOR);
3272 dbusmenu_menuitem_child_append (self->root_item, separator1);
3273- DbusmenuMenuitem * online_accounts_item = dbusmenu_menuitem_new();
3274- dbusmenu_menuitem_property_set (online_accounts_item,
3275- DBUSMENU_MENUITEM_PROP_TYPE,
3276- DBUSMENU_CLIENT_TYPES_DEFAULT);
3277- dbusmenu_menuitem_property_set (online_accounts_item,
3278- DBUSMENU_MENUITEM_PROP_LABEL,
3279- _("Online Accounts…"));
3280-
3281- g_signal_connect (G_OBJECT (online_accounts_item),
3282- DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED,
3283- G_CALLBACK (activate_online_accounts),
3284- NULL);
3285-
3286- dbusmenu_menuitem_child_append (self->root_item, online_accounts_item);
3287
3288 DbusmenuMenuitem * user_accounts_item = dbusmenu_menuitem_new();
3289 dbusmenu_menuitem_property_set (user_accounts_item,
3290@@ -359,22 +342,6 @@
3291 return retval;
3292 }
3293
3294-// TODO
3295-// Wait until dialog is complete to find out name to pass
3296-// to the control centre.
3297-static void
3298-activate_online_accounts (DbusmenuMenuitem *mi,
3299- guint timestamp,
3300- gpointer user_data)
3301-{
3302- GError * error = NULL;
3303- if (!g_spawn_command_line_async("gnome-control-center online-accounts", &error))
3304- {
3305- g_warning("Unable to show control centre: %s", error->message);
3306- g_error_free(error);
3307- }
3308-}
3309-
3310 static void
3311 activate_user_accounts (DbusmenuMenuitem *mi,
3312 guint timestamp,
3313
3314=== modified file 'src/user-menu-mgr.h'
3315--- src/user-menu-mgr.h 2011-08-18 11:45:50 +0000
3316+++ src/user-menu-mgr.h 2012-02-08 16:05:23 +0000
3317@@ -23,7 +23,7 @@
3318
3319
3320 #include <glib-object.h>
3321-#include <libdbusmenu-gtk3/menuitem.h>
3322+#include <libdbusmenu-gtk/menuitem.h>
3323
3324 #include "session-dbus.h"
3325
3326
3327=== modified file 'src/user-widget.c'
3328--- src/user-widget.c 2011-08-24 11:45:58 +0000
3329+++ src/user-widget.c 2012-02-08 16:05:23 +0000
3330@@ -136,7 +136,11 @@
3331 gtk_misc_set_padding (GTK_MISC(priv->user_image),0, 4.0);
3332
3333 priv->user_name = gtk_label_new ("");
3334+#if HAVE_GTK3
3335+ priv->container = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
3336+#else
3337 priv->container = gtk_hbox_new (FALSE, 0);
3338+#endif
3339 priv->tick_icon = gtk_image_new_from_icon_name ("account-logged-in",
3340 GTK_ICON_SIZE_MENU);
3341 gtk_misc_set_alignment(GTK_MISC(priv->tick_icon), 1.0, 0.5);
3342
3343=== modified file 'src/user-widget.h'
3344--- src/user-widget.h 2011-07-12 15:03:02 +0000
3345+++ src/user-widget.h 2012-02-08 16:05:23 +0000
3346@@ -20,11 +20,7 @@
3347 #define __USER_WIDGET_H__
3348
3349 #include <gtk/gtk.h>
3350-#if GTK_CHECK_VERSION(3, 0, 0)
3351-#include <libdbusmenu-gtk3/menuitem.h>
3352-#else
3353 #include <libdbusmenu-gtk/menuitem.h>
3354-#endif
3355
3356 G_BEGIN_DECLS
3357

Subscribers

People subscribed via source and target branches