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

« back to all changes in this revision

Viewing changes to telepathy-yell/telepathy-yell/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
 
EXTRA_DIST = \
2
 
    call.xml \
3
 
    all.xml
4
 
 
5
 
if ENABLE_SHARED_LIBRARY
6
 
lib_LTLIBRARIES = libtelepathy-yell.la
7
 
pkgconfigdir = ${libdir}/pkgconfig
8
 
pkgconfig_DATA = telepathy-yell.pc
9
 
tpyincludedir=$(includedir)/telepathy-1.0/telepathy-yell
10
 
genincludedir=$(tpyincludedir)/_gen
11
 
else
12
 
noinst_LTLIBRARIES = libtelepathy-yell.la
13
 
endif
14
 
 
15
 
libtelepathy_yell_la_LIBADD = $(ALL_LIBS)
16
 
 
17
 
libtelepathy_yell_la_SOURCES = \
18
 
    base-call-channel.c \
19
 
    base-call-stream.c \
20
 
    base-call-content.c \
21
 
    base-media-call-content.c \
22
 
    base-media-call-stream.c \
23
 
    call-channel.c \
24
 
    call-content.c \
25
 
    call-stream.c \
26
 
    call-stream-endpoint.c \
27
 
    call-content-codec-offer.c \
28
 
    debug.c \
29
 
    extensions.c \
30
 
    extensions-cli.c \
31
 
    $(headers)
32
 
 
33
 
codegen_sources = \
34
 
    _gen/signals-marshal.h \
35
 
    _gen/register-dbus-glib-marshallers-body.h \
36
 
    _gen/gtypes-body.h \
37
 
    _gen/interfaces-body.h \
38
 
    _gen/cli-call-body.h \
39
 
    _gen/signals-marshal.c \
40
 
    _gen/svc-call.c
41
 
 
42
 
codegen_headers = \
43
 
    _gen/enums.h \
44
 
    _gen/gtypes.h \
45
 
    _gen/interfaces.h \
46
 
    _gen/cli-call.h \
47
 
    _gen/svc-call.h
48
 
 
49
 
headers = \
50
 
    telepathy-yell.h \
51
 
    base-call-channel.h \
52
 
    base-call-stream.h \
53
 
    base-call-content.h \
54
 
    base-media-call-stream.h \
55
 
    base-media-call-content.h \
56
 
    call-channel.h \
57
 
    call-content.h \
58
 
    call-content-codec-offer.h \
59
 
    call-stream.h \
60
 
    call-stream-endpoint.h \
61
 
    debug.h \
62
 
    extensions.h \
63
 
    gtypes.h \
64
 
    enums.h \
65
 
    interfaces.h \
66
 
    svc-call.h \
67
 
    cli-call.h
68
 
 
69
 
if ENABLE_SHARED_LIBRARY
70
 
tpyinclude_HEADERS = \
71
 
    $(headers)
72
 
geninclude_HEADERS = \
73
 
    $(codegen_headers)
74
 
endif
75
 
 
76
 
nodist_libtelepathy_yell_la_SOURCES = \
77
 
    $(codegen_sources) \
78
 
    $(codegen_headers) \
79
 
    $(headers)
80
 
 
81
 
BUILT_SOURCES = \
82
 
    _gen/all.xml \
83
 
    _gen/call.xml \
84
 
    _gen/signals-marshal.list \
85
 
    $(codegen_sources) \
86
 
    $(codegen_headers) \
87
 
    extensions.html
88
 
 
89
 
CLEANFILES = $(BUILT_SOURCES)
90
 
 
91
 
AM_CFLAGS = \
92
 
    -DG_LOG_DOMAIN=\"tp-yell\" \
93
 
    -I$(top_srcdir) -I$(top_builddir) \
94
 
    $(ERROR_CFLAGS) \
95
 
    $(TP_GLIB_CFLAGS) \
96
 
    $(DBUS_CFLAGS) \
97
 
    $(GLIB_CFLAGS)
98
 
 
99
 
ALL_LIBS = \
100
 
    $(DBUS_LIBS) \
101
 
    $(GLIB_LIBS) \
102
 
    $(TP_GLIB_LIBS)
103
 
 
104
 
distclean-local:
105
 
        rm -rf _gen
106
 
 
107
 
check_c_sources = \
108
 
    $(pkginclude_HEADERS) \
109
 
    $(libtelepathy_yell_la_SOURCES)
110
 
include $(top_srcdir)/tools/check-coding-style.mk
111
 
 
112
 
check-local: check-coding-style
113
 
 
114
 
### Code generation from here on down
115
 
 
116
 
tools_dir = $(top_srcdir)/tools
117
 
 
118
 
XSLTPROCFLAGS = --nonet --novalid
119
 
 
120
 
# Generated files which can be generated for all categories simultaneously
121
 
 
122
 
extensions.html: _gen/all.xml $(tools_dir)/doc-generator.xsl Makefile.am
123
 
        $(AM_V_GEN)$(XSLTPROC) $(XSLTPROCFLAGS) \
124
 
                --param 'allow-undefined-interfaces' 'true()' \
125
 
                $(tools_dir)/doc-generator.xsl \
126
 
                $< > $@
127
 
 
128
 
_gen/gtypes.h _gen/gtypes-body.h: _gen/all.xml \
129
 
        $(top_srcdir)/tools/glib-gtypes-generator.py Makefile.am
130
 
        $(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/glib-gtypes-generator.py \
131
 
                $< _gen/gtypes Tpy
132
 
 
133
 
_gen/signals-marshal.list: _gen/all.xml \
134
 
        $(tools_dir)/glib-signals-marshal-gen.py Makefile.am
135
 
        $(AM_V_GEN)$(PYTHON) $(tools_dir)/glib-signals-marshal-gen.py $< > $@
136
 
 
137
 
_gen/signals-marshal.h: _gen/signals-marshal.list Makefile.am
138
 
        $(AM_V_GEN)$(GLIB_GENMARSHAL) --header --prefix=_tpy_marshal $< > $@
139
 
 
140
 
_gen/signals-marshal.c: _gen/signals-marshal.list Makefile.am
141
 
        $(AM_V_GEN){ echo '#include "_gen/signals-marshal.h"' && \
142
 
        $(GLIB_GENMARSHAL) --body --prefix=_tpy_marshal $< ; } > $@
143
 
 
144
 
_gen/register-dbus-glib-marshallers-body.h: _gen/all.xml \
145
 
        $(tools_dir)/glib-client-marshaller-gen.py Makefile.am
146
 
        $(AM_V_GEN)$(PYTHON) $(tools_dir)/glib-client-marshaller-gen.py $< \
147
 
                _tpy > $@
148
 
 
149
 
_gen/enums.h: _gen/all.xml $(tools_dir)/c-constants-gen.py Makefile.am
150
 
        $(AM_V_GEN)$(PYTHON) $(tools_dir)/c-constants-gen.py Tpy $< _gen/enums
151
 
 
152
 
_gen/interfaces-body.h _gen/interfaces.h: _gen/all.xml \
153
 
        $(tools_dir)/glib-interfaces-gen.py Makefile.am
154
 
        $(AM_V_GEN)$(PYTHON) $(tools_dir)/glib-interfaces-gen.py \
155
 
                Tpy _gen/interfaces-body.h _gen/interfaces.h $<
156
 
 
157
 
# Generated files which must be generated per "category". Each TpProxy
158
 
# subclass you want to use with --subclass will need to have its own category,
159
 
# although you can subdivide further if you want.
160
 
 
161
 
_gen/%.xml: %.xml $(wildcard ../spec/*.xml)
162
 
        @$(mkdir_p) _gen
163
 
        $(AM_V_GEN)$(XSLTPROC) $(XSLTPROCFLAGS) --xinclude $(tools_dir)/identity.xsl \
164
 
                $< > $@
165
 
 
166
 
_gen/cli-%-body.h _gen/cli-%.h: _gen/%.xml \
167
 
        $(tools_dir)/glib-client-gen.py Makefile.am
168
 
        $(AM_V_GEN)set -e; \
169
 
        case "$*" in \
170
 
        call) \
171
 
                subclass="TpProxy"; \
172
 
                assert="TP_IS_PROXY"; \
173
 
                ;; \
174
 
        esac; \
175
 
        $(PYTHON) $(tools_dir)/glib-client-gen.py \
176
 
                --group=`echo $* | tr x- x_` \
177
 
                --subclass=$$subclass \
178
 
                --subclass-assert=$$assert \
179
 
                --tp-proxy-api=0.7.6 \
180
 
                --iface-quark-prefix=TPY_IFACE_QUARK \
181
 
                $< Tpy_Cli _gen/cli-$*
182
 
 
183
 
_gen/svc-%.c _gen/svc-%.h: _gen/%.xml \
184
 
        $(tools_dir)/glib-ginterface-gen.py Makefile.am
185
 
        $(AM_V_GEN)$(PYTHON) $(tools_dir)/glib-ginterface-gen.py \
186
 
                --filename=_gen/svc-$* \
187
 
                --signal-marshal-prefix=_tpy \
188
 
                --include='<telepathy-glib/dbus.h>' \
189
 
                --include='"_gen/signals-marshal.h"' \
190
 
                --not-implemented-func='tp_dbus_g_method_return_not_implemented' \
191
 
                --allow-unstable \
192
 
                $< Tpy_Svc_