debian/0000775000000000000000000000000012627052747007204 5ustar debian/libmaliit-plugins0.install0000664000000000000000000000003712624552574014301 0ustar usr/lib/libmaliit-plugins.so.* debian/libmaliit-glib-dev.install0000664000000000000000000000013412624552574014227 0ustar usr/lib/libmaliit-glib.so usr/include/maliit/maliit-glib/* usr/lib/pkgconfig/maliit-glib.pc debian/compat0000664000000000000000000000000212624552574010402 0ustar 9 debian/maliit-framework-dev.install0000664000000000000000000000062112624552574014621 0ustar usr/lib/*/qt5/mkspecs/features/maliit-defines.prf usr/lib/*/qt5/mkspecs/features/maliit-framework.prf usr/lib/*/qt5/mkspecs/features/maliit-plugins.prf usr/include/maliit/framework usr/include/maliit/plugins usr/include/maliit/plugins/* usr/include/maliit/server usr/lib/libmaliit-plugins.so usr/lib/pkgconfig/maliit-framework.pc usr/lib/pkgconfig/maliit-plugins.pc usr/lib/pkgconfig/maliit-server.pc debian/libmaliit-glib0.install0000664000000000000000000000003512624552574013533 0ustar usr/lib/libmaliit-glib.so.0* debian/maliit-framework-doc.install0000664000000000000000000000022112624552574014604 0ustar usr/bin/maliit-sdk usr/share/doc/maliit-framework usr/share/doc/maliit-framework/* usr/share/gtk-doc/html/maliit usr/share/gtk-doc/html/maliit/* debian/source/0000775000000000000000000000000012624552574010504 5ustar debian/source/format0000664000000000000000000000001412624552574011712 0ustar 3.0 (quilt) debian/xinput/0000775000000000000000000000000012624552574010533 5ustar debian/xinput/maliit0000664000000000000000000000020312624552574011730 0ustar XIM=none XIM_PROGRAM=/usr/bin/maliit-server XIM_ARGS= GTK_IM_MODULE=Maliit QT_IM_MODULE=MaliitPhablet DEPENDS="maliit-framework" debian/patches/0000775000000000000000000000000012624552574010633 5ustar debian/patches/0010-fix-building-with-g++-4.9.patch0000664000000000000000000000101312624552574016441 0ustar Index: maliit-framework-0.99.0+git20130615+97e8335/src/src.pro =================================================================== --- maliit-framework-0.99.0+git20130615+97e8335.orig/src/src.pro +++ maliit-framework-0.99.0+git20130615+97e8335/src/src.pro @@ -147,6 +147,10 @@ for(OPTION,$$list($$lower($$COV_OPTION)) } } +# g++ 4.9 introduces a new check for unused functions that we wish to ignore +# to avoid removing upstream code +QMAKE_CXXFLAGS += -Wno-unused-function + OBJECTS_DIR = .obj MOC_DIR = .moc debian/patches/0012-fix-focus-changes.patch0000664000000000000000000000213112624552574015542 0ustar Author: Michael Sheldon Forwarded: no Description: Only allow focus removal from input items. Maliit can remove focus from inappropriate items (like the Mir surface of an application) if the focus is changed or the application switched whilst the keyboard is hiding. This patch ensures that focus is only ever removed from items that wish to receive input from the OSK. Bug-Ubuntu: https://bugs.launchpad.net/bugs/1373985 Index: maliit-framework-0.99.0+git20130923+17fdf86/input-context/minputcontext.cpp =================================================================== --- maliit-framework-0.99.0+git20130923+17fdf86.orig/input-context/minputcontext.cpp +++ maliit-framework-0.99.0+git20130923+17fdf86/input-context/minputcontext.cpp @@ -410,7 +410,7 @@ void MInputContext::imInitiatedHide() // remove focus on QtQuick2 QQuickItem *inputItem = qobject_cast(QGuiApplication::focusObject()); - if (inputItem) { + if (inputItem && inputItem->flags().testFlag(QQuickItem::ItemAcceptsInputMethod)) { inputItem->setFocus(false); } debian/patches/0005-testability.patch0000664000000000000000000000256712624552574014605 0ustar From: Thomas Moenicke Subject: loading testability driver. code copied from CameraApp Forwarded: no Index: maliit-framework-0.99+git20130702+97e8335/passthroughserver/main.cpp =================================================================== --- maliit-framework-0.99+git20130702+97e8335.orig/passthroughserver/main.cpp 2013-07-17 14:16:06.235252966 +0200 +++ maliit-framework-0.99+git20130702+97e8335/passthroughserver/main.cpp 2013-07-17 12:02:29.000000000 +0200 @@ -138,6 +138,23 @@ QGuiApplication app(argc, argv); + // The testability driver is only loaded by QApplication but not by QGuiApplication. + // However, QApplication depends on QWidget which would add some unneeded overhead => Let's load the testability driver on our own. + if (app.arguments().contains(QLatin1String("-testability"))) { + QLibrary testLib(QLatin1String("qttestability")); + if (testLib.load()) { + typedef void (*TasInitialize)(void); + TasInitialize initFunction = (TasInitialize)testLib.resolve("qt_testability_init"); + if (initFunction) { + initFunction(); + } else { + qCritical("Library qttestability resolve failed!"); + } + } else { + qCritical("Library qttestability load failed!"); + } + } + // Input Context Connection QSharedPointer icConnection(createConnection(connectionOptions)); debian/patches/0011-fix-orientation-updates.patch0000664000000000000000000000164312624552574017021 0ustar Author: Michael Sheldon Forwarded: no Description: Ensure orientation updates are always sent when valid This makes sure the correct orientation is always updated in cases where app orientations change whilst the app isn't in focus (e.g. when the phone lock screen is displayed) Index: maliit-framework-0.99.0+git20130923+17fdf86/input-context/minputcontext.cpp =================================================================== --- maliit-framework-0.99.0+git20130923+17fdf86.orig/input-context/minputcontext.cpp +++ maliit-framework-0.99.0+git20130923+17fdf86/input-context/minputcontext.cpp @@ -277,6 +277,9 @@ void MInputContext::setFocusObject(QObje if (!active && currentFocusAcceptsInput) { imServer->activateContext(); active = true; + } + + if (currentFocusAcceptsInput) { updateServerOrientation(newFocusWindow->contentOrientation()); } debian/patches/0013-check-testability-environment-variable.patch0000664000000000000000000000231712624552574021775 0ustar Description: Check the QT_LOAD_TESTABILITY envrionment variable Load the testability driver if the QT_LOAD_TESTABILITY environment variable is set to 1. Author: Michael Sheldon Bug-Ubuntu: https://bugs.launchpad.net/bugs/1248729 --- maliit-framework-0.99.0+git20130923+17fdf86.orig/passthroughserver/main.cpp +++ maliit-framework-0.99.0+git20130923+17fdf86/passthroughserver/main.cpp @@ -27,6 +27,7 @@ #include #include +#include #include @@ -140,7 +141,9 @@ int main(int argc, char **argv) // The testability driver is only loaded by QApplication but not by QGuiApplication. // However, QApplication depends on QWidget which would add some unneeded overhead => Let's load the testability driver on our own. - if (app.arguments().contains(QLatin1String("-testability"))) { + QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); + + if (app.arguments().contains(QLatin1String("-testability")) || env.value("QT_LOAD_TESTABILITY", "0") == "1") { QLibrary testLib(QLatin1String("qttestability")); if (testLib.load()) { typedef void (*TasInitialize)(void); debian/patches/0006-fix_orientation_to_angle_mapping.patch0000664000000000000000000000361512624552574021030 0ustar Author: Daniel d'Andrada Bug: https://bugs.launchpad.net/ubuntu-keyboard/+bug/1251330 Forwarded: no Description: Fix mapping between screen orientations and rotation angles. Simply use the function that Qt provides for that. Index: maliit-framework-0.99.0+git20130923+17fdf86/input-context/minputcontext.cpp =================================================================== --- maliit-framework-0.99.0+git20130923+17fdf86.orig/input-context/minputcontext.cpp +++ maliit-framework-0.99.0+git20130923+17fdf86/input-context/minputcontext.cpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include @@ -37,22 +38,8 @@ namespace int orientationAngle(Qt::ScreenOrientation orientation) { - // Maliit uses orientations relative to screen, Qt relative to world - // Note: doesn't work with inverted portrait or landscape as native screen orientation. - static bool portraitRotated = qGuiApp->primaryScreen()->primaryOrientation() == Qt::PortraitOrientation; - - switch (orientation) { - case Qt::PrimaryOrientation: // Urgh. - case Qt::PortraitOrientation: - return portraitRotated ? MInputContext::Angle0 : MInputContext::Angle270; - case Qt::LandscapeOrientation: - return portraitRotated ? MInputContext::Angle90 : MInputContext::Angle0; - case Qt::InvertedPortraitOrientation: - return portraitRotated ? MInputContext::Angle180 : MInputContext::Angle90; - case Qt::InvertedLandscapeOrientation: - return portraitRotated ? MInputContext::Angle270 : MInputContext::Angle180; - } - return MInputContext::Angle0; + QScreen *screen = qGuiApp->primaryScreen(); + return screen->angleBetween(screen->primaryOrientation(), orientation); } } debian/patches/0004-fix_activationlostevent.patch0000664000000000000000000000144012624552574017207 0ustar From: Thomas Moenicke Subject: fix activationlostevent Forwarded: no Index: maliit-framework/input-context/minputcontext.cpp =================================================================== --- maliit-framework.orig/input-context/minputcontext.cpp 2013-07-05 14:03:09.713553608 +0200 +++ maliit-framework/input-context/minputcontext.cpp 2013-07-12 17:16:31.708912452 +0200 @@ -369,10 +369,14 @@ void MInputContext::activationLostEvent() { + if (debug) qDebug() << InputContextName << "in" << __PRETTY_FUNCTION__; + // This method is called when activation was gracefully lost. // There is similar cleaning up done in onDBusDisconnection. active = false; inputPanelState = InputPanelHidden; + + updateInputMethodArea(QRect()); } debian/patches/0007-use_host_prefix_for_mkspecs.patch0000664000000000000000000000211412624552574020037 0ustar Author: Łukasz 'sil2100' Zemczak Bug: https://bugs.launchpad.net/ubuntu/+source/maliit-framework/+bug/1279235 Forwarded: no Description: Change the mkspecs install directory for Qt 5.2 This patch is based on the patch created by Timo Jyrinki - but we also try to make the install path change Qt-version-dependent. Index: maliit-framework-0.99.0+git20130615+97e8335/config.pri =================================================================== --- maliit-framework-0.99.0+git20130615+97e8335.orig/config.pri 2013-06-15 04:04:41.000000000 +0200 +++ maliit-framework-0.99.0+git20130615+97e8335/config.pri 2014-02-26 17:18:45.824253918 +0100 @@ -142,7 +142,13 @@ DEFINES += NOXCB } -MALIIT_INSTALL_PRF = $$[QT_INSTALL_DATA]/mkspecs/features +equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 1) { + MALIIT_INSTALL_PRF = $$[QT_INSTALL_ARCHDATA]/mkspecs/features +} +else { + MALIIT_INSTALL_PRF = $$[QT_INSTALL_DATA]/mkspecs/features +} + local-install { MALIIT_INSTALL_PRF = $$replace(MALIIT_INSTALL_PRF, $$[QT_INSTALL_PREFIX], $$PREFIX) } debian/patches/series0000664000000000000000000000071112624552574012047 0ustar 0001-rename_input_context.patch 0002-ubuntu_session_type.patch 0004-fix_activationlostevent.patch 0005-testability.patch 0006-fix_orientation_to_angle_mapping.patch 0007-use_host_prefix_for_mkspecs.patch 0009-update-input-region-when-hiding.patch 0010-fix-building-with-g++-4.9.patch 0011-fix-orientation-updates.patch 0012-fix-focus-changes.patch 0013-check-testability-environment-variable.patch 0014-revert-6e2f8b4253f219688d31002aebf010eeabf0079b.patch debian/patches/0002-ubuntu_session_type.patch0000664000000000000000000000331712624552574016365 0ustar From: Thomas Moenicke Subject: Adding Ubuntu hints to the QPA platform interface. Forwarded: no Index: maliit-framework-0.99+git20130702+97e8335/passthroughserver/main.cpp =================================================================== --- maliit-framework-0.99+git20130702+97e8335.orig/passthroughserver/main.cpp 2013-06-14 23:04:41.000000000 -0300 +++ maliit-framework-0.99+git20130702+97e8335/passthroughserver/main.cpp 2013-07-04 15:37:56.440347671 -0300 @@ -28,6 +28,8 @@ #include #include +#include + namespace { void disableMInputContextPlugin() @@ -146,5 +148,10 @@ MImServer imServer(icConnection, platform); Q_UNUSED(imServer); + QPlatformNativeInterface* nativeInterface = QGuiApplication::platformNativeInterface(); + nativeInterface->setProperty("UbuntuSessionType", 1); // SYSTEM_SESSION_TYPE + nativeInterface->setProperty("ubuntuSessionType", 1); // SYSTEM_SESSION_TYPE + nativeInterface->setProperty("session", 1); // SYSTEM_SESSION_TYPE + return app.exec(); } Index: maliit-framework-0.99+git20130702+97e8335/passthroughserver/passthroughserver.pro =================================================================== --- maliit-framework-0.99+git20130702+97e8335.orig/passthroughserver/passthroughserver.pro 2013-06-14 23:04:41.000000000 -0300 +++ maliit-framework-0.99+git20130702+97e8335/passthroughserver/passthroughserver.pro 2013-07-04 15:39:19.488344178 -0300 @@ -13,7 +13,7 @@ SOURCES += main.cpp -QT += core gui +QT += core gui gui-private # coverage flags are off per default, but can be turned on via qmake COV_OPTION=on for(OPTION,$$list($$lower($$COV_OPTION))){ debian/patches/0001-rename_input_context.patch0000664000000000000000000000346712624552574016476 0ustar From: Thomas Moenicke Subject: Renaming plugin to not conflict with the one provided by Qt Forwarded: no Index: maliit-framework-0.99+git20130702+97e8335/input-context/input-context.pro =================================================================== --- maliit-framework-0.99+git20130702+97e8335.orig/input-context/input-context.pro 2013-07-16 09:57:37.000000000 +0000 +++ maliit-framework-0.99+git20130702+97e8335/input-context/input-context.pro 2013-07-16 09:57:37.000000000 +0000 @@ -5,7 +5,7 @@ QT += dbus gui-private quick TEMPLATE = lib CONFIG += plugin -TARGET = maliitplatforminputcontextplugin +TARGET = maliitphabletplatforminputcontextplugin target.path = $$[QT_INSTALL_PLUGINS]/platforminputcontexts Index: maliit-framework-0.99+git20130702+97e8335/input-context/main.cpp =================================================================== --- maliit-framework-0.99+git20130702+97e8335.orig/input-context/main.cpp 2013-07-16 09:57:37.000000000 +0000 +++ maliit-framework-0.99+git20130702+97e8335/input-context/main.cpp 2013-07-16 09:57:37.000000000 +0000 @@ -32,7 +32,7 @@ { Q_UNUSED(paramList); - if (system.compare(system, QStringLiteral("maliit"), Qt::CaseInsensitive) == 0) { + if (system.compare(system, QStringLiteral("MaliitPhablet"), Qt::CaseInsensitive) == 0) { return new MInputContext; } return 0; Index: maliit-framework-0.99+git20130702+97e8335/input-context/maliit.json =================================================================== --- maliit-framework-0.99+git20130702+97e8335.orig/input-context/maliit.json 2013-07-16 10:28:11.000000000 +0000 +++ maliit-framework-0.99+git20130702+97e8335/input-context/maliit.json 2013-07-16 10:29:24.000000000 +0000 @@ -1,3 +1,3 @@ { - "Keys": [ "maliit" ] + "Keys": [ "maliitphablet" ] } debian/patches/0014-revert-6e2f8b4253f219688d31002aebf010eeabf0079b.patch0000664000000000000000000000717512624552574021175 0ustar From d5ba4860ba655bfb62b62c7010422de9c064a4bc Mon Sep 17 00:00:00 2001 From: William Hua Date: Wed, 18 Nov 2015 16:56:12 -0500 Subject: [PATCH] Revert "Move GDBus code generation to maliit-glib" This reverts commit 6e2f8b4253f219688d31002aebf010eeabf0079b. The previous commit caused a regression where the generated headers maliitserver.h and maliitcontext.h would no longer be installed on 'make install'. The problem is due to how QMake works: it processes the list of HEADERSINSTALL before generating them via the glib_server and glib_context targets. --- dbus_interfaces/dbus_interfaces.pro | 19 +++++++++++++++++++ maliit-glib/maliit-glib.pro | 20 ++------------------ 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/dbus_interfaces/dbus_interfaces.pro b/dbus_interfaces/dbus_interfaces.pro index 87ee2f7..e494d04 100644 --- a/dbus_interfaces/dbus_interfaces.pro +++ b/dbus_interfaces/dbus_interfaces.pro @@ -9,3 +9,22 @@ TARGET = dummy OTHER_FILES += \ minputmethodcontext1interface.xml \ minputmethodserver1interface.xml + +glib { + include($$TOP_DIR/dbus_interfaces/dbus_interfaces.pri) + + PRE_TARGETDEPS += glib_server glib_context + QMAKE_EXTRA_TARGETS += glib_server glib_context + + glib_server.commands = gdbus-codegen --interface-prefix com.meego \ + --generate-c-code $$TOP_DIR/maliit-glib/maliitserver \ + --c-namespace Maliit \ + --annotate com.meego.inputmethod.uiserver1 org.gtk.GDBus.C.Name Server \ + $$DBUS_SERVER_XML + + glib_context.commands = gdbus-codegen --interface-prefix com.meego \ + --generate-c-code $$TOP_DIR/maliit-glib/maliitcontext \ + --c-namespace Maliit \ + --annotate com.meego.inputmethod.inputcontext1 org.gtk.GDBus.C.Name Context \ + $$DBUS_CONTEXT_XML +} diff --git a/maliit-glib/maliit-glib.pro b/maliit-glib/maliit-glib.pro index c4667de..78cc5c9 100644 --- a/maliit-glib/maliit-glib.pro +++ b/maliit-glib/maliit-glib.pro @@ -11,6 +11,8 @@ PKGCONFIG += glib-2.0 gobject-2.0 gio-2.0 gio-unix-2.0 CONFIG -= qt +include($$TOP_DIR/connection-glib/libmaliit-connection-glib.pri) + QMAKE_CXXFLAGS_DEBUG+=-Wno-error=deprecated-declarations QMAKE_CFLAGS_DEBUG+=-Wno-error=deprecated-declarations @@ -98,21 +100,3 @@ glib_genmarshal_source.variable_out = SOURCES glib_genmarshal_source.input = GLIB_GENMARSHAL_LIST QMAKE_EXTRA_COMPILERS += glib_genmarshal_header glib_genmarshal_source - -include($$TOP_DIR/dbus_interfaces/dbus_interfaces.pri) - -PRE_TARGETDEPS += glib_server glib_context -QMAKE_EXTRA_TARGETS += glib_server glib_context - -glib_server.commands = gdbus-codegen --interface-prefix com.meego \ - --generate-c-code $$TOP_DIR/maliit-glib/maliitserver \ - --c-namespace Maliit \ - --annotate com.meego.inputmethod.uiserver1 org.gtk.GDBus.C.Name Server \ - $$DBUS_SERVER_XML - -glib_context.commands = gdbus-codegen --interface-prefix com.meego \ - --generate-c-code $$TOP_DIR/maliit-glib/maliitcontext \ - --c-namespace Maliit \ - --annotate com.meego.inputmethod.inputcontext1 org.gtk.GDBus.C.Name Context \ - $$DBUS_CONTEXT_XML - -- 2.6.2 debian/patches/0009-update-input-region-when-hiding.patch0000664000000000000000000000204412624552574020341 0ustar Author: Michael Sheldon Forwarded: no Description: Update input method area when hiding the keyboard This patch ensures that maliit continues to update the input method area after the keyboard has been dismissed. This allows keyboard hiding animations to provide a smooth transition between the showing and hiding states. Index: maliit-framework-0.99+git20130702+97e8335/src/windowgroup.cpp =================================================================== --- maliit-framework-0.99.0+git20130615+97e8335.orig/src/windowgroup.cpp +++ maliit-framework-0.99.0+git20130615+97e8335/src/windowgroup.cpp @@ -104,9 +104,10 @@ void WindowGroup::setInputMethodArea(con } } - if (m_active) { - updateInputMethodArea(); - } + // We should update the input method area regardless of whether we're still + // active or not, as keyboard hiding animations could be changing this + // region after we've deactivated + updateInputMethodArea(); } void WindowGroup::setApplicationWindow(WId id) debian/maliit-framework.maintscript0000664000000000000000000000012012624552574014726 0ustar rm_conffile /etc/xdg/maliit.org/server.conf 0.99.0+git20130615+97e8335-0ubuntu2 debian/control0000664000000000000000000001306512624552574010614 0ustar Source: maliit-framework Section: libs Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Mobile Team Uploaders: Michał Zając , Iain Lane Build-Depends: cdbs, debhelper (>= 9), libglib2.0-dev, libmtdev-dev, libudev-dev, libxcb-composite0-dev, libxcb-damage0-dev, libxcb-xfixes0-dev, libxext-dev, pkg-config, qt5-default, qtbase5-dev (>= 5.2), qtbase5-private-dev, qtdeclarative5-dev, # Test depends xvfb, qtdeclarative5-qtquick2-plugin Standards-Version: 3.9.6 Homepage: https://wiki.maliit.org Vcs-Browser: https://code.launchpad.net/~ubuntu-core-dev/maliit/maliit-framework-ubuntu Vcs-Bzr: lp:~ubuntu-core-dev/maliit/maliit-framework-ubuntu Package: maliit-framework Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Recommends: maliit-inputmethod-plugin Breaks: gir1.2-maliit-1.0 (<< ${source:Version}), libmaliit-glib0 (<< ${source:Version}), libmaliit0 (<< ${source:Version}), maliit-dbus-activation (<< ${source:Version}), maliit-inputcontext-qt4 (<< ${source:Version}), Description: Maliit Input Method Framework Maliit provides a flexible and cross-platform input method framework. It has a plugin-based client-server architecture where applications act as clients and communicate with the Maliit server via input context plugins. The communication link currently uses D-Bus. Maliit is an open source framework (LGPL 2) with open source plugins (BSD). Package: libmaliit-plugins0 Architecture: any Breaks: maliit-framework (<< 0.99) Replaces: maliit-framework (<< 0.99) Depends: ${misc:Depends}, ${shlibs:Depends}, Description: Maliit Input Method Framework - Plugin Library Maliit provides a flexible and cross-platform input method framework. It has a plugin-based client-server architecture where applications act as clients and communicate with the Maliit server via input context plugins. The communication link currently uses D-Bus. Maliit is an open source framework (LGPL 2) with open source plugins (BSD). . This package provides the maliit plugin library for the Maliit framework. Package: maliit-framework-dev Architecture: any Section: libdevel Depends: maliit-framework (= ${binary:Version}), ${misc:Depends} Description: Maliit Input Method Framework - Development Files Maliit provides a flexible and cross-platform input method framework. It has a plugin-based client-server architecture where applications act as clients and communicate with the Maliit server via input context plugins. The communication link currently uses D-Bus. Maliit is an open source framework (LGPL 2) with open source plugins (BSD). . This package is needed to compile plugins for the Maliit framework Package: maliit-framework-dbg Section: debug Architecture: any Depends: maliit-framework (= ${binary:Version}), ${misc:Depends} Description: Maliit Input Method Framework - Debug symbols Maliit provides a flexible and cross-platform input method framework. It has a plugin-based client-server architecture where applications act as clients and communicate with the Maliit server via input context plugins. The communication link currently uses D-Bus. Maliit is an open source framework (LGPL 2) with open source plugins (BSD). . This package contains debugging symbols. Package: gir1.2-maliit-1.0 Depends: maliit-framework, ${misc:Depends} Architecture: all Section: oldlibs Description: transitional dummy package This is a transitional dummy package. It can safely be removed. Package: libmaliit-glib0 Depends: ${misc:Depends}, ${shlibs:Depends} Architecture: any Section: libs Description: Maliit Input Method Framework - GLib Bindings Maliit provides a flexible and cross-platform input method framework. It has a plugin-based client-server architecture where applications act as clients and communicate with the Maliit server via input context plugins. The communication link currently uses D-Bus. Maliit is an open source framework (LGPL 2) with open source plugins (BSD). . This package provides GLib bindings for the Maliit framework. Package: libmaliit-glib-dev Depends: libmaliit-glib0 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Architecture: any Section: libdevel Description: Maliit Input Method Framework - GLib Development Headers Maliit provides a flexible and cross-platform input method framework. It has a plugin-based client-server architecture where applications act as clients and communicate with the Maliit server via input context plugins. The communication link currently uses D-Bus. Maliit is an open source framework (LGPL 2) with open source plugins (BSD). . This package provides GLib development headers for the Maliit framework. Package: libmaliit0 Depends: maliit-framework, ${misc:Depends} Architecture: all Section: oldlibs Description: transitional dummy package This is a transitional dummy package. It can safely be removed. Package: maliit-dbus-activation Depends: maliit-framework, ${misc:Depends} Architecture: all Section: oldlibs Description: transitional dummy package This is a transitional dummy package. It can safely be removed. Package: maliit-inputcontext-qt4 Depends: maliit-framework, ${misc:Depends} Architecture: all Section: oldlibs Description: transitional dummy package This is a transitional dummy package. It can safely be removed. debian/maliit-framework.install0000664000000000000000000000030112624552574014040 0ustar debian/maliit-framework.sh etc/profile.d/ debian/xinput/* etc/X11/xinit/xinput.d usr/bin/maliit-server usr/lib/*/qt5/plugins/platforminputcontexts/libmaliitphabletplatforminputcontextplugin.so debian/maliit-framework.sh0000664000000000000000000000027712624552574013020 0ustar # Exports GTK_IM_MODULE and QT_IM_MODULE under Unity 8 case $XDG_SESSION_DESKTOP in ubuntu-touch|unity8*) export GTK_IM_MODULE=Maliit export QT_IM_MODULE=maliitphablet ;; esac debian/maliit-framework.prerm0000664000000000000000000000044512624552574013530 0ustar #!/bin/sh set -e case "$1" in remove|upgrade|deconfigure) update-alternatives \ --remove xinput-all_ALL \ /etc/X11/xinit/xinput.d/maliit ; ;; failed-upgrade) ;; *) echo "prerm called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# debian/copyright0000664000000000000000000000711612624552574011144 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: maliit-framework Files: debian/* connection/waylandinputmethodconnection.* Copyright: 2013 Canonical Ltd 2012 Canonical Ltd License: LGPL-2.1 Files: src/mimsettingsqsettings.* Copyright: 2012 Mattia Barbon 2012 Canonical Ltd License: LGPL-2.1 Files: connection/dbuscustomarguments src/maliit/plugins/abstractpluginsetting.h src/msharedattributeextensionmanager.* Copyright: 2012 Mattia Barbon License: LGPL-2.1 Files: src/unknownplatform.* src/abstractplatform.* src/windowdata.* src/windowgroup.* src/waylandplatform.* src/mimpluginmanager_p.h src/mimpluginmanager.h src/xcbplatform.* src/mimserveroptions.cpp Copyright: 2013 Openismus GmbH License: LGPL-2.1 Files: input-context/minputcontext.cpp Copyright: 2013 Jolla Ltd 2013 Digia Plc and/or its subsidiary(-ies) 2010 Nokia Corporation and/or its subsidiary(-ies) License: LGPL-2.1 Files: input-context/main.cpp Copyright: 2013 Digia Plc and/or its subsidiary(-ies) License: LGPL-2.1 Files: tests/ut_mimpluginmanagerconfig/ut_mimpluginmanagerconfig.h tests/ut_mimpluginmanagerconfig/ut_mimpluginmanagerconfig.cpp ./src/mimhwkeyboardtracker Copyright: 2012 One Laptop per Child Association License: LGPL-2.1 Files: src/mimhwkeyboardtracker_stub.cpp Copyright: 2013 Gianni Valdambrini License: LGPL-2.1 Files: weston-protocols/* Copyright: 2012, 2013 Intel Corporation License: Intel Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of the copyright holders not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The copyright holders make no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. . THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. Files: * Copyright: 2011 Nokia Corporation and/or its subsidiary(-ies) 2010 Nokia Corporation and/or its subsidiary(-ies) License: LGPL-2.1 License: LGPL-2.1 This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 2.1 of the License. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. debian/maliit-framework.postinst0000664000000000000000000000056412624552574014270 0ustar #!/bin/sh set -e case "$1" in configure) update-alternatives \ --install /etc/X11/xinit/xinput.d/all_ALL xinput-all_ALL \ /etc/X11/xinit/xinput.d/maliit 15 ; ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac #DEBHELPER# debian/rules0000775000000000000000000000272312624552574010270 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/qmake.mk # Package names PKG_version := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p') PKG_source := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p') UPS_version := $(shell echo '$(PKG_version)' | sed 's/.*://; s/-[^-]*$$//') GIT_rev := $(shell echo '$(UPS_version)' | sed 's/.*+//') GIT_repo := https://github.com/maliit/framework.git comma :=, empty := space := $(empty) $(empty) # Build options ENABLE_MULTITOUCH = false DEB_QMAKE_CONFIG_VAL = qt5-inputcontext glib debug nodoc warn_off DEB_QMAKE_ARGS = \ M_IM_PREFIX=/usr \ MALIIT_SERVER_ARGUMENTS="-software -bypass-wm-hint" \ MALIIT_DEFAULT_PLUGIN=libmaliit-keyboard-plugin.so get-packaged-orig-source: rm -rf $(PKG_source)-$(UPS_version) rm -f $(PKG_source)-$(UPS_version).orig.tar.gz git clone $(GIT_repo) $(PKG_source)-$(UPS_version) cd $(PKG_source)-$(UPS_version) && git archive \ --format tar \ --prefix $(PKG_source)-$(UPS_version)/ \ $(GIT_rev) \ | gzip >../$(PKG_source)_$(UPS_version).orig.tar.gz rm -rf $(PKG_source)-$(UPS_version) run-tests: xvfb-run -s '-screen 0 640x480x24' -a $(MAKE) check DEB_MAKE_CHECK_TARGET := -f debian/rules run-tests DEB_DH_INSTALL_ARGS := --fail-missing -Xexample -Xtests DEB_DH_STRIP_ARGS := --dbg-package=maliit-framework-dbg .PHONY: run-tests debian/changelog0000664000000000000000000003213412627052747011061 0ustar maliit-framework (0.99.1+git20151118+62bd54b-0ubuntu3) xenial; urgency=medium * Rebuild against Qt 5.5.1. -- Timo Jyrinki Mon, 30 Nov 2015 15:57:59 +0200 maliit-framework (0.99.1+git20151118+62bd54b-0ubuntu2) xenial; urgency=medium * Add back missing changelog entries. No functional changes since the patches in missed uploads were merged upstream. -- Timo Jyrinki Wed, 25 Nov 2015 05:55:28 +0000 maliit-framework (0.99.1+git20151118+62bd54b-0ubuntu1) xenial; urgency=medium * New upstream release 0.99.1: - Introduced Qt5 input context, replacing the one provided by Qt. Can be enabled by CONFIG+=qt5-inputcontext - Move maliit-glib from GTK+ input context package back into frameowrk - Use GDBus in maliit-glib - Allow plugin window reactive area and input method area reported to application differ - Fix window state to have transient hint and window type as with Maliit 0.8x - Made the dependency from xcb optional - Added a CONFIG option to disable the hardware keyboard - Clear preedit state on input context reset - Reshow virtual keyboard when hardware keyboard disappears - Fix bugs with Qt 5.3, Qt 5.4 and Qt 5.5 * debian/control: - Update standards version - Replace libdbus-glib-1-dev with libglib2.0-dev - Fix description of libmaliit-plugins0 - Add libmaliit-glib0 and libmaliit-glib-dev - Remove maliit-inputcontext-gtk2 and maliit-inputcontext-gtk3 * debian/libmaliit-glib0.install: * debian/libmaliit-glib-dev.install: - Added, mark files for installation * debian/maliit-framework.sh: * debian/xinput/maliit: - Export GTK_IM_MODULE under Unity 8 * debian/patches/series: * debian/patches/0008-qt5.3-fix.patch: * debian/patches/0014-fix-building-with-qt5.5.patch: * debian/patches/0015-fix-plugin-iid.patch: - Removed, fixed upstream * debian/patches/0014-revert-6e2f8b4253f219688d31002aebf010eeabf0079b.patch: - Added, install generated headers properly * debian/rules: - Don't qmake recursively - Configure to build GLib bindings - Disable warnings due to unused parameters, this is a bug that needs to be fixed in GLib -- William Hua Wed, 18 Nov 2015 15:28:03 -0500 maliit-framework (0.99.0+git20130923+17fdf86-0ubuntu12) wily; urgency=medium * Add 0015-fix-plugin-iid.patch to fix keyboard functionality with Qt 5.5, #ifdef to build also on Qt 5.4. (LP: #1474690) -- Timo Jyrinki Mon, 05 Oct 2015 12:41:54 +0000 maliit-framework (0.99.0+git20130923+17fdf86-0ubuntu11~gcc5.1) wily; urgency=medium * No-change test rebuild for g++5 ABI transition -- Steve Langasek Wed, 15 Jul 2015 15:39:10 +0000 maliit-framework (0.99.0+git20130923+17fdf86-0ubuntu10) wily; urgency=medium * No-change rebuild against Qt 5.4.2. -- Timo Jyrinki Thu, 11 Jun 2015 21:28:58 +0300 maliit-framework (0.99.0+git20130923+17fdf86-0ubuntu9) wily; urgency=medium [ Michael Sheldon ] * 0014-fix-building-with-qt5.5.patch: Fix FTBFS with Qt 5.5 (LP: #1437182) -- Timo Jyrinki Thu, 04 Jun 2015 12:12:49 +0100 maliit-framework (0.99.0+git20130923+17fdf86-0ubuntu8) vivid; urgency=medium [ William Hua ] * maliit-framework.sh prevents IBus and Fcitx from running under Unity 7 because of the export of QT_IM_MODULE. This export should only be done under a Unity 8 session (LP: #1245925). -- Ricardo Salveti de Araujo Thu, 26 Mar 2015 18:34:50 -0300 maliit-framework (0.99.0+git20130923+17fdf86-0ubuntu7) vivid; urgency=medium * No-change rebuild against Qt 5.4.1. -- Timo Jyrinki Wed, 11 Mar 2015 08:25:31 +0200 maliit-framework (0.99.0+git20130923+17fdf86-0ubuntu6) vivid; urgency=medium * No-change rebuild against Qt 5.4.0. -- Timo Jyrinki Fri, 13 Feb 2015 13:58:04 +0200 maliit-framework (0.99.0+git20130923+17fdf86-0ubuntu5) vivid; urgency=medium [ Michael Sheldon ] * 0013-check-testability-environment-variable.patch: check for the QT_LOAD_TESTABILITY envrionment variable (LP: #1248729) -- Ricardo Salveti de Araujo Thu, 20 Nov 2014 17:28:39 -0200 maliit-framework (0.99.0+git20130923+17fdf86-0ubuntu4) vivid; urgency=medium * Depend on libmtdev-dev for building. (LP: #1379152) -- Timo Jyrinki Thu, 06 Nov 2014 12:12:17 +0200 maliit-framework (0.99.0+git20130923+17fdf86-0ubuntu3) vivid; urgency=medium [ Michael Sheldon ] * 0012-fix-focus-changes.patch: Only allow maliit to remove focus from input fields (LP: #1373985) -- Ricardo Salveti de Araujo Mon, 03 Nov 2014 17:15:21 -0200 maliit-framework (0.99.0+git20130923+17fdf86-0ubuntu2) utopic; urgency=medium * 0011-fix-orientation-updates.patch: Ensure the correct orientation is always updated in cases where app orientations change whilst the app isn't in focus (e.g. when the phone lock screen is displayed) (LP: #1355752) (LP: #1366855) -- Michael Sheldon Thu, 11 Sep 2014 17:13:44 +0100 maliit-framework (0.99.0+git20130923+17fdf86-0ubuntu1) utopic; urgency=medium * New upstream snapshot - Dropping patches that are already in upstream - Sync with latest from upstream -- Ricardo Salveti de Araujo Mon, 18 Aug 2014 12:38:22 -0300 maliit-framework (0.99.0+git20130615+97e8335-0ubuntu11) utopic; urgency=medium [ Michael Sheldon ] * 0010-fix-building-with-g++-4.9.patch: g++ 4.9 introduces a new check for unused functions that we wish to ignore to avoid removing upstream code -- Ricardo Salveti de Araujo Mon, 04 Aug 2014 17:16:34 -0300 maliit-framework (0.99.0+git20130615+97e8335-0ubuntu10) utopic; urgency=medium * Ensure that input method area sizes are always updated when sent from the keyboard plugin regardless of whether the keyboard is currently active. This allows for hiding animations to correctly set the input method area whilst the keyboard is otherwise inactive. -- Michael Sheldon Mon, 28 Jul 2014 16:58:21 +0100 maliit-framework (0.99.0+git20130615+97e8335-0ubuntu9) utopic; urgency=medium [ Timo Jyrinki ] * Rebuild against Qt 5.3. [ ultraviolet ] * Add 0008-qt5.3-fix.patch: - Fix building against Qt 5.3 (LP: #1323962) -- Timo Jyrinki Mon, 02 Jun 2014 15:26:38 +0300 maliit-framework (0.99.0+git20130615+97e8335-0ubuntu8) trusty; urgency=medium * No-change rebuild for shlib changes in qtbase and qtdeclarative. -- Ricardo Salveti de Araujo Fri, 11 Apr 2014 21:16:27 -0300 maliit-framework (0.99.0+git20130615+97e8335-0ubuntu7) trusty; urgency=medium * Bump the Qt dependency to 5.2, change the mkspecs install path as required by the new Qt version (LP: #1279235). -- Łukasz 'sil2100' Zemczak Thu, 27 Feb 2014 10:39:43 +0100 maliit-framework (0.99.0+git20130615+97e8335-0ubuntu6) trusty; urgency=medium * Fix mapping between screen orientations and rotation angles. (LP: #1251330) -- Daniel d'Andrada Fri, 31 Jan 2014 15:59:27 -0200 maliit-framework (0.99.0+git20130615+97e8335-0ubuntu5) trusty; urgency=medium * Modify xvfb command to successfully pass tests (LP: #1272249) -- Timo Jyrinki Fri, 24 Jan 2014 13:49:59 +0000 maliit-framework (0.99.0+git20130615+97e8335-0ubuntu4) trusty; urgency=medium [ Timo Jyrinki ] * Remove hard-coded dependency on libqt5core5 (LP: #1270720). -- Dmitry Shachnev Fri, 24 Jan 2014 14:54:42 +0400 maliit-framework (0.99.0+git20130615+97e8335-0ubuntu3) saucy; urgency=low * Removing server.conf so the framework can use whatever is defined by default. If a keyboard wants to replace the default behavior, it can replace the system-wide config or make it per-user. -- Ricardo Salveti de Araujo Wed, 21 Aug 2013 19:11:07 -0300 maliit-framework (0.99.0+git20130615+97e8335-0ubuntu2) saucy; urgency=low * Add missing Replaces/Breaks from libmaliit-plugins0 to maliit-framework due to file move. (LP: #1204543) * Restore some packaging bits that were dropped when the packaging was rewritten from dh to cdbs in the previous upload. - --fail-missing - Run the testsuite * Don't build-depend or use quilt explicitly. This is a 3.0 (quilt) package. * Make transitional packages Arch: all and remove strict versioned deps. -- Iain Lane Thu, 25 Jul 2013 09:45:13 +0000 maliit-framework (0.99.0+git20130615+97e8335-0ubuntu1) saucy; urgency=low [ Sergio Schvezov ] * New build from HEAD 97e8335. * Packaging import from lp:phablet-extras/maliit-framework. [ Ricardo Salveti de Araujo ] * debian/control: adding vcs and fixing dependencies * General package cleanup -- Ricardo Salveti de Araujo Tue, 23 Jul 2013 19:47:04 -0300 maliit-framework (0.94.2-0ubuntu1b1) raring; urgency=low * No-change rebuild against libudev1 -- Martin Pitt Wed, 13 Mar 2013 07:07:56 +0000 maliit-framework (0.94.2-0ubuntu1) raring; urgency=low * New upstream release + Do not abort if there are no plugins + Do not call g_type_init for glib > 2.34 + Do not use debug config for unit tests * Add new maliit-dbus-activation package to be installed when the user wishes to use maliit in this way (for example on a tablet). The default is to use explicit input method configuration. This currently only works with im-switch; im-config (Ubuntu's default IM switching framework) integration is still pending. -- Iain Lane Tue, 26 Feb 2013 11:44:26 +0000 maliit-framework (0.94.1-1~ubuntu4) raring; urgency=low * Use compat 9 so that build flags are passed into the buildsystem for us. * Use qmake-qt4 explicitly (for now). -- Iain Lane Fri, 08 Feb 2013 10:01:17 +0000 maliit-framework (0.94.1-1~ubuntu3) raring; urgency=low * Call dh_girepository to generate correct deps for gir package -- Iain Lane Thu, 07 Feb 2013 17:58:25 +0000 maliit-framework (0.94.1-1~ubuntu2) raring; urgency=low * Remove overly fragile C++ symbols file for libmaliit0. -- Iain Lane Tue, 05 Feb 2013 12:30:53 +0000 maliit-framework (0.94.1-1~ubuntu1) raring; urgency=low * Upload to Ubuntu while waiting for Debian NEW -- Iain Lane Thu, 31 Jan 2013 13:26:48 +0000 maliit-framework (0.94.1-1) experimental; urgency=low * Upload to Debian (Closes: #699428) * New upstream release 0.94.1 * Use dh(1) in d/rules * Fix package names and rationalise packages * Add watch file * Run tests in package build under xvfb * Integrate changes from Michał Zając. - Rewrite / minimise copyright file - Install xinput.d alternative -- Iain Lane Thu, 31 Jan 2013 12:02:21 +0000 maliit-framework (0.94.0-0ubuntu1~0openismus1) quantal; urgency=low * New upstream release: - Add Wayland input method support - Auto-detect subviews based on system locale - If no configuration exists, Maliit uses LANGUAGE to guess plugin's subview(s). - Don't write user configuration to disk for default values - Only write *actual* user configuration that's different from factory defaults. - Remove version suffix from libraries and install directories - Affects packaging & {header, .pc , .prf} install directories - Adjust to Qt 5.0.0 API changes - Add surface support for QtQuick2 -- Murray Cumming Mon, 14 Jan 2013 10:52:01 +0100 maliit-framework (0.93.1-0ubuntu1~openismus3) quantal; urgency=low * control: Fixed typos. Fixed a typo in a dependency name to fix the package build. Fixed a typo in a version variable. -- Murray Cumming Fri, 04 Jan 2013 22:31:44 +0100 maliit-framework (0.93.1-0ubuntu1~openismus2) quantal; urgency=low * Fixed some lintian warnings. -- Murray Cumming Fri, 14 Dec 2012 12:56:47 +0100 maliit-framework (0.93.1-0ubuntu1~openismus1) quantal; urgency=low * New upstream release. -- Murray Cumming Fri, 14 Dec 2012 11:04:22 +0100 maliit-framework (0.92.4-0ubuntu1~openismus1) quantal; urgency=low * A manual build, so uupdate does not consider this to be a native debian package. * Remove mention of usr/share/gconf/schemas/maliit-framework.schemas which no longer exists, so that broke the install. -- Murray Cumming Fri, 14 Dec 2012 10:43:00 +0000 maliit-framework (0.92.4~latest~r1548~pkg40~quantal1) quantal; urgency=low * Auto build. -- Launchpad Package Builder Thu, 27 Sep 2012 20:13:56 +0000 maliit-framework (0.81.0.1-0) unstable; urgency=low * New release -- Jon Nordby Tue, 06 Sep 2011 12:41:43 +0300