From 7935b1ce82be960ae5bb36246bd83ca2a56a59f9d8671ef7e6c0a061a75df7eb Mon Sep 17 00:00:00 2001 From: Marguerite Su Date: Mon, 4 Apr 2022 05:17:46 +0000 Subject: [PATCH] Accepting request 966709 from home:MargueriteSu:branches:M17N - add baselibs.conf back due to fcitx-qt5 OBS-URL: https://build.opensuse.org/request/show/966709 OBS-URL: https://build.opensuse.org/package/show/M17N/fcitx?expand=0&rev=168 --- baselibs.conf | 38 ++++++++++++++++++++++++++++++++++++++ fcitx.changes | 5 +++++ fcitx.spec | 5 +++-- 3 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 baselibs.conf diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..42c2103 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,38 @@ +libfcitx-core0 + post "/sbin/ldconfig" + postun "/sbin/ldconfig" +libfcitx-gclient1 + post "/sbin/ldconfig" + postun "/sbin/ldconfig" +libfcitx-utils0 + post "/sbin/ldconfig" + postun "/sbin/ldconfig" +libfcitx-config4 + post "/sbin/ldconfig" + postun "/sbin/ldconfig" +fcitx-gtk2 + supplements "(fcitx and libgtk-2_0-0-)" + post "%if "%_lib" == "lib64"" + post "%{_bindir}/gtk-query-immodules-2.0-64 --update-cache" + post "%else" + post "%{_bindir}/gtk-query-immodules-2.0 --update-cache" + post "%endif" + postun "%if "%_lib" == "lib64"" + postun "%{_bindir}/gtk-query-immodules-2.0-64 --update-cache" + postun "%else" + postun "%{_bindir}/gtk-query-immodules-2.0 --update-cache" + postun "%endif" +fcitx-gtk3 + supplements "(fcitx and libgtk-3-0-)" + post "%if "%_lib" == "lib64"" + post "%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + post "%else" + post "%{_bindir}/gtk-query-immodules-3.0 --update-cache" + post "%endif" + postun "%if "%_lib" == "lib64"" + postun "%{_bindir}/gtk-query-immodules-3.0-64 --update-cache" + postun "%else" + postun "%{_bindir}/gtk-query-immodules-3.0 --update-cache" + postun "%endif" +fcitx-qt4 + supplements "(fcitx and libqt4-)" diff --git a/fcitx.changes b/fcitx.changes index 451ae66..cd0c4d9 100644 --- a/fcitx.changes +++ b/fcitx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 4 04:08:25 UTC 2022 - Marguerite Su + +- add baselibs.conf back due to fcitx-qt5 + ------------------------------------------------------------------- Sun Feb 20 10:55:08 UTC 2022 - Marguerite Su diff --git a/fcitx.spec b/fcitx.spec index 4982b81..6a6f2d0 100644 --- a/fcitx.spec +++ b/fcitx.spec @@ -33,6 +33,7 @@ Source2: fcitx-README.suse Source3: xim.fcitx.suse.template Source8: openSUSE-themes.tar.gz Source9: macros.%{name} +Source99: baselibs.conf Source100: https://download.fcitx-im.org/fcitx/%{name}-%{version}_dict.tar.xz.sig # PATCH-FIX-OPENSUSE fcitx-autostart-check-INPUT_METHOD.patch boo#947576 Patch2: fcitx-autostart-check-INPUT_METHOD.patch @@ -71,7 +72,7 @@ BuildRequires: pkgconfig(xkbfile) Requires: %{name}-branding = %{version} Recommends: %{name}-pinyin = %{version}-%{release} Recommends: %{name}-table = %{version}-%{release} -# These libraries are dlopen-ed in fcitx at runtime +# These libraries are dlopen-ed in fcitx at runtime # for spell-checking for keyboard users. ld can't find # them, so explicitly recommends. Recommends: libenchant1 @@ -119,8 +120,8 @@ Group: Development/Libraries/C and C++ Requires: %{name} = %{version}-%{release} Requires: libfcitx-config4 = %{version} Requires: libfcitx-core0 = %{version} -Requires: libfcitx-utils0 = %{version} Requires: libfcitx-gclient1 = %{version} +Requires: libfcitx-utils0 = %{version} %description devel Development header files for Fcitx input method framework.