Raspbian automatic forward porter [Fri, 2 Aug 2024 13:38:21 +0000 (14:38 +0100)]
Merge version 1.1.6+ds1-1+rpi1 and 1.1.8+ds1-1 to produce 1.1.8+ds1-1+rpi1
Boyuan Yang [Mon, 29 Jul 2024 16:07:48 +0000 (12:07 -0400)]
Merge opencc (1.1.8+ds1-1) import into refs/heads/workingbranch
Shengjing Zhu [Sun, 28 Jul 2024 23:44:27 +0000 (19:44 -0400)]
Use system googletest
Forwarded: not-needed
Last-Update: 2024-07-28
Gbp-Pq: Name 0005-Use-system-googletest.patch
Gunnar Hjalmarsson [Sun, 28 Jul 2024 23:42:55 +0000 (19:42 -0400)]
Don't fetch remote images when reading docs on disk
This fixes a privacy breach previously reported as Lintian warnings
Forwarded: not-needed
Last-Update: 2024-07-28
Gbp-Pq: Name 0004-no-remote-images-when-reading-docs-on-disk.patch
Boyuan Yang [Fri, 26 Jun 2020 00:32:44 +0000 (20:32 -0400)]
data/: Explicitly use python3
Before "python" is default to python3, this patch should be kept.
Last-Update: 2020-06-25
Gbp-Pq: Name 0003-data-Explicitly-use-python3.patch
IME Packaging Team [Mon, 9 Oct 2017 14:02:39 +0000 (22:02 +0800)]
use-cmake-install-libdir
Update 2021-09-18: Also use GNUInstallDirs.
Last-Update: 2024-07-28
Gbp-Pq: Name 0001-use-cmake-install-libdir.patch
Boyuan Yang [Mon, 29 Jul 2024 16:07:48 +0000 (12:07 -0400)]
opencc (1.1.8+ds1-1) unstable; urgency=medium
* Upload to unstable.
* debian/libopencc1.1.symbols: Reconfirm symbols.
[dgit import unpatched opencc 1.1.8+ds1-1]
Boyuan Yang [Mon, 29 Jul 2024 16:07:48 +0000 (12:07 -0400)]
Import opencc_1.1.8+ds1-1.debian.tar.xz
[dgit import tarball opencc 1.1.8+ds1-1 opencc_1.1.8+ds1-1.debian.tar.xz]
Boyuan Yang [Mon, 29 Jul 2024 00:00:37 +0000 (20:00 -0400)]
Import opencc_1.1.8+ds1.orig.tar.xz
[dgit import orig opencc_1.1.8+ds1.orig.tar.xz]
Gunnar Hjalmarsson [Sat, 21 Oct 2023 19:22:49 +0000 (20:22 +0100)]
Merge opencc (1.1.7+ds1-1) import into refs/heads/workingbranch
Shengjing Zhu [Sat, 6 Mar 2021 09:53:25 +0000 (17:53 +0800)]
Use system googletest
Forwarded: not-needed
Last-Update: 2022-12-10
Gbp-Pq: Name 0005-Use-system-googletest.patch
Gunnar Hjalmarsson [Sat, 6 Mar 2021 09:45:20 +0000 (17:45 +0800)]
Don't fetch remote images when reading docs on disk
Forwarded: no
Last-Update: 2021-09-18
This fixes a privacy breach previously reported as Lintian warnings
Gbp-Pq: Name 0004-no-remote-images-when-reading-docs-on-disk.patch
Boyuan Yang [Fri, 26 Jun 2020 00:32:44 +0000 (20:32 -0400)]
data/: Explicitly use python3
Before "python" is default to python3, this patch should be kept.
Last-Update: 2020-06-25
Gbp-Pq: Name 0003-data-Explicitly-use-python3.patch
IME Packaging Team [Mon, 9 Oct 2017 14:02:39 +0000 (22:02 +0800)]
use-cmake-install-libdir
Update 2021-09-18: Also use GNUInstallDirs.
Last-Update: 2022-12-10
Gbp-Pq: Name 0001-use-cmake-install-libdir.patch
Gunnar Hjalmarsson [Sat, 21 Oct 2023 19:22:49 +0000 (20:22 +0100)]
opencc (1.1.7+ds1-1) unstable; urgency=medium
* Team upload
* New upstream version 1.1.7+ds1
* debian/libopencc-dev.install:
- Install CMake config modules
[dgit import unpatched opencc 1.1.7+ds1-1]
Gunnar Hjalmarsson [Sat, 21 Oct 2023 19:22:49 +0000 (20:22 +0100)]
Import opencc_1.1.7+ds1.orig.tar.xz
[dgit import orig opencc_1.1.7+ds1.orig.tar.xz]
Gunnar Hjalmarsson [Sat, 21 Oct 2023 19:22:49 +0000 (20:22 +0100)]
Import opencc_1.1.7+ds1-1.debian.tar.xz
[dgit import tarball opencc 1.1.7+ds1-1 opencc_1.1.7+ds1-1.debian.tar.xz]
Boyuan Yang [Fri, 1 Sep 2023 16:00:26 +0000 (17:00 +0100)]
Merge opencc (1.1.6+ds1-2) import into refs/heads/workingbranch
Shengjing Zhu [Sat, 6 Mar 2021 09:53:25 +0000 (17:53 +0800)]
Use system googletest
Forwarded: not-needed
Last-Update: 2022-12-10
Gbp-Pq: Name 0005-Use-system-googletest.patch
Gunnar Hjalmarsson [Sat, 6 Mar 2021 09:45:20 +0000 (17:45 +0800)]
Don't fetch remote images when reading docs on disk
Forwarded: no
Last-Update: 2021-09-18
This fixes a privacy breach previously reported as Lintian warnings
Gbp-Pq: Name 0004-no-remote-images-when-reading-docs-on-disk.patch
Boyuan Yang [Fri, 26 Jun 2020 00:32:44 +0000 (20:32 -0400)]
data/: Explicitly use python3
Before "python" is default to python3, this patch should be kept.
Last-Update: 2020-06-25
Gbp-Pq: Name 0003-data-Explicitly-use-python3.patch
IME Packaging Team [Mon, 9 Oct 2017 14:02:39 +0000 (22:02 +0800)]
use-cmake-install-libdir
Update 2021-09-18: Also use GNUInstallDirs.
Last-Update: 2022-12-10
Gbp-Pq: Name 0001-use-cmake-install-libdir.patch
Boyuan Yang [Fri, 1 Sep 2023 16:00:26 +0000 (17:00 +0100)]
opencc (1.1.6+ds1-2) unstable; urgency=medium
[ Helmut Grohne ]
* Fix FTCBFS: Add B-D: opencc <cross> for opencc_dict. (Closes: #
1051036)
[dgit import unpatched opencc 1.1.6+ds1-2]
Boyuan Yang [Fri, 1 Sep 2023 16:00:26 +0000 (17:00 +0100)]
Import opencc_1.1.6+ds1-2.debian.tar.xz
[dgit import tarball opencc 1.1.6+ds1-2 opencc_1.1.6+ds1-2.debian.tar.xz]
Raspbian automatic forward porter [Tue, 13 Dec 2022 22:01:22 +0000 (22:01 +0000)]
Merge version 1.1.5+ds1-1+rpi1 and 1.1.6+ds1-1 to produce 1.1.6+ds1-1+rpi1
Gunnar Hjalmarsson [Sat, 10 Dec 2022 12:10:03 +0000 (12:10 +0000)]
Merge opencc (1.1.6+ds1-1) import into refs/heads/workingbranch
Gunnar Hjalmarsson [Sat, 10 Dec 2022 12:10:03 +0000 (12:10 +0000)]
Import opencc_1.1.6+ds1.orig.tar.xz
[dgit import orig opencc_1.1.6+ds1.orig.tar.xz]
Shengjing Zhu [Sat, 6 Mar 2021 09:53:25 +0000 (17:53 +0800)]
Use system googletest
Forwarded: not-needed
Last-Update: 2022-12-10
Gbp-Pq: Name 0005-Use-system-googletest.patch
Gunnar Hjalmarsson [Sat, 6 Mar 2021 09:45:20 +0000 (17:45 +0800)]
Don't fetch remote images when reading docs on disk
Forwarded: no
Last-Update: 2021-09-18
This fixes a privacy breach previously reported as Lintian warnings
Gbp-Pq: Name 0004-no-remote-images-when-reading-docs-on-disk.patch
Boyuan Yang [Fri, 26 Jun 2020 00:32:44 +0000 (20:32 -0400)]
data/: Explicitly use python3
Before "python" is default to python3, this patch should be kept.
Last-Update: 2020-06-25
Gbp-Pq: Name 0003-data-Explicitly-use-python3.patch
IME Packaging Team [Mon, 9 Oct 2017 14:02:39 +0000 (22:02 +0800)]
use-cmake-install-libdir
Update 2021-09-18: Also use GNUInstallDirs.
Last-Update: 2022-12-10
Gbp-Pq: Name 0001-use-cmake-install-libdir.patch
Gunnar Hjalmarsson [Sat, 10 Dec 2022 12:10:03 +0000 (12:10 +0000)]
opencc (1.1.6+ds1-1) unstable; urgency=medium
* Team upload
* New upstream version 1.1.6+ds1
* Refresh patches:
- d/p/0001-use-cmake-install-libdir.patch
- d/p/0005-Use-system-googletest.patch
[dgit import unpatched opencc 1.1.6+ds1-1]
Gunnar Hjalmarsson [Sat, 10 Dec 2022 12:10:03 +0000 (12:10 +0000)]
Import opencc_1.1.6+ds1-1.debian.tar.xz
[dgit import tarball opencc 1.1.6+ds1-1 opencc_1.1.6+ds1-1.debian.tar.xz]
Raspbian automatic forward porter [Fri, 9 Dec 2022 05:36:04 +0000 (05:36 +0000)]
Merge version 1.1.4+ds1-4+rpi1 and 1.1.5+ds1-1 to produce 1.1.5+ds1-1+rpi1
Gunnar Hjalmarsson [Tue, 6 Dec 2022 12:40:36 +0000 (12:40 +0000)]
Merge opencc (1.1.5+ds1-1) import into refs/heads/workingbranch
Shengjing Zhu [Sat, 6 Mar 2021 09:53:25 +0000 (17:53 +0800)]
Use system googletest
Forwarded: not-needed
Last-Update: 2021-09-18
Gbp-Pq: Name 0005-Use-system-googletest.patch
Gunnar Hjalmarsson [Sat, 6 Mar 2021 09:45:20 +0000 (17:45 +0800)]
Don't fetch remote images when reading docs on disk
Forwarded: no
Last-Update: 2021-09-18
This fixes a privacy breach previously reported as Lintian warnings
Gbp-Pq: Name 0004-no-remote-images-when-reading-docs-on-disk.patch
Boyuan Yang [Fri, 26 Jun 2020 00:32:44 +0000 (20:32 -0400)]
data/: Explicitly use python3
Before "python" is default to python3, this patch should be kept.
Last-Update: 2020-06-25
Gbp-Pq: Name 0003-data-Explicitly-use-python3.patch
IME Packaging Team [Mon, 9 Oct 2017 14:02:39 +0000 (22:02 +0800)]
use-cmake-install-libdir
Update 2021-09-18: Also use GNUInstallDirs.
Last-Update: 2021-09-18
Gbp-Pq: Name 0001-use-cmake-install-libdir.patch
Gunnar Hjalmarsson [Tue, 6 Dec 2022 12:40:36 +0000 (12:40 +0000)]
opencc (1.1.5+ds1-1) unstable; urgency=medium
* Team upload
* New upstream version 1.1.5+ds1
[dgit import unpatched opencc 1.1.5+ds1-1]
Gunnar Hjalmarsson [Tue, 6 Dec 2022 12:40:36 +0000 (12:40 +0000)]
Import opencc_1.1.5+ds1.orig.tar.xz
[dgit import orig opencc_1.1.5+ds1.orig.tar.xz]
Gunnar Hjalmarsson [Tue, 6 Dec 2022 12:40:36 +0000 (12:40 +0000)]
Import opencc_1.1.5+ds1-1.debian.tar.xz
[dgit import tarball opencc 1.1.5+ds1-1 opencc_1.1.5+ds1-1.debian.tar.xz]
Raspbian automatic forward porter [Mon, 14 Nov 2022 17:01:37 +0000 (17:01 +0000)]
Merge version 1.1.4+ds1-3+rpi1 and 1.1.4+ds1-4 to produce 1.1.4+ds1-4+rpi1
Gunnar Hjalmarsson [Tue, 8 Nov 2022 15:33:54 +0000 (15:33 +0000)]
Merge opencc (1.1.4+ds1-4) import into refs/heads/workingbranch
Shengjing Zhu [Sat, 6 Mar 2021 09:53:25 +0000 (17:53 +0800)]
Use system googletest
Forwarded: not-needed
Last-Update: 2021-09-18
Gbp-Pq: Name 0005-Use-system-googletest.patch
Gunnar Hjalmarsson [Sat, 6 Mar 2021 09:45:20 +0000 (17:45 +0800)]
Don't fetch remote images when reading docs on disk
Forwarded: no
Last-Update: 2021-09-18
This fixes a privacy breach previously reported as Lintian warnings
Gbp-Pq: Name 0004-no-remote-images-when-reading-docs-on-disk.patch
Boyuan Yang [Fri, 26 Jun 2020 00:32:44 +0000 (20:32 -0400)]
data/: Explicitly use python3
Before "python" is default to python3, this patch should be kept.
Last-Update: 2020-06-25
Gbp-Pq: Name 0003-data-Explicitly-use-python3.patch
IME Packaging Team [Mon, 9 Oct 2017 14:02:39 +0000 (22:02 +0800)]
use-cmake-install-libdir
Update 2021-09-18: Also use GNUInstallDirs.
Last-Update: 2021-09-18
Gbp-Pq: Name 0001-use-cmake-install-libdir.patch
Gunnar Hjalmarsson [Tue, 8 Nov 2022 15:33:54 +0000 (15:33 +0000)]
opencc (1.1.4+ds1-4) unstable; urgency=medium
* Team upload
* Work around uscan issue with GitHub releases page
[dgit import unpatched opencc 1.1.4+ds1-4]
Gunnar Hjalmarsson [Tue, 8 Nov 2022 15:33:54 +0000 (15:33 +0000)]
Import opencc_1.1.4+ds1-4.debian.tar.xz
[dgit import tarball opencc 1.1.4+ds1-4 opencc_1.1.4+ds1-4.debian.tar.xz]
Raspbian automatic forward porter [Wed, 27 Jul 2022 16:10:12 +0000 (17:10 +0100)]
Merge version 1.1.4+ds1-1+rpi1 and 1.1.4+ds1-3 to produce 1.1.4+ds1-3+rpi1
Gunnar Hjalmarsson [Mon, 25 Jul 2022 00:26:42 +0000 (01:26 +0100)]
Merge opencc (1.1.4+ds1-3) import into refs/heads/workingbranch
Shengjing Zhu [Sat, 6 Mar 2021 09:53:25 +0000 (17:53 +0800)]
Use system googletest
Forwarded: not-needed
Last-Update: 2021-09-18
Gbp-Pq: Name 0005-Use-system-googletest.patch
Gunnar Hjalmarsson [Sat, 6 Mar 2021 09:45:20 +0000 (17:45 +0800)]
Don't fetch remote images when reading docs on disk
Forwarded: no
Last-Update: 2021-09-18
This fixes a privacy breach previously reported as Lintian warnings
Gbp-Pq: Name 0004-no-remote-images-when-reading-docs-on-disk.patch
Boyuan Yang [Fri, 26 Jun 2020 00:32:44 +0000 (20:32 -0400)]
data/: Explicitly use python3
Before "python" is default to python3, this patch should be kept.
Last-Update: 2020-06-25
Gbp-Pq: Name 0003-data-Explicitly-use-python3.patch
IME Packaging Team [Mon, 9 Oct 2017 14:02:39 +0000 (22:02 +0800)]
use-cmake-install-libdir
Update 2021-09-18: Also use GNUInstallDirs.
Last-Update: 2021-09-18
Gbp-Pq: Name 0001-use-cmake-install-libdir.patch
Gunnar Hjalmarsson [Mon, 25 Jul 2022 00:26:42 +0000 (01:26 +0100)]
opencc (1.1.4+ds1-3) unstable; urgency=medium
* Team upload
* debian/libopencc1.1.symbols:
- Update other archs for LTO using buildd logs (closes: #
1015565)
* Build with GCC-12
- It builds fine now with GCC-12, so the symbols fix for LTO also
closes: #
1013008.
[dgit import unpatched opencc 1.1.4+ds1-3]
Gunnar Hjalmarsson [Mon, 25 Jul 2022 00:26:42 +0000 (01:26 +0100)]
Import opencc_1.1.4+ds1-3.debian.tar.xz
[dgit import tarball opencc 1.1.4+ds1-3 opencc_1.1.4+ds1-3.debian.tar.xz]
Raspbian automatic forward porter [Mon, 13 Jun 2022 04:42:05 +0000 (05:42 +0100)]
Merge version 1.1.3+ds1-5+rpi1 and 1.1.4+ds1-1 to produce 1.1.4+ds1-1+rpi1
Boyuan Yang [Sat, 4 Jun 2022 15:52:24 +0000 (16:52 +0100)]
Import opencc_1.1.4+ds1.orig.tar.xz
[dgit import orig opencc_1.1.4+ds1.orig.tar.xz]
Boyuan Yang [Sat, 4 Jun 2022 15:52:24 +0000 (16:52 +0100)]
Merge opencc (1.1.4+ds1-1) import into refs/heads/workingbranch
Shengjing Zhu [Sat, 6 Mar 2021 09:53:25 +0000 (17:53 +0800)]
Use system googletest
Forwarded: not-needed
Last-Update: 2021-09-18
Gbp-Pq: Name 0005-Use-system-googletest.patch
Gunnar Hjalmarsson [Sat, 6 Mar 2021 09:45:20 +0000 (17:45 +0800)]
Don't fetch remote images when reading docs on disk
Forwarded: no
Last-Update: 2021-09-18
This fixes a privacy breach previously reported as Lintian warnings
Gbp-Pq: Name 0004-no-remote-images-when-reading-docs-on-disk.patch
Boyuan Yang [Fri, 26 Jun 2020 00:32:44 +0000 (20:32 -0400)]
data/: Explicitly use python3
Before "python" is default to python3, this patch should be kept.
Last-Update: 2020-06-25
Gbp-Pq: Name 0003-data-Explicitly-use-python3.patch
IME Packaging Team [Mon, 9 Oct 2017 14:02:39 +0000 (22:02 +0800)]
use-cmake-install-libdir
Update 2021-09-18: Also use GNUInstallDirs.
Last-Update: 2021-09-18
Gbp-Pq: Name 0001-use-cmake-install-libdir.patch
Boyuan Yang [Sat, 4 Jun 2022 15:52:24 +0000 (16:52 +0100)]
opencc (1.1.4+ds1-1) unstable; urgency=medium
[ xiao sheng wen ]
* update-debian-copyright to 2021 year.
[ Boyuan Yang ]
* New upstream version 1.1.4+ds1.
* debian/patches: Refresh patches.
* debian/libopencc1.1.symbols: Refresh symbols.
[dgit import unpatched opencc 1.1.4+ds1-1]
Boyuan Yang [Sat, 4 Jun 2022 15:52:24 +0000 (16:52 +0100)]
Import opencc_1.1.4+ds1-1.debian.tar.xz
[dgit import tarball opencc 1.1.4+ds1-1 opencc_1.1.4+ds1-1.debian.tar.xz]
Raspbian automatic forward porter [Wed, 3 Nov 2021 02:52:10 +0000 (02:52 +0000)]
Merge version 1.1.3+ds1-3+rpi1 and 1.1.3+ds1-5 to produce 1.1.3+ds1-5+rpi1
Gunnar Hjalmarsson [Wed, 27 Oct 2021 07:39:59 +0000 (08:39 +0100)]
Merge opencc (1.1.3+ds1-5) import into refs/heads/workingbranch
Shengjing Zhu [Sat, 6 Mar 2021 09:53:25 +0000 (17:53 +0800)]
Use system googletest
Forwarded: not-needed
Last-Update: 2021-09-18
Gbp-Pq: Name 0005-Use-system-googletest.patch
Gunnar Hjalmarsson [Sat, 6 Mar 2021 09:45:20 +0000 (17:45 +0800)]
Don't fetch remote images when reading docs on disk
Forwarded: no
Last-Update: 2021-09-18
This fixes a privacy breach previously reported as Lintian warnings
Gbp-Pq: Name 0004-no-remote-images-when-reading-docs-on-disk.patch
Boyuan Yang [Fri, 26 Jun 2020 00:32:44 +0000 (20:32 -0400)]
data/: Explicitly use python3
Before "python" is default to python3, this patch should be kept.
Last-Update: 2020-06-25
Gbp-Pq: Name 0003-data-Explicitly-use-python3.patch
IME Packaging Team [Mon, 9 Oct 2017 14:02:39 +0000 (22:02 +0800)]
use-cmake-install-libdir
Update 2021-09-18: Also use GNUInstallDirs.
Last-Update: 2021-09-18
Gbp-Pq: Name 0001-use-cmake-install-libdir.patch
Gunnar Hjalmarsson [Wed, 27 Oct 2021 07:39:59 +0000 (08:39 +0100)]
opencc (1.1.3+ds1-5) unstable; urgency=medium
* Team upload
* debian/libopencc1.1.symbols:
- Refresh using buildd logs for all archs and pkgkde-symbolshelper
(Closes: #997412)
[dgit import unpatched opencc 1.1.3+ds1-5]
Gunnar Hjalmarsson [Wed, 27 Oct 2021 07:39:59 +0000 (08:39 +0100)]
Import opencc_1.1.3+ds1-5.debian.tar.xz
[dgit import tarball opencc 1.1.3+ds1-5 opencc_1.1.3+ds1-5.debian.tar.xz]
Raspbian automatic forward porter [Thu, 23 Sep 2021 15:01:43 +0000 (16:01 +0100)]
Merge version 1.1.1+git20200624+ds2-10+rpi1 and 1.1.3+ds1-3 to produce 1.1.3+ds1-3+rpi1
Boyuan Yang [Mon, 20 Sep 2021 19:44:37 +0000 (20:44 +0100)]
Merge opencc (1.1.3+ds1-3) import into refs/heads/workingbranch
Shengjing Zhu [Sat, 6 Mar 2021 09:53:25 +0000 (17:53 +0800)]
Use system googletest
Forwarded: not-needed
Last-Update: 2021-09-18
Gbp-Pq: Name 0005-Use-system-googletest.patch
Gunnar Hjalmarsson [Sat, 6 Mar 2021 09:45:20 +0000 (17:45 +0800)]
Don't fetch remote images when reading docs on disk
Forwarded: no
Last-Update: 2021-09-18
This fixes a privacy breach previously reported as Lintian warnings
Gbp-Pq: Name 0004-no-remote-images-when-reading-docs-on-disk.patch
Boyuan Yang [Fri, 26 Jun 2020 00:32:44 +0000 (20:32 -0400)]
data/: Explicitly use python3
Before "python" is default to python3, this patch should be kept.
Last-Update: 2020-06-25
Gbp-Pq: Name 0003-data-Explicitly-use-python3.patch
IME Packaging Team [Mon, 9 Oct 2017 14:02:39 +0000 (22:02 +0800)]
use-cmake-install-libdir
Update 2021-09-18: Also use GNUInstallDirs.
Last-Update: 2021-09-18
Gbp-Pq: Name 0001-use-cmake-install-libdir.patch
Boyuan Yang [Mon, 20 Sep 2021 19:44:37 +0000 (20:44 +0100)]
opencc (1.1.3+ds1-3) unstable; urgency=medium
* Refresh symbols again for all archs using buildd logs.
[dgit import unpatched opencc 1.1.3+ds1-3]
Boyuan Yang [Mon, 20 Sep 2021 19:44:37 +0000 (20:44 +0100)]
Import opencc_1.1.3+ds1-3.debian.tar.xz
[dgit import tarball opencc 1.1.3+ds1-3 opencc_1.1.3+ds1-3.debian.tar.xz]
Boyuan Yang [Sun, 19 Sep 2021 01:13:03 +0000 (02:13 +0100)]
Import opencc_1.1.3+ds1.orig.tar.xz
[dgit import orig opencc_1.1.3+ds1.orig.tar.xz]
Raspbian automatic forward porter [Tue, 16 Mar 2021 18:19:50 +0000 (18:19 +0000)]
Merge version 1.1.1+git20200624+ds2-5+rpi1 and 1.1.1+git20200624+ds2-10 to produce 1.1.1+git20200624+ds2-10+rpi1
Shengjing Zhu [Sun, 7 Mar 2021 06:20:40 +0000 (06:20 +0000)]
Merge opencc (1.1.1+git20200624+ds2-10) import into refs/heads/workingbranch
Carbo Kuo [Thu, 25 Feb 2021 12:13:38 +0000 (21:13 +0900)]
Fix a severe performance bug in `Conversion::Convert` that caused O(N^2) complexity.
In `Conversion.cpp`, line 27:
```
Optional<const DictEntry*> matched = dict->MatchPrefix(pstr);
```
pstr is a `const char*`. However, there is no overloaded function which parameter `const char*`.
Therefore it matches `Optional<const DictEntry*> MatchPrefix(const std::string& word) const`.
There is an implicit type conversion from `char*` to `std::string` with time complexity O(N).
I added new benchmark tests. Before the fix:
1: ------------------------------------------------------------------
1: Benchmark Time CPU Iterations
1: ------------------------------------------------------------------
1: BM_Initialization/hk2s 1.17 ms 1.12 ms 645
1: BM_Initialization/hk2t 0.116 ms 0.116 ms 5922
1: BM_Initialization/jp2t 0.206 ms 0.201 ms 3500
1: BM_Initialization/s2hk 18.2 ms 17.9 ms 40
1: BM_Initialization/s2t 18.2 ms 18.1 ms 39
1: BM_Initialization/s2tw 17.9 ms 17.8 ms 39
1: BM_Initialization/s2twp 18.6 ms 18.4 ms 39
1: BM_Initialization/t2hk 0.055 ms 0.054 ms 12907
1: BM_Initialization/t2jp 0.120 ms 0.117 ms 5978
1: BM_Initialization/t2s 0.988 ms 0.984 ms 710
1: BM_Initialization/tw2s 1.08 ms 1.05 ms 672
1: BM_Initialization/tw2sp 1.26 ms 1.24 ms 563
1: BM_Initialization/tw2t 0.088 ms 0.083 ms 8528
1: BM_Convert2M 413 ms 413 ms 2
1: BM_Convert/100 1.09 ms 1.09 ms 629
1: BM_Convert/1000 33.2 ms 33.2 ms 21
1: BM_Convert/10000 2822 ms 2822 ms 1
1: BM_Convert/100000 (took longer than 5 minutes, killed)
Now:
1: ------------------------------------------------------------------
1: Benchmark Time CPU Iterations
1: ------------------------------------------------------------------
1: BM_Initialization/hk2s 1.07 ms 1.07 ms 650
1: BM_Initialization/hk2t 0.114 ms 0.114 ms 6092
1: BM_Initialization/jp2t 0.204 ms 0.200 ms 3503
1: BM_Initialization/s2hk 18.2 ms 18.0 ms 40
1: BM_Initialization/s2t 17.6 ms 17.6 ms 39
1: BM_Initialization/s2tw 18.0 ms 17.9 ms 40
1: BM_Initialization/s2twp 17.9 ms 17.9 ms 39
1: BM_Initialization/t2hk 0.055 ms 0.055 ms 12855
1: BM_Initialization/t2jp 0.125 ms 0.124 ms 5772
1: BM_Initialization/t2s 1.000 ms 0.989 ms 695
1: BM_Initialization/tw2s 1.09 ms 1.07 ms 668
1: BM_Initialization/tw2sp 1.29 ms 1.26 ms 558
1: BM_Initialization/tw2t 0.082 ms 0.082 ms 8558
1: BM_Convert2M 361 ms 361 ms 2
1: BM_Convert/100 0.741 ms 0.740 ms 948
1: BM_Convert/1000 7.54 ms 7.52 ms 94
1: BM_Convert/10000 76.3 ms 76.3 ms 9
1: BM_Convert/100000 786 ms 786 ms 1
This bug was reported in https://github.com/BYVoid/OpenCC/issues/478 and https://github.com/BYVoid/OpenCC/issues/517.
Gbp-Pq: Name 0007-Fix-a-severe-performance-bug-in-Conversion-Convert-t.patch
Carbo Kuo [Thu, 25 Feb 2021 11:48:50 +0000 (20:48 +0900)]
Fix a bug in the calculation of DictGroup::keyMaxLength.
The length should be the maximum of all sub-dictionaries in the dictionary group.
Gbp-Pq: Name 0006-Fix-a-bug-in-the-calculation-of-DictGroup-keyMaxLeng.patch
Shengjing Zhu [Sat, 6 Mar 2021 09:53:25 +0000 (17:53 +0800)]
Use system googletest
Forwarded: not-needed
Gbp-Pq: Name 0005-Use-system-googletest.patch
Gunnar Hjalmarsson [Sat, 6 Mar 2021 09:45:20 +0000 (17:45 +0800)]
Don't fetch remote images when reading docs on disk
Forwarded: no
Last-Update: 2021-01-14
This fixes a privacy breach previously reported as Lintian warnings
Gbp-Pq: Name 0004-no-remote-images-when-reading-docs-on-disk.patch
Boyuan Yang [Fri, 26 Jun 2020 00:32:44 +0000 (20:32 -0400)]
data/: Explicitly use python3
Before "python" is default to python3, this patch should be kept.
Last-Update: 2020-06-25
Gbp-Pq: Name 0003-data-Explicitly-use-python3.patch
Boyuan Yang [Sat, 23 May 2020 15:11:46 +0000 (11:11 -0400)]
use-system-libraries
Gbp-Pq: Name 0002-use-system-libraries.patch
IME Packaging Team [Mon, 9 Oct 2017 14:02:39 +0000 (22:02 +0800)]
use-cmake-install-libdir
===================================================================
Gbp-Pq: Name 0001-use-cmake-install-libdir.patch
Shengjing Zhu [Sun, 7 Mar 2021 06:20:40 +0000 (06:20 +0000)]
opencc (1.1.1+git20200624+ds2-10) unstable; urgency=medium
* Team upload.
* Upload to unstable.
* Backport patch to fix performance regression again.
Add
+ 0006-Fix-a-bug-in-the-calculation-of-DictGroup-keyMaxLeng.patch
+ 0007-Fix-a-severe-performance-bug-in-Conversion-Convert-t.patch
[dgit import unpatched opencc 1.1.1+git20200624+ds2-10]
Shengjing Zhu [Sun, 7 Mar 2021 06:20:40 +0000 (06:20 +0000)]
Import opencc_1.1.1+git20200624+ds2-10.debian.tar.xz
[dgit import tarball opencc 1.1.1+git20200624+ds2-10 opencc_1.1.1+git20200624+ds2-10.debian.tar.xz]
Raspbian automatic forward porter [Thu, 11 Feb 2021 23:49:57 +0000 (23:49 +0000)]
Merge version 1.1.1+git20200624+ds2-4+rpi1 and 1.1.1+git20200624+ds2-5 to produce 1.1.1+git20200624+ds2-5+rpi1
Boyuan Yang [Tue, 2 Feb 2021 16:58:39 +0000 (16:58 +0000)]
Merge opencc (1.1.1+git20200624+ds2-5) import into refs/heads/workingbranch
Gunnar Hjalmarsson [Tue, 2 Feb 2021 16:58:39 +0000 (16:58 +0000)]
Don't fetch remote images when reading docs on disk
Forwarded: no
Last-Update: 2021-01-14
This fixes a privacy breach previously reported as Lintian warnings
Gbp-Pq: Name no-remote-images-when-reading-docs-on-disk.patch
Boyuan Yang [Fri, 26 Jun 2020 00:32:44 +0000 (20:32 -0400)]
data/: Explicitly use python3
Before "python" is default to python3, this patch should be kept.
Last-Update: 2020-06-25
Gbp-Pq: Name 0003-data-Explicitly-use-python3.patch
Boyuan Yang [Sat, 23 May 2020 15:11:46 +0000 (11:11 -0400)]
use-system-libraries
Gbp-Pq: Name 0003-use-system-libraries.patch