~ubuntu-branches/ubuntu/saucy/cairo-dock-plug-ins/saucy

« back to all changes in this revision

Viewing changes to Composite-Manager/src/CMakeLists.txt

  • Committer: Matthieu Baerts
  • Date: 2011-08-09 19:51:45 UTC
  • mfrom: (1.1.12 upstream)
  • mto: This revision was merged to the branch mainline in revision 21.
  • Revision ID: matttbe@gmail.com-20110809195145-6t55jtykipujuyn5
* New upstream release. (LP: #823514)
* Upstream (short) ChangeLog:
 - The Power-Manager applet has been rewritten to work on any plateform.
 - Compiz-icon applet has been replaced by Composite-Manager.
 - Improved integration in the XFCE, LXDE and GNOME3 desktop.
 - Logout is now working even if there is no/an unknow session manager.
 - Several new DBus methods lets you interact on the dock more easily.
 - Added the possibility to shutdown/logout with GMenu.
 - Improved Status-Notifier and added its own watcher.
 - Added a new applet: Impulse (still need testing).
 - Fixed a few bugs as usual.
* debian/patches:
 - Removed all patches (they was already unapplied).
* debian/copyright:
 - Updated with new files/directory.
* debian/cairo-dock-plug-ins.install:
 - Added status-notifier-watcher used by Status-Notifier applet.
* debian/control:
 - Updated the version of cairo-dock-[core;data;dev].
 - Bump Standard-Version to 3.9.2.
 - Added fftw3, pulse (Impulse) and upower-glib (Logout)
    as new dependences for the build process.
 - Added indicator-[me;messages] as new recommendations
    for cairo-dock-plug-ins (needed for [Me;Messaging]Menu applets).
 - Removed gawk from the build dependences list (no longer needed).
* cairo-dock-plug-ins package needs to be recompiled (LP: #811579)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
########### sources ###############
 
3
 
 
4
SET(MODULE_SRCS
 
5
        applet-struct.h
 
6
        applet-init.c                           applet-init.h
 
7
        applet-config.c                         applet-config.h
 
8
        applet-composite-manager.c      applet-composite-manager.h
 
9
        applet-notifications.c          applet-notifications.h
 
10
)
 
11
 
 
12
add_library(${PACKAGE_COMPOSITE_MANAGER} SHARED ${MODULE_SRCS})
 
13
 
 
14
########### compil ###############
 
15
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${composite_managerdatadir}")
 
16
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
 
17
add_definitions (-DMY_APPLET_CONF_FILE="Composite-Manager.conf")
 
18
add_definitions (-DMY_APPLET_USER_DATA_DIR="Composite-Manager")
 
19
add_definitions (-DMY_APPLET_VERSION="${VERSION_COMPOSITE_MANAGER}")
 
20
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_COMPOSITE_MANAGER}")
 
21
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
22
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
 
23
### uncomment the following line to allow multi-instance applet.
 
24
#add_definitions (-DCD_APPLET_MULTI_INSTANCE="1")
 
25
### uncomment the following line to allow extended OpenGL drawing.
 
26
#add_definitions (-DGL_GLEXT_PROTOTYPES="1")
 
27
 
 
28
include_directories (
 
29
        ${PACKAGE_INCLUDE_DIRS})
 
30
 
 
31
link_directories (
 
32
        ${PACKAGE_LIBRARY_DIRS})
 
33
 
 
34
target_link_libraries (${PACKAGE_COMPOSITE_MANAGER}
 
35
        ${PACKAGE_LIBRARIES})
 
36
 
 
37
########### install files ###############
 
38
 
 
39
install(TARGETS ${PACKAGE_COMPOSITE_MANAGER} DESTINATION ${pluginsdir})