Merge lp:~attente/maliit/maliit-0.99.1 into lp:~ubuntu-core-dev/maliit/maliit-framework-ubuntu
- maliit-0.99.1
- Merge into maliit-framework-ubuntu
Proposed by
William Hua
Status: | Merged |
---|---|
Merged at revision: | 49 |
Proposed branch: | lp:~attente/maliit/maliit-0.99.1 |
Merge into: | lp:~ubuntu-core-dev/maliit/maliit-framework-ubuntu |
Diff against target: |
344 lines (+160/-65) 10 files modified
debian/changelog (+41/-0) debian/control (+27/-24) debian/libmaliit-glib-dev.install (+3/-0) debian/libmaliit-glib0.install (+1/-0) debian/maliit-framework.sh (+2/-1) debian/patches/0008-qt5.3-fix.patch (+0/-37) debian/patches/0014-revert-6e2f8b4253f219688d31002aebf010eeabf0079b.patch (+82/-0) debian/patches/series (+1/-1) debian/rules (+2/-2) debian/xinput/maliit (+1/-0) |
To merge this branch: | bzr merge lp:~attente/maliit/maliit-0.99.1 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Holbach (community) | Approve | ||
Review via email: mp+278203@code.launchpad.net |
Commit message
New upstream release 0.99.1.
Description of the change
New upstream release 0.99.1.
To post a comment you must log in.
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 2015-03-26 21:36:16 +0000 |
3 | +++ debian/changelog 2015-11-20 19:51:03 +0000 |
4 | @@ -1,3 +1,44 @@ |
5 | +maliit-framework (0.99.1+git20151118+62bd54b-0ubuntu1) UNRELEASED; urgency=medium |
6 | + |
7 | + * New upstream release 0.99.1: |
8 | + - Introduced Qt5 input context, replacing the one provided by Qt. Can |
9 | + be enabled by CONFIG+=qt5-inputcontext |
10 | + - Move maliit-glib from GTK+ input context package back into frameowrk |
11 | + - Use GDBus in maliit-glib |
12 | + - Allow plugin window reactive area and input method area reported to |
13 | + application differ |
14 | + - Fix window state to have transient hint and window type as with |
15 | + Maliit 0.8x |
16 | + - Made the dependency from xcb optional |
17 | + - Added a CONFIG option to disable the hardware keyboard |
18 | + - Clear preedit state on input context reset |
19 | + - Reshow virtual keyboard when hardware keyboard disappears |
20 | + - Fix bugs with Qt 5.3, Qt 5.4 and Qt 5.5 |
21 | + * debian/control: |
22 | + - Update standards version |
23 | + - Replace libdbus-glib-1-dev with libglib2.0-dev |
24 | + - Fix description of libmaliit-plugins0 |
25 | + - Add libmaliit-glib0 and libmaliit-glib-dev |
26 | + - Remove maliit-inputcontext-gtk2 and maliit-inputcontext-gtk3 |
27 | + * debian/libmaliit-glib0.install: |
28 | + * debian/libmaliit-glib-dev.install: |
29 | + - Added, mark files for installation |
30 | + * debian/maliit-framework.sh: |
31 | + * debian/xinput/maliit: |
32 | + - Export GTK_IM_MODULE under Unity 8 |
33 | + * debian/patches/series: |
34 | + * debian/patches/0008-qt5.3-fix.patch: |
35 | + - Removed, fixed upstream |
36 | + * debian/patches/0014-revert-6e2f8b4253f219688d31002aebf010eeabf0079b.patch: |
37 | + - Added, install generated headers properly |
38 | + * debian/rules: |
39 | + - Don't qmake recursively |
40 | + - Configure to build GLib bindings |
41 | + - Disable warnings due to unused parameters, this is a bug that needs to |
42 | + be fixed in GLib |
43 | + |
44 | + -- William Hua <william.hua@canonical.com> Wed, 18 Nov 2015 15:28:03 -0500 |
45 | + |
46 | maliit-framework (0.99.0+git20130923+17fdf86-0ubuntu8) vivid; urgency=medium |
47 | |
48 | [ William Hua ] |
49 | |
50 | === modified file 'debian/control' |
51 | --- debian/control 2015-01-23 13:19:33 +0000 |
52 | +++ debian/control 2015-11-20 19:51:03 +0000 |
53 | @@ -6,7 +6,7 @@ |
54 | Uploaders: Michał Zając <quintasan@kubuntu.org>, Iain Lane <laney@debian.org> |
55 | Build-Depends: cdbs, |
56 | debhelper (>= 9), |
57 | - libdbus-glib-1-dev, |
58 | + libglib2.0-dev, |
59 | libmtdev-dev, |
60 | libudev-dev, |
61 | libxcb-composite0-dev, |
62 | @@ -21,7 +21,7 @@ |
63 | # Test depends |
64 | xvfb, |
65 | qtdeclarative5-qtquick2-plugin |
66 | -Standards-Version: 3.9.4 |
67 | +Standards-Version: 3.9.6 |
68 | Homepage: https://wiki.maliit.org |
69 | Vcs-Browser: https://code.launchpad.net/~ubuntu-core-dev/maliit/maliit-framework-ubuntu |
70 | Vcs-Bzr: lp:~ubuntu-core-dev/maliit/maliit-framework-ubuntu |
71 | @@ -34,8 +34,6 @@ |
72 | libmaliit-glib0 (<< ${source:Version}), |
73 | libmaliit0 (<< ${source:Version}), |
74 | maliit-dbus-activation (<< ${source:Version}), |
75 | - maliit-inputcontext-gtk2 (<< ${source:Version}), |
76 | - maliit-inputcontext-gtk3 (<< ${source:Version}), |
77 | maliit-inputcontext-qt4 (<< ${source:Version}), |
78 | Description: Maliit Input Method Framework |
79 | Maliit provides a flexible and cross-platform input method framework. It has a |
80 | @@ -50,7 +48,7 @@ |
81 | Replaces: maliit-framework (<< 0.99) |
82 | Depends: ${misc:Depends}, |
83 | ${shlibs:Depends}, |
84 | -Description: Maliit Input Method Framework Plugin Library |
85 | +Description: Maliit Input Method Framework - Plugin Library |
86 | Maliit provides a flexible and cross-platform input method framework. It has a |
87 | plugin-based client-server architecture where applications act as clients and |
88 | communicate with the Maliit server via input context plugins. The communication |
89 | @@ -93,11 +91,30 @@ |
90 | This is a transitional dummy package. It can safely be removed. |
91 | |
92 | Package: libmaliit-glib0 |
93 | -Depends: maliit-framework, ${misc:Depends} |
94 | -Architecture: all |
95 | -Section: oldlibs |
96 | -Description: transitional dummy package |
97 | - This is a transitional dummy package. It can safely be removed. |
98 | +Depends: ${misc:Depends}, ${shlibs:Depends} |
99 | +Architecture: any |
100 | +Section: libs |
101 | +Description: Maliit Input Method Framework - GLib Bindings |
102 | + Maliit provides a flexible and cross-platform input method framework. It has a |
103 | + plugin-based client-server architecture where applications act as clients and |
104 | + communicate with the Maliit server via input context plugins. The communication |
105 | + link currently uses D-Bus. Maliit is an open source framework (LGPL 2) with |
106 | + open source plugins (BSD). |
107 | + . |
108 | + This package provides GLib bindings for the Maliit framework. |
109 | + |
110 | +Package: libmaliit-glib-dev |
111 | +Depends: libmaliit-glib0 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} |
112 | +Architecture: any |
113 | +Section: libdevel |
114 | +Description: Maliit Input Method Framework - GLib Development Headers |
115 | + Maliit provides a flexible and cross-platform input method framework. It has a |
116 | + plugin-based client-server architecture where applications act as clients and |
117 | + communicate with the Maliit server via input context plugins. The communication |
118 | + link currently uses D-Bus. Maliit is an open source framework (LGPL 2) with |
119 | + open source plugins (BSD). |
120 | + . |
121 | + This package provides GLib development headers for the Maliit framework. |
122 | |
123 | Package: libmaliit0 |
124 | Depends: maliit-framework, ${misc:Depends} |
125 | @@ -113,20 +130,6 @@ |
126 | Description: transitional dummy package |
127 | This is a transitional dummy package. It can safely be removed. |
128 | |
129 | -Package: maliit-inputcontext-gtk2 |
130 | -Depends: maliit-framework, ${misc:Depends} |
131 | -Architecture: all |
132 | -Section: oldlibs |
133 | -Description: transitional dummy package |
134 | - This is a transitional dummy package. It can safely be removed. |
135 | - |
136 | -Package: maliit-inputcontext-gtk3 |
137 | -Depends: maliit-framework, ${misc:Depends} |
138 | -Architecture: all |
139 | -Section: oldlibs |
140 | -Description: transitional dummy package |
141 | - This is a transitional dummy package. It can safely be removed. |
142 | - |
143 | Package: maliit-inputcontext-qt4 |
144 | Depends: maliit-framework, ${misc:Depends} |
145 | Architecture: all |
146 | |
147 | === added file 'debian/libmaliit-glib-dev.install' |
148 | --- debian/libmaliit-glib-dev.install 1970-01-01 00:00:00 +0000 |
149 | +++ debian/libmaliit-glib-dev.install 2015-11-20 19:51:03 +0000 |
150 | @@ -0,0 +1,3 @@ |
151 | +usr/lib/libmaliit-glib.so |
152 | +usr/include/maliit/maliit-glib/* |
153 | +usr/lib/pkgconfig/maliit-glib.pc |
154 | |
155 | === added file 'debian/libmaliit-glib0.install' |
156 | --- debian/libmaliit-glib0.install 1970-01-01 00:00:00 +0000 |
157 | +++ debian/libmaliit-glib0.install 2015-11-20 19:51:03 +0000 |
158 | @@ -0,0 +1,1 @@ |
159 | +usr/lib/libmaliit-glib.so.0* |
160 | |
161 | === modified file 'debian/maliit-framework.sh' |
162 | --- debian/maliit-framework.sh 2015-03-05 21:48:51 +0000 |
163 | +++ debian/maliit-framework.sh 2015-11-20 19:51:03 +0000 |
164 | @@ -1,7 +1,8 @@ |
165 | -# Exports the QT_IM_MODULE from the maliit-framework package |
166 | +# Exports GTK_IM_MODULE and QT_IM_MODULE under Unity 8 |
167 | |
168 | case $XDG_SESSION_DESKTOP in |
169 | ubuntu-touch|unity8*) |
170 | + export GTK_IM_MODULE=Maliit |
171 | export QT_IM_MODULE=maliitphablet |
172 | ;; |
173 | esac |
174 | |
175 | === removed file 'debian/patches/0008-qt5.3-fix.patch' |
176 | --- debian/patches/0008-qt5.3-fix.patch 2014-08-18 15:36:22 +0000 |
177 | +++ debian/patches/0008-qt5.3-fix.patch 1970-01-01 00:00:00 +0000 |
178 | @@ -1,37 +0,0 @@ |
179 | -diff --git a/src/maliit/plugins/updateevent.cpp b/src/maliit/plugins/updateevent.cpp |
180 | -index 06a5228..85b7166 100644 |
181 | ---- a/src/maliit/plugins/updateevent.cpp |
182 | -+++ b/src/maliit/plugins/updateevent.cpp |
183 | -@@ -38,7 +38,7 @@ bool MImUpdateEventPrivate::isFlagSet(Qt::InputMethodHint hint, |
184 | - bool result = false; |
185 | - |
186 | - if (update.contains(Maliit::Internal::inputMethodHints)) { |
187 | -- const Qt::InputMethodHints hints(static_cast<Qt::InputMethodHints>( |
188 | -+ const Qt::InputMethodHints hints(static_cast<int>( |
189 | - update.value(Maliit::Internal::inputMethodHints).toLongLong())); |
190 | - |
191 | - result = (hints & hint); |
192 | -@@ -89,8 +89,8 @@ QStringList MImUpdateEvent::propertiesChanged() const |
193 | - Qt::InputMethodHints MImUpdateEvent::hints(bool *changed) const |
194 | - { |
195 | - Q_D(const MImUpdateEvent); |
196 | -- return static_cast<Qt::InputMethodHints>( |
197 | -- d->extractProperty(Maliit::Internal::inputMethodHints, changed).toLongLong()); |
198 | -+ return Qt::InputMethodHints(static_cast<int>( |
199 | -+ d->extractProperty(Maliit::Internal::inputMethodHints, changed).toLongLong())); |
200 | - } |
201 | - |
202 | - bool MImUpdateEvent::westernNumericInputEnforced(bool *changed) const |
203 | -diff --git a/src/mimpluginmanager.cpp b/src/mimpluginmanager.cpp |
204 | -index 02788a4..3c5c99a 100644 |
205 | ---- a/src/mimpluginmanager.cpp |
206 | -+++ b/src/mimpluginmanager.cpp |
207 | -@@ -1493,7 +1493,7 @@ void MIMPluginManager::handleWidgetStateChanged(unsigned int clientId, |
208 | - } |
209 | - } |
210 | - |
211 | -- const Qt::InputMethodHints lastHints = static_cast<Qt::InputMethodHints>(newState.value(Maliit::Internal::inputMethodHints).toLongLong()); |
212 | -+ const Qt::InputMethodHints lastHints(static_cast<int>(newState.value(Maliit::Internal::inputMethodHints).toLongLong())); |
213 | - MImUpdateEvent ev(newState, changedProperties, lastHints); |
214 | - |
215 | - // general notification last |
216 | |
217 | === added file 'debian/patches/0014-revert-6e2f8b4253f219688d31002aebf010eeabf0079b.patch' |
218 | --- debian/patches/0014-revert-6e2f8b4253f219688d31002aebf010eeabf0079b.patch 1970-01-01 00:00:00 +0000 |
219 | +++ debian/patches/0014-revert-6e2f8b4253f219688d31002aebf010eeabf0079b.patch 2015-11-20 19:51:03 +0000 |
220 | @@ -0,0 +1,82 @@ |
221 | +From d5ba4860ba655bfb62b62c7010422de9c064a4bc Mon Sep 17 00:00:00 2001 |
222 | +From: William Hua <william.hua@canonical.com> |
223 | +Date: Wed, 18 Nov 2015 16:56:12 -0500 |
224 | +Subject: [PATCH] Revert "Move GDBus code generation to maliit-glib" |
225 | + |
226 | +This reverts commit 6e2f8b4253f219688d31002aebf010eeabf0079b. |
227 | + |
228 | +The previous commit caused a regression where the generated headers |
229 | +maliitserver.h and maliitcontext.h would no longer be installed on 'make |
230 | +install'. The problem is due to how QMake works: it processes the list |
231 | +of HEADERSINSTALL before generating them via the glib_server and |
232 | +glib_context targets. |
233 | +--- |
234 | + dbus_interfaces/dbus_interfaces.pro | 19 +++++++++++++++++++ |
235 | + maliit-glib/maliit-glib.pro | 20 ++------------------ |
236 | + 2 files changed, 21 insertions(+), 18 deletions(-) |
237 | + |
238 | +diff --git a/dbus_interfaces/dbus_interfaces.pro b/dbus_interfaces/dbus_interfaces.pro |
239 | +index 87ee2f7..e494d04 100644 |
240 | +--- a/dbus_interfaces/dbus_interfaces.pro |
241 | ++++ b/dbus_interfaces/dbus_interfaces.pro |
242 | +@@ -9,3 +9,22 @@ TARGET = dummy |
243 | + OTHER_FILES += \ |
244 | + minputmethodcontext1interface.xml \ |
245 | + minputmethodserver1interface.xml |
246 | ++ |
247 | ++glib { |
248 | ++ include($$TOP_DIR/dbus_interfaces/dbus_interfaces.pri) |
249 | ++ |
250 | ++ PRE_TARGETDEPS += glib_server glib_context |
251 | ++ QMAKE_EXTRA_TARGETS += glib_server glib_context |
252 | ++ |
253 | ++ glib_server.commands = gdbus-codegen --interface-prefix com.meego \ |
254 | ++ --generate-c-code $$TOP_DIR/maliit-glib/maliitserver \ |
255 | ++ --c-namespace Maliit \ |
256 | ++ --annotate com.meego.inputmethod.uiserver1 org.gtk.GDBus.C.Name Server \ |
257 | ++ $$DBUS_SERVER_XML |
258 | ++ |
259 | ++ glib_context.commands = gdbus-codegen --interface-prefix com.meego \ |
260 | ++ --generate-c-code $$TOP_DIR/maliit-glib/maliitcontext \ |
261 | ++ --c-namespace Maliit \ |
262 | ++ --annotate com.meego.inputmethod.inputcontext1 org.gtk.GDBus.C.Name Context \ |
263 | ++ $$DBUS_CONTEXT_XML |
264 | ++} |
265 | +diff --git a/maliit-glib/maliit-glib.pro b/maliit-glib/maliit-glib.pro |
266 | +index c4667de..78cc5c9 100644 |
267 | +--- a/maliit-glib/maliit-glib.pro |
268 | ++++ b/maliit-glib/maliit-glib.pro |
269 | +@@ -11,6 +11,8 @@ PKGCONFIG += glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0 |
270 | + |
271 | + CONFIG -= qt |
272 | + |
273 | ++include($$TOP_DIR/connection-glib/libmaliit-connection-glib.pri) |
274 | ++ |
275 | + QMAKE_CXXFLAGS_DEBUG+=-Wno-error=deprecated-declarations |
276 | + QMAKE_CFLAGS_DEBUG+=-Wno-error=deprecated-declarations |
277 | + |
278 | +@@ -98,21 +100,3 @@ glib_genmarshal_source.variable_out = SOURCES |
279 | + glib_genmarshal_source.input = GLIB_GENMARSHAL_LIST |
280 | + |
281 | + QMAKE_EXTRA_COMPILERS += glib_genmarshal_header glib_genmarshal_source |
282 | +- |
283 | +-include($$TOP_DIR/dbus_interfaces/dbus_interfaces.pri) |
284 | +- |
285 | +-PRE_TARGETDEPS += glib_server glib_context |
286 | +-QMAKE_EXTRA_TARGETS += glib_server glib_context |
287 | +- |
288 | +-glib_server.commands = gdbus-codegen --interface-prefix com.meego \ |
289 | +- --generate-c-code $$TOP_DIR/maliit-glib/maliitserver \ |
290 | +- --c-namespace Maliit \ |
291 | +- --annotate com.meego.inputmethod.uiserver1 org.gtk.GDBus.C.Name Server \ |
292 | +- $$DBUS_SERVER_XML |
293 | +- |
294 | +-glib_context.commands = gdbus-codegen --interface-prefix com.meego \ |
295 | +- --generate-c-code $$TOP_DIR/maliit-glib/maliitcontext \ |
296 | +- --c-namespace Maliit \ |
297 | +- --annotate com.meego.inputmethod.inputcontext1 org.gtk.GDBus.C.Name Context \ |
298 | +- $$DBUS_CONTEXT_XML |
299 | +- |
300 | +-- |
301 | +2.6.2 |
302 | + |
303 | |
304 | === modified file 'debian/patches/series' |
305 | --- debian/patches/series 2015-01-23 13:19:33 +0000 |
306 | +++ debian/patches/series 2015-11-20 19:51:03 +0000 |
307 | @@ -4,9 +4,9 @@ |
308 | 0005-testability.patch |
309 | 0006-fix_orientation_to_angle_mapping.patch |
310 | 0007-use_host_prefix_for_mkspecs.patch |
311 | -0008-qt5.3-fix.patch |
312 | 0009-update-input-region-when-hiding.patch |
313 | 0010-fix-building-with-g++-4.9.patch |
314 | 0011-fix-orientation-updates.patch |
315 | 0012-fix-focus-changes.patch |
316 | 0013-check-testability-environment-variable.patch |
317 | +0014-revert-6e2f8b4253f219688d31002aebf010eeabf0079b.patch |
318 | |
319 | === modified file 'debian/rules' |
320 | --- debian/rules 2014-08-18 15:44:45 +0000 |
321 | +++ debian/rules 2015-11-20 19:51:03 +0000 |
322 | @@ -19,8 +19,8 @@ |
323 | |
324 | # Build options |
325 | ENABLE_MULTITOUCH = false |
326 | -DEB_QMAKE_CONFIG_VAL = qt5-inputcontext debug nodoc |
327 | -DEB_QMAKE_ARGS = -r\ |
328 | +DEB_QMAKE_CONFIG_VAL = qt5-inputcontext glib debug nodoc warn_off |
329 | +DEB_QMAKE_ARGS = \ |
330 | M_IM_PREFIX=/usr \ |
331 | MALIIT_SERVER_ARGUMENTS="-software -bypass-wm-hint" \ |
332 | MALIIT_DEFAULT_PLUGIN=libmaliit-keyboard-plugin.so |
333 | |
334 | === modified file 'debian/xinput/maliit' |
335 | --- debian/xinput/maliit 2013-07-23 21:53:29 +0000 |
336 | +++ debian/xinput/maliit 2015-11-20 19:51:03 +0000 |
337 | @@ -2,6 +2,7 @@ |
338 | XIM_PROGRAM=/usr/bin/maliit-server |
339 | XIM_ARGS= |
340 | |
341 | +GTK_IM_MODULE=Maliit |
342 | QT_IM_MODULE=MaliitPhablet |
343 | |
344 | DEPENDS="maliit-framework" |
Thanks. Uploaded.