~ubuntu-branches/ubuntu/precise/empathy/precise-proposed-201205180810

« back to all changes in this revision

Viewing changes to .pc/20_libindicate.patch/src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Brian Curtis, Brian Curtis, Ken VanDine
  • Date: 2011-06-01 10:35:24 UTC
  • mfrom: (1.1.70 upstream) (6.3.44 experimental)
  • Revision ID: james.westby@ubuntu.com-20110601103524-wx3wgp71394730jt
Tags: 3.1.1-1ubuntu1
[ Brian Curtis ]
* Merge with Debian experimental, remaining Ubuntu changes:
* debian/control:
  - Drop geoclue/mapping build-depends (they are in Universe)
  - Add Vcz-Bzr link
  - Add Suggests on telepathy-idle
  - Bump telepathy-butterfly, telepathy-haze to recommends
  - Don't recommend the freedesktop sound theme we have an ubuntu one
  - Add build depend for libunity-dev
* debian/rules:
  - Use autoreconf.mk
  - Disable map and location
* debian/empathy.install:
  - Install message indicator configuration
* debian/indicators/empathy:
  - Message indicator configuration
* debian/patches/01_lpi.patch:
  - Add Launchpad integration
* debian/patches/10_use_notify_osd_icons.patch:
  - Use the notify-osd image for new messages
* debian/patches/34_start_raised_execpt_in_session.patch
  - If not started with the session, we should always raise
* debian/patches/36_chat_window_default_size.patch:
  - Make the default chat window size larger
* debian/patches/37_facebook_default.patch:
  - Make facebook the default chat account type
* debian/patches/38_lp_569289.patch
  - Set freenode as default IRC network for new IRC accounts 
* debian/patches/41_unity_launcher_progress.patch
  - Display file transfer progress in the unity launcher

[ Ken VanDine ]
* debian/control
  - build depend on libgcr-3-dev instead of libgcr-dev
  - dropped build depends for libindicate, we will use telepathy-indicator
  - Depend on dconf-gsettings-backend | gsettings-backend
  - Added a Recommends for telepathy-indicator
* +debian/empathy.gsettings-override
  - Added an override for notifications-focus
* debian/patches/series
  - commented out 23_idomessagedialog_for_voip_and_ft.patch, until ido has 
    been ported to gtk3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
include $(top_srcdir)/tools/flymake.mk
2
 
 
3
 
CPPFLAGS_COMMON =                                       \
4
 
        $(YELL_CFLAGS)                                  \
5
 
        $(EMPATHY_CFLAGS)                               \
6
 
        $(EDS_CFLAGS)                                   \
7
 
        $(GTK_CFLAGS)                                   \
8
 
        $(ERROR_CFLAGS)                                 \
9
 
        -I$(top_srcdir)                                 \
10
 
        -DG_LOG_DOMAIN=\"empathy\"                      \
11
 
        -DBIN_DIR=\"$(bindir)\"                         \
12
 
        $(DISABLE_DEPRECATED)                           \
13
 
        $(WARN_CFLAGS)                                  \
14
 
        $(NULL)
15
 
 
16
 
AM_LDFLAGS = -lm
17
 
AM_CPPFLAGS =                                           \
18
 
        $(CPPFLAGS_COMMON)                              \
19
 
        $(LIBNOTIFY_CFLAGS)                             \
20
 
        $(UNIQUE_CFLAGS) \
21
 
        $(LIBCHAMPLAIN_CFLAGS)                          \
22
 
        $(WEBKIT_CFLAGS)                                \
23
 
        $(NULL)
24
 
 
25
 
LDADD =                                                         \
26
 
        $(top_builddir)/libempathy-gtk/libempathy-gtk.la        \
27
 
        $(top_builddir)/libempathy/libempathy.la                \
28
 
        $(top_builddir)/extensions/libemp-extensions.la         \
29
 
        $(LIBNOTIFY_LIBS)                                       \
30
 
        $(UNIQUE_LIBS)                                          \
31
 
        $(EMPATHY_LIBS)                                         \
32
 
        $(GTK_LIBS)                                             \
33
 
        $(YELL_LIBS)                                            \
34
 
        $(LIBCHAMPLAIN_LIBS)                                    \
35
 
        $(WEBKIT_LIBS)
36
 
 
37
 
noinst_LTLIBRARIES = libempathy-accounts-common.la
38
 
 
39
 
libempathy_accounts_common_la_SOURCES =                                 \
40
 
        empathy-accounts-common.c empathy-accounts-common.h             \
41
 
        empathy-account-assistant.c empathy-account-assistant.h         \
42
 
        empathy-accounts-dialog.c empathy-accounts-dialog.h             \
43
 
        empathy-auto-salut-account-helper.c empathy-auto-salut-account-helper.h \
44
 
        empathy-import-dialog.c empathy-import-dialog.h                 \
45
 
        empathy-import-pidgin.c empathy-import-pidgin.h                 \
46
 
        empathy-import-widget.c empathy-import-widget.h                 \
47
 
        empathy-import-utils.c empathy-import-utils.h                   \
48
 
        $(NULL)
49
 
 
50
 
libempathy_accounts_common_la_LIBADD =                                  \
51
 
        $(top_builddir)/libempathy-gtk/libempathy-gtk.la                \
52
 
        $(EDS_LIBS)                                                     \
53
 
        $(LIBNOTIFY_LIBS)                                               \
54
 
        $(UNIQUE_LIBS) \
55
 
        $(EMPATHY_LIBS)                                                 \
56
 
        $(LIBCHAMPLAIN_LIBS)                                            \
57
 
        $(WEBKIT_LIBS)                                                  \
58
 
        $(NULL)
59
 
 
60
 
if HAVE_CONTROL_CENTER_EMBEDDING
61
 
ccmodulesdir = $(CONTROL_CENTER_EXTENSIONDIR)
62
 
ccmodules_LTLIBRARIES = libempathy-accounts-panel.la
63
 
 
64
 
libempathy_accounts_panel_la_SOURCES =                          \
65
 
        empathy-accounts-module.c                               \
66
 
        cc-empathy-accounts-panel.c                             \
67
 
        cc-empathy-accounts-panel.h                             \
68
 
        $(NULL)
69
 
 
70
 
libempathy_accounts_panel_la_CPPFLAGS =                         \
71
 
        $(CPPFLAGS_COMMON)                                      \
72
 
        $(CONTROL_CENTER_EMBEDDING_CFLAGS)                      \
73
 
        -DLOCALEDIR=\""$(datadir)/locale"\"                     \
74
 
        $(NULL)
75
 
 
76
 
libempathy_accounts_panel_la_LDFLAGS = -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload)'
77
 
 
78
 
libempathy_accounts_panel_la_LIBADD =                           \
79
 
        $(EMPATHY_LIBS)                                         \
80
 
        $(CONTROL_CENTER_EMBEDDING_LIBS)                        \
81
 
        libempathy-accounts-common.la                           \
82
 
        $(NULL)
83
 
endif
84
 
 
85
 
bin_PROGRAMS =                  \
86
 
        empathy                 \
87
 
        empathy-accounts        \
88
 
        empathy-debugger        \
89
 
        $(NULL)
90
 
 
91
 
libexec_PROGRAMS = \
92
 
        empathy-auth-client \
93
 
        empathy-av
94
 
 
95
 
BUILT_SOURCES = \
96
 
        src-marshal.h \
97
 
        src-marshal.c \
98
 
        src-marshal.list
99
 
 
100
 
empathy_accounts_SOURCES =                                              \
101
 
        empathy-accounts.c empathy-accounts.h                           \
102
 
        $(NULL)
103
 
 
104
 
empathy_accounts_LDADD =                                                \
105
 
        $(LDADD)                                                        \
106
 
        libempathy-accounts-common.la                                   \
107
 
        $(NULL)
108
 
 
109
 
empathy_debugger_SOURCES =                                              \
110
 
        empathy-debug-window.c empathy-debug-window.h                   \
111
 
        empathy-debugger.c                                              \
112
 
        $(NULL)
113
 
 
114
 
empathy_av_SOURCES = \
115
 
        empathy-av.c \
116
 
        empathy-audio-sink.c \
117
 
        empathy-audio-sink.h \
118
 
        empathy-audio-src.c \
119
 
        empathy-audio-src.h \
120
 
        empathy-streamed-media-factory.c \
121
 
        empathy-streamed-media-factory.h \
122
 
        empathy-streamed-media-handler.c \
123
 
        empathy-streamed-media-handler.h \
124
 
        empathy-streamed-media-window-fullscreen.c \
125
 
        empathy-streamed-media-window-fullscreen.h \
126
 
        empathy-streamed-media-window.c \
127
 
        empathy-streamed-media-window.h \
128
 
        empathy-sidebar.c \
129
 
        empathy-sidebar.h \
130
 
        empathy-video-src.c \
131
 
        empathy-video-src.h \
132
 
        empathy-video-widget.c \
133
 
        empathy-video-widget.h
134
 
 
135
 
nodist_empathy_av_SOURCES = $(BUILT_SOURCES)
136
 
 
137
 
empathy_av_CFLAGS = $(EMPATHY_AV_CFLAGS)
138
 
empathy_av_LDFLAGS = $(EMPATHY_AV_LIBS)
139
 
 
140
 
empathy_auth_client_SOURCES =                                           \
141
 
        empathy-auth-client.c
142
 
 
143
 
if HAVE_CALL
144
 
 
145
 
libexec_PROGRAMS += empathy-call
146
 
 
147
 
empathy_call_SOURCES = \
148
 
       empathy-call.c \
149
 
       empathy-call-factory.c \
150
 
       empathy-call-factory.h \
151
 
       empathy-call-handler.c \
152
 
       empathy-call-handler.h \
153
 
       empathy-call-window.c \
154
 
       empathy-call-window.h \
155
 
       empathy-call-window-fullscreen.c \
156
 
       empathy-call-window-fullscreen.h \
157
 
       empathy-audio-sink.c \
158
 
       empathy-audio-sink.h \
159
 
       empathy-audio-src.c \
160
 
       empathy-audio-src.h \
161
 
       empathy-video-src.c \
162
 
       empathy-video-src.h \
163
 
       empathy-video-widget.c \
164
 
       empathy-video-widget.h \
165
 
       empathy-sidebar.c \
166
 
       empathy-sidebar.h
167
 
 
168
 
nodist_empathy_call_SOURCES = $(BUILT_SOURCES)
169
 
 
170
 
empathy_call_CFLAGS = $(EMPATHY_CALL_CFLAGS)
171
 
empathy_call_LDFLAGS = $(EMPATHY_CALL_LIBS)
172
 
 
173
 
endif
174
 
 
175
 
empathy_handwritten_source = \
176
 
        empathy-about-dialog.c empathy-about-dialog.h                   \
177
 
        empathy-chat-window.c empathy-chat-window.h                     \
178
 
        empathy-chatrooms-window.c empathy-chatrooms-window.h           \
179
 
        empathy-event-manager.c empathy-event-manager.h                 \
180
 
        empathy-ft-manager.c empathy-ft-manager.h                       \
181
 
        empathy-invite-participant-dialog.c empathy-invite-participant-dialog.h \
182
 
        empathy-main-window.c empathy-main-window.h                     \
183
 
        empathy-migrate-butterfly-logs.c empathy-migrate-butterfly-logs.h \
184
 
        empathy-new-chatroom-dialog.c empathy-new-chatroom-dialog.h     \
185
 
        empathy-call-observer.c empathy-call-observer.h                 \
186
 
        empathy-preferences.c empathy-preferences.h                     \
187
 
        empathy-status-icon.c empathy-status-icon.h                     \
188
 
        empathy-chat-manager.c empathy-chat-manager.h                   \
189
 
        empathy.c
190
 
 
191
 
empathy_SOURCES =                                                       \
192
 
        $(empathy_handwritten_source)                                   \
193
 
        $(NULL)
194
 
 
195
 
empathy_LDADD =                                                         \
196
 
        libempathy-accounts-common.la                                   \
197
 
        $(top_builddir)/libempathy-gtk/libempathy-gtk.la                \
198
 
        $(top_builddir)/libempathy/libempathy.la                        \
199
 
        $(top_builddir)/extensions/libemp-extensions.la                 \
200
 
        $(LIBNOTIFY_LIBS)                                               \
201
 
        $(UNIQUE_LIBS)                                          \
202
 
        $(EMPATHY_LIBS)                                                 \
203
 
        $(LIBCHAMPLAIN_LIBS)                                            \
204
 
        $(WEBKIT_LIBS)                                                  \
205
 
        $(NULL)
206
 
 
207
 
nodist_empathy_SOURCES = $(BUILT_SOURCES)
208
 
 
209
 
check_c_sources = \
210
 
    $(empathy_handwritten_source) \
211
 
    $(empathy_logs_SOURCES) \
212
 
    $(empathy_av_SOURCES)
213
 
 
214
 
include $(top_srcdir)/tools/check-coding-style.mk
215
 
check-local: check-coding-style
216
 
 
217
 
uidir = $(datadir)/empathy
218
 
ui_DATA =                                       \
219
 
        empathy-accounts-dialog.ui              \
220
 
        empathy-call-window-fullscreen.ui       \
221
 
        empathy-call-window.ui                  \
222
 
        empathy-chat-window.ui                  \
223
 
        empathy-chatrooms-window.ui             \
224
 
        empathy-ft-manager.ui                   \
225
 
        empathy-import-dialog.ui                \
226
 
        empathy-main-window.ui                  \
227
 
        empathy-new-chatroom-dialog.ui          \
228
 
        empathy-preferences.ui                  \
229
 
        empathy-status-icon.ui
230
 
 
231
 
EXTRA_DIST =                    \
232
 
        $(autostart_DATA)       \
233
 
        $(ui_DATA)
234
 
 
235
 
if HAVE_LIBCHAMPLAIN
236
 
empathy_handwritten_source +=                           \
237
 
        empathy-map-view.c                      \
238
 
        empathy-map-view.h
239
 
 
240
 
ui_DATA +=                                      \
241
 
        empathy-map-view.ui
242
 
else
243
 
EXTRA_DIST +=                                   \
244
 
        empathy-map-view.c                      \
245
 
        empathy-map-view.h                      \
246
 
        empathy-map-view.ui
247
 
endif
248
 
 
249
 
if !HAVE_CONTROL_CENTER_EMBEDDING
250
 
EXTRA_DIST += $(libempathy_accounts_panel_la_SOURCES)
251
 
else
252
 
check_c_sources += $(libempathy_accounts_panel_la_SOURCES)
253
 
endif
254
 
 
255
 
dist_man_MANS =                 \
256
 
        empathy.1 \
257
 
        empathy-accounts.1
258
 
 
259
 
src-marshal.list: $(empathy_SOURCES) Makefile.am
260
 
        $(AM_V_GEN)( cd $(srcdir) && \
261
 
        sed -n -e 's/.*src_marshal_\([[:upper:][:digit:]]*__[[:upper:][:digit:]_]*\).*/\1/p' \
262
 
        $(empathy_SOURCES) $(empathy_av_SOURCES) ) \
263
 
        | sed -e 's/__/:/' -e 'y/_/,/' | sort -u > $@.tmp
264
 
        @if cmp -s $@.tmp $@; then \
265
 
                rm $@.tmp; \
266
 
        else \
267
 
                mv $@.tmp $@; \
268
 
        fi
269
 
 
270
 
%-marshal.h: %-marshal.list Makefile
271
 
        $(AM_V_GEN)$(GLIB_GENMARSHAL) --header --prefix=_$(subst -,_,$*)_marshal $< > $*-marshal.h
272
 
 
273
 
%-marshal.c: %-marshal.list Makefile
274
 
        $(AM_V_GEN)echo "#include \"src-marshal.h\"" > $@ && \
275
 
        $(GLIB_GENMARSHAL) --body --prefix=_$(subst -,_,$*)_marshal $< >> $*-marshal.c
276
 
 
277
 
# rules for making the glib enum objects
278
 
%-enumtypes.h: %.h Makefile.in
279
 
        $(AM_V_GEN)glib-mkenums \
280
 
        --fhead "#ifndef __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__\n#define __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
281
 
        --fprod "/* enumerations from \"@filename@\" */\n" \
282
 
        --vhead "GType @enum_name@_get_type (void);\n#define $(shell echo $* | tr [:lower:]- [:upper:]_ | sed 's/_.*//')_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n"         \
283
 
        --ftail "G_END_DECLS\n\n#endif /* __$(shell echo $* | tr [:lower:]- [:upper:]_)_ENUM_TYPES_H__ */" \
284
 
        $< > $@
285
 
 
286
 
%-enumtypes.c: %.h Makefile.in
287
 
        $(AM_V_GEN)glib-mkenums \
288
 
        --fhead "#include <$*.h>\n#include <$*-enumtypes.h>" \
289
 
        --fprod "\n/* enumerations from \"@filename@\" */" \
290
 
        --vhead "GType\n@enum_name@_get_type (void)\n{\n  static GType etype = 0;\n  if (etype == 0) {\n    static const G@Type@Value values[] = {"     \
291
 
        --vprod "      { @VALUENAME@, \"@VALUENAME@\", \"@VALUENAME@\" }," \
292
 
        --vtail "      { 0, NULL, NULL }\n    };\n    etype = g_@type@_register_static (\"@EnumName@\", values);\n  }\n  return etype;\n}\n" \
293
 
        $< > $@
294
 
 
295
 
CLEANFILES = $(BUILT_SOURCES)
296