From: Ray Strode Date: Mon, 11 Oct 2010 14:33:37 +0000 (-0400) Subject: viewer: don't build viewer by default X-Git-Tag: 0.8.4~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34c6f34c6d53ec0e2dc58fabfcf412d34709605b;p=thirdparty%2Fplymouth.git viewer: don't build viewer by default The viewer is useful for seeing boot messages after boot up. It does this by showing a notification icon in the event there is a problem during boot. Notification icons aren't as en vogue as they once were, however. Ideally, we would have a more structured and semantically aware way to deal with specific boot problems. This commit turns the icon off by default. It can still be built with a --with-log-viewer Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30724 Reported By: William Jon McCann --- diff --git a/configure.ac b/configure.ac index b5eddf5d..535b6ee7 100644 --- a/configure.ac +++ b/configure.ac @@ -141,8 +141,13 @@ AC_SUBST(plymouthdaemondir) AC_ARG_WITH(rhgb-compat-link, AS_HELP_STRING([--with-rhgb-compat-link],[Install /usr/bin/rhgb-client compatability symlink]),with_rhgb_compat_link=${withval},with_rhgb_compat_link=yes) AM_CONDITIONAL(WITH_RHGB_COMPAT_LINK, [test "$with_rhgb_compat_link" = yes]) -AC_ARG_WITH(gdm-autostart-file, AS_HELP_STRING([--with-gdm-autostart-file],[start log viewer from gdm on boot errors]),with_gdm_autostart_file=$withval,with_gdm_autostart_file=yes) +AC_ARG_WITH(log-viewer, AS_HELP_STRING([--with-log-viewer],[Install plymouth log viewer]),with_log_viewer=${withval},with_log_viewer=no) +AM_CONDITIONAL(WITH_LOG_VIEWER, [test "$with_log_viewer" = yes]) +with_gdm_autostart_file=no +if test x$with_log_viewer = xyes; then + AC_ARG_WITH(gdm-autostart-file, AS_HELP_STRING([--with-gdm-autostart-file],[start log viewer from gdm on boot errors]),with_gdm_autostart_file=$withval,with_gdm_autostart_file=yes) +fi AM_CONDITIONAL(START_FROM_GDM, [test "$with_gdm_autostart_file" = yes]) AC_ARG_WITH(logo, AS_HELP_STRING([--with-logo],[logo used by boot splash plugins]),logofile=${withval},logofile=$datadir/plymouth/bizcom.png) diff --git a/src/viewer/Makefile.am b/src/viewer/Makefile.am index 1e652980..6fe36fd9 100644 --- a/src/viewer/Makefile.am +++ b/src/viewer/Makefile.am @@ -3,6 +3,7 @@ EXTRA_DIST= INCLUDES = -I$(top_srcdir) \ -I$(srcdir) +if WITH_LOG_VIEWER plymouth_log_viewerdir = $(bindir) plymouth_log_viewer_PROGRAMS = plymouth-log-viewer @@ -15,5 +16,6 @@ gdmautostartdir = $(datadir)/gdm/autostart/LoginWindow gdmautostart_DATA = plymouth-log-viewer.desktop EXTRA_DIST += plymouth-log-viewer.desktop endif +endif MAINTAINERCLEANFILES = Makefile.in