diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2005-03-10 02:20:17 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2005-03-10 02:20:17 +0800 |
commit | c25343bd0aaef478b3de594c5bb3dd24eec1206f (patch) | |
tree | 568a346423b9cbbee00c789c631efb7296f8479c /configure.ac | |
parent | 25234ed1fb4bcfdc2699352dc3e9a412d1309c55 (diff) | |
download | gsoc2013-epiphany-c25343bd0aaef478b3de594c5bb3dd24eec1206f.tar gsoc2013-epiphany-c25343bd0aaef478b3de594c5bb3dd24eec1206f.tar.gz gsoc2013-epiphany-c25343bd0aaef478b3de594c5bb3dd24eec1206f.tar.bz2 gsoc2013-epiphany-c25343bd0aaef478b3de594c5bb3dd24eec1206f.tar.lz gsoc2013-epiphany-c25343bd0aaef478b3de594c5bb3dd24eec1206f.tar.xz gsoc2013-epiphany-c25343bd0aaef478b3de594c5bb3dd24eec1206f.tar.zst gsoc2013-epiphany-c25343bd0aaef478b3de594c5bb3dd24eec1206f.zip |
Use libstartup-notification, not gnome-desktop to launch apps. Fixes bug
2005-03-09 Christian Persch <chpe@cvs.gnome.org>
* configure.ac:
* lib/ephy-file-helpers.c:
(my_gdk_spawn_make_environment_for_screen), (sn_error_trap_push),
(sn_error_trap_pop), (make_spawn_environment_for_sn_context),
(free_startup_timeout), (startup_timeout), (add_startup_timeout),
(ephy_file_launch_application), (ephy_file_launch_desktop_file):
Use libstartup-notification, not gnome-desktop to launch apps.
Fixes bug #169039.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b77a7761e..9da6520f3 100644 --- a/configure.ac +++ b/configure.ac @@ -52,6 +52,7 @@ LIBGLADE_REQUIRED=2.3.1 LIBGNOMEVFS_REQUIRED=2.9.2 LIBGNOMEUI_REQUIRED=2.6.0 GNOME_DESKTOP_REQUIRED=2.9.91 +LIBSTARTUP_NOTIFICATION_REQUIRED=0.5 AC_ENABLE_SHARED([yes]) AC_ENABLE_STATIC([no]) @@ -71,6 +72,16 @@ GNOME_DEBUG_CHECK GNOME_COMPILE_WARNINGS([maximum]) dnl GNOME_CXX_WARNINGS +AC_PATH_PROG([PKG_CONFIG], [pkg-config], [no]) +if $PKG_CONFIG --atleast-version $LIBSTARTUP_NOTIFICATION_REQUIRED libstartup-notification-1.0; then + echo "Building with libstartup-notification" + AC_DEFINE([HAVE_STARTUP_NOTIFICATION],[1],[Define to enable startup notification support]) + STARTUP_NOTIFICATION_PACKAGE=libstartup-notification-1.0 +else + echo "***** WARNING: Building without libstartup-notification" + STARTUP_NOTIFICATION_PACKAGE= +fi + PKG_CHECK_MODULES([EPIPHANY_DEPENDENCY], [\ glib-2.0 >= $GLIB_REQUIRED \ pango >= $PANGO_REQUIRED \ @@ -86,6 +97,7 @@ PKG_CHECK_MODULES([EPIPHANY_DEPENDENCY], [\ gnome-vfs-module-2.0 \ gconf-2.0 \ gnome-desktop-2.0 >= $GNOME_DESKTOP_REQUIRED \ + $STARTUP_NOTIFICATION_PACKAGE \ ]) AC_SUBST([EPIPHANY_DEPENDENCY_CFLAGS]) AC_SUBST([EPIPHANY_DEPENDENCY_LIBS]) |