~ubuntu-branches/ubuntu/oneiric/cairo-dock-plug-ins/oneiric-updates

« back to all changes in this revision

Viewing changes to Impulse/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-notifications.c          applet-notifications.h
 
9
        Impulse.c                       Impulse.h
 
10
        applet-impulse.c                applet-impulse.h
 
11
)
 
12
 
 
13
add_library(${PACKAGE_IMPULSE} SHARED ${MODULE_SRCS})
 
14
 
 
15
########### compil ###############
 
16
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${impulsedatadir}")
 
17
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
 
18
add_definitions (-DMY_APPLET_CONF_FILE="Impulse.conf")
 
19
add_definitions (-DMY_APPLET_USER_DATA_DIR="Impulse")
 
20
add_definitions (-DMY_APPLET_VERSION="${VERSION_IMPULSE}")
 
21
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_IMPULSE}")
 
22
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
23
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
 
24
### uncomment the following line to allow multi-instance applet.
 
25
#add_definitions (-DCD_APPLET_MULTI_INSTANCE="1")
 
26
### uncomment the following line to allow extended OpenGL drawing.
 
27
#add_definitions (-DGL_GLEXT_PROTOTYPES="1")
 
28
 
 
29
include_directories (
 
30
        ${PACKAGE_INCLUDE_DIRS}
 
31
        ${IMPULSE_PACKAGES_INCLUDE_DIRS})
 
32
 
 
33
link_directories (
 
34
        ${PACKAGE_LIBRARY_DIRS}
 
35
        ${IMPULSE_PACKAGES_LIBRARY_DIRS})
 
36
 
 
37
target_link_libraries (${PACKAGE_IMPULSE}
 
38
        ${PACKAGE_LIBRARIES}
 
39
        ${IMPULSE_PACKAGES_LIBRARIES})
 
40
 
 
41
########### install files ###############
 
42
 
 
43
install(TARGETS ${PACKAGE_IMPULSE} DESTINATION ${pluginsdir})