summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-06-25 14:06:45 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-06-25 14:06:45 -0400
commit6a78a9730a18e11fae8807c3844457c29966b147 (patch)
tree0e9d11bc3dcf14a2b6be29453600bab55e5de716
parent4476aaff241a727d7b0762ff445e395268d2c3bc (diff)
Install screensaver by default
-rw-r--r--clients/Makefile.am12
-rw-r--r--weston.ini3
2 files changed, 8 insertions, 7 deletions
diff --git a/clients/Makefile.am b/clients/Makefile.am
index 5ed8839a..133eacad 100644
--- a/clients/Makefile.am
+++ b/clients/Makefile.am
@@ -9,7 +9,8 @@ noinst_PROGRAMS = \
libexec_PROGRAMS = \
$(desktop_shell) \
$(tablet_shell) \
- $(screenshooter)
+ $(screenshooter) \
+ $(screensaver)
AM_CFLAGS = $(GCC_CFLAGS)
AM_CPPFLAGS = \
@@ -141,14 +142,13 @@ CLEANFILES = $(BUILT_SOURCES)
endif
if BUILD_FULL_GL_CLIENTS
-full_gl_client_programs = \
- gears \
- wscreensaver
+full_gl_client_programs = gears
gears_SOURCES = gears.c
gears_LDADD = $(toolkit_libs)
-wscreensaver_SOURCES = \
+screensaver = weston-screensaver
+weston_screensaver_SOURCES = \
wscreensaver.c \
wscreensaver.h \
desktop-shell-client-protocol.h \
@@ -157,7 +157,7 @@ wscreensaver_SOURCES = \
wscreensaver-glue.h \
glmatrix.c \
matrix3.xpm
-wscreensaver_LDADD = $(toolkit_libs) -lGLU
+weston_screensaver_LDADD = $(toolkit_libs) -lGLU
endif
@wayland_scanner_rules@
diff --git a/weston.ini b/weston.ini
index 7693253a..f0736dfa 100644
--- a/weston.ini
+++ b/weston.ini
@@ -28,6 +28,7 @@ icon=/usr/share/icons/gnome/24x24/apps/arts.png
path=./clients/flower
[screensaver]
-#path=./clients/wscreensaver
+# Uncomment path to disable screensaver
+path=/usr/libexec/weston-screensaver
duration=600
#binding-modifier=ctrl