Install screensaver by default

Kristian Høgsberg 13 years ago
parent 4476aaff24
commit 6a78a9730a
  1. 12
      clients/Makefile.am
  2. 3
      weston.ini

@ -9,7 +9,8 @@ noinst_PROGRAMS = \
libexec_PROGRAMS = \ libexec_PROGRAMS = \
$(desktop_shell) \ $(desktop_shell) \
$(tablet_shell) \ $(tablet_shell) \
$(screenshooter) $(screenshooter) \
$(screensaver)
AM_CFLAGS = $(GCC_CFLAGS) AM_CFLAGS = $(GCC_CFLAGS)
AM_CPPFLAGS = \ AM_CPPFLAGS = \
@ -141,14 +142,13 @@ CLEANFILES = $(BUILT_SOURCES)
endif endif
if BUILD_FULL_GL_CLIENTS if BUILD_FULL_GL_CLIENTS
full_gl_client_programs = \ full_gl_client_programs = gears
gears \
wscreensaver
gears_SOURCES = gears.c gears_SOURCES = gears.c
gears_LDADD = $(toolkit_libs) gears_LDADD = $(toolkit_libs)
wscreensaver_SOURCES = \ screensaver = weston-screensaver
weston_screensaver_SOURCES = \
wscreensaver.c \ wscreensaver.c \
wscreensaver.h \ wscreensaver.h \
desktop-shell-client-protocol.h \ desktop-shell-client-protocol.h \
@ -157,7 +157,7 @@ wscreensaver_SOURCES = \
wscreensaver-glue.h \ wscreensaver-glue.h \
glmatrix.c \ glmatrix.c \
matrix3.xpm matrix3.xpm
wscreensaver_LDADD = $(toolkit_libs) -lGLU weston_screensaver_LDADD = $(toolkit_libs) -lGLU
endif endif
@wayland_scanner_rules@ @wayland_scanner_rules@

@ -28,6 +28,7 @@ icon=/usr/share/icons/gnome/24x24/apps/arts.png
path=./clients/flower path=./clients/flower
[screensaver] [screensaver]
#path=./clients/wscreensaver # Uncomment path to disable screensaver
path=/usr/libexec/weston-screensaver
duration=600 duration=600
#binding-modifier=ctrl #binding-modifier=ctrl

Loading…
Cancel
Save