From owner-dev-commits-ports-all@freebsd.org Wed Jun 30 11:19:06 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 70A596628F4; Wed, 30 Jun 2021 11:19:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GFJky2l1cz3MvB; Wed, 30 Jun 2021 11:19:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 42CCB3A54; Wed, 30 Jun 2021 11:19:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 15UBJ6XA091281; Wed, 30 Jun 2021 11:19:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 15UBJ6BK091280; Wed, 30 Jun 2021 11:19:06 GMT (envelope-from git) Date: Wed, 30 Jun 2021 11:19:06 GMT Message-Id: <202106301119.15UBJ6BK091280@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Tobias C. Berner" Subject: git: a5478c410e3e - main - deskutils/maliit-framework: New port MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tcberner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a5478c410e3e2c8fe601dd47fea312c3ab2a526c Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2021 11:19:06 -0000 The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=a5478c410e3e2c8fe601dd47fea312c3ab2a526c commit a5478c410e3e2c8fe601dd47fea312c3ab2a526c Author: Tobias C. Berner AuthorDate: 2021-06-30 11:18:18 +0000 Commit: Tobias C. Berner CommitDate: 2021-06-30 11:18:18 +0000 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/ --- deskutils/Makefile | 1 + deskutils/maliit-framework/Makefile | 27 ++++++++++ deskutils/maliit-framework/distinfo | 3 ++ .../files/patch-src_mimonscreenplugins.cpp | 36 ++++++++++++++ deskutils/maliit-framework/pkg-descr | 6 +++ deskutils/maliit-framework/pkg-plist | 58 ++++++++++++++++++++++ 6 files changed, 131 insertions(+) diff --git a/deskutils/Makefile b/deskutils/Makefile index d30ff66dfd97..9d6befac2bb5 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -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 diff --git a/deskutils/maliit-framework/Makefile b/deskutils/maliit-framework/Makefile new file mode 100644 index 000000000000..6b01b5b2e228 --- /dev/null +++ b/deskutils/maliit-framework/Makefile @@ -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 diff --git a/deskutils/maliit-framework/distinfo b/deskutils/maliit-framework/distinfo new file mode 100644 index 000000000000..0f504f64b27f --- /dev/null +++ b/deskutils/maliit-framework/distinfo @@ -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 diff --git a/deskutils/maliit-framework/files/patch-src_mimonscreenplugins.cpp b/deskutils/maliit-framework/files/patch-src_mimonscreenplugins.cpp new file mode 100644 index 000000000000..6dda4b39b618 --- /dev/null +++ b/deskutils/maliit-framework/files/patch-src_mimonscreenplugins.cpp @@ -0,0 +1,36 @@ +--- src/mimonscreenplugins.cpp.orig 2021-06-28 06:11:15 UTC ++++ src/mimonscreenplugins.cpp +@@ -20,9 +20,9 @@ + #include + + #include +-#include ++#include + +-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: + { + QList 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; + } + diff --git a/deskutils/maliit-framework/pkg-descr b/deskutils/maliit-framework/pkg-descr new file mode 100644 index 000000000000..4d4b1b9e44de --- /dev/null +++ b/deskutils/maliit-framework/pkg-descr @@ -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/ diff --git a/deskutils/maliit-framework/pkg-plist b/deskutils/maliit-framework/pkg-plist new file mode 100644 index 000000000000..f2c493bea517 --- /dev/null +++ b/deskutils/maliit-framework/pkg-plist @@ -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