Commit a90a5077 authored by Boyuan Yang's avatar Boyuan Yang

Prepare new upload (2.0.3+git20181120-1)

parent deb900bb
ibus-sunpinyin (2.0.3+git20180629-1) unstable; urgency=medium
ibus-sunpinyin (2.0.3+git20181120-1) unstable; urgency=medium
* Team upload.
* New upstream git snapshot 20180629. (Closes: #883309)
* New upstream git snapshot 20181120. (Closes: #883309)
+ Initially keep complete compatibility with python3 and
gir1.2-ibus-1.0. (Closes: #769560)
* debian: Apply "wrap-and-sort -abst".
* debian/control:
+ Update maintainer and use Debian Input Method Team email address.
......@@ -21,14 +23,12 @@ ibus-sunpinyin (2.0.3+git20180629-1) unstable; urgency=medium
* Debian/changelog: Remove trailing spaces.
* debian/patches:
- Remove append-os-environ-toenv.patch, merged upstream.
+ Add patch for complete compatibility with python3 and
gir1.2-ibus-1.0. (Closes: #769560)
+ Add patch to use python3 in ibus-setup-sunpinyin script.
+ Refresh patches.
* debian/copyright:
+ Refresh copyright information and fix grammar errors.
-- Boyuan Yang <byang@debian.org> Tue, 20 Nov 2018 15:19:47 -0500
-- Boyuan Yang <byang@debian.org> Tue, 20 Nov 2018 15:38:43 -0500
ibus-sunpinyin (2.0.3-5) unstable; urgency=low
......
From: Boyuan Yang <byang@debian.org>
Date: Tue, 20 Nov 2018 14:35:12 -0500
Subject: setup/main.py: Add patch to fix python3 + gir1.2-ibus-1.0
compatibility
Forwarded: https://github.com/sunpinyin/sunpinyin/pull/83
---
setup/main.py | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/setup/main.py b/setup/main.py
index 4274058..e20a3a5 100644
--- a/setup/main.py
+++ b/setup/main.py
@@ -43,7 +43,12 @@ except ImportError:
from gi import require_version as gi_require_version
gi_require_version('Gtk', '3.0')
from gi.repository import Gtk as gtk
-import ibus
+try:
+ import ibus
+except ImportError:
+ from gi import require_version as gi_require_version
+ gi_require_version('IBus', '1.0')
+ from gi.repository import IBus as ibus
import gettext
import locale
libexecdir.patch
0002-setup-main.py-Add-patch-to-fix-python3-gir1.2-ibus-1.patch
0003-setup-ibus-setup-sunpinyin.in-Use-python3-explicitly.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment