Your message dated Sat, 06 Feb 2021 10:39:26 +0000 with message-id <6425525e38201ecf9a2d3e0f1e63c0d3b08e0fc0.camel@adam-barratt.org.uk> and subject line Closing p-u bugs for updates in 10.8 has caused the Debian Bug report #980835, regarding buster-pu: fcitx/1:4.2.9.6-5+deb10u1 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 980835: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980835 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: buster-pu: fcitx/1:4.2.9.6-5+deb10u1
- From: Boyuan Yang <byang@debian.org>
- Date: Fri, 22 Jan 2021 17:55:01 -0500
- Message-id: <b4214c9888703e4960b2ad1a4a9025c82690b990.camel@debian.org>
Package: release.debian.org Severity: normal Tags: buster User: release.debian.org@packages.debian.org Usertags: pu X-Debbugs-CC: debian-input-method@lists.debian.org Dear Release team, Current fcitx v4.2.9.6 in Debian 10 has a broken implementation to flatpak support. As a result, software installed via flatpak cannot enable fcitx as the active input method. The corresponding Debian bug report is at https://bugs.debian.org/980268 . This bug is fixed by fcitx upstream in v4.2.9.7. I cherry-picked this upstream commit and prepared this buster-pu upload here. The full debdiff is provided in the attachment. Thanks, Boyuan Yangdiff -Nru fcitx-4.2.9.6/debian/changelog fcitx-4.2.9.6/debian/changelog --- fcitx-4.2.9.6/debian/changelog 2018-08-30 14:54:54.000000000 -0400 +++ fcitx-4.2.9.6/debian/changelog 2021-01-22 17:45:45.000000000 -0500 @@ -1,3 +1,11 @@ +fcitx (1:4.2.9.6-5+deb10u1) buster; urgency=medium + + * debian/patches/0009-ipcportal: Add patch to fix broken input + method support with software installed via flatpak. + (Closes: #980834) + + -- Boyuan Yang <byang@debian.org> Fri, 22 Jan 2021 17:45:45 -0500 + fcitx (1:4.2.9.6-5) unstable; urgency=medium * Team upload. diff -Nru fcitx-4.2.9.6/debian/patches/0009-ipcportal-use-org-freedesktop-portal-as-dbus-path-fo.patch fcitx-4.2.9.6/debian/patches/0009-ipcportal-use-org-freedesktop-portal-as-dbus-path-fo.patch --- fcitx-4.2.9.6/debian/patches/0009-ipcportal-use-org-freedesktop-portal-as-dbus-path-fo.patch 1969-12-31 19:00:00.000000000 -0500 +++ fcitx-4.2.9.6/debian/patches/0009-ipcportal-use-org-freedesktop-portal-as-dbus-path-fo.patch 2021-01-22 17:45:45.000000000 -0500 @@ -0,0 +1,114 @@ +From 1f4c3a96cb2d1308581864676dd86ea6aa393ccb Mon Sep 17 00:00:00 2001 +From: Weng Xuetian <wengxt@gmail.com> +Date: Sat, 2 Nov 2019 22:02:54 -0700 +Subject: [PATCH] [ipcportal] use /org/freedesktop/portal as dbus path for + portal. + +Applied-Upstream: https://github.com/fcitx/fcitx/commit/1f4c3a96cb2d1308581864676dd86ea6aa393ccb +Bug-Debian: https://bugs.debian.org/980834 +--- + src/frontend/ipcportal/ipcportal.c | 8 ++++---- + src/frontend/ipcportal/ipcportal.h | 9 +++++---- + src/frontend/qt/fcitxinputcontextproxy.cpp | 2 +- + src/lib/fcitx-gclient/fcitxclient.c | 2 +- + 4 files changed, 11 insertions(+), 10 deletions(-) + +diff --git a/src/frontend/ipcportal/ipcportal.c b/src/frontend/ipcportal/ipcportal.c +index bed18299..14cd617c 100644 +--- a/src/frontend/ipcportal/ipcportal.c ++++ b/src/frontend/ipcportal/ipcportal.c +@@ -49,7 +49,7 @@ typedef struct _FcitxLastSentIMInfo + typedef struct _FcitxPortalIC { + int id; + char* sender; +- char path[32]; ++ char path[64]; + uuid_t uuid; + int width; + int height; +@@ -234,7 +234,7 @@ void* PortalCreate(FcitxInstance* instance, int frontendid) + } + + DBusObjectPathVTable fcitxPortalVTable = {NULL, &PortalDBusEventHandler, NULL, NULL, NULL, NULL }; +- dbus_connection_register_object_path(ipc->_conn, FCITX_IM_DBUS_PATH, &fcitxPortalVTable, ipc); ++ dbus_connection_register_object_path(ipc->_conn, FCITX_IM_DBUS_PORTAL_PATH, &fcitxPortalVTable, ipc); + dbus_connection_flush(ipc->_conn); + + FcitxIMEventHook hook; +@@ -266,7 +266,7 @@ void PortalCreateIC(void* arg, FcitxInputContext* context, void* priv) + ipcic->sender = strdup(dbus_message_get_sender(message)); + ipc->maxid ++; + ipcic->lastPreeditIsEmpty = false; +- sprintf(ipcic->path, "/inputcontext/%d", ipcic->id); ++ sprintf(ipcic->path, FCITX_IC_DBUS_PORTAL_PATH, ipcic->id); + uuid_generate(ipcic->uuid); + + int icpid = 0; +@@ -420,7 +420,7 @@ static DBusHandlerResult PortalICDBusEventHandler(DBusConnection *connection, DB + { + FcitxPortalFrontend* ipc = (FcitxPortalFrontend*) user_data; + int id = -1; +- sscanf(dbus_message_get_path(msg), "/inputcontext/%d", &id); ++ sscanf(dbus_message_get_path(msg), FCITX_IC_DBUS_PORTAL_PATH, &id); + FcitxInputContext* ic = FcitxInstanceFindIC(ipc->owner, ipc->frontendid, &id); + DBusHandlerResult result = DBUS_HANDLER_RESULT_NOT_YET_HANDLED; + DBusMessage *reply = NULL; +diff --git a/src/frontend/ipcportal/ipcportal.h b/src/frontend/ipcportal/ipcportal.h +index 17e24138..07d1f6c4 100644 +--- a/src/frontend/ipcportal/ipcportal.h ++++ b/src/frontend/ipcportal/ipcportal.h +@@ -17,14 +17,15 @@ + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. * + ***************************************************************************/ + +-#ifndef FCITX_IPC_H +-#define FCITX_IPC_H ++#ifndef FCITX_IPC_PORTAL_H ++#define FCITX_IPC_PORTAL_H + + #ifdef __cplusplus + extern "C" { + #endif + +-#define FCITX_IM_DBUS_PATH "/inputmethod" ++#define FCITX_IM_DBUS_PORTAL_PATH "/org/freedesktop/portal/inputmethod" ++#define FCITX_IC_DBUS_PORTAL_PATH "/org/freedesktop/portal/inputcontext/%d" + + #define FCITX_PORTAL_SERVICE "org.freedesktop.portal.Fcitx" + #define FCITX_IM_DBUS_INTERFACE "org.fcitx.Fcitx.InputMethod1" +@@ -34,5 +35,5 @@ extern "C" { + } + #endif + +-#endif // FCITX_IPC_H ++#endif // FCITX_IPC_PORTAL_H + // kate: indent-mode cstyle; space-indent on; indent-width 0; +diff --git a/src/frontend/qt/fcitxinputcontextproxy.cpp b/src/frontend/qt/fcitxinputcontextproxy.cpp +index 0f7c5dfd..a418e81d 100644 +--- a/src/frontend/qt/fcitxinputcontextproxy.cpp ++++ b/src/frontend/qt/fcitxinputcontextproxy.cpp +@@ -116,7 +116,7 @@ void FcitxInputContextProxy::createInputContext() { + QFileInfo info(QCoreApplication::applicationFilePath()); + if (service == "org.freedesktop.portal.Fcitx") { + m_portal = true; +- m_im1proxy = new org::fcitx::Fcitx::InputMethod1(owner, "/inputmethod", ++ m_im1proxy = new org::fcitx::Fcitx::InputMethod1(owner, "/org/freedesktop/portal/inputmethod", + connection, this); + FcitxInputContextArgumentList list; + FcitxInputContextArgument arg; +diff --git a/src/lib/fcitx-gclient/fcitxclient.c b/src/lib/fcitx-gclient/fcitxclient.c +index 65916d3d..e7f89a63 100644 +--- a/src/lib/fcitx-gclient/fcitxclient.c ++++ b/src/lib/fcitx-gclient/fcitxclient.c +@@ -669,7 +669,7 @@ static void _fcitx_client_create_ic_portal(FcitxClient *self) { + fcitx_connection_get_g_dbus_connection(self->priv->connection), + G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES, + _fcitx_client_get_portal_interface_info(), +- "org.freedesktop.portal.Fcitx", "/inputmethod", ++ "org.freedesktop.portal.Fcitx", "/org/freedesktop/portal/inputmethod", + "org.fcitx.Fcitx.InputMethod1", self->priv->cancellable, + _fcitx_client_create_ic_portal_phase1_finished, self); + } +-- +2.30.0 + diff -Nru fcitx-4.2.9.6/debian/patches/series fcitx-4.2.9.6/debian/patches/series --- fcitx-4.2.9.6/debian/patches/series 2018-08-30 14:54:54.000000000 -0400 +++ fcitx-4.2.9.6/debian/patches/series 2021-01-22 16:50:38.000000000 -0500 @@ -5,3 +5,4 @@ 0006-misc-fix-fall-through-warning.patch 0007-xkb-use-iso-codes-json-file-to-parse-the-iso-codes-d.patch 0008-keyboard-iso-code-root-should-be-639-3.patch +0009-ipcportal-use-org-freedesktop-portal-as-dbus-path-fo.patchAttachment: signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---
- To: 955277-done@bugs.debian.org, 962152-done@bugs.debian.org, 962672-done@bugs.debian.org, 970745-done@bugs.debian.org, 972149-done@bugs.debian.org, 973342-done@bugs.debian.org, 973706-done@bugs.debian.org, 975932-done@bugs.debian.org, 976094-done@bugs.debian.org, 976392-done@bugs.debian.org, 976423-done@bugs.debian.org, 976432-done@bugs.debian.org, 977172-done@bugs.debian.org, 977511-done@bugs.debian.org, 977520-done@bugs.debian.org, 977735-done@bugs.debian.org, 977782-done@bugs.debian.org, 977895-done@bugs.debian.org, 977978-done@bugs.debian.org, 978091-done@bugs.debian.org, 978157-done@bugs.debian.org, 979072-done@bugs.debian.org, 979074-done@bugs.debian.org, 979724-done@bugs.debian.org, 979749-done@bugs.debian.org, 980133-done@bugs.debian.org, 980201-done@bugs.debian.org, 980259-done@bugs.debian.org, 980268-done@bugs.debian.org, 980453-done@bugs.debian.org, 980458-done@bugs.debian.org, 980491-done@bugs.debian.org, 980762-done@bugs.debian.org, 980799-done@bugs.debian.org, 980802-done@bugs.debian.org, 980835-done@bugs.debian.org, 980857-done@bugs.debian.org, 980919-done@bugs.debian.org, 980938-done@bugs.debian.org, 980962-done@bugs.debian.org, 981002-done@bugs.debian.org, 981035-done@bugs.debian.org, 981047-done@bugs.debian.org, 981059-done@bugs.debian.org, 981096-done@bugs.debian.org, 981239-done@bugs.debian.org, 981271-done@bugs.debian.org, 981292-done@bugs.debian.org, 981339-done@bugs.debian.org, 981345-done@bugs.debian.org
- Subject: Closing p-u bugs for updates in 10.8
- From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
- Date: Sat, 06 Feb 2021 10:39:26 +0000
- Message-id: <6425525e38201ecf9a2d3e0f1e63c0d3b08e0fc0.camel@adam-barratt.org.uk>
Package: release.debian.org Version: 10.8 Hi, Each of the updates referenced by these bugs was included in today's 10.8 point release. Regards, Adam
--- End Message ---