1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

deskutils/maliit-framework: New port

Maliit provides a flexible and cross-platform input method framework for
mobile and embedded text input, including a virtual keyboard. It has a
plugin-based client-server architecture where applications act as
clients and communicate with the Maliit server via input context
plugins.

WWW: https://maliit.github.io/
This commit is contained in:
Tobias C. Berner 2021-06-30 13:18:18 +02:00
parent e193322ed8
commit a5478c410e
6 changed files with 131 additions and 0 deletions

View File

@ -158,6 +158,7 @@
SUBDIR += lumina-screenshot
SUBDIR += lumina-textedit
SUBDIR += lxqt-notificationd
SUBDIR += maliit-framework
SUBDIR += mate-indicator-applet
SUBDIR += mate-notification-daemon
SUBDIR += mate-utils

View File

@ -0,0 +1,27 @@
PORTNAME= framework
DISTVERSION= 2.0.0
CATEGORIES= deskutils kde
PKGNAMEPREFIX= maliit-
MAINTAINER= kde@FreeBSD.org
COMMENT= Core libraries of Maliit and server
LIB_DEPENDS= libharfbuzz.so:print/harfbuzz \
libudev.so:devel/libudev-devd \
libwayland-client.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon
USES= cmake compiler:c++11-lang gnome pkgconfig qt:5 xorg
USE_GITHUB= yes
GH_ACCOUNT= maliit
USE_GNOME= atk cairo gdkpixbuf2 glib20 gtk30 pango
USE_QT= core dbus declarative gui network wayland widgets \
buildtools_build qmake_build
USE_XORG= xcb
CMAKE_ON= enable-dbus-activation \
enable-wayland-gtk
CMAKE_OFF= enable-tests \
enable-docs
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1624860024
SHA256 (maliit-framework-2.0.0_GH0.tar.gz) = 81f337c43a140ec3977b7d91abdf4a630bf73c98942f96e0ff4f57323c42a2ba
SIZE (maliit-framework-2.0.0_GH0.tar.gz) = 568204

View File

@ -0,0 +1,36 @@
--- src/mimonscreenplugins.cpp.orig 2021-06-28 06:11:15 UTC
+++ src/mimonscreenplugins.cpp
@@ -20,9 +20,9 @@
#include <QDebug>
#include <algorithm>
-#include <tr1/functional>
+#include <functional>
-using namespace std::tr1::placeholders;
+using namespace std::placeholders;
namespace
{
@@ -117,10 +117,10 @@ bool MImOnScreenPlugins::isEnabled(const QString &plug
std::remove_copy_if(mEnabledSubViews.begin(), mEnabledSubViews.end(),
std::back_inserter(mEnabledAndAvailableSubViews),
- std::tr1::bind(&MImOnScreenPlugins::isSubViewUnavailable, this, _1));
+ std::bind(&MImOnScreenPlugins::isSubViewUnavailable, this, _1));
return std::find_if(mEnabledAndAvailableSubViews.begin(), mEnabledAndAvailableSubViews.end(),
- std::tr1::bind(equalPlugin, _1, plugin)) != mEnabledAndAvailableSubViews.end();
+ std::bind(equalPlugin, _1, plugin)) != mEnabledAndAvailableSubViews.end();
}
bool MImOnScreenPlugins::isSubViewEnabled(const SubView &subView) const
@@ -137,7 +137,7 @@ QList<MImOnScreenPlugins::SubView> MImOnScreenPlugins:
{
QList<MImOnScreenPlugins::SubView> result;
std::remove_copy_if(mEnabledSubViews.begin(), mEnabledSubViews.end(),
- std::back_inserter(result), std::tr1::bind(notEqualPlugin, _1, plugin));
+ std::back_inserter(result), std::bind(notEqualPlugin, _1, plugin));
return result;
}

View File

@ -0,0 +1,6 @@
Maliit provides a flexible and cross-platform input method framework for mobile
and embedded text input, including a virtual keyboard. It has a plugin-based
client-server architecture where applications act as clients and communicate
with the Maliit server via input context plugins.
WWW: https://maliit.github.io/

View File

@ -0,0 +1,58 @@
bin/maliit-exampleapp-plainqt
bin/maliit-server
include/maliit-2/maliit-glib/maliitattributeextension.h
include/maliit-2/maliit-glib/maliitattributeextensionregistry.h
include/maliit-2/maliit-glib/maliitbus.h
include/maliit-2/maliit-glib/maliitcontext.h
include/maliit-2/maliit-glib/maliitinputmethod.h
include/maliit-2/maliit-glib/maliitpluginsettings.h
include/maliit-2/maliit-glib/maliitserver.h
include/maliit-2/maliit-glib/maliitsettingdata.h
include/maliit-2/maliit-glib/maliitsettingsentry.h
include/maliit-2/maliit-glib/maliitsettingsmanager.h
include/maliit-2/maliit/mimserver.h
include/maliit-2/maliit/namespace.h
include/maliit-2/maliit/plugins/abstractinputmethod.h
include/maliit-2/maliit/plugins/abstractinputmethodhost.h
include/maliit-2/maliit/plugins/abstractpluginsetting.h
include/maliit-2/maliit/plugins/attributeextension.h
include/maliit-2/maliit/plugins/extensionevent.h
include/maliit-2/maliit/plugins/inputmethodplugin.h
include/maliit-2/maliit/plugins/keyoverride.h
include/maliit-2/maliit/plugins/keyoverridedata.h
include/maliit-2/maliit/plugins/plugindescription.h
include/maliit-2/maliit/plugins/subviewdescription.h
include/maliit-2/maliit/plugins/updateevent.h
include/maliit-2/maliit/plugins/updatereceiver.h
include/maliit-2/maliit/settingdata.h
include/maliit-2/maliit/standaloneinputmethod.h
include/maliit-2/maliit/standaloneinputmethodhost.h
lib/cmake/MaliitGLib/MaliitGLibConfig.cmake
lib/cmake/MaliitGLib/MaliitGLibConfigVersion.cmake
lib/cmake/MaliitGLib/MaliitGLibTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/MaliitGLib/MaliitGLibTargets.cmake
lib/cmake/MaliitPlugins/MaliitPluginsConfig.cmake
lib/cmake/MaliitPlugins/MaliitPluginsConfigVersion.cmake
lib/cmake/MaliitPlugins/MaliitPluginsTargets-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/MaliitPlugins/MaliitPluginsTargets.cmake
lib/gtk-3.0/3.0.0/immodules/libim-wayland.so
lib/libmaliit-glib.so
lib/libmaliit-glib.so.2
lib/libmaliit-glib.so.2.0.0
lib/libmaliit-plugins.so
lib/libmaliit-plugins.so.2
lib/libmaliit-plugins.so.2.0.0
lib/qt5/mkspecs/features/maliit-defines.prf
lib/qt5/mkspecs/features/maliit-framework.prf
lib/qt5/mkspecs/features/maliit-plugins.prf
lib/qt5/plugins/platforminputcontexts/libmaliitplatforminputcontextplugin.so
lib/qt5/plugins/wayland-shell-integration/libinputpanel-shell.so
libdata/pkgconfig/maliit-framework.pc
libdata/pkgconfig/maliit-glib.pc
libdata/pkgconfig/maliit-plugins.pc
libdata/pkgconfig/maliit-server.pc
share/dbus-1/services/org.maliit.server.service
share/doc/maliit-framework/INSTALL.local
share/doc/maliit-framework/LICENSE.LGPL
share/doc/maliit-framework/NEWS
share/doc/maliit-framework/README