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

« back to all changes in this revision

Viewing changes to powermanager/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:
3
3
 
4
4
SET(cd-powermanager_LIB_SRCS
5
5
        powermanager-struct.h
6
 
        powermanager-init.c
7
 
        powermanager-init.h
8
 
        powermanager-draw.c
9
 
        powermanager-draw.h
10
 
        powermanager-config.c
11
 
        powermanager-config.h
12
 
        powermanager-dbus.c
13
 
        powermanager-dbus.h
14
 
        powermanager-menu-functions.c
15
 
        powermanager-menu-functions.h
 
6
        powermanager-init.c             powermanager-init.h
 
7
        powermanager-draw.c             powermanager-draw.h
 
8
        powermanager-config.c           powermanager-config.h
 
9
        powermanager-common.c           powermanager-common.h
 
10
        powermanager-upower.c           powermanager-upower.h
 
11
        powermanager-proc-acpi.c        powermanager-proc-acpi.h
 
12
        powermanager-sys-class.c        powermanager-sys-class.h
 
13
        powermanager-menu-functions.c   powermanager-menu-functions.h
16
14
)
17
15
 
18
16
add_library(${PACKAGE_POWERMANAGER} SHARED ${cd-powermanager_LIB_SRCS})
26
24
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_POWERMANAGER}")
27
25
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
28
26
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
 
27
if (${UPOWER_FOUND})
 
28
        add_definitions (-DCD_UPOWER_AVAILABLE="1")
 
29
endif()
29
30
 
30
31
include_directories (
 
32
        ${UPOWER_INCLUDE_DIRS}
31
33
        ${PACKAGE_INCLUDE_DIRS})
32
34
 
33
35
link_directories (
 
36
        ${UPOWER_LIBRARY_DIRS}
34
37
        ${PACKAGE_LIBRARY_DIRS})
35
38
 
36
39
target_link_libraries (${PACKAGE_POWERMANAGER}
 
40
        ${UPOWER_LIBRARIES}
37
41
        ${PACKAGE_LIBRARIES})
38
42
 
39
43
########### install files ###############
40
44
 
41
45
install(TARGETS ${PACKAGE_POWERMANAGER} DESTINATION ${pluginsdir})
42
 
 
43
 
 
44
 
#original Makefile.am contents follow:
45
 
 
46
 
# #dnl Process this file with automake to produce Makefile.in
47
 
#
48
 
#lib_LTLIBRARIES = 
49
 
#       libcd-powermanager.la
50
 
#
51
 
#
52
 
#libcd_powermanager_la_SOURCES = 
53
 
#       powermanager-struct.h
54
 
#       powermanager-init.c
55
 
#       powermanager-init.h
56
 
#       powermanager-draw.c
57
 
#       powermanager-draw.h
58
 
#       powermanager-config.c
59
 
#       powermanager-config.h
60
 
#       powermanager-dbus.c
61
 
#       powermanager-dbus.h
62
 
#       powermanager-menu-functions.c
63
 
#       powermanager-menu-functions.h
64
 
#
65
 
#dock_version = `pkg-config --modversion cairo-dock`
66
 
#
67
 
#libcd_powermanager_la_CFLAGS = 
68
 
#       -I$(top_srcdir)/src
69
 
#       $(PACKAGE_CFLAGS)
70
 
#       -DMY_APPLET_SHARE_DATA_DIR=""${powermanagerdatadir)""
71
 
#       -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
72
 
#       -DMY_APPLET_CONF_FILE=""powermanager.conf""
73
 
#       -DMY_APPLET_USER_DATA_DIR=""powermanager""
74
 
#       -DMY_APPLET_VERSION=""${VERSION_POWERMANAGER)""
75
 
#       -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_POWERMANAGER)""
76
 
#       -DMY_APPLET_DOCK_VERSION=""${dock_version)""
77
 
#       -DMY_APPLET_ICON_FILE=""icon.png""
78
 
#       -std=c99
79
 
#       -Werror-implicit-function-declaration
80
 
##      -g -ggdb -W -Wall
81
 
#
82
 
#libcd_powermanager_la_LIBADD = 
83
 
#       $(PACKAGE_LIBS) -lm
84
 
#
85
 
#
86
 
#libcd_powermanager_la_LDFLAGS =
87
 
#       -avoid-version -module