---- ibus-qt-1.2.0.20091217-Source.orig/CMakeLists.txt 2009-12-17 14:50:00.000000000 +0900
-+++ ibus-qt-1.2.0.20091217-Source/CMakeLists.txt 2010-01-03 09:11:53.000000000 +0900
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
@@ -76,7 +76,7 @@
# pkg_check_modules(IBUS REQUIRED ibus-1.0>=1.2.0)
-From d2a4e30fdb92aeaf476dcaaf2b5d6f8275d6af70 Mon Sep 17 00:00:00 2001
-From: Peter Wu <lekensteyn@gmail.com>
-Date: Tue, 4 Sep 2012 19:40:08 +0200
-Subject: [PATCH] Do not crash on missing/invalid DISPLAY envvar.
+commit d2a4e30fdb92aeaf476dcaaf2b5d6f8275d6af70
+Author: Peter Wu <lekensteyn@gmail.com>
+Date: Tue Sep 4 19:40:08 2012 +0200
-- Check whether the passed DISPLAY environment variable contains ":".
+ Do not crash on missing/invalid DISPLAY envvar.
-- Fallback to "-display" parameter passed to QApplication.
----
- src/CMakeLists.txt | 2 ++
- src/qibusbus.cpp | 23 ++++++++++++++++-------
- 2 files changed, 18 insertions(+), 7 deletions(-)
+ - Check whether the passed DISPLAY environment variable contains ":".
+
+ - Fallback to "-display" parameter passed to QApplication.
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2ad5588..8866ac0 100644
namespace IBus {
/**
-@@ -121,15 +122,23 @@
+@@ -121,15 +122,23 @@ QString
Bus::getSocketPath (void)
{
QString display = getenv ("DISPLAY");
QString path =
QDir::homePath() +
---
-1.7.10
-
- src/CMakeLists.txt | 1 +
- 1 file changed, 1 insertion(+)
+commit 0f3b716934f5e5e2b8a72140f875a6e598b28750
+Author: fujiwarat <takao.fujiwara1@gmail.com>
+Date: Thu Dec 13 07:10:19 2012 +0900
+
+ Fix an undefined reference to 'XDisplayString'
+
+ BUG=http://code.google.com/p/ibus/issues/detail?id=1560
+
+ Review URL: https://codereview.appspot.com/6923057
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8866ac0..f419141 100644
-From 40e119bd5577fc383990ad02b175ec64292f764b Mon Sep 17 00:00:00 2001
-From: Jekyll Wu <adaptee@gmail.com>
-Date: Tue, 16 Oct 2012 11:24:06 +0900
-Subject: [PATCH] Fix a non-const lvalue build error with clang-3.1
+commit 40e119bd5577fc383990ad02b175ec64292f764b
+Author: Jekyll Wu <adaptee@gmail.com>
+Date: Tue Oct 16 11:24:06 2012 +0900
-BUG=http://code.google.com/p/ibus/issues/detail?id=1506
+ Fix a non-const lvalue build error with clang-3.1
-Review URL: https://codereview.appspot.com/6697048
-Patch from Jekyll Wu <adaptee@gmail.com>.
----
- src/qibusserializable.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ BUG=http://code.google.com/p/ibus/issues/detail?id=1506
+
+ Review URL: https://codereview.appspot.com/6697048
+ Patch from Jekyll Wu <adaptee@gmail.com>.
diff --git a/src/qibusserializable.h b/src/qibusserializable.h
index 594d973..92a32ed 100644
--- a/src/qibusserializable.h
+++ b/src/qibusserializable.h
-@@ -91,7 +91,7 @@ class Serializable : public Object
+@@ -91,7 +91,7 @@ private:
template<typename T>
QVariant &
{
QDBusArgument argument;
---
-1.8.1.5
-
---- CMakeLists.txt.old 2014-08-04 15:26:19.636569061 +0200
-+++ CMakeLists.txt 2014-08-04 15:26:54.637618456 +0200
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
@@ -77,7 +77,7 @@
pkg_check_modules(IBUS REQUIRED ibus-1.0>=1.3.7)
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
src_prepare() {
epatch "${FILESDIR}/${PN}-1.2.0.20091217-doc.patch" \
- "${FILESDIR}"/${PN}-1.3.1-display-unset.patch \
- "${FILESDIR}"/${PN}-1.3.1-gold.patch \
- "${FILESDIR}"/${PN}-1.3.1-qvariant.patch
+ "${FILESDIR}"/${P}-display-unset.patch \
+ "${FILESDIR}"/${P}-gold.patch \
+ "${FILESDIR}"/${P}-qvariant.patch
}
src_compile() {
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="5"
DOCS="AUTHORS README TODO"
-PATCHES=( "${FILESDIR}"/${PN}-1.3-doc.patch )
+PATCHES=( "${FILESDIR}"/${PN}-doc.patch )
src_configure() {
local mycmakeargs=( -DLIBDIR=$(get_libdir) all )