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

« back to all changes in this revision

Viewing changes to GMenu-old/src/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Matthieu Baerts (matttbe)
  • Date: 2013-03-26 00:17:44 UTC
  • mfrom: (36.1.3 cairo-dock-plug-ins)
  • Revision ID: package-import@ubuntu.com-20130326001744-10z2kb7sa66c6c6q
Tags: 3.2.0-0ubuntu1
* New upstream release.
* Upstream ChangeLog:
  - Clock: iCal: don't add a new task if the uid is NULL
  - DBus interfaces: install python interfaces for both python2 and 3
  - Dock rendering: fixed the drawing of the 3D and Curve views when the
    alignment  is not centered
  - Fixed a few compilation errors and warning for FreeBSD
  - GMenu: init: load all menus and submenus in a separated thread and
    not in the mainloop to avoid tiny freezes at startup
  - GMenu: split the applet in two directories: one if libgnome-menu-3 is
    available and another one (GMenu-old) if libgnome-menu is available.
  - GMenu: if the user wants to show the menu before it's loaded, set a
    pending event
  - gvfs integration: hidden files were not correctly handled
  - po: Imported translations from Launchpad
  - Shortcuts: Disk usage: some sentenses was not translatable
  - Shortcuts: for a bookmark that points to a volume mount it before
  - Shortcuts: if the user wants to show the menu before it's loaded, set
    a pending event
  - ShowDesktop: Gnome-Shell workaround: add a small delay before
    triggering the desktop Exposé or Gnome-Shell will not respond
  - Sound-control: ignore alsa callbacks that are not 'value changed'
  - Status-Notifier: don't reset the icon if not in compact mode
* debian/control:
  - Used the newer version of libgnome-menu (libgnome-menu-3-dev)
  - Bumped Cairo-Dock versions
  - Build-Depends: Added python3 in order to install both python 2 and 3
    interfaces

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
########### sources ###############
 
3
 
 
4
SET(cd-GMenu_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-menu-callbacks.c
 
12
        applet-menu-callbacks.h
 
13
        applet-menu.c
 
14
        applet-menu.h
 
15
        applet-util.c
 
16
        applet-util.h
 
17
        applet-recent.c
 
18
        applet-recent.h
 
19
        applet-run-dialog.c
 
20
        applet-run-dialog.h
 
21
        applet-struct.h
 
22
)
 
23
 
 
24
add_library(${PACKAGE_GMENU} SHARED ${cd-GMenu_LIB_SRCS})
 
25
 
 
26
########### compil ###############
 
27
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${gmenudatadir}")
 
28
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
 
29
add_definitions (-DMY_APPLET_CONF_FILE="GMenu.conf")
 
30
add_definitions (-DMY_APPLET_USER_DATA_DIR="GMenu")
 
31
add_definitions (-DMY_APPLET_VERSION="${VERSION_GMENU}")
 
32
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_GMENU}")
 
33
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
34
add_definitions (-DMY_APPLET_ICON_FILE="icon.svg")
 
35
add_definitions (-DMY_APPLET_ICON_FILE="icon.svg")
 
36
if (${LIBGIO_FOUND})
 
37
        add_definitions (-DHAVE_GIO=1)
 
38
endif()
 
39
 
 
40
include_directories (
 
41
        ${PACKAGE_INCLUDE_DIRS}
 
42
        ${GMENU_PACKAGE_INCLUDE_DIRS}
 
43
        ${LIBGIO_PACKAGE_INCLUDE_DIRS})
 
44
 
 
45
link_directories (
 
46
        ${PACKAGE_LIBRARY_DIRS}
 
47
        ${GMENU_PACKAGE_LIBRARY_DIRS}
 
48
        ${LIBGIO_PACKAGE_LIBRARY_DIRS})
 
49
 
 
50
target_link_libraries (${PACKAGE_GMENU}
 
51
        ${PACKAGE_LIBRARIES}
 
52
        ${GMENU_PACKAGE_LIBRARIES}
 
53
        ${LIBGIO_PACKAGE_LIBRARIES})
 
54
 
 
55
########### install files ###############
 
56
 
 
57
install(TARGETS ${PACKAGE_GMENU} DESTINATION ${pluginsdir})
 
58
 
 
59
 
 
60
 
 
61
#original Makefile.am contents follow:
 
62
 
 
63
# #dnl Process this file with automake to produce Makefile.in
 
64
#
 
65
#lib_LTLIBRARIES = 
 
66
#       libcd-GMenu.la
 
67
#
 
68
#
 
69
#if WITH_GIO_IN_GMENU
 
70
#have_gio=-DHAVE_GIO="1"
 
71
#endif
 
72
#
 
73
#libcd_GMenu_la_SOURCES = 
 
74
#       applet-init.c
 
75
#       applet-init.h
 
76
#       applet-config.c
 
77
#       applet-config.h
 
78
#       applet-notifications.c
 
79
#       applet-notifications.h
 
80
#       applet-menu-callbacks.c
 
81
#       applet-menu-callbacks.h
 
82
#       applet-menu.c
 
83
#       applet-menu.h
 
84
#       applet-util.c
 
85
#       applet-util.h
 
86
#       applet-recent.c
 
87
#       applet-recent.h
 
88
#       applet-run-dialog.c
 
89
#       applet-run-dialog.h
 
90
#       applet-struct.h
 
91
#
 
92
#
 
93
#dock_version = `pkg-config --modversion cairo-dock`
 
94
#
 
95
#libcd_GMenu_la_CFLAGS = 
 
96
#       -I$(top_srcdir)/src
 
97
#       $(PACKAGE_CFLAGS)
 
98
#       $(GMENU_PACKAGE_CFLAGS)
 
99
#       $(GMENU_GIO_CFLAGS) 
 
100
#       $(have_gio)
 
101
#       -DMY_APPLET_SHARE_DATA_DIR=""${gmenudatadir)""
 
102
#       -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
 
103
#       -DMY_APPLET_CONF_FILE=""GMenu.conf""
 
104
#       -DMY_APPLET_USER_DATA_DIR=""GMenu""
 
105
#       -DMY_APPLET_VERSION=""${VERSION_GMENU)""
 
106
#       -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_GMENU)""
 
107
#       -DMY_APPLET_DOCK_VERSION=""${dock_version)""
 
108
#       -DMY_APPLET_ICON_FILE=""icon.svg""
 
109
#       -std=c99
 
110
#       -Werror-implicit-function-declaration
 
111
##      -g -ggdb -W -Wall
 
112
#
 
113
#
 
114
#libcd_GMenu_la_LIBADD = 
 
115
#       $(PACKAGE_LIBS) -lm
 
116
#       $(GMENU_GIO_LIBS)
 
117
#       $(GMENU_PACKAGE_LIBS)
 
118
#
 
119
#
 
120
#libcd_GMenu_la_LDFLAGS =
 
121
#       -avoid-version -module