Browse Source

uim: add Patch1 (uim-gtk2_immodule_uim-cand-win-gtk.c.patch )

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11266 ec354946-7b23-47d6-9f5a-488ba84defc7
ara_t 6 years ago
parent
commit
be6cdb1f3f
2 changed files with 21 additions and 2 deletions
  1. 11 0
      u/uim/uim-gtk2_immodule_uim-cand-win-gtk.c.patch
  2. 10 2
      u/uim/uim-vl.spec

+ 11 - 0
u/uim/uim-gtk2_immodule_uim-cand-win-gtk.c.patch

@@ -0,0 +1,11 @@
+--- gtk2/immodule/uim-cand-win-gtk.c.org	2013-06-30 13:26:09.000000000 +0900
++++ gtk2/immodule/uim-cand-win-gtk.c	2017-12-14 20:17:09.866895991 +0900
+@@ -225,7 +225,7 @@
+ 
+   gtk_widget_set_size_request(cwin->num_label, DEFAULT_MIN_WINDOW_WIDTH, -1);
+   gtk_window_set_default_size(GTK_WINDOW(cwin), DEFAULT_MIN_WINDOW_WIDTH, -1);
+-  gtk_window_set_resizable(GTK_WINDOW(cwin), FALSE);
++  gtk_window_set_resizable(GTK_WINDOW(cwin), TRUE);
+ }
+ 
+ static void

+ 10 - 2
u/uim/uim-vl.spec

@@ -34,7 +34,7 @@ Name: uim
 Summary: Uim an input method library
 Summary(ja): 入力メソッドライブラリ
 Version: 1.8.6
-Release: 4%{?_dist_release}
+Release: 5%{?_dist_release}
 
 # pinyin-big5.scm and elatin-rules.scm are licensed under GPL
 License: BSD, LGPLv2 and GPL
@@ -51,6 +51,10 @@ Source3: uim-update-installed-modules.sh.in
 Source4: vine-default-uim-el.el
 Source5: uim-el-init.el
 
+# fix the issue that conversion candidates are not displayed
+# http://garakuta.homelinux.org/~nosuke/diary/diary.html?y=2016&m=2&d=13&n=1
+Patch1: uim-gtk2_immodule_uim-cand-win-gtk.c.patch
+
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: libXft-devel libX11-devel libXext-devel 
 BuildRequires: libXrender-devel libXau-devel libXdmcp-devel libXt-devel
@@ -364,7 +368,7 @@ uim-devel パッケージには libuim を利用したアプリケーション
 
 %prep
 %setup -q -n %{name}-%{version}%{?extraver:-%extraver}
-
+%patch1
 
 %build
 %if %{with qt3}
@@ -775,6 +779,10 @@ fi
 %{_libdir}/pkgconfig/*
 
 %changelog
+* Thu Dec 14 2017 Toshiaki Ara <ara_t@384.jp> 1.8.6-5
+- add Patch1 (uim-gtk2_immodule_uim-cand-win-gtk.c.patch)
+  - fix the issue that conversion candidates are not displayed
+
 * Thu Jul 28 2016 Toshiaki Ara <ara_t@384.jp> 1.8.6-4
 - add %{!?_licensedir:%global license %%doc}