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

« back to all changes in this revision

Viewing changes to keyboard-indicator/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(cd-keyboard-indicator_LIB_SRCS
 
5
        applet-init.c
 
6
        applet-init.h
 
7
        applet-config.c
 
8
        applet-config.h
 
9
        applet-notifications.c
 
10
        applet-notifications.h
 
11
        applet-xklavier.c
 
12
        applet-xklavier.h
 
13
        applet-draw.c
 
14
        applet-draw.h
 
15
        applet-struct.h
 
16
)
 
17
 
 
18
add_library(${PACKAGE_KEYBOARD_INDICATOR} SHARED ${cd-keyboard-indicator_LIB_SRCS})
 
19
 
 
20
########### compil ###############
 
21
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${keyboard_indicatordatadir}")
 
22
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
 
23
add_definitions (-DMY_APPLET_CONF_FILE="keyboard-indicator.conf")
 
24
add_definitions (-DMY_APPLET_USER_DATA_DIR="keyboard-indicator")
 
25
add_definitions (-DMY_APPLET_VERSION="${VERSION_KEYBOARD_INDICATOR}")
 
26
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_KEYBOARD_INDICATOR}")
 
27
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
28
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
 
29
add_definitions (-DGL_GLEXT_PROTOTYPES="1")
 
30
 
 
31
include_directories (
 
32
        ${PACKAGE_INCLUDE_DIRS}
 
33
        ${KEYBOARD_INDICATOR_PACKAGE_INCLUDE_DIRS})
 
34
 
 
35
link_directories (
 
36
        ${PACKAGE_LIBRARY_DIRS}
 
37
        ${KEYBOARD_INDICATOR_PACKAGE_LIBRARY_DIRS})
 
38
 
 
39
target_link_libraries (${PACKAGE_KEYBOARD_INDICATOR}
 
40
        ${PACKAGE_LIBRARIES}
 
41
        ${KEYBOARD_INDICATOR_PACKAGE_LIBRARIES})
 
42
 
 
43
########### install files ###############
 
44
 
 
45
install(TARGETS ${PACKAGE_KEYBOARD_INDICATOR} DESTINATION ${pluginsdir})
 
46
 
 
47
 
 
48
#original Makefile.am contents follow:
 
49
 
 
50
# #dnl Process this file with automake to produce Makefile.in
 
51
#
 
52
#lib_LTLIBRARIES = 
 
53
#       libcd-keyboard-indicator.la
 
54
#
 
55
#
 
56
#libcd_keyboard_indicator_la_SOURCES = 
 
57
#       applet-init.c
 
58
#       applet-init.h
 
59
#       applet-config.c
 
60
#       applet-config.h
 
61
#       applet-notifications.c
 
62
#       applet-notifications.h
 
63
#       applet-xklavier.c
 
64
#       applet-xklavier.h
 
65
#       applet-draw.c
 
66
#       applet-draw.h
 
67
#       applet-struct.h
 
68
#
 
69
#
 
70
#dock_version = `pkg-config --modversion cairo-dock`
 
71
#
 
72
#libcd_keyboard_indicator_la_CFLAGS = 
 
73
#       -I$(top_srcdir)/src
 
74
#       $(PACKAGE_CFLAGS)
 
75
#       $(KEYBOARD_INDICATOR_PACKAGE_CFLAGS)
 
76
#       -DMY_APPLET_SHARE_DATA_DIR=""${keyboard_indicatordatadir)""
 
77
#       -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
 
78
#       -DMY_APPLET_CONF_FILE=""keyboard-indicator.conf""
 
79
#       -DMY_APPLET_USER_DATA_DIR=""keyboard-indicator""
 
80
#       -DMY_APPLET_VERSION=""${VERSION_KEYBOARD_INDICATOR)""
 
81
#       -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_KEYBOARD_INDICATOR)""
 
82
#       -DMY_APPLET_DOCK_VERSION=""${dock_version)""
 
83
#       -DMY_APPLET_ICON_FILE=""icon.png""
 
84
#       -DGL_GLEXT_PROTOTYPES=""1""
 
85
#       -std=c99
 
86
#       -Werror-implicit-function-declaration
 
87
##      -g -ggdb -W -Wall
 
88
#
 
89
#
 
90
#libcd_keyboard_indicator_la_LIBADD = 
 
91
#       $(PACKAGE_LIBS) -lm
 
92
#       $(KEYBOARD_INDICATOR_PACKAGE_LIBS)
 
93
#
 
94
#
 
95
#libcd_keyboard_indicator_la_LDFLAGS =
 
96
#       -avoid-version -module