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

« back to all changes in this revision

Viewing changes to compiz-icon/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-compiz-icon_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-load-icon.c
 
12
        applet-load-icon.h
 
13
        applet-compiz.c
 
14
        applet-compiz.h
 
15
        applet-struct.h
 
16
)
 
17
 
 
18
add_library(${PACKAGE_COMPIZ_ICON} SHARED ${cd-compiz-icon_LIB_SRCS})
 
19
 
 
20
########### compil ###############
 
21
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${compiz_icondatadir}")
 
22
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
 
23
add_definitions (-DMY_APPLET_CONF_FILE="compiz-icon.conf")
 
24
add_definitions (-DMY_APPLET_USER_DATA_DIR="compiz-icon")
 
25
add_definitions (-DMY_APPLET_VERSION="${VERSION_COMPIZ_ICON}")
 
26
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_COMPIZ_ICON}")
 
27
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
28
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
 
29
 
 
30
include_directories (
 
31
        ${PACKAGE_INCLUDE_DIRS})
 
32
 
 
33
link_directories (
 
34
        ${PACKAGE_LIBRARY_DIRS})
 
35
 
 
36
target_link_libraries (${PACKAGE_COMPIZ_ICON}
 
37
        ${PACKAGE_LIBRARIES})
 
38
 
 
39
########### install files ###############
 
40
 
 
41
install(TARGETS ${PACKAGE_COMPIZ_ICON} 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-compiz-icon.la
 
50
#
 
51
#
 
52
#libcd_compiz_icon_la_SOURCES = 
 
53
#       applet-init.c
 
54
#       applet-init.h
 
55
#       applet-config.c
 
56
#       applet-config.h
 
57
#       applet-notifications.c
 
58
#       applet-notifications.h
 
59
#       applet-load-icon.c
 
60
#       applet-load-icon.h
 
61
#       applet-compiz.c
 
62
#       applet-compiz.h
 
63
#       applet-struct.h
 
64
#
 
65
#
 
66
#dock_version = `pkg-config --modversion cairo-dock`
 
67
#
 
68
#libcd_compiz_icon_la_CFLAGS = 
 
69
#       -I$(top_srcdir)/src
 
70
#       $(PACKAGE_CFLAGS)
 
71
#       -DMY_APPLET_SHARE_DATA_DIR=""${compiz_icondatadir)""
 
72
#       -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
 
73
#       -DMY_APPLET_CONF_FILE=""compiz-icon.conf""
 
74
#       -DMY_APPLET_USER_DATA_DIR=""compiz-icon""
 
75
#       -DMY_APPLET_VERSION=""${VERSION_COMPIZ_ICON)""
 
76
#       -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_COMPIZ_ICON)""
 
77
#       -DMY_APPLET_DOCK_VERSION=""${dock_version)""
 
78
#       -DMY_APPLET_ICON_FILE=""icon.png""
 
79
#       -std=c99
 
80
#       -Werror-implicit-function-declaration
 
81
##      -g -ggdb -W -Wall
 
82
#
 
83
#
 
84
#libcd_compiz_icon_la_LIBADD = 
 
85
#       $(PACKAGE_LIBS) -lm
 
86
#
 
87
#
 
88
#libcd_compiz_icon_la_LDFLAGS =
 
89
#       -avoid-version -module