Gentoo Archives: gentoo-commits

From: Akinori Hattori <hattya@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-i18n/ibus-qt/files/, app-i18n/ibus-qt/
Date: Sat, 05 Aug 2017 14:05:04
Message-Id: 1501941880.db9c6e15ec57ecc0a05e8d87dbc74b4513745cc6.hattya@gentoo
1 commit: db9c6e15ec57ecc0a05e8d87dbc74b4513745cc6
2 Author: Akinori Hattori <hattya <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 5 13:46:46 2017 +0000
4 Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 5 14:04:40 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db9c6e15
7
8 app-i18n/ibus-qt: update patches
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 .../ibus-qt/files/ibus-qt-1.2.0.20091217-doc.patch | 4 ++--
13 .../files/ibus-qt-1.3.1-display-unset.patch | 22 ++++++++-------------
14 app-i18n/ibus-qt/files/ibus-qt-1.3.1-gold.patch | 11 +++++++++--
15 .../ibus-qt/files/ibus-qt-1.3.1-qvariant.patch | 23 +++++++++-------------
16 .../{ibus-qt-1.3-doc.patch => ibus-qt-doc.patch} | 4 ++--
17 app-i18n/ibus-qt/ibus-qt-1.3.1.ebuild | 8 ++++----
18 app-i18n/ibus-qt/ibus-qt-1.3.3.ebuild | 4 ++--
19 7 files changed, 36 insertions(+), 40 deletions(-)
20
21 diff --git a/app-i18n/ibus-qt/files/ibus-qt-1.2.0.20091217-doc.patch b/app-i18n/ibus-qt/files/ibus-qt-1.2.0.20091217-doc.patch
22 index a2adbd7b953..497574c6a9a 100644
23 --- a/app-i18n/ibus-qt/files/ibus-qt-1.2.0.20091217-doc.patch
24 +++ b/app-i18n/ibus-qt/files/ibus-qt-1.2.0.20091217-doc.patch
25 @@ -1,5 +1,5 @@
26 ---- ibus-qt-1.2.0.20091217-Source.orig/CMakeLists.txt 2009-12-17 14:50:00.000000000 +0900
27 -+++ ibus-qt-1.2.0.20091217-Source/CMakeLists.txt 2010-01-03 09:11:53.000000000 +0900
28 +--- a/CMakeLists.txt
29 ++++ b/CMakeLists.txt
30 @@ -76,7 +76,7 @@
31 # pkg_check_modules(IBUS REQUIRED ibus-1.0>=1.2.0)
32
33
34 diff --git a/app-i18n/ibus-qt/files/ibus-qt-1.3.1-display-unset.patch b/app-i18n/ibus-qt/files/ibus-qt-1.3.1-display-unset.patch
35 index 8325779282f..1613a10371e 100644
36 --- a/app-i18n/ibus-qt/files/ibus-qt-1.3.1-display-unset.patch
37 +++ b/app-i18n/ibus-qt/files/ibus-qt-1.3.1-display-unset.patch
38 @@ -1,15 +1,12 @@
39 -From d2a4e30fdb92aeaf476dcaaf2b5d6f8275d6af70 Mon Sep 17 00:00:00 2001
40 -From: Peter Wu <lekensteyn@×××××.com>
41 -Date: Tue, 4 Sep 2012 19:40:08 +0200
42 -Subject: [PATCH] Do not crash on missing/invalid DISPLAY envvar.
43 +commit d2a4e30fdb92aeaf476dcaaf2b5d6f8275d6af70
44 +Author: Peter Wu <lekensteyn@×××××.com>
45 +Date: Tue Sep 4 19:40:08 2012 +0200
46
47 -- Check whether the passed DISPLAY environment variable contains ":".
48 + Do not crash on missing/invalid DISPLAY envvar.
49
50 -- Fallback to "-display" parameter passed to QApplication.
51 ----
52 - src/CMakeLists.txt | 2 ++
53 - src/qibusbus.cpp | 23 ++++++++++++++++-------
54 - 2 files changed, 18 insertions(+), 7 deletions(-)
55 + - Check whether the passed DISPLAY environment variable contains ":".
56 +
57 + - Fallback to "-display" parameter passed to QApplication.
58
59 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
60 index 2ad5588..8866ac0 100644
61 @@ -41,7 +38,7 @@ index 6a45d65..ed8248a 100644
62
63 namespace IBus {
64 /**
65 -@@ -121,15 +122,23 @@
66 +@@ -121,15 +122,23 @@ QString
67 Bus::getSocketPath (void)
68 {
69 QString display = getenv ("DISPLAY");
70 @@ -71,6 +68,3 @@ index 6a45d65..ed8248a 100644
71
72 QString path =
73 QDir::homePath() +
74 ---
75 -1.7.10
76 -
77
78 diff --git a/app-i18n/ibus-qt/files/ibus-qt-1.3.1-gold.patch b/app-i18n/ibus-qt/files/ibus-qt-1.3.1-gold.patch
79 index 3d108026911..d4b18d9863a 100644
80 --- a/app-i18n/ibus-qt/files/ibus-qt-1.3.1-gold.patch
81 +++ b/app-i18n/ibus-qt/files/ibus-qt-1.3.1-gold.patch
82 @@ -1,5 +1,12 @@
83 - src/CMakeLists.txt | 1 +
84 - 1 file changed, 1 insertion(+)
85 +commit 0f3b716934f5e5e2b8a72140f875a6e598b28750
86 +Author: fujiwarat <takao.fujiwara1@×××××.com>
87 +Date: Thu Dec 13 07:10:19 2012 +0900
88 +
89 + Fix an undefined reference to 'XDisplayString'
90 +
91 + BUG=http://code.google.com/p/ibus/issues/detail?id=1560
92 +
93 + Review URL: https://codereview.appspot.com/6923057
94
95 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
96 index 8866ac0..f419141 100644
97
98 diff --git a/app-i18n/ibus-qt/files/ibus-qt-1.3.1-qvariant.patch b/app-i18n/ibus-qt/files/ibus-qt-1.3.1-qvariant.patch
99 index 23981b35ded..ab010829ca6 100644
100 --- a/app-i18n/ibus-qt/files/ibus-qt-1.3.1-qvariant.patch
101 +++ b/app-i18n/ibus-qt/files/ibus-qt-1.3.1-qvariant.patch
102 @@ -1,21 +1,19 @@
103 -From 40e119bd5577fc383990ad02b175ec64292f764b Mon Sep 17 00:00:00 2001
104 -From: Jekyll Wu <adaptee@×××××.com>
105 -Date: Tue, 16 Oct 2012 11:24:06 +0900
106 -Subject: [PATCH] Fix a non-const lvalue build error with clang-3.1
107 +commit 40e119bd5577fc383990ad02b175ec64292f764b
108 +Author: Jekyll Wu <adaptee@×××××.com>
109 +Date: Tue Oct 16 11:24:06 2012 +0900
110
111 -BUG=http://code.google.com/p/ibus/issues/detail?id=1506
112 + Fix a non-const lvalue build error with clang-3.1
113
114 -Review URL: https://codereview.appspot.com/6697048
115 -Patch from Jekyll Wu <adaptee@×××××.com>.
116 ----
117 - src/qibusserializable.h | 2 +-
118 - 1 file changed, 1 insertion(+), 1 deletion(-)
119 + BUG=http://code.google.com/p/ibus/issues/detail?id=1506
120 +
121 + Review URL: https://codereview.appspot.com/6697048
122 + Patch from Jekyll Wu <adaptee@×××××.com>.
123
124 diff --git a/src/qibusserializable.h b/src/qibusserializable.h
125 index 594d973..92a32ed 100644
126 --- a/src/qibusserializable.h
127 +++ b/src/qibusserializable.h
128 -@@ -91,7 +91,7 @@ class Serializable : public Object
129 +@@ -91,7 +91,7 @@ private:
130
131 template<typename T>
132 QVariant &
133 @@ -24,6 +22,3 @@ index 594d973..92a32ed 100644
134 {
135 QDBusArgument argument;
136
137 ---
138 -1.8.1.5
139 -
140
141 diff --git a/app-i18n/ibus-qt/files/ibus-qt-1.3-doc.patch b/app-i18n/ibus-qt/files/ibus-qt-doc.patch
142 similarity index 60%
143 rename from app-i18n/ibus-qt/files/ibus-qt-1.3-doc.patch
144 rename to app-i18n/ibus-qt/files/ibus-qt-doc.patch
145 index a35e673110e..dbc1e925136 100644
146 --- a/app-i18n/ibus-qt/files/ibus-qt-1.3-doc.patch
147 +++ b/app-i18n/ibus-qt/files/ibus-qt-doc.patch
148 @@ -1,5 +1,5 @@
149 ---- CMakeLists.txt.old 2014-08-04 15:26:19.636569061 +0200
150 -+++ CMakeLists.txt 2014-08-04 15:26:54.637618456 +0200
151 +--- a/CMakeLists.txt
152 ++++ b/CMakeLists.txt
153 @@ -77,7 +77,7 @@
154 pkg_check_modules(IBUS REQUIRED ibus-1.0>=1.3.7)
155
156
157 diff --git a/app-i18n/ibus-qt/ibus-qt-1.3.1.ebuild b/app-i18n/ibus-qt/ibus-qt-1.3.1.ebuild
158 index 63c93f3979e..e83c2b1b568 100644
159 --- a/app-i18n/ibus-qt/ibus-qt-1.3.1.ebuild
160 +++ b/app-i18n/ibus-qt/ibus-qt-1.3.1.ebuild
161 @@ -1,4 +1,4 @@
162 -# Copyright 1999-2016 Gentoo Foundation
163 +# Copyright 1999-2017 Gentoo Foundation
164 # Distributed under the terms of the GNU General Public License v2
165
166 EAPI="5"
167 @@ -37,9 +37,9 @@ src_configure() {
168
169 src_prepare() {
170 epatch "${FILESDIR}/${PN}-1.2.0.20091217-doc.patch" \
171 - "${FILESDIR}"/${PN}-1.3.1-display-unset.patch \
172 - "${FILESDIR}"/${PN}-1.3.1-gold.patch \
173 - "${FILESDIR}"/${PN}-1.3.1-qvariant.patch
174 + "${FILESDIR}"/${P}-display-unset.patch \
175 + "${FILESDIR}"/${P}-gold.patch \
176 + "${FILESDIR}"/${P}-qvariant.patch
177 }
178
179 src_compile() {
180
181 diff --git a/app-i18n/ibus-qt/ibus-qt-1.3.3.ebuild b/app-i18n/ibus-qt/ibus-qt-1.3.3.ebuild
182 index f26133d90fc..d8f08b8ea1d 100644
183 --- a/app-i18n/ibus-qt/ibus-qt-1.3.3.ebuild
184 +++ b/app-i18n/ibus-qt/ibus-qt-1.3.3.ebuild
185 @@ -1,4 +1,4 @@
186 -# Copyright 1999-2016 Gentoo Foundation
187 +# Copyright 1999-2017 Gentoo Foundation
188 # Distributed under the terms of the GNU General Public License v2
189
190 EAPI="5"
191 @@ -26,7 +26,7 @@ DEPEND="${RDEPEND}
192
193 DOCS="AUTHORS README TODO"
194
195 -PATCHES=( "${FILESDIR}"/${PN}-1.3-doc.patch )
196 +PATCHES=( "${FILESDIR}"/${PN}-doc.patch )
197
198 src_configure() {
199 local mycmakeargs=( -DLIBDIR=$(get_libdir) all )