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

« back to all changes in this revision

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