~ubuntu-branches/ubuntu/quantal/cairo-dock-plug-ins/quantal-201208191523

« back to all changes in this revision

Viewing changes to Folders/src/CMakeLists.txt

  • Committer: Bazaar Package Importer
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2010-08-10 00:05:57 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20100810000557-pfxoz5w7hbyclcqh
Tags: 2.2.0~0beta4-0ubuntu1
* New Upstream Version (LP: #614625)
* Fixed a few bugs on LP:
 - LP: #483963: Dustbin applet does not display trashes on all volumes
 - LP: #485159: Some apps have problem with Systray
 - LP: #500677: ~/.xsession-errors is too much used by CD
 - LP: #500979: Shortcuts: the order gets messed up
 - LP: #521531: Mail: crashes on Maildir
 - LP: #519915: GTG: create a new applet to control GTG
 - LP: #526138: GMenu doesn't handle desktop file exec strings properly
 - LP: #531317: CMake: Added an error if the prefix of 'cairo-dock-plugins'
                 is not the same 'cairo-dock-core'
 - LP: #531319: CMake: check the version of 'cairo-dock' when building
                 'cairo-dock-plugins'
 - LP: #537115: Click at the position where icon lavel was, the icon
                 and dock still receive the event
 - LP: #537943: Terminal applet shortkey behaviour
 - LP: #538637: Trash applet doesn't create .trashinfo files on XFCE
 - More details on the 'ChangeLog' file
* debian/rules:
 - Autotools has been replaced by CMake
 - cdbs is now used.
* debian/copyright:
 - Updated with the new applets
* debian/control:
 - Autotools has been replaced by CMake
 - Added libcurl4-gnutls-dev, libindicator-dev, libdbusmenu-glib-dev
   libido-0.1-dev, libical-dev, libdbusmenu-gtk-dev as Build-deps
 - Bump Standard-Version to 3.9.1
 - Wget is required for dnd2share applet
 - Added the exact realease for 'cairo-dock-dev' in order to prevent any
    build error if this package is not already available (thx to didrocks)
* debian/cairo-dock-plug-ins*.install:
 - All sonames are now installed into lib32 or lib64 (lib*)

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-load-icons.c             applet-load-icons.h
 
9
        applet-notifications.c          applet-notifications.h
 
10
)
 
11
 
 
12
add_library(${PACKAGE_FOLDERS} SHARED ${MODULE_SRCS})
 
13
 
 
14
########### compil ###############
 
15
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${foldersdatadir}")
 
16
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
 
17
add_definitions (-DMY_APPLET_CONF_FILE="Folders.conf")
 
18
add_definitions (-DMY_APPLET_USER_DATA_DIR="Folders")
 
19
add_definitions (-DMY_APPLET_VERSION="${VERSION_FOLDERS}")
 
20
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_FOLDERS}")
 
21
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
22
add_definitions (-DMY_APPLET_ICON_FILE="icon.svg")
 
23
add_definitions (-DCD_APPLET_MULTI_INSTANCE="1")
 
24
### uncomment the following line to allow extended OpenGL drawing.
 
25
#add_definitions (-DGL_GLEXT_PROTOTYPES="1")
 
26
 
 
27
include_directories (
 
28
        ${PACKAGE_INCLUDE_DIRS})
 
29
 
 
30
link_directories (
 
31
        ${PACKAGE_LIBRARY_DIRS})
 
32
 
 
33
target_link_libraries (${PACKAGE_FOLDERS}
 
34
        ${PACKAGE_LIBRARIES})
 
35
 
 
36
########### install files ###############
 
37
 
 
38
install(TARGETS ${PACKAGE_FOLDERS} DESTINATION ${pluginsdir})