forked from pool/fcitx
Accepting request 1174813 from M17N
- Add missing fcitx_client_close_ic and fcitx_client_enable_ic prototypes: fcitx-gclient-Export-fcitx_client_enable_ic-fcitx_cl.patch OBS-URL: https://build.opensuse.org/request/show/1174813 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fcitx?expand=0&rev=71
This commit is contained in:
commit
b0e45e1a8e
34
fcitx-gclient-Export-fcitx_client_enable_ic-fcitx_cl.patch
Normal file
34
fcitx-gclient-Export-fcitx_client_enable_ic-fcitx_cl.patch
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
From 4f49f71a8b2c0852d3dfcd990d0b8bb61b1974c8 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Florian Weimer <fweimer@redhat.com>
|
||||||
|
Date: Thu, 15 Dec 2022 20:09:35 +0100
|
||||||
|
Subject: [PATCH] fcitx-gclient: Export fcitx_client_enable_ic,
|
||||||
|
fcitx_client_close_ic (#521)
|
||||||
|
|
||||||
|
Git-commit: 4f49f71a8b2c0852d3dfcd990d0b8bb61b1974c8
|
||||||
|
|
||||||
|
These functions are used from fcitx-fbterm. Adding function
|
||||||
|
prototypes to the installed header file seems to be the cleanest way
|
||||||
|
to ensure that fcitx-fbterm does not rely on implicit function
|
||||||
|
declarations (which are likely to result in errors with future
|
||||||
|
compilers by default).
|
||||||
|
---
|
||||||
|
src/lib/fcitx-gclient/fcitxclient.h | 3 +++
|
||||||
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/lib/fcitx-gclient/fcitxclient.h b/src/lib/fcitx-gclient/fcitxclient.h
|
||||||
|
index 52f0c958..8942111c 100644
|
||||||
|
--- a/src/lib/fcitx-gclient/fcitxclient.h
|
||||||
|
+++ b/src/lib/fcitx-gclient/fcitxclient.h
|
||||||
|
@@ -88,6 +88,9 @@ void fcitx_client_set_capacity(FcitxClient *self, guint flags);
|
||||||
|
|
||||||
|
void fcitx_client_reset(FcitxClient *self);
|
||||||
|
|
||||||
|
+void fcitx_client_enable_ic(FcitxClient *self);
|
||||||
|
+void fcitx_client_close_ic(FcitxClient *self);
|
||||||
|
+
|
||||||
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif // CLIENT_IM_H
|
||||||
|
--
|
||||||
|
2.45.1
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 19:27:05 UTC 2024 - Michal Suchanek <msuchanek@suse.com>
|
||||||
|
|
||||||
|
- Add missing fcitx_client_close_ic and fcitx_client_enable_ic prototypes:
|
||||||
|
fcitx-gclient-Export-fcitx_client_enable_ic-fcitx_cl.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 26 08:41:59 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Mon Feb 26 08:41:59 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package fcitx
|
# spec file for package fcitx
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -41,6 +41,8 @@ Patch2: fcitx-autostart-check-INPUT_METHOD.patch
|
|||||||
# PATCH-FIX-OPENSUSE downgrade cmake requirement to 3.1 again
|
# PATCH-FIX-OPENSUSE downgrade cmake requirement to 3.1 again
|
||||||
Patch3: fcitx-cmake-3.1.patch
|
Patch3: fcitx-cmake-3.1.patch
|
||||||
Patch4: remote-module-use-safe-directory-for-socket-API-sock.patch
|
Patch4: remote-module-use-safe-directory-for-socket-API-sock.patch
|
||||||
|
# PATCH-FIX-UPSTREAM Add missing function prototypes
|
||||||
|
Patch5: fcitx-gclient-Export-fcitx_client_enable_ic-fcitx_cl.patch
|
||||||
BuildRequires: cairo-devel
|
BuildRequires: cairo-devel
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: dbus-1-devel
|
BuildRequires: dbus-1-devel
|
||||||
|
Loading…
Reference in New Issue
Block a user