ibus-anthy: update to 1.5.14.

This commit is contained in:
oreo639 2022-07-24 14:52:45 -07:00 committed by Đoàn Trần Công Danh
parent 04d0787f0c
commit 1bd7419245
3 changed files with 81 additions and 16 deletions

View file

@ -0,0 +1,36 @@
From ed993538c711d817e5365630b65f372e0dfd01a7 Mon Sep 17 00:00:00 2001
From: fujiwarat <takao.fujiwara1@gmail.com>
Date: Thu, 27 Jan 2022 15:15:13 +0900
Subject: [PATCH] data: Update era.t with 2022
---
data/era.t | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/data/era.t b/data/era.t
index a6d297e..686271f 100644
--- a/data/era.t
+++ b/data/era.t
@@ -2,7 +2,7 @@
#
# ibus-anthy - The Anthy engine for IBus
#
-# Copyright (c) 2010-2021 Takao Fujiwara <takao.fujiwara1@gmail.com>
+# Copyright (c) 2010-2022 Takao Fujiwara <takao.fujiwara1@gmail.com>
# Copyright (c) 2010-2013 Red Hat, Inc.
#
# This program is free software; you can redistribute it and/or modify
@@ -338,6 +338,8 @@
れいわ2 #T35*500 2020
れいわ3 #T35*500 令和3
れいわ3 #T35*500 2021
+れいわ4 #T35*500 令和4
+れいわ4 #T35*500 2022
#T35*500 明治1
#T35*500 明治2
#T35*500 明治3
@@ -496,3 +498,4 @@
#T35*500 平成31
#T35*500 令和2
#T35*500 令和3
+ #T35*500 令和4

View file

@ -0,0 +1,37 @@
From 4ef5ac95e84056ebd5a446e5e21b5f2a99377363 Mon Sep 17 00:00:00 2001
From: fujiwarat <takao.fujiwara1@gmail.com>
Date: Thu, 14 Apr 2022 15:23:26 +0900
Subject: [PATCH] setup: Minimum candidate window page size to 1
IBusLookupTable assert with page_size > 0 (rhbz#2064261)
---
setup/python2/setup.ui | 2 +-
setup/python3/setup.ui | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/setup/python2/setup.ui b/setup/python2/setup.ui
index 88b19b8..3e82f2e 100644
--- a/setup/python2/setup.ui
+++ b/setup/python2/setup.ui
@@ -2,7 +2,7 @@
<interface>
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">10</property>
- <property name="lower">0</property>
+ <property name="lower">1</property>
<property name="page_increment">0</property>
<property name="step_increment">1</property>
<property name="page_size">0</property>
diff --git a/setup/python3/setup.ui b/setup/python3/setup.ui
index 88b19b8..3e82f2e 100644
--- a/setup/python3/setup.ui
+++ b/setup/python3/setup.ui
@@ -2,7 +2,7 @@
<interface>
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">10</property>
- <property name="lower">0</property>
+ <property name="lower">1</property>
<property name="page_increment">0</property>
<property name="step_increment">1</property>
<property name="page_size">0</property>

View file

@ -1,25 +1,17 @@
# Template file for 'ibus-anthy' # Template file for 'ibus-anthy'
pkgname=ibus-anthy pkgname=ibus-anthy
version=1.5.12 version=1.5.14
revision=1 revision=1
build_style=gnu-configure build_style=gnu-configure
build_helper=gir build_helper=gir
configure_args="--libexec=/usr/lib/ibus" configure_args="--with-python=python3 --with-layout=default"
hostmakedepends="automake libtool pkg-config swig intltool gettext-devel" hostmakedepends="automake libtool pkg-config gettext"
makedepends="anthy-devel ibus-devel python3-gobject-devel" makedepends="anthy-unicode-devel ibus-devel python3-gobject-devel"
depends="ibus" depends="ibus"
checkdepends="procps-ng python3-pycotap"
short_desc="Japanese input method Anthy IMEngine for IBus Framework" short_desc="Japanese input method Anthy IMEngine for IBus Framework"
maintainer="7185 <7185@free.fr>" maintainer="7185 <7185@free.fr>"
license="LGPL-2.1-or-later" license="LGPL-2.1-or-later"
homepage="https://github.com/ibus/ibus/wiki" homepage="https://github.com/fujiwarat/ibus-anthy/wiki"
distfiles="https://github.com/ibus/${pkgname}/archive/${version}.tar.gz" distfiles="https://github.com/ibus/ibus-anthy/releases/download/${version}/ibus-anthy-${version}.tar.gz"
checksum=7756216666264b25083adb3a3e53f6a0ff744efc3331fe7ac7becbf4ed17d2ca checksum=c8694da18d0b891a48f4d75a0dece37ecbca6d1b1acb64101a7a84cad1046d9b
make_check=extended
post_patch() {
2to3 -w gir/test.py
}
pre_configure() {
autoreconf -fi
}