~maxolasersquad/ubuntu/precise/epiphany-browser/add_quicklist

« back to all changes in this revision

Viewing changes to .pc/05_libexecdir.patch/src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Artur Rona
  • Date: 2010-10-14 12:45:29 UTC
  • mfrom: (98.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20101014124529-57hi6lecoo68e3sq
Tags: 2.30.6-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Update the search URL:
    + add debian/patches/80_ubuntu_search_url.patch
    + update debian/epiphany-browser-data.gconf-defaults
  - Set branding to Ubuntu.
  - debian/patches/81_ubuntu_force_update_bookmarks_menu.patch:
    + Update the bookmarks menu every time the internal structure
      is changed (needed for the UNE application menu to work correctly).
  - Support appindicator.
  - debian/control.in:
    + Temporary bump for gir dependencies to ensure we rebuild against
      the correct version.
  - debian/patches/13_clearing_temp.patch:
    + Fix crashing epiphany-browser while clearing temp files.
      This patch can be dropped with new upstream 2.32 release.
* debian/control.in:
  - Bump Build-Depends on network-manager-dev to avoid FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SUBDIRS = bookmarks
 
2
 
 
3
NULL =
 
4
 
 
5
noinst_LTLIBRARIES = libephymain.la
 
6
 
 
7
bin_PROGRAMS = epiphany
 
8
 
 
9
EXTRA_DIST =
 
10
 
 
11
headerdir = $(prefix)/include/epiphany/$(EPIPHANY_MAJOR)/epiphany
 
12
header_DATA = \
 
13
        ephy-type-builtins.h    \
 
14
        $(INST_H_FILES)
 
15
 
 
16
NOINST_H_FILES = \
 
17
        ephy-action-helper.h                    \
 
18
        ephy-activation.h                       \
 
19
        ephy-encoding-dialog.h                  \
 
20
        ephy-encoding-menu.h                    \
 
21
        ephy-find-toolbar.h                     \
 
22
        ephy-fullscreen-popup.h                 \
 
23
        ephy-go-action.h                        \
 
24
        ephy-history-window.h                   \
 
25
        ephy-home-action.h                      \
 
26
        ephy-link-action.h                      \
 
27
        ephy-lockdown.h                         \
 
28
        ephy-location-action.h                  \
 
29
        ephy-navigation-action.h                \
 
30
        ephy-navigation-history-action.h        \
 
31
        ephy-navigation-up-action.h             \
 
32
        ephy-password-info.h                    \
 
33
        ephy-tabs-menu.h                        \
 
34
        ephy-toolbars-model.h                   \
 
35
        ephy-toolbar.h                          \
 
36
        ephy-toolbar-editor.h                   \
 
37
        languages.h                             \
 
38
        pdm-dialog.h                            \
 
39
        popup-commands.h                        \
 
40
        prefs-dialog.h                          \
 
41
        window-commands.h
 
42
 
 
43
INST_H_FILES = \
 
44
        ephy-dbus.h                     \
 
45
        ephy-extension.h                \
 
46
        ephy-extensions-manager.h       \
 
47
        ephy-link.h                     \
 
48
        ephy-notebook.h                 \
 
49
        ephy-session.h                  \
 
50
        ephy-shell.h                    \
 
51
        ephy-statusbar.h                \
 
52
        ephy-window.h                   \
 
53
        epiphany.h                      \
 
54
        $(NULL)
 
55
 
 
56
libephymain_la_SOURCES = \
 
57
        ephy-activation.c                       \
 
58
        ephy-action-helper.c                    \
 
59
        ephy-completion-model.c                 \
 
60
        ephy-completion-model.h                 \
 
61
        ephy-dbus.c                             \
 
62
        ephy-dbus.h                             \
 
63
        ephy-encoding-dialog.c                  \
 
64
        ephy-encoding-menu.c                    \
 
65
        ephy-extension.c                        \
 
66
        ephy-extensions-manager.c               \
 
67
        ephy-find-toolbar.c                     \
 
68
        ephy-fullscreen-popup.c                 \
 
69
        ephy-go-action.c                        \
 
70
        ephy-home-action.c                      \
 
71
        ephy-history-window.c                   \
 
72
        ephy-link.c                             \
 
73
        ephy-link-action.c                      \
 
74
        ephy-location-action.c                  \
 
75
        ephy-lockdown.c                         \
 
76
        ephy-navigation-action.c                \
 
77
        ephy-navigation-history-action.c        \
 
78
        ephy-navigation-up-action.c             \
 
79
        ephy-notebook.c                         \
 
80
        ephy-password-info.c                    \
 
81
        ephy-session.c                          \
 
82
        ephy-shell.c                            \
 
83
        ephy-statusbar.c                        \
 
84
        ephy-tabs-menu.c                        \
 
85
        ephy-toolbars-model.c                   \
 
86
        ephy-toolbar.c                          \
 
87
        ephy-toolbar-editor.c                   \
 
88
        ephy-window.c                           \
 
89
        pdm-dialog.c                            \
 
90
        popup-commands.c                        \
 
91
        prefs-dialog.c                          \
 
92
        window-commands.c                       \
 
93
        $(INST_H_FILES)                         \
 
94
        $(NOINST_H_FILES)                       \
 
95
        $(NULL)
 
96
 
 
97
nodist_libephymain_la_SOURCES = \
 
98
        $(TYPES_SOURCE)
 
99
 
 
100
libephymain_la_CPPFLAGS = \
 
101
        -I$(top_builddir)/lib           \
 
102
        -I$(top_builddir)/lib/egg       \
 
103
        -I$(top_builddir)/embed         \
 
104
        -I$(top_srcdir)/embed           \
 
105
        -I$(top_srcdir)/lib             \
 
106
        -I$(top_srcdir)/lib/egg         \
 
107
        -I$(top_srcdir)/lib/widgets     \
 
108
        -I$(top_srcdir)/src/bookmarks   \
 
109
        -DEXTENSIONS_DIR=\""$(libdir)/epiphany/$(EPIPHANY_API_VERSION)/extensions"\"    \
 
110
        -DLOADER_DIR=\""$(libdir)/epiphany/$(EPIPHANY_MAJOR)/loaders"\"         \
 
111
        -DDATADIR=\""$(pkgdatadir)"\"   \
 
112
        -DGNOMELOCALEDIR=\"$(datadir)/locale\"  \
 
113
        $(AM_CPPFLAGS)
 
114
 
 
115
libephymain_la_CFLAGS = \
 
116
        $(DEPENDENCIES_CFLAGS)  \
 
117
        $(DBUS_CFLAGS)          \
 
118
        $(WEBKIT_CFLAGS)        \
 
119
        $(AM_CFLAGS)
 
120
 
 
121
if ENABLE_NETWORK_MANAGER
 
122
libephymain_la_SOURCES += \
 
123
        ephy-net-monitor.c      \
 
124
        ephy-net-monitor.h
 
125
 
 
126
libephymain_la_CFLAGS += $(NETWORK_MANAGER_CFLAGS)
 
127
endif
 
128
 
 
129
if ENABLE_SEED
 
130
NOINST_H_FILES += \
 
131
        ephy-seed-extension.h \
 
132
        ephy-seed-loader.h \
 
133
        $(NULL)
 
134
 
 
135
libephymain_la_SOURCES += \
 
136
        ephy-seed-loader.c \
 
137
        ephy-seed-extension.c \
 
138
        $(NULL)
 
139
 
 
140
libephymain_la_CFLAGS += $(SEED_CFLAGS)
 
141
endif # ENABLE_SEED
 
142
 
 
143
epiphany_SOURCES = ephy-main.c
 
144
 
 
145
epiphany_CPPFLAGS = \
 
146
        -I$(top_builddir)/lib           \
 
147
        -I$(top_srcdir)/embed           \
 
148
        -I$(top_srcdir)/lib             \
 
149
        -I$(top_srcdir)/lib/egg         \
 
150
        -I$(top_srcdir)/src/bookmarks   \
 
151
        -DDATADIR=\""$(datadir)"\"      \
 
152
        -DGNOMELOCALEDIR=\"$(datadir)/locale\"  \
 
153
        $(INCINTL)                      \
 
154
        $(AM_CPPFLAGS)
 
155
 
 
156
epiphany_CFLAGS = \
 
157
        $(DEPENDENCIES_CFLAGS)  \
 
158
        $(GECKO_CFLAGS) \
 
159
        $(DBUS_CFLAGS)          \
 
160
        $(AM_CFLAGS)
 
161
 
 
162
epiphany_LDFLAGS = -dlopen self
 
163
 
 
164
epiphany_LDADD = \
 
165
        libephymain.la \
 
166
        $(top_builddir)/src/bookmarks/libephybookmarks.la \
 
167
        $(top_builddir)/embed/libephyembed.la \
 
168
        $(top_builddir)/lib/widgets/libephywidgets.la \
 
169
        $(top_builddir)/lib/libephymisc.la \
 
170
        $(top_builddir)/lib/egg/libegg.la \
 
171
        $(DEPENDENCIES_LIBS) \
 
172
        $(DBUS_LIBS) \
 
173
        $(LIBINTL)
 
174
 
 
175
if HAVE_INTROSPECTION
 
176
epiphany_CFLAGS += $(INTROSPECTION_CFLAGS)
 
177
epiphany_LDADD += $(INTROSPECTION_LIBS)
 
178
endif
 
179
 
 
180
if ENABLE_SEED
 
181
epiphany_LDADD += $(SEED_LIBS)
 
182
endif # ENABLE_SEED
 
183
 
 
184
if ENABLE_NSS
 
185
epiphany_LDADD += $(NSS_LIBS)
 
186
endif # ENABLE_NSS
 
187
 
 
188
if ENABLE_NETWORK_MANAGER
 
189
epiphany_LDADD += \
 
190
        $(NETWORK_MANAGER_LIBS)
 
191
endif
 
192
 
 
193
BUILT_SOURCES = \
 
194
        $(TYPES_SOURCE)                 \
 
195
        ephy-dbus-client-bindings.h     \
 
196
        ephy-dbus-server-bindings.h
 
197
 
 
198
 
 
199
TYPES_SOURCE = \
 
200
        ephy-type-builtins.c    \
 
201
        ephy-type-builtins.h
 
202
 
 
203
stamp_files = \
 
204
        stamp-ephy-type-builtins.c      \
 
205
        stamp-ephy-type-builtins.h      \
 
206
        stamp-ephy-dbus-server-bindings.h       \
 
207
        stamp-ephy-dbus-client-bindings.h
 
208
 
 
209
ephy-type-builtins.c: stamp-ephy-type-builtins.c Makefile
 
210
        @true
 
211
stamp-ephy-type-builtins.c: Makefile $(INST_H_FILES) $(NOINST_H_FILES)
 
212
        $(AM_V_GEN) $(GLIB_MKENUMS) \
 
213
                --fhead "#include <config.h>\n\n" \
 
214
                --fhead "#include \"ephy-type-builtins.h\"\n\n" \
 
215
                --fprod "\n/* enumerations from \"@filename@\" */" \
 
216
                --fprod "\n#include \"@filename@\"" \
 
217
                --vhead "GType\n@enum_name@_get_type (void)\n{\n" \
 
218
                --vhead "  static GType type = 0;\n\n" \
 
219
                --vhead "  if (G_UNLIKELY (type == 0))\n  {\n" \
 
220
                --vhead "    static const G@Type@Value _@enum_name@_values[] = {" \
 
221
                --vprod "      { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
 
222
                --vtail "      { 0, NULL, NULL }\n    };\n\n" \
 
223
                --vtail "    type = g_@type@_register_static (\"@EnumName@\", _@enum_name@_values);\n  }\n\n" \
 
224
                --vtail "  return type;\n}\n\n" \
 
225
                $(filter-out $<,$^) > xgen-$(@F) \
 
226
        && ( cmp -s xgen-$(@F) $(@F:stamp-%=%) || cp xgen-$(@F) $(@F:stamp-%=%) ) \
 
227
        && rm -f xgen-$(@F) \
 
228
        && echo timestamp > $(@F)
 
229
 
 
230
ephy-type-builtins.h: stamp-ephy-type-builtins.h Makefile
 
231
        @true
 
232
stamp-ephy-type-builtins.h: Makefile $(INST_H_FILES) $(NOINST_H_FILES)
 
233
        $(AM_V_GEN) $(GLIB_MKENUMS) \
 
234
                --fhead "#if !defined (__EPHY_EPIPHANY_H_INSIDE__) && !defined (EPIPHANY_COMPILATION)\n" \
 
235
                --fhead "#error Only <epiphany/epiphany.h> can be included directly.\n" \
 
236
                --fhead "#endif\n\n" \
 
237
                --fhead "#ifndef EPHY_TYPE_BUILTINS_H\n" \
 
238
                --fhead "#define EPHY_TYPE_BUILTINS_H 1\n\n" \
 
239
                --fhead "#include <glib-object.h>\n\n" \
 
240
                --fhead "G_BEGIN_DECLS\n\n" \
 
241
                --ftail "G_END_DECLS\n\n" \
 
242
                --ftail "#endif /* EPHY_TYPE_BUILTINS_H */\n" \
 
243
                --fprod "\n/* --- @filename@ --- */" \
 
244
                --eprod "#define EPHY_TYPE_@ENUMSHORT@ @enum_name@_get_type()\n" \
 
245
                --eprod "GType @enum_name@_get_type (void);\n" \
 
246
                $(filter-out $<,$^) > xgen-$(@F) \
 
247
        && ( cmp -s xgen-$(@F) $(@F:stamp-%=%) || cp xgen-$(@F) $(@F:stamp-%=%) ) \
 
248
        && rm -f xgen-$(@F) \
 
249
        && echo timestamp > $(@F)
 
250
 
 
251
ephy-dbus-server-bindings.h: stamp-ephy-dbus-server-bindings.h
 
252
        @true
 
253
stamp-ephy-dbus-server-bindings.h: $(top_srcdir)/data/epiphany-service.xml Makefile
 
254
        $(AM_V_GEN) $(DBUS_BINDING_TOOL) --prefix=ephy_activation --mode=glib-server $< > xgen-$(@F) \
 
255
        && ( cmp -s xgen-$(@F) $(@F:stamp-%=%) || cp xgen-$(@F) $(@F:stamp-%=%) ) \
 
256
        && rm -f xgen-$(@F) \
 
257
        && echo timestamp > $(@F)
 
258
 
 
259
ephy-dbus-client-bindings.h: stamp-ephy-dbus-client-bindings.h
 
260
        @true
 
261
stamp-ephy-dbus-client-bindings.h: $(top_srcdir)/data/epiphany-service.xml Makefile
 
262
        $(AM_V_GEN) $(DBUS_BINDING_TOOL) --prefix=ephy_activation --mode=glib-client $< > xgen-$(@F) \
 
263
        && ( cmp -s xgen-$(@F) $(@F:stamp-%=%) || cp xgen-$(@F) $(@F:stamp-%=%) ) \
 
264
        && rm -f xgen-$(@F) \
 
265
        && echo timestamp > $(@F)
 
266
 
 
267
CLEANFILES = $(stamp_files) $(BUILT_SOURCES)
 
268
DISTCLEANFILES = $(stamp_files) $(BUILT_SOURCES)
 
269
MAINTAINERCLEANFILES = $(stamp_files) $(BUILT_SOURCES)
 
270
 
 
271
if HAVE_INTROSPECTION
 
272
EPHY_GIR_H_FILES = \
 
273
        $(top_srcdir)/embed/ephy-embed.h \
 
274
        $(top_srcdir)/embed/ephy-embed-container.h \
 
275
        $(top_srcdir)/embed/ephy-embed-event.h \
 
276
        $(top_srcdir)/embed/ephy-embed-persist.h \
 
277
        $(top_srcdir)/embed/ephy-embed-shell.h \
 
278
        $(top_srcdir)/embed/ephy-embed-single.h \
 
279
        $(top_srcdir)/embed/ephy-favicon-cache.h \
 
280
        $(top_srcdir)/embed/ephy-history.h \
 
281
        $(top_srcdir)/embed/ephy-permission-manager.h \
 
282
        $(top_srcdir)/embed/ephy-web-view.h \
 
283
        $(top_srcdir)/lib/ephy-dialog.h \
 
284
        $(top_srcdir)/lib/ephy-node-db.h \
 
285
        $(top_srcdir)/lib/ephy-node.h \
 
286
        $(top_srcdir)/lib/ephy-state.h \
 
287
        $(top_srcdir)/lib/egg/egg-editable-toolbar.h \
 
288
        $(top_srcdir)/lib/egg/egg-toolbars-model.h \
 
289
        $(top_srcdir)/lib/widgets/ephy-search-entry.h \
 
290
        $(top_srcdir)/lib/widgets/ephy-spinner.h \
 
291
        $(top_srcdir)/src/bookmarks/ephy-bookmarks.h \
 
292
        $(top_srcdir)/src/ephy-extension.h \
 
293
        $(top_srcdir)/src/ephy-extensions-manager.h \
 
294
        $(top_srcdir)/src/ephy-find-toolbar.h \
 
295
        $(top_srcdir)/src/ephy-link-action.h \
 
296
        $(top_srcdir)/src/ephy-link.h \
 
297
        $(top_srcdir)/src/ephy-location-action.h \
 
298
        $(top_srcdir)/src/ephy-notebook.h \
 
299
        $(top_srcdir)/src/ephy-session.h \
 
300
        $(top_srcdir)/src/ephy-shell.h \
 
301
        $(top_srcdir)/src/ephy-statusbar.h \
 
302
        $(top_srcdir)/src/ephy-toolbar.h \
 
303
        $(top_srcdir)/src/ephy-window.h \
 
304
        $(NULL)
 
305
 
 
306
EPHY_GIR_C_FILES = \
 
307
        $(top_srcdir)/embed/ephy-embed.c \
 
308
        $(top_srcdir)/embed/ephy-embed-container.c \
 
309
        $(top_srcdir)/embed/ephy-embed-event.c \
 
310
        $(top_srcdir)/embed/ephy-embed-persist.c \
 
311
        $(top_srcdir)/embed/ephy-embed-shell.c \
 
312
        $(top_srcdir)/embed/ephy-embed-single.c \
 
313
        $(top_srcdir)/embed/ephy-favicon-cache.c \
 
314
        $(top_srcdir)/embed/ephy-history.c \
 
315
        $(top_srcdir)/embed/ephy-permission-manager.c \
 
316
        $(top_srcdir)/embed/ephy-web-view.c \
 
317
        $(top_srcdir)/lib/ephy-dialog.c \
 
318
        $(top_srcdir)/lib/ephy-node-db.c \
 
319
        $(top_srcdir)/lib/ephy-node.c \
 
320
        $(top_srcdir)/lib/ephy-state.c \
 
321
        $(top_srcdir)/lib/egg/egg-editable-toolbar.c \
 
322
        $(top_srcdir)/lib/egg/egg-toolbars-model.c \
 
323
        $(top_srcdir)/lib/widgets/ephy-search-entry.c \
 
324
        $(top_srcdir)/lib/widgets/ephy-spinner.c \
 
325
        $(top_srcdir)/src/bookmarks/ephy-bookmarks.c \
 
326
        $(top_srcdir)/src/ephy-extension.c \
 
327
        $(top_srcdir)/src/ephy-extensions-manager.c \
 
328
        $(top_srcdir)/src/ephy-find-toolbar.c \
 
329
        $(top_srcdir)/src/ephy-link-action.c \
 
330
        $(top_srcdir)/src/ephy-link.c \
 
331
        $(top_srcdir)/src/ephy-location-action.c \
 
332
        $(top_srcdir)/src/ephy-notebook.c \
 
333
        $(top_srcdir)/src/ephy-session.c \
 
334
        $(top_srcdir)/src/ephy-shell.c \
 
335
        $(top_srcdir)/src/ephy-statusbar.c \
 
336
        $(top_srcdir)/src/ephy-toolbar.c \
 
337
        $(top_srcdir)/src/ephy-window.c \
 
338
        $(NULL)
 
339
 
 
340
Epiphany-$(EPIPHANY_API_VERSION).gir: $(INTROSPECTION_SCANNER) $(EPHY_GIR_H_FILES) \
 
341
                                      $(EPHY_GIR_C_FILES) epiphany
 
342
        $(AM_V_GEN) PKG_CONFIG_PATH=$(top_builddir)/data:$$PKG_CONFIG_PATH \
 
343
        $(INTROSPECTION_SCANNER) -v \
 
344
                --namespace Epiphany \
 
345
                --nsversion=$(EPIPHANY_API_VERSION) \
 
346
                --add-include-path=. \
 
347
                --add-include-path=$(srcdir) \
 
348
                --include=Gtk-2.0 \
 
349
                --include=libxml2-2.0 \
 
350
                --include=WebKit-1.0 \
 
351
                --program=./epiphany \
 
352
                --output $@ \
 
353
                --pkg epiphany-$(EPIPHANY_API_VERSION) \
 
354
                -DEPIPHANY_COMPILATION \
 
355
                -I$(top_srcdir)/embed \
 
356
                -I$(top_srcdir)/lib \
 
357
                -I$(top_srcdir)/lib/egg \
 
358
                -I$(top_srcdir)/src \
 
359
                -I$(top_srcdir)/src/bookmarks \
 
360
                $(EPHY_GIR_H_FILES) \
 
361
                $(EPHY_GIR_C_FILES)
 
362
 
 
363
girdir = $(datadir)/gir-1.0
 
364
gir_DATA = Epiphany-$(EPIPHANY_API_VERSION).gir
 
365
 
 
366
typelibsdir = $(libdir)/girepository-1.0
 
367
typelibs_DATA = Epiphany-$(EPIPHANY_API_VERSION).typelib
 
368
 
 
369
Epiphany-$(EPIPHANY_API_VERSION).typelib: Epiphany-$(EPIPHANY_API_VERSION).gir $(INTROSPECTION_COMPILER)
 
370
        $(AM_V_GEN) $(INTROSPECTION_COMPILER) Epiphany-$(EPIPHANY_API_VERSION).gir -o Epiphany-$(EPIPHANY_API_VERSION).typelib
 
371
 
 
372
CLEANFILES += $(gir_DATA) $(typelibs_DATA)
 
373
 
 
374
endif # HAVE_INTROSPECTION