Package: maliit-framework / 2.3.0-7

Metadata

Package Version Patches format
maliit-framework 2.3.0-7 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001_move the operator== definition to global namespace.patch | (download)

tests/ut_mimserveroptions/ut_mimserveroptions.cpp | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 [patch] ut_mimserveroptions: move the operator== definition to global
 namespace

With gcc-12 having the operator== in anonymous namespace for a struct which
is in the global namespace results in a lengthy compilation error. Moving
this non-mmember function into the global namespace fixes the issue.

Fixes #112

0002_prevent qlist returned by subject pluginDescriptions from being deleted.patch | (download)

tests/ft_mimpluginmanager/ft_mimpluginmanager.cpp | 17 11 + 6 - 0 !
1 file changed, 11 insertions(+), 6 deletions(-)

 [patch] prevent qlist returned by subject->plugindescriptions from
 being deleted

If we don't save QList to a variable, it becomes deleted, and pointer
returned by findPluginDescriptions becomes invalid. Then trying to call
description->enabled() results in a segmentation fault.

0003_fix stack smashing.patch | (download)

src/mimhwkeyboardtracker.cpp | 14 7 + 7 - 0 !
1 file changed, 7 insertions(+), 7 deletions(-)

 [patch] fix stack smashing due to mishandled ioctl bits reading


0004_connection Move dbus socket to well known path in XD.patch | (download)

connection/serverdbusaddress.cpp | 5 3 + 2 - 0 !
1 file changed, 3 insertions(+), 2 deletions(-)

 [patch 4/4] connection: move dbus socket to well known path in
 XDG_RUNTIME_DIR

As dbus has now changed to make tmpdir behave the same as dir, socket
creation fails when the directory does not exist, and it is no longer
automatically removed upon exit. Instead, switch to a well known name
under XDG_RUNTIME_DIR, as only one instance of the dbus service can
exist at a time, per user.

Signed-off-by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

1001_input context look for inputMethodExtensions at the parents too.patch | (download)

input-context/minputcontext.cpp | 22 18 + 4 - 0 !
1 file changed, 18 insertions(+), 4 deletions(-)

 [patch] input-context: look for __inputmethodextensions at the
 parents too

Look for `__inputMethodExtensions` custom property recursively upwards
the parent tree. This is useful when a QQuickTextEdit is wrapped inside
another QML component and application doesn't have access to the
QQuickTextEdit itself.

0006 Revert to text input unstable v1 support.patch | (download)

CMakeLists.txt | 1 1 + 0 - 0 !
connection/waylandinputmethodconnection.cpp | 38 19 + 19 - 0 !
2 files changed, 20 insertions(+), 19 deletions(-)

 revert to text-input-unstable-v1 support


0007 Support building against Qt 6 or Qt 5.patch | (download)

CMakeLists.txt | 102 64 + 38 - 0 !
connection/mimserverconnection.h | 1 1 + 0 - 0 !
connection/waylandinputmethodconnection.cpp | 22 11 + 11 - 0 !
examples/plugins/cxx/helloworld/helloworldinputmethod.cpp | 6 3 + 3 - 0 !
examples/plugins/cxx/override/overrideinputmethod.cpp | 6 3 + 3 - 0 !
input-context/minputcontext.cpp | 2 1 + 1 - 0 !
src/msharedattributeextensionmanager.cpp | 2 1 + 1 - 0 !
src/quick/inputmethodquick.h | 1 1 + 0 - 0 !
tests/ft_mimpluginmanager/ft_mimpluginmanager.cpp | 1 0 + 1 - 0 !
tests/ut_mimpluginmanager/ut_mimpluginmanager.cpp | 1 0 + 1 - 0 !
tests/ut_mimpluginmanagerconfig/ut_mimpluginmanagerconfig.cpp | 1 0 + 1 - 0 !
tests/utils/core-utils.cpp | 9 5 + 4 - 0 !
12 files changed, 90 insertions(+), 64 deletions(-)

 support building against qt 6 or qt 5


0008 Enforce Qt version in public link interface.patch | (download)

CMakeLists.txt | 23 12 + 11 - 0 !
1 file changed, 12 insertions(+), 11 deletions(-)

 enforce qt version in public link interface

Plugins and libraries are supposed to be coinstallable leading to
systems having both of them available at the same time. As a precaution
to accidental mixups of libraries that lead to hard to analyze runtime
issues due to ABI incompatibilities, always link publically against the
versioned Qt library.

0009 Fully specify all types used in header.patch | (download)

common/maliit/namespace.h | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 fully specify all types used in header


0010 Enable fPIC as default.patch | (download)

CMakeLists.txt | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 enable -fpic as default

This should already be default config for Qt5.

0011 Use BUILD_WITH_QT6 as Qt6 compile option.patch | (download)

CMakeLists.txt | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 use build_with_qt6 as qt6 compile option

This option name is a very common practice in many projects, make it
easier to detect.

0012 Make executable coinstallable.patch | (download)

CMakeLists.txt | 8 8 + 0 - 0 !
1 file changed, 8 insertions(+)

 make executable coinstallable

For Qt5 versions the name is not changed, only append 6 for Qt6 builds.

0013 Make shared libraries coinstallable.patch | (download)

CMakeLists.txt | 4 4 + 0 - 0 !
1 file changed, 4 insertions(+)

 make shared libraries coinstallable

This introduces a 6 suffix for each maliit library basename and that
only for Qt6 builds. Changing the library name allows one to still used the
project version for incompatible SONAME changes.

0014 Make API docs coinstallable.patch | (download)

CMakeLists.txt | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 make api docs coinstallable


0015 Make headers coinstallable.patch | (download)

CMakeLists.txt | 14 7 + 7 - 0 !
1 file changed, 7 insertions(+), 7 deletions(-)

 make headers coinstallable


0016 Adapt pkgconfig files for coinstallability.patch | (download)

CMakeLists.txt | 15 9 + 6 - 0 !
common/maliit-framework.pc.in | 2 1 + 1 - 0 !
maliit-glib/maliit-glib.pc.in | 4 2 + 2 - 0 !
src/maliit-plugins.pc.in | 10 5 + 5 - 0 !
src/maliit-server.pc.in | 8 4 + 4 - 0 !
5 files changed, 21 insertions(+), 18 deletions(-)

 adapt pkgconfig files for coinstallability


0017 Adapt plugin dirs for coinstallability.patch | (download)

CMakeLists.txt | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 adapt plugin dirs for coinstallability


0018 Rework cmake config files for coinstallability.patch | (download)

CMakeLists.txt | 26 14 + 12 - 0 !
maliit-glib/MaliitGLibConfig.cmake.in | 2 1 + 1 - 0 !
src/MaliitPluginsConfig.cmake.in | 8 4 + 4 - 0 !
3 files changed, 19 insertions(+), 17 deletions(-)

 rework cmake config files for coinstallability


0019 Rename test to exe suffix.patch | (download)

CMakeLists.txt | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 rename test to exe suffix


0020 Adapt DBus service exec call to maliit server name.patch | (download)

connection/org.maliit.server.service.in | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 adapt dbus service exec call to maliit-server name


0021 Port signalmapper connection to Qt6.patch | (download)

src/mimpluginmanager.cpp | 6 6 + 0 - 0 !
1 file changed, 6 insertions(+)

 port signalmapper connection to qt6