Commit 0b26a282 authored by David Anderson's avatar David Anderson

- Added Linux screensaver from Nils Brause.

    Note: I can't get this to build because if requires
    a package (xcb-atom) that I can't find.
    Need to resolve this.

svn path=/trunk/boinc/; revision=22004
parent 461b9eba
......@@ -21,6 +21,7 @@ if ENABLE_CLIENT
endif
if ENABLE_MANAGER
# CLIENTGUI_SUBDIRS = clientgui clientgui/res locale clientscr
CLIENTGUI_SUBDIRS = clientgui clientgui/res locale
endif
......
......@@ -5227,3 +5227,15 @@ David 19 Jul 2010
log_flags.cpp
lib/
coproc.cpp
David 19 Jul 2010
- Added Linux screensaver from Nils Brause.
Note: I can't get this to build because if requires
a package (xcb-atom) that I can't find.
Need to resolve this.
configure.ac
Makefile.am
clientscr/
Makefile.am (new)
screensaver_x11.cpp (new)
## -*- mode: makefile; tab-width: 4 -*-
## $Id$
include $(top_srcdir)/Makefile.incl
if ENABLE_CLIENT_RELEASE
AM_LDFLAGS += -static-libtool-libs
## for an entirely statically linked library, you may want to try
## -all-static instead. There's a good chance it won't work properly,
## so we'll use the safer "-static-libtool-libs" by default.
else
if DYNAMIC_CLIENT
## if libtool starts to need flags for dynamic linking, add them here
else
AM_LDFLAGS += -static
endif
endif ## ENABLE_CLIENT_RELEASE
bin_PROGRAMS = boincscr
boincscr_SOURCES = screensaver_x11.cpp
boincscr_DEPENDENCIES = $(LIBBOINC)
boincscr_CPPFLAGS = $(AM_CPPFLAGS) $(XCB_CFLAGS) $(XCBATOM_CFLAGS)
boincscr_LDFLAGS = $(AM_LDFLAGS) -L../lib $(XCB_LIBS) $(XCBATOM_LIBS)
boincscr_LDADD = $(LIBBOINC) $(BOINC_EXTRA_LIBS) $(PTHREAD_LIBS)
This diff is collapsed.
......@@ -703,6 +703,12 @@ if test "${enable_manager}" = yes ; then
AM_PATH_SQLITE3
fi
dnl ---------- XCB --------------------------------------------------------
if test "${enable_manager}" = yes ; then
PKG_CHECK_MODULES(XCB, xcb)
PKG_CHECK_MODULES(XCBATOM, xcb-atom)
fi
dnl --------------------------------------------------------------------------------
dnl Heres another way to set up host-specific stuff
......@@ -881,6 +887,7 @@ AC_CONFIG_FILES([
apps/Makefile
clientgui/Makefile
clientgui/res/Makefile
clientscr/Makefile
client/Makefile
client/win/boinc_path_config.py:py/boinc_path_config.py.in
client/scripts/Makefile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment