From: Osamu Aoki Date: Sat, 2 Nov 2013 03:17:51 +0000 (+0000) Subject: opencc (0.4.3-2) unstable; urgency=low X-Git-Tag: archive/raspbian/1.1.1+git20200624+ds2-5+rpi1~1^2^2^2^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b9f6ed4635fc37f56b4f0735897ca94811d54fac;p=opencc.git opencc (0.4.3-2) unstable; urgency=low * Add the python-opencc package to support the Python binding. Closes: #694993 * Bump standard version to 3.9.5. [dgit import unpatched opencc 0.4.3-2] --- b9f6ed4635fc37f56b4f0735897ca94811d54fac diff --cc debian/changelog index 0000000,0000000..f6b8eb1 new file mode 100644 --- /dev/null +++ b/debian/changelog @@@ -1,0 -1,0 +1,152 @@@ ++opencc (0.4.3-2) unstable; urgency=low ++ ++ * Add the python-opencc package to support the Python binding. ++ Closes: #694993 ++ * Bump standard version to 3.9.5. ++ ++ -- Osamu Aoki Sat, 02 Nov 2013 12:17:51 +0900 ++ ++opencc (0.4.3-1) experimental; urgency=low ++ ++ * New upstream release. ++ * Update watch file. ++ * Clean up debian/control and wrap-and-sort. ++ * Update symbols file. ++ ++ -- Osamu Aoki Sun, 15 Sep 2013 00:13:31 +0900 ++ ++opencc (0.4.0-1) experimental; urgency=low ++ ++ * New upstream release ++ * fix-new-test-cases.patch in upstream ++ * part of more_clear_man_c_option.patch is in upstream ++ the rest is in install-data-file-to-meet-need-of-multi-arch.path ++ ++ -- Asias He Fri, 05 Apr 2013 10:52:29 +0800 ++ ++opencc (0.3.0-3) unstable; urgency=low ++ ++ * Rebuild to ++ generate little endian mo file on any arch (Closes: #670016). ++ * add an - before include buildflags.mk ++ ++ -- YunQiang Su Sun, 10 Jun 2012 19:35:51 +0800 ++ ++opencc (0.3.0-2) unstable; urgency=low ++ ++ * Multi-arch it. ++ * Add libopencc-dbg package. ++ * Bump standard version to 3.9.3. ++ * Add YunQiang Su to Uploaders. ++ * Enable CPPFLAGS hardening flags (Closes: #665322). ++ * Better explanation for the -c option arguments of opencc, ++ give the path of these files out. (Closes: #656201). ++ ++ -- YunQiang Su Thu, 29 Mar 2012 03:22:51 +0800 ++ ++opencc (0.3.0-1) unstable; urgency=low ++ ++ * Team upload. ++ ++ [ Kan-Ru Chen ] ++ * New upstream release ++ * debian/control: ++ - Remove autotools-dev and quilt from Build-Depends ++ * debian/rules: ++ - Support `nostrip' DEB_BUILD_OPTIONS ++ - Enable hardening flags. ++ * debian/docs: Install NEWS ++ * debian/copyright: Update update url ++ * debian/watch: Update upstream url ++ * debian/patches/fix-big-endian-build.diff: merged upstream ++ * debian/patches/fix-new-test-cases.patch: New patch. ++ ++ -- Kan-Ru Chen Sat, 17 Dec 2011 16:41:49 +0800 ++ ++opencc (0.2.0-2) unstable; urgency=low ++ ++ * Fix "Please fix FTBFS on mips, ppc, s390 and sparc" (Closes: #624562) ++ * debian/control: bump standards version to 3.9.2. ++ * Set DM-Upload-Allowed to yes ++ ++ -- Asias He Mon, 16 May 2011 20:46:03 +0800 ++ ++opencc (0.2.0-1) unstable; urgency=low ++ ++ * New upstream release ++ * Move usr/share/locale to package opencc ++ * Add cmake to Build-Depends ++ * Change Homepage to http://code.google.com/p/opencc ++ * Set Vcs to git.debian.org ++ ++ -- Asias He Thu, 17 Mar 2011 21:36:41 +0800 ++ ++opencc (0.1.2-1) unstable; urgency=low ++ ++ * New upstream release. ++ * debian/libopencc1.symbols: updated. ++ ++ -- LI Daobing Wed, 22 Sep 2010 20:40:54 +0800 ++ ++opencc (0.1.1-2) unstable; urgency=low ++ ++ *debian/control: add Conflicts to libopencc0 (Closes: #596434) ++ ++ -- Asias He Sun, 12 Sep 2010 14:58:18 +0800 ++ ++opencc (0.1.1-1) unstable; urgency=low ++ ++ [ Asias He ] ++ * New upstream release (closes: #591076). ++ * debian/control: bump standards version to 3.9.1. ++ * debian/watch: use googlecode.debian.net. ++ ++ [ LI Daobing ] ++ * debian/clean: added. ++ ++ -- LI Daobing Wed, 11 Aug 2010 22:04:12 +0800 ++ ++opencc (0.1.0-1) unstable; urgency=low ++ ++ * New upstream release. ++ * debian/control: ++ - bump standards version to 3.9.1. ++ - libopencc0 -> libopecc1 (closes: #590473). ++ - libopencc1 replaces libopencc0. ++ * libopencc0 -> libopencc1: ++ - debian/libopencc0.install => debian/libopencc1.install ++ - debian/libopencc0.symbols => debian/libopencc1.symbols ++ ++ -- LI Daobing Thu, 29 Jul 2010 23:05:17 +0800 ++ ++opencc (0.0.5-1) unstable; urgency=low ++ ++ * New upstream release. ++ * debain/control: no longer build depends on python. ++ * debian/opencc.install: move .mo files to libopencc0. ++ * debian/libopencc0.install: install .mo files. ++ * debian/opencc_dict.1: deleted. ++ * debian/opencc.manpages: deleted. ++ ++ -- LI Daobing Wed, 21 Jul 2010 22:42:32 +0800 ++ ++opencc (0.0.4-1) unstable; urgency=low ++ ++ * New upstream release. ++ * debian/control: bump standards version to 3.9.0. ++ ++ -- LI Daobing Fri, 16 Jul 2010 23:52:08 +0800 ++ ++opencc (0.0.3-1) unstable; urgency=low ++ ++ * New upstream release. ++ * debian/opencc.install: updated. ++ * debian/control: opencc depends on libopencc0 at the same version. ++ ++ -- LI Daobing Tue, 22 Jun 2010 19:08:33 +0800 ++ ++opencc (0.0.2-1) unstable; urgency=low ++ ++ * Initial release (Closes: #585621) ++ ++ -- LI Daobing Sat, 19 Jun 2010 18:27:20 +0800 diff --cc debian/clean index 0000000,0000000..0777230 new file mode 100644 --- /dev/null +++ b/debian/clean @@@ -1,0 -1,0 +1,17 @@@ ++test/mix2zhs.ans ++test/mix2zhs.in ++test/mix2zhs.ini ++test/mix2zht.ans ++test/mix2zht.in ++test/mix2zht.ini ++test/opencc ++test/simp_to_trad_characters.ocd ++test/simp_to_trad_phrases.ocd ++test/trad_to_simp_characters.ocd ++test/trad_to_simp_phrases.ocd ++test/zhs2zht.ans ++test/zhs2zht.in ++test/zhs2zht.ini ++test/zht2zhs.ans ++test/zht2zhs.in ++test/zht2zhs.ini diff --cc debian/compat index 0000000,0000000..ec63514 new file mode 100644 --- /dev/null +++ b/debian/compat @@@ -1,0 -1,0 +1,1 @@@ ++9 diff --cc debian/control index 0000000,0000000..113dd89 new file mode 100644 --- /dev/null +++ b/debian/control @@@ -1,0 -1,0 +1,70 @@@ ++Source: opencc ++Priority: optional ++Maintainer: IME Packaging Team ++Uploaders: LI Daobing , ++ Asias He , ++ YunQiang Su , ++ Osamu Aoki ++Build-Depends: cmake, debhelper (>= 9), python-all ++Standards-Version: 3.9.5 ++Section: libs ++Homepage: http://code.google.com/p/opencc ++Vcs-Git: git://anonscm.debian.org/pkg-ime/opencc.git ++Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ime/opencc.git ++ ++Package: opencc ++Section: utils ++Architecture: any ++Multi-Arch: foreign ++Depends: libopencc1 (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} ++Description: simplified-traditional chinese conversion tool ++ opencc is a library for converting character between traditional chinese and ++ simplified chinese. ++ . ++ This package includes the conversion tool. ++ ++Package: libopencc1 ++Architecture: any ++Multi-Arch: same ++Pre-Depends: ${misc:Pre-Depends} ++Depends: ${misc:Depends}, ${shlibs:Depends} ++Replaces: libopencc0 ++Conflicts: libopencc0 ++Description: simplified-traditional chinese conversion library - runtime ++ opencc is a library for converting character between traditional chinese and ++ simplified chinese. ++ . ++ This package includes the shared library. ++ ++Package: libopencc-dev ++Section: libdevel ++Architecture: any ++Multi-Arch: same ++Depends: libopencc1 (= ${binary:Version}), ${misc:Depends} ++Description: simplified-traditional chinese conversion library - development ++ opencc is a library for converting character between traditional chinese and ++ simplified chinese. ++ . ++ This package includes the development support files. ++ ++Package: python-opencc ++Section: python ++Architecture: all ++Depends: libopencc1, ${misc:Depends}, ${python:Depends} ++Description: simplified-traditional chinese conversion library - Python support ++ opencc is a library for converting character between traditional chinese and ++ simplified chinese. ++ . ++ This package includes the Python binding. ++ ++Package: libopencc-dbg ++Section: debug ++Priority: extra ++Architecture: any ++Multi-Arch: same ++Depends: libopencc1 (= ${binary:Version}), ${misc:Depends} ++Description: simplified-traditional chinese conversion library - debug ++ opencc is a library for converting character between traditional chinese and ++ simplified chinese. ++ . ++ This package includes the debug symbols which is useful when debug. diff --cc debian/copyright index 0000000,0000000..839ea56 new file mode 100644 --- /dev/null +++ b/debian/copyright @@@ -1,0 -1,0 +1,36 @@@ ++This work was packaged for Debian by: ++ ++ LI Daobing on Fri, 11 Jun 2010 19:54:13 +0800 ++ ++It was downloaded from http://code.google.com/p/opencc ++ ++Upstream Author: ++ ++ BYVoid ++ ++Copyright: ++ ++ Copyright (C) 2010 BYVoid ++ ++License: ++ ++ Licensed under the Apache License, Version 2.0 (the "License"); ++ you may not use this file except in compliance with the License. ++ You may obtain a copy of the License at ++ ++ http://www.apache.org/licenses/LICENSE-2.0 ++ ++ Unless required by applicable law or agreed to in writing, software ++ distributed under the License is distributed on an "AS IS" BASIS, ++ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ++ See the License for the specific language governing permissions and ++ limitations under the License. ++ ++On Debian systems, the complete text of the Apache version 2.0 license ++can be found in `/usr/share/common-licenses/Apache-2.0'. ++ ++The Debian packaging is: ++ ++ Copyright (C) 2010 LI Daobing ++ ++and is licensed under Apache License, Version 2.0. diff --cc debian/docs index 0000000,0000000..0564498 new file mode 100644 --- /dev/null +++ b/debian/docs @@@ -1,0 -1,0 +1,3 @@@ ++AUTHORS ++README.md ++NEWS.md diff --cc debian/libopencc-dev.install index 0000000,0000000..76f28fa new file mode 100644 --- /dev/null +++ b/debian/libopencc-dev.install @@@ -1,0 -1,0 +1,4 @@@ ++usr/include/* ++usr/lib/*/lib*.a ++usr/lib/*/lib*.so ++usr/lib/*/pkgconfig/* diff --cc debian/libopencc1.install index 0000000,0000000..f4191f2 new file mode 100644 --- /dev/null +++ b/debian/libopencc1.install @@@ -1,0 -1,0 +1,3 @@@ ++usr/lib/*/lib*.so.* ++usr/lib/*/opencc/* ++usr/share/locale/* diff --cc debian/libopencc1.symbols index 0000000,0000000..bf9cc26 new file mode 100644 --- /dev/null +++ b/debian/libopencc1.symbols @@@ -1,0 -1,0 +1,10 @@@ ++libopencc.so.1 libopencc1 #MINVER# ++ opencc_close@Base 0.1.0 ++ opencc_convert@Base 0.1.0 ++ opencc_convert_utf8@Base 0.1.0 ++ opencc_convert_utf8_free@Base 0.4.3 ++ opencc_dict_load@Base 0.1.0 ++ opencc_errno@Base 0.1.0 ++ opencc_open@Base 0.1.0 ++ opencc_perror@Base 0.1.0 ++ opencc_set_conversion_mode@Base 0.1.2 diff --cc debian/opencc.install index 0000000,0000000..68671de new file mode 100644 --- /dev/null +++ b/debian/opencc.install @@@ -1,0 -1,0 +1,2 @@@ ++usr/bin/* ++usr/share/man/man1/* diff --cc debian/patches/install-data-file-to-meet-need-of-multi-arch index 0000000,0000000..c57c46d new file mode 100644 --- /dev/null +++ b/debian/patches/install-data-file-to-meet-need-of-multi-arch @@@ -1,0 -1,0 +1,15 @@@ ++Description: install data file to meet the need of multi-arch ++ Install data files to ${DIR_LIBRARY} instead of ${DIR_SHARE} ++Author: Asias He ++--- ++--- a/CMakeLists.txt +++++ b/CMakeLists.txt ++@@ -96,7 +96,7 @@ ++ set (DIR_ETC ${SYSCONF_INSTALL_DIR}) ++ endif (DEFINED SYSCONF_INSTALL_DIR) ++ ++-set (DIR_SHARE_OPENCC ${DIR_SHARE}/opencc) +++set (DIR_SHARE_OPENCC ${DIR_LIBRARY}/opencc) ++ set (DIR_SHARE_LOCALE ${DIR_SHARE}/locale) ++ ++ ######## Configuration diff --cc debian/patches/series index 0000000,0000000..c6810a5 new file mode 100644 --- /dev/null +++ b/debian/patches/series @@@ -1,0 -1,0 +1,1 @@@ ++install-data-file-to-meet-need-of-multi-arch diff --cc debian/python-opencc.install index 0000000,0000000..8afd143 new file mode 100644 --- /dev/null +++ b/debian/python-opencc.install @@@ -1,0 -1,0 +1,1 @@@ ++src/wrapper/python/opencc.py usr/share/pyshared diff --cc debian/rules index 0000000,0000000..36a5a8e new file mode 100755 --- /dev/null +++ b/debian/rules @@@ -1,0 -1,0 +1,23 @@@ ++#!/usr/bin/make -f ++export DEB_BUILD_MAINT_OPTIONS = hardening=+all ++DPKG_EXPORT_BUILDFLAGS = 1 ++-include /usr/share/dpkg/buildflags.mk ++# CMake doesn't use CPPFLAGS, pass them to CFLAGS/CXXFLAGS to enable the ++# missing (hardening) flags. ++CFLAGS += $(CPPFLAGS) ++ ++DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) ++ ++%: ++ dh $@ --with python2 ++ ++override_dh_auto_configure: ++ dh_auto_configure -- \ ++ -DCMAKE_INSTALL_PREFIX=/usr \ ++ -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/ \ ++ -DCMAKE_BUILD_TYPE=Release \ ++ -DENABLE_GETTEXT:BOOL=ON ++ ++override_dh_strip: ++ dh_strip -plibopencc1 --dbg-package=libopencc-dbg ++ dh_strip diff --cc debian/source/format index 0000000,0000000..163aaf8 new file mode 100644 --- /dev/null +++ b/debian/source/format @@@ -1,0 -1,0 +1,1 @@@ ++3.0 (quilt) diff --cc debian/watch index 0000000,0000000..b51ea81 new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,0 +1,4 @@@ ++version=3 ++opts=downloadurlmangle=s%.*name=(.*?)&.*%https://opencc\.googlecode\.com/files/$1%,filenamemangle=s/.*name=(.*?)&.*/$1/ \ ++http://code.google.com/p/opencc/downloads/list?can=1&q= \ ++.*name=opencc(?:-|\.|_|_v|)(\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)&\S*