Merge lp:~ari-tczew/ubuntu/trusty/telepathy-qt/merge into lp:ubuntu/trusty-proposed/telepathy-qt

Proposed by Artur Rona
Status: Merged
Approved by: Dmitry Shachnev
Approved revision: 18
Merge reported by: Dmitry Shachnev
Merged at revision: not available
Proposed branch: lp:~ari-tczew/ubuntu/trusty/telepathy-qt/merge
Merge into: lp:ubuntu/trusty-proposed/telepathy-qt
Diff against target: 333 lines (+185/-48)
9 files modified
debian/changelog (+68/-0)
debian/control (+11/-13)
debian/gbp.conf (+0/-4)
debian/patches/create-moc-command (+0/-28)
debian/patches/create_moc_command.patch (+28/-0)
debian/patches/fix_storing_avatars.patch (+55/-0)
debian/patches/link-against-gobject.patch (+13/-0)
debian/patches/series (+3/-1)
debian/rules (+7/-2)
To merge this branch: bzr merge lp:~ari-tczew/ubuntu/trusty/telepathy-qt/merge
Reviewer Review Type Date Requested Status
Dmitry Shachnev Approve
Iain Lane Pending
Michał Zając Pending
Review via email: mp+204407@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Thanks for your work. The remaining changes are:

 - debian/control, debian/patches/use-telepathy-farstream-0.4:
    + Use 'telepathy-farstream-0.4' instead of 'telepathy-farstream'.
      This package is (as of now) incompatible with the 0.6 series,
      so it needs to be updated to use the split 0.4 series packages.

Debian now has telepathy-farstream 0.6, and telepathy-qt seems to build fine against it. Do you know any specific problems wrt compatibility with 0.6? If yes, these at least should be reported to Debian (or upstream) bug tracker.

  - debian/libtelepathy-qt4-2.symbols: Update.

The symbols are (functionally) equal, update not needed.

In other words, unless you know any specific incompatibility problems, I would prefer to sync this package.

review: Needs Information
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Adding Michał to reviewers as he might know more about the situation.

Revision history for this message
Michał Zając (quintasan) wrote :

I do not know about any breakage between telepathy-qt and telepathy-farstream > 0.6. I'll try poking upstream to get some info about potential issues

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

According to Iain, that change is needed because telepathy-qt and telepathy-farstream use incompatible gstreamer codebases. I have notified Debian maintainer (Diane) about that issue, and uploaded the merge to Trusty.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2013-12-31 10:30:51 +0000
3+++ debian/changelog 2014-02-02 20:21:04 +0000
4@@ -1,3 +1,71 @@
5+telepathy-qt (0.9.3-3ubuntu1) trusty; urgency=low
6+
7+ * Merge from Debian unstable. Remaining changes:
8+ - debian/control, debian/patches/use-telepathy-farstream-0.4:
9+ + Use 'telepathy-farstream-0.4' instead of 'telepathy-farstream'.
10+ This package is (as of now) incompatible with the 0.6 series,
11+ so it needs to be updated to use the split 0.4 series packages.
12+ - debian/libtelepathy-qt4-2.symbols: Update.
13+ * Dropped following changes:
14+ - debian/patches/create-moc-command, fixed in Debian.
15+
16+ -- Artur Rona <ari-tczew@tlen.pl> Sun, 02 Feb 2014 19:18:01 +0100
17+
18+telepathy-qt (0.9.3-3) unstable; urgency=low
19+
20+ * Remove version requirement from pkg-config dependency (Closes: #734489)
21+ * Update Standards-Version to 3.9.5. No Changes needed.
22+ * Update debian/libtelepathy-qt4-2.symbols for 0.9.3 symbols.
23+ * Explicitly use pkg-kde-tools for its symbol helper utilities.
24+ * Explicitly force build type RelWithDebInfo
25+
26+ -- Diane Trout <diane@ghic.org> Mon, 20 Jan 2014 14:47:29 -0800
27+
28+telepathy-qt (0.9.3-2) unstable; urgency=low
29+
30+ * Add fix_storing_avatars.patch. Fixes issue storing avatars
31+ multiple times.
32+ * Remove python compiled byte-code during debian auto_clean target.
33+ * Add create_moc_command.patch to work around a change in a recent
34+ cmake macro. (Closes: #728675)
35+
36+ -- Diane Trout <diane@ghic.org> Wed, 27 Nov 2013 08:49:05 -0800
37+
38+telepathy-qt (0.9.3-1) unstable; urgency=low
39+
40+ * Team upload.
41+
42+ [ Diane Trout ]
43+ * New upstream release.
44+ * Bump libfarstream-0.1-dev, libtelepathy-farstream-dev,
45+ libtelepathy-glib-dev dependencies.
46+ * Remove fix_ftbfs_gcc47.patch applied upstream.
47+ * Update libtelepathy-qt4-2.symbols.
48+ * Remove git-buildpackage directory configuration options.
49+ * Remove uneeded shlib:Depends from libtelepathy-qt4-dev control .
50+ * Refresh patches.
51+ * Add patch link-against-gobject.patch to provide g_object symbols
52+ used by libtelepathy-qt4-farstream.
53+ * Add myself to Uploaders.
54+ * Update Vcs-* fields to canonical URIs.
55+ * Update Standards-Version: 3.9.4. No changes needed.
56+ * Add Multi-Arch: same to libtelepathy-qt4-dbg.
57+
58+ [ Michał Zając ]
59+ * Drop fvisibility-inlines-hidden.patch - went upstream
60+ * Change the Maintainer, ACKed by Simon McVittie:
61+ - Change the Maintainers field to the KDE extras team.
62+ - Update the Uploaders.
63+ * Update symbols file
64+ * Updated Vcs-* fields
65+
66+ [ Lisandro Damián Nicanor Pérez Meyer ]
67+ * Remove upstream stuff from the repo. We are going to keep only debian/ on
68+ it.
69+ * Update symbols file with current amd64 build.
70+
71+ -- Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org> Fri, 05 Jul 2013 17:48:44 -0300
72+
73 telepathy-qt (0.9.3-0ubuntu7) trusty; urgency=medium
74
75 * debian/patches/create-moc-command: Fix build with recent cmake.
76
77=== modified file 'debian/control'
78--- debian/control 2013-01-09 12:54:01 +0000
79+++ debian/control 2014-02-02 20:21:04 +0000
80@@ -2,24 +2,22 @@
81 Section: libs
82 Priority: optional
83 Maintainer: Kubuntu Developers <kubuntu-devel@lists.ubuntu.com>
84-XSBC-Original-Maintainer: Debian Telepathy maintainers <pkg-telepathy-maintainers@lists.alioth.debian.org>
85-Uploaders: Simon McVittie <smcv@debian.org>,
86- George Goldberg <george.goldberg@collabora.co.uk>,
87- Jonny Lamb <jonny@debian.org>,
88- Adam Conrad <adconrad@0c3.net>,
89- George Kiagiadakis <kiagiadakis.george@gmail.com>
90+XSBC-Original-Maintainer: Debian KDE Extras Team <pkg-kde-extras@lists.alioth.debian.org>
91+Uploaders: Michał Zając <quintasan@kubuntu.org>,
92+ Diane Trout <diane@ghic.org>
93 Build-Depends: debhelper (>= 9),
94 dpkg-dev (>= 1.16.1~),
95+ pkg-kde-tools (>= 0.12),
96 cmake,
97 doxygen,
98 graphviz,
99 libgstreamer0.10-dev,
100 libgstreamer-plugins-base0.10-dev,
101 libqt4-dev (>= 4.6.0),
102- libfarstream-0.1-dev (>= 0.1.0),
103+ libfarstream-0.1-dev (>= 0.1.2),
104 libtelepathy-farstream-0.4-dev (>= 0.2.2),
105- libtelepathy-glib-dev (>= 0.17.5),
106- pkg-config (>= 0.21),
107+ libtelepathy-glib-dev (>= 0.20.1),
108+ pkg-config,
109 python (>= 2.6),
110 python-dbus,
111 python-dev,
112@@ -27,9 +25,9 @@
113 # * python-dbus and python-gobject can safely be removed if you don't care
114 # about running the regression tests
115 # * doxygen and graphviz should be Build-Depends-Indep if #478524 is fixed
116-Standards-Version: 3.9.3
117-Vcs-Git: git://git.debian.org/git/pkg-telepathy/telepathy-qt.git
118-Vcs-Browser: http://git.debian.org/?p=pkg-telepathy/telepathy-qt.git
119+Standards-Version: 3.9.5
120+Vcs-Git: git://anonscm.debian.org/pkg-kde/kde-extras/kde-telepathy/telepathy-qt4.git
121+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-kde/kde-extras/kde-telepathy/telepathy-qt4.git
122 Homepage: http://telepathy.freedesktop.org/wiki/
123
124 Package: libtelepathy-qt4-2
125@@ -71,7 +69,6 @@
126 libtelepathy-qt4-farstream2 (= ${binary:Version}),
127 libtelepathy-farstream-0.4-dev,
128 pkg-config (>= 0.21),
129- ${shlibs:Depends},
130 ${misc:Depends}
131 Suggests: libtelepathy-qt4-doc
132 Description: Qt 4 Telepathy library (headers and static library)
133@@ -85,6 +82,7 @@
134
135 Package: libtelepathy-qt4-dbg
136 Architecture: any
137+Multi-Arch: same
138 Section: debug
139 Priority: extra
140 Depends: libtelepathy-qt4-2 (= ${binary:Version}),
141
142=== modified file 'debian/gbp.conf'
143--- debian/gbp.conf 2012-06-04 14:33:00 +0000
144+++ debian/gbp.conf 2014-02-02 20:21:04 +0000
145@@ -2,7 +2,3 @@
146 debian-branch = debian
147 upstream-branch = upstream
148 pristine-tar = True
149-
150-[git-buildpackage]
151-tarball-dir = ../tarballs/
152-export-dir = ../build-area/
153
154=== removed file 'debian/patches/create-moc-command'
155--- debian/patches/create-moc-command 2013-12-31 10:30:51 +0000
156+++ debian/patches/create-moc-command 1970-01-01 00:00:00 +0000
157@@ -1,28 +0,0 @@
158-Author: David Edmundson <kde@davidedmundson.co.uk>
159-Description: Recent cmake has changed the argument count to
160- qt4_create_moc_command, we need to adjust accordingly.
161- Reviewed-by: Dario Freddi <dario.freddi@ispirata.com>
162-Origin: upstream, http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=05fe3f4980bbc6b016e25dcf07e44afe29e377c0
163---- a/cmake/modules/FindQt.cmake
164-+++ b/cmake/modules/FindQt.cmake
165-@@ -74,10 +74,18 @@ ENDMACRO(QT_GET_MOC_FLAGS)
166-
167- MACRO(QT_CREATE_MOC_COMMAND infile outfile moc_flags moc_options)
168- IF(QT_VERSION_MAJOR MATCHES 4)
169-- QT4_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
170-+ IF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
171-+ QT4_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}" "")
172-+ ELSE(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
173-+ QT4_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
174-+ ENDIF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
175- ELSE(QT_VERSION_MAJOR MATCHES 4)
176- IF(QT_VERSION_MAJOR MATCHES 5)
177-- QT5_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
178-+ IF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
179-+ QT5_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}" "")
180-+ ELSE(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
181-+ QT5_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
182-+ ENDIF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
183- ENDIF(QT_VERSION_MAJOR MATCHES 5)
184- ENDIF(QT_VERSION_MAJOR MATCHES 4)
185- ENDMACRO(QT_CREATE_MOC_COMMAND)
186
187=== added file 'debian/patches/create_moc_command.patch'
188--- debian/patches/create_moc_command.patch 1970-01-01 00:00:00 +0000
189+++ debian/patches/create_moc_command.patch 2014-02-02 20:21:04 +0000
190@@ -0,0 +1,28 @@
191+Author: David Edmundson <kde@davidedmundson.co.uk>
192+Description: Recent cmake has changed the argument count to
193+ qt4_create_moc_command, we need to adjust accordingly.
194+ Reviewed-by: Dario Freddi <dario.freddi@ispirata.com>
195+Origin: upstream, http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=05fe3f4980bbc6b016e25dcf07e44afe29e377c0
196+--- a/cmake/modules/FindQt.cmake
197++++ b/cmake/modules/FindQt.cmake
198+@@ -74,10 +74,18 @@ ENDMACRO(QT_GET_MOC_FLAGS)
199+
200+ MACRO(QT_CREATE_MOC_COMMAND infile outfile moc_flags moc_options)
201+ IF(QT_VERSION_MAJOR MATCHES 4)
202+- QT4_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
203++ IF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
204++ QT4_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}" "")
205++ ELSE(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
206++ QT4_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
207++ ENDIF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
208+ ELSE(QT_VERSION_MAJOR MATCHES 4)
209+ IF(QT_VERSION_MAJOR MATCHES 5)
210+- QT5_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
211++ IF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
212++ QT5_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}" "")
213++ ELSE(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
214++ QT5_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}" "${moc_options}")
215++ ENDIF(CMAKE_VERSION VERSION_GREATER 2.8.11.20130607)
216+ ENDIF(QT_VERSION_MAJOR MATCHES 5)
217+ ENDIF(QT_VERSION_MAJOR MATCHES 4)
218+ ENDMACRO(QT_CREATE_MOC_COMMAND)
219
220=== added file 'debian/patches/fix_storing_avatars.patch'
221--- debian/patches/fix_storing_avatars.patch 1970-01-01 00:00:00 +0000
222+++ debian/patches/fix_storing_avatars.patch 2014-02-02 20:21:04 +0000
223@@ -0,0 +1,55 @@
224+Author: George Kiagiadakis <george.kiagiadakis@collabora.com>
225+Description: Fix storing avatars, so that they are not stored millions of times each
226+ The original problem lies in the fact that QFile::rename() does not
227+ overwrite existing files. Therefore it fails and the temporary file
228+ stays on the filesystem together with the already existing avatar
229+ file. Checking if the file exists before renaming solves this
230+ partially, but the problem is that this operation is not atomic. There
231+ can be many processes using tp-qt, fetching avatars at the same time
232+ from the server, and in this case we can still have a problem
233+ there. The final solution is to ignore a new avatar that has the same
234+ token as an avatar that is already on the filesystem. According to the
235+ spec, different avatars have different tokens, so if an avatar
236+ changes, the token changes as well.
237+Bug: https://bugs.freedesktop.org/show_bug.cgi?id=47647
238+Origin: upstream, http://cgit.freedesktop.org/telepathy/telepathy-qt4/commit/?id=8da9f7069929893bcee64dab22101134752fe618
239+--- a/TelepathyQt/contact-manager.cpp
240++++ b/TelepathyQt/contact-manager.cpp
241+@@ -1341,17 +1341,27 @@
242+ debug() << "Filename:" << avatarFileName;
243+ debug() << "MimeType:" << mimeType;
244+
245+- QTemporaryFile mimeTypeFile(mimeTypeFileName);
246+- mimeTypeFile.open();
247+- mimeTypeFile.write(mimeType.toLatin1());
248+- mimeTypeFile.setAutoRemove(false);
249+- mimeTypeFile.rename(mimeTypeFileName);
250++ if (!QFile::exists(mimeTypeFileName)) {
251++ QTemporaryFile mimeTypeFile(mimeTypeFileName);
252++ if (mimeTypeFile.open()) {
253++ mimeTypeFile.write(mimeType.toLatin1());
254++ mimeTypeFile.setAutoRemove(false);
255++ if (!mimeTypeFile.rename(mimeTypeFileName)) {
256++ mimeTypeFile.remove();
257++ }
258++ }
259++ }
260+
261+- QTemporaryFile avatarFile(avatarFileName);
262+- avatarFile.open();
263+- avatarFile.write(data);
264+- avatarFile.setAutoRemove(false);
265+- avatarFile.rename(avatarFileName);
266++ if (!QFile::exists(avatarFileName)) {
267++ QTemporaryFile avatarFile(avatarFileName);
268++ if (avatarFile.open()) {
269++ avatarFile.write(data);
270++ avatarFile.setAutoRemove(false);
271++ if (!avatarFile.rename(avatarFileName)) {
272++ avatarFile.remove();
273++ }
274++ }
275++ }
276+ }
277+
278+ ContactPtr contact = lookupContactByHandle(handle);
279
280=== added file 'debian/patches/link-against-gobject.patch'
281--- debian/patches/link-against-gobject.patch 1970-01-01 00:00:00 +0000
282+++ debian/patches/link-against-gobject.patch 2014-02-02 20:21:04 +0000
283@@ -0,0 +1,13 @@
284+Description: link aginst gobject for symbols used by telepathy-qt?-farstream
285+Author: Diane Trout <diane@ghic.org>
286+
287+--- a/TelepathyQt/Farstream/CMakeLists.txt
288++++ b/TelepathyQt/Farstream/CMakeLists.txt
289+@@ -43,6 +43,7 @@
290+ ${QT_QTCORE_LIBRARY}
291+ ${TELEPATHY_FARSTREAM_LIBRARIES}
292+ ${TELEPATHY_GLIB_LIBRARIES}
293++ ${GOBJECT_LIBRARIES}
294+ telepathy-qt${QT_VERSION_MAJOR}
295+ ${TP_QT_LIBRARY_LINKER_FLAGS})
296+
297
298=== modified file 'debian/patches/series'
299--- debian/patches/series 2013-12-31 10:30:51 +0000
300+++ debian/patches/series 2014-02-02 20:21:04 +0000
301@@ -1,2 +1,4 @@
302+fix_storing_avatars.patch
303+link-against-gobject.patch
304+create_moc_command.patch
305 use-telepathy-farstream-0.4
306-create-moc-command
307
308=== modified file 'debian/rules'
309--- debian/rules 2012-06-17 11:08:30 +0000
310+++ debian/rules 2014-02-02 20:21:04 +0000
311@@ -3,11 +3,12 @@
312 include /usr/share/dpkg/architecture.mk
313
314 %:
315- dh $@ --parallel
316+ dh $@ --with pkgkde_symbolshelper --parallel
317
318 override_dh_auto_configure:
319 dh_auto_configure -- -DDISABLE_WERROR=ON -DHAVE_DOT=YES \
320- -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)"
321+ -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)" \
322+ -DCMAKE_BUILD_TYPE=RelWithDebInfo
323
324 ifeq (,$(findstring nodocs,$(DEB_BUILD_OPTIONS)))
325 override_dh_auto_build:
326@@ -29,3 +30,7 @@
327 dh_installdocs -a --link-doc=libtelepathy-qt4-2
328 dh_installdocs -i
329 rm -f debian/libtelepathy-qt4-doc/usr/share/doc/libtelepathy-qt4-doc/html/jquery.js
330+
331+override_dh_auto_clean:
332+ dh_auto_clean
333+ find . -name '*.pyc' -exec rm {} \;

Subscribers

People subscribed via source and target branches

to all changes: